Documentation ¶
Overview ¶
Package lightsail provides the client and types for making API requests to Amazon Lightsail.
Amazon Lightsail is the easiest way to get started with AWS for developers who just need virtual private servers. Lightsail includes everything you need to launch your project quickly - a virtual machine, SSD-based storage, data transfer, DNS management, and a static IP - for a low, predictable price. You manage those Lightsail servers through the Lightsail console or by using the API or command-line interface (CLI).
For more information about Lightsail concepts and tasks, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/all).
To use the Lightsail API or the CLI, you will need to use AWS Identity and Access Management (IAM) to generate access keys. For details about how to set this up, see the Lightsail Dev Guide (http://lightsail.aws.amazon.com/ls/docs/how-to/article/lightsail-how-to-set-up-access-keys-to-use-sdk-api-cli).
See https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28 for more information on this service.
See lightsail package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/lightsail/
Using the Client ¶
To Amazon Lightsail with the SDK use the New function to create a new service client. With that client you can make API requests to the service. These clients are safe to use concurrently.
See the SDK's documentation for more information on how to use the SDK. https://docs.aws.amazon.com/sdk-for-go/api/
See aws.Config documentation for more information on configuring SDK clients. https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config
See the Amazon Lightsail client Lightsail for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/lightsail/#New
Index ¶
- Constants
- type AccessDirection
- type AllocateStaticIpInput
- type AllocateStaticIpOutput
- type AllocateStaticIpRequest
- type AttachDiskInput
- func (s AttachDiskInput) GoString() string
- func (s *AttachDiskInput) SetDiskName(v string) *AttachDiskInput
- func (s *AttachDiskInput) SetDiskPath(v string) *AttachDiskInput
- func (s *AttachDiskInput) SetInstanceName(v string) *AttachDiskInput
- func (s AttachDiskInput) String() string
- func (s *AttachDiskInput) Validate() error
- type AttachDiskOutput
- type AttachDiskRequest
- type AttachInstancesToLoadBalancerInput
- func (s AttachInstancesToLoadBalancerInput) GoString() string
- func (s *AttachInstancesToLoadBalancerInput) SetInstanceNames(v []string) *AttachInstancesToLoadBalancerInput
- func (s *AttachInstancesToLoadBalancerInput) SetLoadBalancerName(v string) *AttachInstancesToLoadBalancerInput
- func (s AttachInstancesToLoadBalancerInput) String() string
- func (s *AttachInstancesToLoadBalancerInput) Validate() error
- type AttachInstancesToLoadBalancerOutput
- func (s AttachInstancesToLoadBalancerOutput) GoString() string
- func (s AttachInstancesToLoadBalancerOutput) SDKResponseMetadata() aws.Response
- func (s *AttachInstancesToLoadBalancerOutput) SetOperations(v []Operation) *AttachInstancesToLoadBalancerOutput
- func (s AttachInstancesToLoadBalancerOutput) String() string
- type AttachInstancesToLoadBalancerRequest
- type AttachLoadBalancerTlsCertificateInput
- func (s AttachLoadBalancerTlsCertificateInput) GoString() string
- func (s *AttachLoadBalancerTlsCertificateInput) SetCertificateName(v string) *AttachLoadBalancerTlsCertificateInput
- func (s *AttachLoadBalancerTlsCertificateInput) SetLoadBalancerName(v string) *AttachLoadBalancerTlsCertificateInput
- func (s AttachLoadBalancerTlsCertificateInput) String() string
- func (s *AttachLoadBalancerTlsCertificateInput) Validate() error
- type AttachLoadBalancerTlsCertificateOutput
- func (s AttachLoadBalancerTlsCertificateOutput) GoString() string
- func (s AttachLoadBalancerTlsCertificateOutput) SDKResponseMetadata() aws.Response
- func (s *AttachLoadBalancerTlsCertificateOutput) SetOperations(v []Operation) *AttachLoadBalancerTlsCertificateOutput
- func (s AttachLoadBalancerTlsCertificateOutput) String() string
- type AttachLoadBalancerTlsCertificateRequest
- type AttachStaticIpInput
- type AttachStaticIpOutput
- type AttachStaticIpRequest
- type AvailabilityZone
- type Blueprint
- func (s Blueprint) GoString() string
- func (s *Blueprint) SetBlueprintId(v string) *Blueprint
- func (s *Blueprint) SetDescription(v string) *Blueprint
- func (s *Blueprint) SetGroup(v string) *Blueprint
- func (s *Blueprint) SetIsActive(v bool) *Blueprint
- func (s *Blueprint) SetLicenseUrl(v string) *Blueprint
- func (s *Blueprint) SetMinPower(v int64) *Blueprint
- func (s *Blueprint) SetName(v string) *Blueprint
- func (s *Blueprint) SetPlatform(v InstancePlatform) *Blueprint
- func (s *Blueprint) SetProductUrl(v string) *Blueprint
- func (s *Blueprint) SetType(v BlueprintType) *Blueprint
- func (s *Blueprint) SetVersion(v string) *Blueprint
- func (s *Blueprint) SetVersionCode(v string) *Blueprint
- func (s Blueprint) String() string
- type BlueprintType
- type Bundle
- func (s Bundle) GoString() string
- func (s *Bundle) SetBundleId(v string) *Bundle
- func (s *Bundle) SetCpuCount(v int64) *Bundle
- func (s *Bundle) SetDiskSizeInGb(v int64) *Bundle
- func (s *Bundle) SetInstanceType(v string) *Bundle
- func (s *Bundle) SetIsActive(v bool) *Bundle
- func (s *Bundle) SetName(v string) *Bundle
- func (s *Bundle) SetPower(v int64) *Bundle
- func (s *Bundle) SetPrice(v float64) *Bundle
- func (s *Bundle) SetRamSizeInGb(v float64) *Bundle
- func (s *Bundle) SetSupportedPlatforms(v []InstancePlatform) *Bundle
- func (s *Bundle) SetTransferPerMonthInGb(v int64) *Bundle
- func (s Bundle) String() string
- type CloseInstancePublicPortsInput
- func (s CloseInstancePublicPortsInput) GoString() string
- func (s *CloseInstancePublicPortsInput) SetInstanceName(v string) *CloseInstancePublicPortsInput
- func (s *CloseInstancePublicPortsInput) SetPortInfo(v *PortInfo) *CloseInstancePublicPortsInput
- func (s CloseInstancePublicPortsInput) String() string
- func (s *CloseInstancePublicPortsInput) Validate() error
- type CloseInstancePublicPortsOutput
- type CloseInstancePublicPortsRequest
- type CreateDiskFromSnapshotInput
- func (s CreateDiskFromSnapshotInput) GoString() string
- func (s *CreateDiskFromSnapshotInput) SetAvailabilityZone(v string) *CreateDiskFromSnapshotInput
- func (s *CreateDiskFromSnapshotInput) SetDiskName(v string) *CreateDiskFromSnapshotInput
- func (s *CreateDiskFromSnapshotInput) SetDiskSnapshotName(v string) *CreateDiskFromSnapshotInput
- func (s *CreateDiskFromSnapshotInput) SetSizeInGb(v int64) *CreateDiskFromSnapshotInput
- func (s CreateDiskFromSnapshotInput) String() string
- func (s *CreateDiskFromSnapshotInput) Validate() error
- type CreateDiskFromSnapshotOutput
- type CreateDiskFromSnapshotRequest
- type CreateDiskInput
- func (s CreateDiskInput) GoString() string
- func (s *CreateDiskInput) SetAvailabilityZone(v string) *CreateDiskInput
- func (s *CreateDiskInput) SetDiskName(v string) *CreateDiskInput
- func (s *CreateDiskInput) SetSizeInGb(v int64) *CreateDiskInput
- func (s CreateDiskInput) String() string
- func (s *CreateDiskInput) Validate() error
- type CreateDiskOutput
- type CreateDiskRequest
- type CreateDiskSnapshotInput
- func (s CreateDiskSnapshotInput) GoString() string
- func (s *CreateDiskSnapshotInput) SetDiskName(v string) *CreateDiskSnapshotInput
- func (s *CreateDiskSnapshotInput) SetDiskSnapshotName(v string) *CreateDiskSnapshotInput
- func (s CreateDiskSnapshotInput) String() string
- func (s *CreateDiskSnapshotInput) Validate() error
- type CreateDiskSnapshotOutput
- type CreateDiskSnapshotRequest
- type CreateDomainEntryInput
- func (s CreateDomainEntryInput) GoString() string
- func (s *CreateDomainEntryInput) SetDomainEntry(v *DomainEntry) *CreateDomainEntryInput
- func (s *CreateDomainEntryInput) SetDomainName(v string) *CreateDomainEntryInput
- func (s CreateDomainEntryInput) String() string
- func (s *CreateDomainEntryInput) Validate() error
- type CreateDomainEntryOutput
- type CreateDomainEntryRequest
- type CreateDomainInput
- type CreateDomainOutput
- type CreateDomainRequest
- type CreateInstanceSnapshotInput
- func (s CreateInstanceSnapshotInput) GoString() string
- func (s *CreateInstanceSnapshotInput) SetInstanceName(v string) *CreateInstanceSnapshotInput
- func (s *CreateInstanceSnapshotInput) SetInstanceSnapshotName(v string) *CreateInstanceSnapshotInput
- func (s CreateInstanceSnapshotInput) String() string
- func (s *CreateInstanceSnapshotInput) Validate() error
- type CreateInstanceSnapshotOutput
- type CreateInstanceSnapshotRequest
- type CreateInstancesFromSnapshotInput
- func (s CreateInstancesFromSnapshotInput) GoString() string
- func (s *CreateInstancesFromSnapshotInput) SetAttachedDiskMapping(v map[string][]DiskMap) *CreateInstancesFromSnapshotInput
- func (s *CreateInstancesFromSnapshotInput) SetAvailabilityZone(v string) *CreateInstancesFromSnapshotInput
- func (s *CreateInstancesFromSnapshotInput) SetBundleId(v string) *CreateInstancesFromSnapshotInput
- func (s *CreateInstancesFromSnapshotInput) SetInstanceNames(v []string) *CreateInstancesFromSnapshotInput
- func (s *CreateInstancesFromSnapshotInput) SetInstanceSnapshotName(v string) *CreateInstancesFromSnapshotInput
- func (s *CreateInstancesFromSnapshotInput) SetKeyPairName(v string) *CreateInstancesFromSnapshotInput
- func (s *CreateInstancesFromSnapshotInput) SetUserData(v string) *CreateInstancesFromSnapshotInput
- func (s CreateInstancesFromSnapshotInput) String() string
- func (s *CreateInstancesFromSnapshotInput) Validate() error
- type CreateInstancesFromSnapshotOutput
- func (s CreateInstancesFromSnapshotOutput) GoString() string
- func (s CreateInstancesFromSnapshotOutput) SDKResponseMetadata() aws.Response
- func (s *CreateInstancesFromSnapshotOutput) SetOperations(v []Operation) *CreateInstancesFromSnapshotOutput
- func (s CreateInstancesFromSnapshotOutput) String() string
- type CreateInstancesFromSnapshotRequest
- type CreateInstancesInput
- func (s CreateInstancesInput) GoString() string
- func (s *CreateInstancesInput) SetAvailabilityZone(v string) *CreateInstancesInput
- func (s *CreateInstancesInput) SetBlueprintId(v string) *CreateInstancesInput
- func (s *CreateInstancesInput) SetBundleId(v string) *CreateInstancesInput
- func (s *CreateInstancesInput) SetCustomImageName(v string) *CreateInstancesInput
- func (s *CreateInstancesInput) SetInstanceNames(v []string) *CreateInstancesInput
- func (s *CreateInstancesInput) SetKeyPairName(v string) *CreateInstancesInput
- func (s *CreateInstancesInput) SetUserData(v string) *CreateInstancesInput
- func (s CreateInstancesInput) String() string
- func (s *CreateInstancesInput) Validate() error
- type CreateInstancesOutput
- type CreateInstancesRequest
- type CreateKeyPairInput
- type CreateKeyPairOutput
- func (s CreateKeyPairOutput) GoString() string
- func (s CreateKeyPairOutput) SDKResponseMetadata() aws.Response
- func (s *CreateKeyPairOutput) SetKeyPair(v *KeyPair) *CreateKeyPairOutput
- func (s *CreateKeyPairOutput) SetOperation(v *Operation) *CreateKeyPairOutput
- func (s *CreateKeyPairOutput) SetPrivateKeyBase64(v string) *CreateKeyPairOutput
- func (s *CreateKeyPairOutput) SetPublicKeyBase64(v string) *CreateKeyPairOutput
- func (s CreateKeyPairOutput) String() string
- type CreateKeyPairRequest
- type CreateLoadBalancerInput
- func (s CreateLoadBalancerInput) GoString() string
- func (s *CreateLoadBalancerInput) SetCertificateAlternativeNames(v []string) *CreateLoadBalancerInput
- func (s *CreateLoadBalancerInput) SetCertificateDomainName(v string) *CreateLoadBalancerInput
- func (s *CreateLoadBalancerInput) SetCertificateName(v string) *CreateLoadBalancerInput
- func (s *CreateLoadBalancerInput) SetHealthCheckPath(v string) *CreateLoadBalancerInput
- func (s *CreateLoadBalancerInput) SetInstancePort(v int64) *CreateLoadBalancerInput
- func (s *CreateLoadBalancerInput) SetLoadBalancerName(v string) *CreateLoadBalancerInput
- func (s CreateLoadBalancerInput) String() string
- func (s *CreateLoadBalancerInput) Validate() error
- type CreateLoadBalancerOutput
- type CreateLoadBalancerRequest
- type CreateLoadBalancerTlsCertificateInput
- func (s CreateLoadBalancerTlsCertificateInput) GoString() string
- func (s *CreateLoadBalancerTlsCertificateInput) SetCertificateAlternativeNames(v []string) *CreateLoadBalancerTlsCertificateInput
- func (s *CreateLoadBalancerTlsCertificateInput) SetCertificateDomainName(v string) *CreateLoadBalancerTlsCertificateInput
- func (s *CreateLoadBalancerTlsCertificateInput) SetCertificateName(v string) *CreateLoadBalancerTlsCertificateInput
- func (s *CreateLoadBalancerTlsCertificateInput) SetLoadBalancerName(v string) *CreateLoadBalancerTlsCertificateInput
- func (s CreateLoadBalancerTlsCertificateInput) String() string
- func (s *CreateLoadBalancerTlsCertificateInput) Validate() error
- type CreateLoadBalancerTlsCertificateOutput
- func (s CreateLoadBalancerTlsCertificateOutput) GoString() string
- func (s CreateLoadBalancerTlsCertificateOutput) SDKResponseMetadata() aws.Response
- func (s *CreateLoadBalancerTlsCertificateOutput) SetOperations(v []Operation) *CreateLoadBalancerTlsCertificateOutput
- func (s CreateLoadBalancerTlsCertificateOutput) String() string
- type CreateLoadBalancerTlsCertificateRequest
- type DeleteDiskInput
- type DeleteDiskOutput
- type DeleteDiskRequest
- type DeleteDiskSnapshotInput
- type DeleteDiskSnapshotOutput
- type DeleteDiskSnapshotRequest
- type DeleteDomainEntryInput
- func (s DeleteDomainEntryInput) GoString() string
- func (s *DeleteDomainEntryInput) SetDomainEntry(v *DomainEntry) *DeleteDomainEntryInput
- func (s *DeleteDomainEntryInput) SetDomainName(v string) *DeleteDomainEntryInput
- func (s DeleteDomainEntryInput) String() string
- func (s *DeleteDomainEntryInput) Validate() error
- type DeleteDomainEntryOutput
- type DeleteDomainEntryRequest
- type DeleteDomainInput
- type DeleteDomainOutput
- type DeleteDomainRequest
- type DeleteInstanceInput
- type DeleteInstanceOutput
- type DeleteInstanceRequest
- type DeleteInstanceSnapshotInput
- type DeleteInstanceSnapshotOutput
- type DeleteInstanceSnapshotRequest
- type DeleteKeyPairInput
- type DeleteKeyPairOutput
- type DeleteKeyPairRequest
- type DeleteLoadBalancerInput
- type DeleteLoadBalancerOutput
- type DeleteLoadBalancerRequest
- type DeleteLoadBalancerTlsCertificateInput
- func (s DeleteLoadBalancerTlsCertificateInput) GoString() string
- func (s *DeleteLoadBalancerTlsCertificateInput) SetCertificateName(v string) *DeleteLoadBalancerTlsCertificateInput
- func (s *DeleteLoadBalancerTlsCertificateInput) SetForce(v bool) *DeleteLoadBalancerTlsCertificateInput
- func (s *DeleteLoadBalancerTlsCertificateInput) SetLoadBalancerName(v string) *DeleteLoadBalancerTlsCertificateInput
- func (s DeleteLoadBalancerTlsCertificateInput) String() string
- func (s *DeleteLoadBalancerTlsCertificateInput) Validate() error
- type DeleteLoadBalancerTlsCertificateOutput
- func (s DeleteLoadBalancerTlsCertificateOutput) GoString() string
- func (s DeleteLoadBalancerTlsCertificateOutput) SDKResponseMetadata() aws.Response
- func (s *DeleteLoadBalancerTlsCertificateOutput) SetOperations(v []Operation) *DeleteLoadBalancerTlsCertificateOutput
- func (s DeleteLoadBalancerTlsCertificateOutput) String() string
- type DeleteLoadBalancerTlsCertificateRequest
- type DetachDiskInput
- type DetachDiskOutput
- type DetachDiskRequest
- type DetachInstancesFromLoadBalancerInput
- func (s DetachInstancesFromLoadBalancerInput) GoString() string
- func (s *DetachInstancesFromLoadBalancerInput) SetInstanceNames(v []string) *DetachInstancesFromLoadBalancerInput
- func (s *DetachInstancesFromLoadBalancerInput) SetLoadBalancerName(v string) *DetachInstancesFromLoadBalancerInput
- func (s DetachInstancesFromLoadBalancerInput) String() string
- func (s *DetachInstancesFromLoadBalancerInput) Validate() error
- type DetachInstancesFromLoadBalancerOutput
- func (s DetachInstancesFromLoadBalancerOutput) GoString() string
- func (s DetachInstancesFromLoadBalancerOutput) SDKResponseMetadata() aws.Response
- func (s *DetachInstancesFromLoadBalancerOutput) SetOperations(v []Operation) *DetachInstancesFromLoadBalancerOutput
- func (s DetachInstancesFromLoadBalancerOutput) String() string
- type DetachInstancesFromLoadBalancerRequest
- type DetachStaticIpInput
- type DetachStaticIpOutput
- type DetachStaticIpRequest
- type Disk
- func (s Disk) GoString() string
- func (s *Disk) SetArn(v string) *Disk
- func (s *Disk) SetAttachedTo(v string) *Disk
- func (s *Disk) SetAttachmentState(v string) *Disk
- func (s *Disk) SetCreatedAt(v time.Time) *Disk
- func (s *Disk) SetGbInUse(v int64) *Disk
- func (s *Disk) SetIops(v int64) *Disk
- func (s *Disk) SetIsAttached(v bool) *Disk
- func (s *Disk) SetIsSystemDisk(v bool) *Disk
- func (s *Disk) SetLocation(v *ResourceLocation) *Disk
- func (s *Disk) SetName(v string) *Disk
- func (s *Disk) SetPath(v string) *Disk
- func (s *Disk) SetResourceType(v ResourceType) *Disk
- func (s *Disk) SetSizeInGb(v int64) *Disk
- func (s *Disk) SetState(v DiskState) *Disk
- func (s *Disk) SetSupportCode(v string) *Disk
- func (s Disk) String() string
- type DiskMap
- type DiskSnapshot
- func (s DiskSnapshot) GoString() string
- func (s *DiskSnapshot) SetArn(v string) *DiskSnapshot
- func (s *DiskSnapshot) SetCreatedAt(v time.Time) *DiskSnapshot
- func (s *DiskSnapshot) SetFromDiskArn(v string) *DiskSnapshot
- func (s *DiskSnapshot) SetFromDiskName(v string) *DiskSnapshot
- func (s *DiskSnapshot) SetLocation(v *ResourceLocation) *DiskSnapshot
- func (s *DiskSnapshot) SetName(v string) *DiskSnapshot
- func (s *DiskSnapshot) SetProgress(v string) *DiskSnapshot
- func (s *DiskSnapshot) SetResourceType(v ResourceType) *DiskSnapshot
- func (s *DiskSnapshot) SetSizeInGb(v int64) *DiskSnapshot
- func (s *DiskSnapshot) SetState(v DiskSnapshotState) *DiskSnapshot
- func (s *DiskSnapshot) SetSupportCode(v string) *DiskSnapshot
- func (s DiskSnapshot) String() string
- type DiskSnapshotState
- type DiskState
- type Domain
- func (s Domain) GoString() string
- func (s *Domain) SetArn(v string) *Domain
- func (s *Domain) SetCreatedAt(v time.Time) *Domain
- func (s *Domain) SetDomainEntries(v []DomainEntry) *Domain
- func (s *Domain) SetLocation(v *ResourceLocation) *Domain
- func (s *Domain) SetName(v string) *Domain
- func (s *Domain) SetResourceType(v ResourceType) *Domain
- func (s *Domain) SetSupportCode(v string) *Domain
- func (s Domain) String() string
- type DomainEntry
- func (s DomainEntry) GoString() string
- func (s *DomainEntry) SetId(v string) *DomainEntry
- func (s *DomainEntry) SetIsAlias(v bool) *DomainEntry
- func (s *DomainEntry) SetName(v string) *DomainEntry
- func (s *DomainEntry) SetOptions(v map[string]string) *DomainEntry
- func (s *DomainEntry) SetTarget(v string) *DomainEntry
- func (s *DomainEntry) SetType(v string) *DomainEntry
- func (s DomainEntry) String() string
- type DownloadDefaultKeyPairInput
- type DownloadDefaultKeyPairOutput
- func (s DownloadDefaultKeyPairOutput) GoString() string
- func (s DownloadDefaultKeyPairOutput) SDKResponseMetadata() aws.Response
- func (s *DownloadDefaultKeyPairOutput) SetPrivateKeyBase64(v string) *DownloadDefaultKeyPairOutput
- func (s *DownloadDefaultKeyPairOutput) SetPublicKeyBase64(v string) *DownloadDefaultKeyPairOutput
- func (s DownloadDefaultKeyPairOutput) String() string
- type DownloadDefaultKeyPairRequest
- type GetActiveNamesInput
- type GetActiveNamesOutput
- func (s GetActiveNamesOutput) GoString() string
- func (s GetActiveNamesOutput) SDKResponseMetadata() aws.Response
- func (s *GetActiveNamesOutput) SetActiveNames(v []string) *GetActiveNamesOutput
- func (s *GetActiveNamesOutput) SetNextPageToken(v string) *GetActiveNamesOutput
- func (s GetActiveNamesOutput) String() string
- type GetActiveNamesRequest
- type GetBlueprintsInput
- type GetBlueprintsOutput
- func (s GetBlueprintsOutput) GoString() string
- func (s GetBlueprintsOutput) SDKResponseMetadata() aws.Response
- func (s *GetBlueprintsOutput) SetBlueprints(v []Blueprint) *GetBlueprintsOutput
- func (s *GetBlueprintsOutput) SetNextPageToken(v string) *GetBlueprintsOutput
- func (s GetBlueprintsOutput) String() string
- type GetBlueprintsRequest
- type GetBundlesInput
- type GetBundlesOutput
- type GetBundlesRequest
- type GetDiskInput
- type GetDiskOutput
- type GetDiskRequest
- type GetDiskSnapshotInput
- type GetDiskSnapshotOutput
- type GetDiskSnapshotRequest
- type GetDiskSnapshotsInput
- type GetDiskSnapshotsOutput
- func (s GetDiskSnapshotsOutput) GoString() string
- func (s GetDiskSnapshotsOutput) SDKResponseMetadata() aws.Response
- func (s *GetDiskSnapshotsOutput) SetDiskSnapshots(v []DiskSnapshot) *GetDiskSnapshotsOutput
- func (s *GetDiskSnapshotsOutput) SetNextPageToken(v string) *GetDiskSnapshotsOutput
- func (s GetDiskSnapshotsOutput) String() string
- type GetDiskSnapshotsRequest
- type GetDisksInput
- type GetDisksOutput
- type GetDisksRequest
- type GetDomainInput
- type GetDomainOutput
- type GetDomainRequest
- type GetDomainsInput
- type GetDomainsOutput
- type GetDomainsRequest
- type GetInstanceAccessDetailsInput
- func (s GetInstanceAccessDetailsInput) GoString() string
- func (s *GetInstanceAccessDetailsInput) SetInstanceName(v string) *GetInstanceAccessDetailsInput
- func (s *GetInstanceAccessDetailsInput) SetProtocol(v InstanceAccessProtocol) *GetInstanceAccessDetailsInput
- func (s GetInstanceAccessDetailsInput) String() string
- func (s *GetInstanceAccessDetailsInput) Validate() error
- type GetInstanceAccessDetailsOutput
- func (s GetInstanceAccessDetailsOutput) GoString() string
- func (s GetInstanceAccessDetailsOutput) SDKResponseMetadata() aws.Response
- func (s *GetInstanceAccessDetailsOutput) SetAccessDetails(v *InstanceAccessDetails) *GetInstanceAccessDetailsOutput
- func (s GetInstanceAccessDetailsOutput) String() string
- type GetInstanceAccessDetailsRequest
- type GetInstanceInput
- type GetInstanceMetricDataInput
- func (s GetInstanceMetricDataInput) GoString() string
- func (s *GetInstanceMetricDataInput) SetEndTime(v time.Time) *GetInstanceMetricDataInput
- func (s *GetInstanceMetricDataInput) SetInstanceName(v string) *GetInstanceMetricDataInput
- func (s *GetInstanceMetricDataInput) SetMetricName(v InstanceMetricName) *GetInstanceMetricDataInput
- func (s *GetInstanceMetricDataInput) SetPeriod(v int64) *GetInstanceMetricDataInput
- func (s *GetInstanceMetricDataInput) SetStartTime(v time.Time) *GetInstanceMetricDataInput
- func (s *GetInstanceMetricDataInput) SetStatistics(v []MetricStatistic) *GetInstanceMetricDataInput
- func (s *GetInstanceMetricDataInput) SetUnit(v MetricUnit) *GetInstanceMetricDataInput
- func (s GetInstanceMetricDataInput) String() string
- func (s *GetInstanceMetricDataInput) Validate() error
- type GetInstanceMetricDataOutput
- func (s GetInstanceMetricDataOutput) GoString() string
- func (s GetInstanceMetricDataOutput) SDKResponseMetadata() aws.Response
- func (s *GetInstanceMetricDataOutput) SetMetricData(v []MetricDatapoint) *GetInstanceMetricDataOutput
- func (s *GetInstanceMetricDataOutput) SetMetricName(v InstanceMetricName) *GetInstanceMetricDataOutput
- func (s GetInstanceMetricDataOutput) String() string
- type GetInstanceMetricDataRequest
- type GetInstanceOutput
- type GetInstancePortStatesInput
- type GetInstancePortStatesOutput
- type GetInstancePortStatesRequest
- type GetInstanceRequest
- type GetInstanceSnapshotInput
- type GetInstanceSnapshotOutput
- type GetInstanceSnapshotRequest
- type GetInstanceSnapshotsInput
- type GetInstanceSnapshotsOutput
- func (s GetInstanceSnapshotsOutput) GoString() string
- func (s GetInstanceSnapshotsOutput) SDKResponseMetadata() aws.Response
- func (s *GetInstanceSnapshotsOutput) SetInstanceSnapshots(v []InstanceSnapshot) *GetInstanceSnapshotsOutput
- func (s *GetInstanceSnapshotsOutput) SetNextPageToken(v string) *GetInstanceSnapshotsOutput
- func (s GetInstanceSnapshotsOutput) String() string
- type GetInstanceSnapshotsRequest
- type GetInstanceStateInput
- type GetInstanceStateOutput
- type GetInstanceStateRequest
- type GetInstancesInput
- type GetInstancesOutput
- func (s GetInstancesOutput) GoString() string
- func (s GetInstancesOutput) SDKResponseMetadata() aws.Response
- func (s *GetInstancesOutput) SetInstances(v []Instance) *GetInstancesOutput
- func (s *GetInstancesOutput) SetNextPageToken(v string) *GetInstancesOutput
- func (s GetInstancesOutput) String() string
- type GetInstancesRequest
- type GetKeyPairInput
- type GetKeyPairOutput
- type GetKeyPairRequest
- type GetKeyPairsInput
- type GetKeyPairsOutput
- type GetKeyPairsRequest
- type GetLoadBalancerInput
- type GetLoadBalancerMetricDataInput
- func (s GetLoadBalancerMetricDataInput) GoString() string
- func (s *GetLoadBalancerMetricDataInput) SetEndTime(v time.Time) *GetLoadBalancerMetricDataInput
- func (s *GetLoadBalancerMetricDataInput) SetLoadBalancerName(v string) *GetLoadBalancerMetricDataInput
- func (s *GetLoadBalancerMetricDataInput) SetMetricName(v LoadBalancerMetricName) *GetLoadBalancerMetricDataInput
- func (s *GetLoadBalancerMetricDataInput) SetPeriod(v int64) *GetLoadBalancerMetricDataInput
- func (s *GetLoadBalancerMetricDataInput) SetStartTime(v time.Time) *GetLoadBalancerMetricDataInput
- func (s *GetLoadBalancerMetricDataInput) SetStatistics(v []MetricStatistic) *GetLoadBalancerMetricDataInput
- func (s *GetLoadBalancerMetricDataInput) SetUnit(v MetricUnit) *GetLoadBalancerMetricDataInput
- func (s GetLoadBalancerMetricDataInput) String() string
- func (s *GetLoadBalancerMetricDataInput) Validate() error
- type GetLoadBalancerMetricDataOutput
- func (s GetLoadBalancerMetricDataOutput) GoString() string
- func (s GetLoadBalancerMetricDataOutput) SDKResponseMetadata() aws.Response
- func (s *GetLoadBalancerMetricDataOutput) SetMetricData(v []MetricDatapoint) *GetLoadBalancerMetricDataOutput
- func (s *GetLoadBalancerMetricDataOutput) SetMetricName(v LoadBalancerMetricName) *GetLoadBalancerMetricDataOutput
- func (s GetLoadBalancerMetricDataOutput) String() string
- type GetLoadBalancerMetricDataRequest
- type GetLoadBalancerOutput
- type GetLoadBalancerRequest
- type GetLoadBalancerTlsCertificatesInput
- type GetLoadBalancerTlsCertificatesOutput
- func (s GetLoadBalancerTlsCertificatesOutput) GoString() string
- func (s GetLoadBalancerTlsCertificatesOutput) SDKResponseMetadata() aws.Response
- func (s *GetLoadBalancerTlsCertificatesOutput) SetTlsCertificates(v []LoadBalancerTlsCertificate) *GetLoadBalancerTlsCertificatesOutput
- func (s GetLoadBalancerTlsCertificatesOutput) String() string
- type GetLoadBalancerTlsCertificatesRequest
- type GetLoadBalancersInput
- type GetLoadBalancersOutput
- func (s GetLoadBalancersOutput) GoString() string
- func (s GetLoadBalancersOutput) SDKResponseMetadata() aws.Response
- func (s *GetLoadBalancersOutput) SetLoadBalancers(v []LoadBalancer) *GetLoadBalancersOutput
- func (s *GetLoadBalancersOutput) SetNextPageToken(v string) *GetLoadBalancersOutput
- func (s GetLoadBalancersOutput) String() string
- type GetLoadBalancersRequest
- type GetOperationInput
- type GetOperationOutput
- type GetOperationRequest
- type GetOperationsForResourceInput
- func (s GetOperationsForResourceInput) GoString() string
- func (s *GetOperationsForResourceInput) SetPageToken(v string) *GetOperationsForResourceInput
- func (s *GetOperationsForResourceInput) SetResourceName(v string) *GetOperationsForResourceInput
- func (s GetOperationsForResourceInput) String() string
- func (s *GetOperationsForResourceInput) Validate() error
- type GetOperationsForResourceOutput
- func (s GetOperationsForResourceOutput) GoString() string
- func (s GetOperationsForResourceOutput) SDKResponseMetadata() aws.Response
- func (s *GetOperationsForResourceOutput) SetNextPageCount(v string) *GetOperationsForResourceOutput
- func (s *GetOperationsForResourceOutput) SetNextPageToken(v string) *GetOperationsForResourceOutput
- func (s *GetOperationsForResourceOutput) SetOperations(v []Operation) *GetOperationsForResourceOutput
- func (s GetOperationsForResourceOutput) String() string
- type GetOperationsForResourceRequest
- type GetOperationsInput
- type GetOperationsOutput
- func (s GetOperationsOutput) GoString() string
- func (s GetOperationsOutput) SDKResponseMetadata() aws.Response
- func (s *GetOperationsOutput) SetNextPageToken(v string) *GetOperationsOutput
- func (s *GetOperationsOutput) SetOperations(v []Operation) *GetOperationsOutput
- func (s GetOperationsOutput) String() string
- type GetOperationsRequest
- type GetRegionsInput
- type GetRegionsOutput
- type GetRegionsRequest
- type GetStaticIpInput
- type GetStaticIpOutput
- type GetStaticIpRequest
- type GetStaticIpsInput
- type GetStaticIpsOutput
- func (s GetStaticIpsOutput) GoString() string
- func (s GetStaticIpsOutput) SDKResponseMetadata() aws.Response
- func (s *GetStaticIpsOutput) SetNextPageToken(v string) *GetStaticIpsOutput
- func (s *GetStaticIpsOutput) SetStaticIps(v []StaticIp) *GetStaticIpsOutput
- func (s GetStaticIpsOutput) String() string
- type GetStaticIpsRequest
- type ImportKeyPairInput
- type ImportKeyPairOutput
- type ImportKeyPairRequest
- type Instance
- func (s Instance) GoString() string
- func (s *Instance) SetArn(v string) *Instance
- func (s *Instance) SetBlueprintId(v string) *Instance
- func (s *Instance) SetBlueprintName(v string) *Instance
- func (s *Instance) SetBundleId(v string) *Instance
- func (s *Instance) SetCreatedAt(v time.Time) *Instance
- func (s *Instance) SetHardware(v *InstanceHardware) *Instance
- func (s *Instance) SetIpv6Address(v string) *Instance
- func (s *Instance) SetIsStaticIp(v bool) *Instance
- func (s *Instance) SetLocation(v *ResourceLocation) *Instance
- func (s *Instance) SetName(v string) *Instance
- func (s *Instance) SetNetworking(v *InstanceNetworking) *Instance
- func (s *Instance) SetPrivateIpAddress(v string) *Instance
- func (s *Instance) SetPublicIpAddress(v string) *Instance
- func (s *Instance) SetResourceType(v ResourceType) *Instance
- func (s *Instance) SetSshKeyName(v string) *Instance
- func (s *Instance) SetState(v *InstanceState) *Instance
- func (s *Instance) SetSupportCode(v string) *Instance
- func (s *Instance) SetUsername(v string) *Instance
- func (s Instance) String() string
- type InstanceAccessDetails
- func (s InstanceAccessDetails) GoString() string
- func (s *InstanceAccessDetails) SetCertKey(v string) *InstanceAccessDetails
- func (s *InstanceAccessDetails) SetExpiresAt(v time.Time) *InstanceAccessDetails
- func (s *InstanceAccessDetails) SetInstanceName(v string) *InstanceAccessDetails
- func (s *InstanceAccessDetails) SetIpAddress(v string) *InstanceAccessDetails
- func (s *InstanceAccessDetails) SetPassword(v string) *InstanceAccessDetails
- func (s *InstanceAccessDetails) SetPasswordData(v *PasswordData) *InstanceAccessDetails
- func (s *InstanceAccessDetails) SetPrivateKey(v string) *InstanceAccessDetails
- func (s *InstanceAccessDetails) SetProtocol(v InstanceAccessProtocol) *InstanceAccessDetails
- func (s *InstanceAccessDetails) SetUsername(v string) *InstanceAccessDetails
- func (s InstanceAccessDetails) String() string
- type InstanceAccessProtocol
- type InstanceHardware
- type InstanceHealthReason
- type InstanceHealthState
- type InstanceHealthSummary
- func (s InstanceHealthSummary) GoString() string
- func (s *InstanceHealthSummary) SetInstanceHealth(v InstanceHealthState) *InstanceHealthSummary
- func (s *InstanceHealthSummary) SetInstanceHealthReason(v InstanceHealthReason) *InstanceHealthSummary
- func (s *InstanceHealthSummary) SetInstanceName(v string) *InstanceHealthSummary
- func (s InstanceHealthSummary) String() string
- type InstanceMetricName
- type InstanceNetworking
- type InstancePlatform
- type InstancePortInfo
- func (s InstancePortInfo) GoString() string
- func (s *InstancePortInfo) SetAccessDirection(v AccessDirection) *InstancePortInfo
- func (s *InstancePortInfo) SetAccessFrom(v string) *InstancePortInfo
- func (s *InstancePortInfo) SetAccessType(v PortAccessType) *InstancePortInfo
- func (s *InstancePortInfo) SetCommonName(v string) *InstancePortInfo
- func (s *InstancePortInfo) SetFromPort(v int64) *InstancePortInfo
- func (s *InstancePortInfo) SetProtocol(v NetworkProtocol) *InstancePortInfo
- func (s *InstancePortInfo) SetToPort(v int64) *InstancePortInfo
- func (s InstancePortInfo) String() string
- type InstancePortState
- func (s InstancePortState) GoString() string
- func (s *InstancePortState) SetFromPort(v int64) *InstancePortState
- func (s *InstancePortState) SetProtocol(v NetworkProtocol) *InstancePortState
- func (s *InstancePortState) SetState(v PortState) *InstancePortState
- func (s *InstancePortState) SetToPort(v int64) *InstancePortState
- func (s InstancePortState) String() string
- type InstanceSnapshot
- func (s InstanceSnapshot) GoString() string
- func (s *InstanceSnapshot) SetArn(v string) *InstanceSnapshot
- func (s *InstanceSnapshot) SetCreatedAt(v time.Time) *InstanceSnapshot
- func (s *InstanceSnapshot) SetFromAttachedDisks(v []Disk) *InstanceSnapshot
- func (s *InstanceSnapshot) SetFromBlueprintId(v string) *InstanceSnapshot
- func (s *InstanceSnapshot) SetFromBundleId(v string) *InstanceSnapshot
- func (s *InstanceSnapshot) SetFromInstanceArn(v string) *InstanceSnapshot
- func (s *InstanceSnapshot) SetFromInstanceName(v string) *InstanceSnapshot
- func (s *InstanceSnapshot) SetLocation(v *ResourceLocation) *InstanceSnapshot
- func (s *InstanceSnapshot) SetName(v string) *InstanceSnapshot
- func (s *InstanceSnapshot) SetProgress(v string) *InstanceSnapshot
- func (s *InstanceSnapshot) SetResourceType(v ResourceType) *InstanceSnapshot
- func (s *InstanceSnapshot) SetSizeInGb(v int64) *InstanceSnapshot
- func (s *InstanceSnapshot) SetState(v InstanceSnapshotState) *InstanceSnapshot
- func (s *InstanceSnapshot) SetSupportCode(v string) *InstanceSnapshot
- func (s InstanceSnapshot) String() string
- type InstanceSnapshotState
- type InstanceState
- type IsVpcPeeredInput
- type IsVpcPeeredOutput
- type IsVpcPeeredRequest
- type KeyPair
- func (s KeyPair) GoString() string
- func (s *KeyPair) SetArn(v string) *KeyPair
- func (s *KeyPair) SetCreatedAt(v time.Time) *KeyPair
- func (s *KeyPair) SetFingerprint(v string) *KeyPair
- func (s *KeyPair) SetLocation(v *ResourceLocation) *KeyPair
- func (s *KeyPair) SetName(v string) *KeyPair
- func (s *KeyPair) SetResourceType(v ResourceType) *KeyPair
- func (s *KeyPair) SetSupportCode(v string) *KeyPair
- func (s KeyPair) String() string
- type Lightsail
- func (c *Lightsail) AllocateStaticIpRequest(input *AllocateStaticIpInput) AllocateStaticIpRequest
- func (c *Lightsail) AttachDiskRequest(input *AttachDiskInput) AttachDiskRequest
- func (c *Lightsail) AttachInstancesToLoadBalancerRequest(input *AttachInstancesToLoadBalancerInput) AttachInstancesToLoadBalancerRequest
- func (c *Lightsail) AttachLoadBalancerTlsCertificateRequest(input *AttachLoadBalancerTlsCertificateInput) AttachLoadBalancerTlsCertificateRequest
- func (c *Lightsail) AttachStaticIpRequest(input *AttachStaticIpInput) AttachStaticIpRequest
- func (c *Lightsail) CloseInstancePublicPortsRequest(input *CloseInstancePublicPortsInput) CloseInstancePublicPortsRequest
- func (c *Lightsail) CreateDiskFromSnapshotRequest(input *CreateDiskFromSnapshotInput) CreateDiskFromSnapshotRequest
- func (c *Lightsail) CreateDiskRequest(input *CreateDiskInput) CreateDiskRequest
- func (c *Lightsail) CreateDiskSnapshotRequest(input *CreateDiskSnapshotInput) CreateDiskSnapshotRequest
- func (c *Lightsail) CreateDomainEntryRequest(input *CreateDomainEntryInput) CreateDomainEntryRequest
- func (c *Lightsail) CreateDomainRequest(input *CreateDomainInput) CreateDomainRequest
- func (c *Lightsail) CreateInstanceSnapshotRequest(input *CreateInstanceSnapshotInput) CreateInstanceSnapshotRequest
- func (c *Lightsail) CreateInstancesFromSnapshotRequest(input *CreateInstancesFromSnapshotInput) CreateInstancesFromSnapshotRequest
- func (c *Lightsail) CreateInstancesRequest(input *CreateInstancesInput) CreateInstancesRequest
- func (c *Lightsail) CreateKeyPairRequest(input *CreateKeyPairInput) CreateKeyPairRequest
- func (c *Lightsail) CreateLoadBalancerRequest(input *CreateLoadBalancerInput) CreateLoadBalancerRequest
- func (c *Lightsail) CreateLoadBalancerTlsCertificateRequest(input *CreateLoadBalancerTlsCertificateInput) CreateLoadBalancerTlsCertificateRequest
- func (c *Lightsail) DeleteDiskRequest(input *DeleteDiskInput) DeleteDiskRequest
- func (c *Lightsail) DeleteDiskSnapshotRequest(input *DeleteDiskSnapshotInput) DeleteDiskSnapshotRequest
- func (c *Lightsail) DeleteDomainEntryRequest(input *DeleteDomainEntryInput) DeleteDomainEntryRequest
- func (c *Lightsail) DeleteDomainRequest(input *DeleteDomainInput) DeleteDomainRequest
- func (c *Lightsail) DeleteInstanceRequest(input *DeleteInstanceInput) DeleteInstanceRequest
- func (c *Lightsail) DeleteInstanceSnapshotRequest(input *DeleteInstanceSnapshotInput) DeleteInstanceSnapshotRequest
- func (c *Lightsail) DeleteKeyPairRequest(input *DeleteKeyPairInput) DeleteKeyPairRequest
- func (c *Lightsail) DeleteLoadBalancerRequest(input *DeleteLoadBalancerInput) DeleteLoadBalancerRequest
- func (c *Lightsail) DeleteLoadBalancerTlsCertificateRequest(input *DeleteLoadBalancerTlsCertificateInput) DeleteLoadBalancerTlsCertificateRequest
- func (c *Lightsail) DetachDiskRequest(input *DetachDiskInput) DetachDiskRequest
- func (c *Lightsail) DetachInstancesFromLoadBalancerRequest(input *DetachInstancesFromLoadBalancerInput) DetachInstancesFromLoadBalancerRequest
- func (c *Lightsail) DetachStaticIpRequest(input *DetachStaticIpInput) DetachStaticIpRequest
- func (c *Lightsail) DownloadDefaultKeyPairRequest(input *DownloadDefaultKeyPairInput) DownloadDefaultKeyPairRequest
- func (c *Lightsail) GetActiveNamesRequest(input *GetActiveNamesInput) GetActiveNamesRequest
- func (c *Lightsail) GetBlueprintsRequest(input *GetBlueprintsInput) GetBlueprintsRequest
- func (c *Lightsail) GetBundlesRequest(input *GetBundlesInput) GetBundlesRequest
- func (c *Lightsail) GetDiskRequest(input *GetDiskInput) GetDiskRequest
- func (c *Lightsail) GetDiskSnapshotRequest(input *GetDiskSnapshotInput) GetDiskSnapshotRequest
- func (c *Lightsail) GetDiskSnapshotsRequest(input *GetDiskSnapshotsInput) GetDiskSnapshotsRequest
- func (c *Lightsail) GetDisksRequest(input *GetDisksInput) GetDisksRequest
- func (c *Lightsail) GetDomainRequest(input *GetDomainInput) GetDomainRequest
- func (c *Lightsail) GetDomainsRequest(input *GetDomainsInput) GetDomainsRequest
- func (c *Lightsail) GetInstanceAccessDetailsRequest(input *GetInstanceAccessDetailsInput) GetInstanceAccessDetailsRequest
- func (c *Lightsail) GetInstanceMetricDataRequest(input *GetInstanceMetricDataInput) GetInstanceMetricDataRequest
- func (c *Lightsail) GetInstancePortStatesRequest(input *GetInstancePortStatesInput) GetInstancePortStatesRequest
- func (c *Lightsail) GetInstanceRequest(input *GetInstanceInput) GetInstanceRequest
- func (c *Lightsail) GetInstanceSnapshotRequest(input *GetInstanceSnapshotInput) GetInstanceSnapshotRequest
- func (c *Lightsail) GetInstanceSnapshotsRequest(input *GetInstanceSnapshotsInput) GetInstanceSnapshotsRequest
- func (c *Lightsail) GetInstanceStateRequest(input *GetInstanceStateInput) GetInstanceStateRequest
- func (c *Lightsail) GetInstancesRequest(input *GetInstancesInput) GetInstancesRequest
- func (c *Lightsail) GetKeyPairRequest(input *GetKeyPairInput) GetKeyPairRequest
- func (c *Lightsail) GetKeyPairsRequest(input *GetKeyPairsInput) GetKeyPairsRequest
- func (c *Lightsail) GetLoadBalancerMetricDataRequest(input *GetLoadBalancerMetricDataInput) GetLoadBalancerMetricDataRequest
- func (c *Lightsail) GetLoadBalancerRequest(input *GetLoadBalancerInput) GetLoadBalancerRequest
- func (c *Lightsail) GetLoadBalancerTlsCertificatesRequest(input *GetLoadBalancerTlsCertificatesInput) GetLoadBalancerTlsCertificatesRequest
- func (c *Lightsail) GetLoadBalancersRequest(input *GetLoadBalancersInput) GetLoadBalancersRequest
- func (c *Lightsail) GetOperationRequest(input *GetOperationInput) GetOperationRequest
- func (c *Lightsail) GetOperationsForResourceRequest(input *GetOperationsForResourceInput) GetOperationsForResourceRequest
- func (c *Lightsail) GetOperationsRequest(input *GetOperationsInput) GetOperationsRequest
- func (c *Lightsail) GetRegionsRequest(input *GetRegionsInput) GetRegionsRequest
- func (c *Lightsail) GetStaticIpRequest(input *GetStaticIpInput) GetStaticIpRequest
- func (c *Lightsail) GetStaticIpsRequest(input *GetStaticIpsInput) GetStaticIpsRequest
- func (c *Lightsail) ImportKeyPairRequest(input *ImportKeyPairInput) ImportKeyPairRequest
- func (c *Lightsail) IsVpcPeeredRequest(input *IsVpcPeeredInput) IsVpcPeeredRequest
- func (c *Lightsail) OpenInstancePublicPortsRequest(input *OpenInstancePublicPortsInput) OpenInstancePublicPortsRequest
- func (c *Lightsail) PeerVpcRequest(input *PeerVpcInput) PeerVpcRequest
- func (c *Lightsail) PutInstancePublicPortsRequest(input *PutInstancePublicPortsInput) PutInstancePublicPortsRequest
- func (c *Lightsail) RebootInstanceRequest(input *RebootInstanceInput) RebootInstanceRequest
- func (c *Lightsail) ReleaseStaticIpRequest(input *ReleaseStaticIpInput) ReleaseStaticIpRequest
- func (c *Lightsail) StartInstanceRequest(input *StartInstanceInput) StartInstanceRequest
- func (c *Lightsail) StopInstanceRequest(input *StopInstanceInput) StopInstanceRequest
- func (c *Lightsail) UnpeerVpcRequest(input *UnpeerVpcInput) UnpeerVpcRequest
- func (c *Lightsail) UpdateDomainEntryRequest(input *UpdateDomainEntryInput) UpdateDomainEntryRequest
- func (c *Lightsail) UpdateLoadBalancerAttributeRequest(input *UpdateLoadBalancerAttributeInput) UpdateLoadBalancerAttributeRequest
- type LoadBalancer
- func (s LoadBalancer) GoString() string
- func (s *LoadBalancer) SetArn(v string) *LoadBalancer
- func (s *LoadBalancer) SetConfigurationOptions(v map[string]string) *LoadBalancer
- func (s *LoadBalancer) SetCreatedAt(v time.Time) *LoadBalancer
- func (s *LoadBalancer) SetDnsName(v string) *LoadBalancer
- func (s *LoadBalancer) SetHealthCheckPath(v string) *LoadBalancer
- func (s *LoadBalancer) SetInstanceHealthSummary(v []InstanceHealthSummary) *LoadBalancer
- func (s *LoadBalancer) SetInstancePort(v int64) *LoadBalancer
- func (s *LoadBalancer) SetLocation(v *ResourceLocation) *LoadBalancer
- func (s *LoadBalancer) SetName(v string) *LoadBalancer
- func (s *LoadBalancer) SetProtocol(v LoadBalancerProtocol) *LoadBalancer
- func (s *LoadBalancer) SetPublicPorts(v []int64) *LoadBalancer
- func (s *LoadBalancer) SetResourceType(v ResourceType) *LoadBalancer
- func (s *LoadBalancer) SetState(v LoadBalancerState) *LoadBalancer
- func (s *LoadBalancer) SetSupportCode(v string) *LoadBalancer
- func (s *LoadBalancer) SetTlsCertificateSummaries(v []LoadBalancerTlsCertificateSummary) *LoadBalancer
- func (s LoadBalancer) String() string
- type LoadBalancerAttributeName
- type LoadBalancerMetricName
- type LoadBalancerProtocol
- type LoadBalancerState
- type LoadBalancerTlsCertificate
- func (s LoadBalancerTlsCertificate) GoString() string
- func (s *LoadBalancerTlsCertificate) SetArn(v string) *LoadBalancerTlsCertificate
- func (s *LoadBalancerTlsCertificate) SetCreatedAt(v time.Time) *LoadBalancerTlsCertificate
- func (s *LoadBalancerTlsCertificate) SetDomainName(v string) *LoadBalancerTlsCertificate
- func (s *LoadBalancerTlsCertificate) SetDomainValidationRecords(v []LoadBalancerTlsCertificateDomainValidationRecord) *LoadBalancerTlsCertificate
- func (s *LoadBalancerTlsCertificate) SetFailureReason(v LoadBalancerTlsCertificateFailureReason) *LoadBalancerTlsCertificate
- func (s *LoadBalancerTlsCertificate) SetIsAttached(v bool) *LoadBalancerTlsCertificate
- func (s *LoadBalancerTlsCertificate) SetIssuedAt(v time.Time) *LoadBalancerTlsCertificate
- func (s *LoadBalancerTlsCertificate) SetIssuer(v string) *LoadBalancerTlsCertificate
- func (s *LoadBalancerTlsCertificate) SetKeyAlgorithm(v string) *LoadBalancerTlsCertificate
- func (s *LoadBalancerTlsCertificate) SetLoadBalancerName(v string) *LoadBalancerTlsCertificate
- func (s *LoadBalancerTlsCertificate) SetLocation(v *ResourceLocation) *LoadBalancerTlsCertificate
- func (s *LoadBalancerTlsCertificate) SetName(v string) *LoadBalancerTlsCertificate
- func (s *LoadBalancerTlsCertificate) SetNotAfter(v time.Time) *LoadBalancerTlsCertificate
- func (s *LoadBalancerTlsCertificate) SetNotBefore(v time.Time) *LoadBalancerTlsCertificate
- func (s *LoadBalancerTlsCertificate) SetRenewalSummary(v *LoadBalancerTlsCertificateRenewalSummary) *LoadBalancerTlsCertificate
- func (s *LoadBalancerTlsCertificate) SetResourceType(v ResourceType) *LoadBalancerTlsCertificate
- func (s *LoadBalancerTlsCertificate) SetRevocationReason(v LoadBalancerTlsCertificateRevocationReason) *LoadBalancerTlsCertificate
- func (s *LoadBalancerTlsCertificate) SetRevokedAt(v time.Time) *LoadBalancerTlsCertificate
- func (s *LoadBalancerTlsCertificate) SetSerial(v string) *LoadBalancerTlsCertificate
- func (s *LoadBalancerTlsCertificate) SetSignatureAlgorithm(v string) *LoadBalancerTlsCertificate
- func (s *LoadBalancerTlsCertificate) SetStatus(v LoadBalancerTlsCertificateStatus) *LoadBalancerTlsCertificate
- func (s *LoadBalancerTlsCertificate) SetSubject(v string) *LoadBalancerTlsCertificate
- func (s *LoadBalancerTlsCertificate) SetSubjectAlternativeNames(v []string) *LoadBalancerTlsCertificate
- func (s *LoadBalancerTlsCertificate) SetSupportCode(v string) *LoadBalancerTlsCertificate
- func (s LoadBalancerTlsCertificate) String() string
- type LoadBalancerTlsCertificateDomainStatus
- type LoadBalancerTlsCertificateDomainValidationOption
- func (s LoadBalancerTlsCertificateDomainValidationOption) GoString() string
- func (s *LoadBalancerTlsCertificateDomainValidationOption) SetDomainName(v string) *LoadBalancerTlsCertificateDomainValidationOption
- func (s *LoadBalancerTlsCertificateDomainValidationOption) SetValidationStatus(v LoadBalancerTlsCertificateDomainStatus) *LoadBalancerTlsCertificateDomainValidationOption
- func (s LoadBalancerTlsCertificateDomainValidationOption) String() string
- type LoadBalancerTlsCertificateDomainValidationRecord
- func (s LoadBalancerTlsCertificateDomainValidationRecord) GoString() string
- func (s *LoadBalancerTlsCertificateDomainValidationRecord) SetDomainName(v string) *LoadBalancerTlsCertificateDomainValidationRecord
- func (s *LoadBalancerTlsCertificateDomainValidationRecord) SetName(v string) *LoadBalancerTlsCertificateDomainValidationRecord
- func (s *LoadBalancerTlsCertificateDomainValidationRecord) SetType(v string) *LoadBalancerTlsCertificateDomainValidationRecord
- func (s *LoadBalancerTlsCertificateDomainValidationRecord) SetValidationStatus(v LoadBalancerTlsCertificateDomainStatus) *LoadBalancerTlsCertificateDomainValidationRecord
- func (s *LoadBalancerTlsCertificateDomainValidationRecord) SetValue(v string) *LoadBalancerTlsCertificateDomainValidationRecord
- func (s LoadBalancerTlsCertificateDomainValidationRecord) String() string
- type LoadBalancerTlsCertificateFailureReason
- type LoadBalancerTlsCertificateRenewalStatus
- type LoadBalancerTlsCertificateRenewalSummary
- func (s LoadBalancerTlsCertificateRenewalSummary) GoString() string
- func (s *LoadBalancerTlsCertificateRenewalSummary) SetDomainValidationOptions(v []LoadBalancerTlsCertificateDomainValidationOption) *LoadBalancerTlsCertificateRenewalSummary
- func (s *LoadBalancerTlsCertificateRenewalSummary) SetRenewalStatus(v LoadBalancerTlsCertificateRenewalStatus) *LoadBalancerTlsCertificateRenewalSummary
- func (s LoadBalancerTlsCertificateRenewalSummary) String() string
- type LoadBalancerTlsCertificateRevocationReason
- type LoadBalancerTlsCertificateStatus
- type LoadBalancerTlsCertificateSummary
- func (s LoadBalancerTlsCertificateSummary) GoString() string
- func (s *LoadBalancerTlsCertificateSummary) SetIsAttached(v bool) *LoadBalancerTlsCertificateSummary
- func (s *LoadBalancerTlsCertificateSummary) SetName(v string) *LoadBalancerTlsCertificateSummary
- func (s LoadBalancerTlsCertificateSummary) String() string
- type MetricDatapoint
- func (s MetricDatapoint) GoString() string
- func (s *MetricDatapoint) SetAverage(v float64) *MetricDatapoint
- func (s *MetricDatapoint) SetMaximum(v float64) *MetricDatapoint
- func (s *MetricDatapoint) SetMinimum(v float64) *MetricDatapoint
- func (s *MetricDatapoint) SetSampleCount(v float64) *MetricDatapoint
- func (s *MetricDatapoint) SetSum(v float64) *MetricDatapoint
- func (s *MetricDatapoint) SetTimestamp(v time.Time) *MetricDatapoint
- func (s *MetricDatapoint) SetUnit(v MetricUnit) *MetricDatapoint
- func (s MetricDatapoint) String() string
- type MetricStatistic
- type MetricUnit
- type MonthlyTransfer
- type NetworkProtocol
- type OpenInstancePublicPortsInput
- func (s OpenInstancePublicPortsInput) GoString() string
- func (s *OpenInstancePublicPortsInput) SetInstanceName(v string) *OpenInstancePublicPortsInput
- func (s *OpenInstancePublicPortsInput) SetPortInfo(v *PortInfo) *OpenInstancePublicPortsInput
- func (s OpenInstancePublicPortsInput) String() string
- func (s *OpenInstancePublicPortsInput) Validate() error
- type OpenInstancePublicPortsOutput
- type OpenInstancePublicPortsRequest
- type Operation
- func (s Operation) GoString() string
- func (s *Operation) SetCreatedAt(v time.Time) *Operation
- func (s *Operation) SetErrorCode(v string) *Operation
- func (s *Operation) SetErrorDetails(v string) *Operation
- func (s *Operation) SetId(v string) *Operation
- func (s *Operation) SetIsTerminal(v bool) *Operation
- func (s *Operation) SetLocation(v *ResourceLocation) *Operation
- func (s *Operation) SetOperationDetails(v string) *Operation
- func (s *Operation) SetOperationType(v OperationType) *Operation
- func (s *Operation) SetResourceName(v string) *Operation
- func (s *Operation) SetResourceType(v ResourceType) *Operation
- func (s *Operation) SetStatus(v OperationStatus) *Operation
- func (s *Operation) SetStatusChangedAt(v time.Time) *Operation
- func (s Operation) String() string
- type OperationStatus
- type OperationType
- type PasswordData
- type PeerVpcInput
- type PeerVpcOutput
- type PeerVpcRequest
- type PortAccessType
- type PortInfo
- type PortState
- type PutInstancePublicPortsInput
- func (s PutInstancePublicPortsInput) GoString() string
- func (s *PutInstancePublicPortsInput) SetInstanceName(v string) *PutInstancePublicPortsInput
- func (s *PutInstancePublicPortsInput) SetPortInfos(v []PortInfo) *PutInstancePublicPortsInput
- func (s PutInstancePublicPortsInput) String() string
- func (s *PutInstancePublicPortsInput) Validate() error
- type PutInstancePublicPortsOutput
- type PutInstancePublicPortsRequest
- type RebootInstanceInput
- type RebootInstanceOutput
- type RebootInstanceRequest
- type Region
- func (s Region) GoString() string
- func (s *Region) SetAvailabilityZones(v []AvailabilityZone) *Region
- func (s *Region) SetContinentCode(v string) *Region
- func (s *Region) SetDescription(v string) *Region
- func (s *Region) SetDisplayName(v string) *Region
- func (s *Region) SetName(v RegionName) *Region
- func (s Region) String() string
- type RegionName
- type ReleaseStaticIpInput
- type ReleaseStaticIpOutput
- type ReleaseStaticIpRequest
- type ResourceLocation
- type ResourceType
- type StartInstanceInput
- type StartInstanceOutput
- type StartInstanceRequest
- type StaticIp
- func (s StaticIp) GoString() string
- func (s *StaticIp) SetArn(v string) *StaticIp
- func (s *StaticIp) SetAttachedTo(v string) *StaticIp
- func (s *StaticIp) SetCreatedAt(v time.Time) *StaticIp
- func (s *StaticIp) SetIpAddress(v string) *StaticIp
- func (s *StaticIp) SetIsAttached(v bool) *StaticIp
- func (s *StaticIp) SetLocation(v *ResourceLocation) *StaticIp
- func (s *StaticIp) SetName(v string) *StaticIp
- func (s *StaticIp) SetResourceType(v ResourceType) *StaticIp
- func (s *StaticIp) SetSupportCode(v string) *StaticIp
- func (s StaticIp) String() string
- type StopInstanceInput
- type StopInstanceOutput
- type StopInstanceRequest
- type UnpeerVpcInput
- type UnpeerVpcOutput
- type UnpeerVpcRequest
- type UpdateDomainEntryInput
- func (s UpdateDomainEntryInput) GoString() string
- func (s *UpdateDomainEntryInput) SetDomainEntry(v *DomainEntry) *UpdateDomainEntryInput
- func (s *UpdateDomainEntryInput) SetDomainName(v string) *UpdateDomainEntryInput
- func (s UpdateDomainEntryInput) String() string
- func (s *UpdateDomainEntryInput) Validate() error
- type UpdateDomainEntryOutput
- type UpdateDomainEntryRequest
- type UpdateLoadBalancerAttributeInput
- func (s UpdateLoadBalancerAttributeInput) GoString() string
- func (s *UpdateLoadBalancerAttributeInput) SetAttributeName(v LoadBalancerAttributeName) *UpdateLoadBalancerAttributeInput
- func (s *UpdateLoadBalancerAttributeInput) SetAttributeValue(v string) *UpdateLoadBalancerAttributeInput
- func (s *UpdateLoadBalancerAttributeInput) SetLoadBalancerName(v string) *UpdateLoadBalancerAttributeInput
- func (s UpdateLoadBalancerAttributeInput) String() string
- func (s *UpdateLoadBalancerAttributeInput) Validate() error
- type UpdateLoadBalancerAttributeOutput
- func (s UpdateLoadBalancerAttributeOutput) GoString() string
- func (s UpdateLoadBalancerAttributeOutput) SDKResponseMetadata() aws.Response
- func (s *UpdateLoadBalancerAttributeOutput) SetOperations(v []Operation) *UpdateLoadBalancerAttributeOutput
- func (s UpdateLoadBalancerAttributeOutput) String() string
- type UpdateLoadBalancerAttributeRequest
Constants ¶
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 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" )
const ( ServiceName = "lightsail" // Service endpoint prefix API calls made to. EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata. )
Service information constants
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccessDirection ¶
type AccessDirection string
const ( AccessDirectionInbound AccessDirection = "inbound" AccessDirectionOutbound AccessDirection = "outbound" )
Enum values for AccessDirection
type AllocateStaticIpInput ¶
type AllocateStaticIpInput struct { // The name of the static IP address. // // StaticIpName is a required field StaticIpName *string `locationName:"staticIpName" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/AllocateStaticIpRequest
func (AllocateStaticIpInput) GoString ¶
func (s AllocateStaticIpInput) GoString() string
GoString returns the string representation
func (*AllocateStaticIpInput) SetStaticIpName ¶
func (s *AllocateStaticIpInput) SetStaticIpName(v string) *AllocateStaticIpInput
SetStaticIpName sets the StaticIpName field's value.
func (AllocateStaticIpInput) String ¶
func (s AllocateStaticIpInput) String() string
String returns the string representation
func (*AllocateStaticIpInput) Validate ¶
func (s *AllocateStaticIpInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AllocateStaticIpOutput ¶
type AllocateStaticIpOutput struct { // An array of key-value pairs containing information about the static IP address // you allocated. Operations []Operation `locationName:"operations" type:"list"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/AllocateStaticIpResult
func (AllocateStaticIpOutput) GoString ¶
func (s AllocateStaticIpOutput) GoString() string
GoString returns the string representation
func (AllocateStaticIpOutput) SDKResponseMetadata ¶
func (s AllocateStaticIpOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*AllocateStaticIpOutput) SetOperations ¶
func (s *AllocateStaticIpOutput) SetOperations(v []Operation) *AllocateStaticIpOutput
SetOperations sets the Operations field's value.
func (AllocateStaticIpOutput) String ¶
func (s AllocateStaticIpOutput) String() string
String returns the string representation
type AllocateStaticIpRequest ¶
type AllocateStaticIpRequest struct { *aws.Request Input *AllocateStaticIpInput }
AllocateStaticIpRequest is a API request type for the AllocateStaticIp API operation.
func (AllocateStaticIpRequest) Send ¶
func (r AllocateStaticIpRequest) Send() (*AllocateStaticIpOutput, error)
Send marshals and sends the AllocateStaticIp API 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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/AttachDiskRequest
func (AttachDiskInput) GoString ¶
func (s AttachDiskInput) GoString() string
GoString returns the string representation
func (*AttachDiskInput) SetDiskName ¶
func (s *AttachDiskInput) SetDiskName(v string) *AttachDiskInput
SetDiskName sets the DiskName field's value.
func (*AttachDiskInput) SetDiskPath ¶
func (s *AttachDiskInput) SetDiskPath(v string) *AttachDiskInput
SetDiskPath sets the DiskPath field's value.
func (*AttachDiskInput) SetInstanceName ¶
func (s *AttachDiskInput) SetInstanceName(v string) *AttachDiskInput
SetInstanceName sets the InstanceName field's value.
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 object describing the API operations. Operations []Operation `locationName:"operations" type:"list"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/AttachDiskResult
func (AttachDiskOutput) GoString ¶
func (s AttachDiskOutput) GoString() string
GoString returns the string representation
func (AttachDiskOutput) SDKResponseMetadata ¶
func (s AttachDiskOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*AttachDiskOutput) SetOperations ¶
func (s *AttachDiskOutput) SetOperations(v []Operation) *AttachDiskOutput
SetOperations sets the Operations field's value.
func (AttachDiskOutput) String ¶
func (s AttachDiskOutput) String() string
String returns the string representation
type AttachDiskRequest ¶
type AttachDiskRequest struct { *aws.Request Input *AttachDiskInput }
AttachDiskRequest is a API request type for the AttachDisk API operation.
func (AttachDiskRequest) Send ¶
func (r AttachDiskRequest) Send() (*AttachDiskOutput, error)
Send marshals and sends the AttachDisk API request.
type AttachInstancesToLoadBalancerInput ¶
type AttachInstancesToLoadBalancerInput struct { // An array of strings representing the instance name(s) you want to attach // to your load balancer. // // InstanceNames is a required field InstanceNames []string `locationName:"instanceNames" type:"list" required:"true"` // The name of the load balancer. // // LoadBalancerName is a required field LoadBalancerName *string `locationName:"loadBalancerName" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/AttachInstancesToLoadBalancerRequest
func (AttachInstancesToLoadBalancerInput) GoString ¶
func (s AttachInstancesToLoadBalancerInput) GoString() string
GoString returns the string representation
func (*AttachInstancesToLoadBalancerInput) SetInstanceNames ¶
func (s *AttachInstancesToLoadBalancerInput) SetInstanceNames(v []string) *AttachInstancesToLoadBalancerInput
SetInstanceNames sets the InstanceNames field's value.
func (*AttachInstancesToLoadBalancerInput) SetLoadBalancerName ¶
func (s *AttachInstancesToLoadBalancerInput) SetLoadBalancerName(v string) *AttachInstancesToLoadBalancerInput
SetLoadBalancerName sets the LoadBalancerName field's value.
func (AttachInstancesToLoadBalancerInput) String ¶
func (s AttachInstancesToLoadBalancerInput) String() string
String returns the string representation
func (*AttachInstancesToLoadBalancerInput) Validate ¶
func (s *AttachInstancesToLoadBalancerInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AttachInstancesToLoadBalancerOutput ¶
type AttachInstancesToLoadBalancerOutput struct { // An object representing the API operations. Operations []Operation `locationName:"operations" type:"list"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/AttachInstancesToLoadBalancerResult
func (AttachInstancesToLoadBalancerOutput) GoString ¶
func (s AttachInstancesToLoadBalancerOutput) GoString() string
GoString returns the string representation
func (AttachInstancesToLoadBalancerOutput) SDKResponseMetadata ¶
func (s AttachInstancesToLoadBalancerOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*AttachInstancesToLoadBalancerOutput) SetOperations ¶
func (s *AttachInstancesToLoadBalancerOutput) SetOperations(v []Operation) *AttachInstancesToLoadBalancerOutput
SetOperations sets the Operations field's value.
func (AttachInstancesToLoadBalancerOutput) String ¶
func (s AttachInstancesToLoadBalancerOutput) String() string
String returns the string representation
type AttachInstancesToLoadBalancerRequest ¶
type AttachInstancesToLoadBalancerRequest struct { *aws.Request Input *AttachInstancesToLoadBalancerInput }
AttachInstancesToLoadBalancerRequest is a API request type for the AttachInstancesToLoadBalancer API operation.
func (AttachInstancesToLoadBalancerRequest) Send ¶
func (r AttachInstancesToLoadBalancerRequest) Send() (*AttachInstancesToLoadBalancerOutput, error)
Send marshals and sends the AttachInstancesToLoadBalancer API request.
type AttachLoadBalancerTlsCertificateInput ¶
type AttachLoadBalancerTlsCertificateInput struct { // The name of your TLS/SSL 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 TLS/SSL // certificate. // // LoadBalancerName is a required field LoadBalancerName *string `locationName:"loadBalancerName" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/AttachLoadBalancerTlsCertificateRequest
func (AttachLoadBalancerTlsCertificateInput) GoString ¶
func (s AttachLoadBalancerTlsCertificateInput) GoString() string
GoString returns the string representation
func (*AttachLoadBalancerTlsCertificateInput) SetCertificateName ¶
func (s *AttachLoadBalancerTlsCertificateInput) SetCertificateName(v string) *AttachLoadBalancerTlsCertificateInput
SetCertificateName sets the CertificateName field's value.
func (*AttachLoadBalancerTlsCertificateInput) SetLoadBalancerName ¶
func (s *AttachLoadBalancerTlsCertificateInput) SetLoadBalancerName(v string) *AttachLoadBalancerTlsCertificateInput
SetLoadBalancerName sets the LoadBalancerName field's value.
func (AttachLoadBalancerTlsCertificateInput) String ¶
func (s AttachLoadBalancerTlsCertificateInput) String() string
String returns the string representation
func (*AttachLoadBalancerTlsCertificateInput) Validate ¶
func (s *AttachLoadBalancerTlsCertificateInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AttachLoadBalancerTlsCertificateOutput ¶
type AttachLoadBalancerTlsCertificateOutput struct { // An object representing the API operations. Operations []Operation `locationName:"operations" type:"list"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/AttachLoadBalancerTlsCertificateResult
func (AttachLoadBalancerTlsCertificateOutput) GoString ¶
func (s AttachLoadBalancerTlsCertificateOutput) GoString() string
GoString returns the string representation
func (AttachLoadBalancerTlsCertificateOutput) SDKResponseMetadata ¶
func (s AttachLoadBalancerTlsCertificateOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*AttachLoadBalancerTlsCertificateOutput) SetOperations ¶
func (s *AttachLoadBalancerTlsCertificateOutput) SetOperations(v []Operation) *AttachLoadBalancerTlsCertificateOutput
SetOperations sets the Operations field's value.
func (AttachLoadBalancerTlsCertificateOutput) String ¶
func (s AttachLoadBalancerTlsCertificateOutput) String() string
String returns the string representation
type AttachLoadBalancerTlsCertificateRequest ¶
type AttachLoadBalancerTlsCertificateRequest struct { *aws.Request Input *AttachLoadBalancerTlsCertificateInput }
AttachLoadBalancerTlsCertificateRequest is a API request type for the AttachLoadBalancerTlsCertificate API operation.
func (AttachLoadBalancerTlsCertificateRequest) Send ¶
func (r AttachLoadBalancerTlsCertificateRequest) Send() (*AttachLoadBalancerTlsCertificateOutput, error)
Send marshals and sends the AttachLoadBalancerTlsCertificate API request.
type AttachStaticIpInput ¶
type AttachStaticIpInput struct { // The instance name to which you want to attach the static IP address. // // InstanceName is a required field InstanceName *string `locationName:"instanceName" type:"string" required:"true"` // The name of the static IP. // // StaticIpName is a required field StaticIpName *string `locationName:"staticIpName" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/AttachStaticIpRequest
func (AttachStaticIpInput) GoString ¶
func (s AttachStaticIpInput) GoString() string
GoString returns the string representation
func (*AttachStaticIpInput) SetInstanceName ¶
func (s *AttachStaticIpInput) SetInstanceName(v string) *AttachStaticIpInput
SetInstanceName sets the InstanceName field's value.
func (*AttachStaticIpInput) SetStaticIpName ¶
func (s *AttachStaticIpInput) SetStaticIpName(v string) *AttachStaticIpInput
SetStaticIpName sets the StaticIpName field's value.
func (AttachStaticIpInput) String ¶
func (s AttachStaticIpInput) String() string
String returns the string representation
func (*AttachStaticIpInput) Validate ¶
func (s *AttachStaticIpInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AttachStaticIpOutput ¶
type AttachStaticIpOutput struct { // An array of key-value pairs containing information about your API operations. Operations []Operation `locationName:"operations" type:"list"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/AttachStaticIpResult
func (AttachStaticIpOutput) GoString ¶
func (s AttachStaticIpOutput) GoString() string
GoString returns the string representation
func (AttachStaticIpOutput) SDKResponseMetadata ¶
func (s AttachStaticIpOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*AttachStaticIpOutput) SetOperations ¶
func (s *AttachStaticIpOutput) SetOperations(v []Operation) *AttachStaticIpOutput
SetOperations sets the Operations field's value.
func (AttachStaticIpOutput) String ¶
func (s AttachStaticIpOutput) String() string
String returns the string representation
type AttachStaticIpRequest ¶
type AttachStaticIpRequest struct { *aws.Request Input *AttachStaticIpInput }
AttachStaticIpRequest is a API request type for the AttachStaticIp API operation.
func (AttachStaticIpRequest) Send ¶
func (r AttachStaticIpRequest) Send() (*AttachStaticIpOutput, error)
Send marshals and sends the AttachStaticIp API request.
type AvailabilityZone ¶
type AvailabilityZone struct { // The state of the Availability Zone. State *string `locationName:"state" type:"string"` // The name of the Availability Zone. The format is us-east-2a (case-sensitive). ZoneName *string `locationName:"zoneName" type:"string"` // contains filtered or unexported fields }
Describes an Availability Zone. Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/AvailabilityZone
func (AvailabilityZone) GoString ¶
func (s AvailabilityZone) GoString() string
GoString returns the string representation
func (*AvailabilityZone) SetState ¶
func (s *AvailabilityZone) SetState(v string) *AvailabilityZone
SetState sets the State field's value.
func (*AvailabilityZone) SetZoneName ¶
func (s *AvailabilityZone) SetZoneName(v string) *AvailabilityZone
SetZoneName sets the ZoneName field's value.
func (AvailabilityZone) String ¶
func (s AvailabilityZone) String() string
String returns the string representation
type Blueprint ¶
type Blueprint struct { // The ID for the virtual private server image (e.g., app_wordpress_4_4 or app_lamp_7_0). BlueprintId *string `locationName:"blueprintId" type:"string"` // The description of the blueprint. Description *string `locationName:"description" type:"string"` // The group name of the blueprint (e.g., amazon-linux). Group *string `locationName:"group" type:"string"` // A Boolean value indicating whether the blueprint is active. When you update // your blueprints, you will inactivate old blueprints and keep the most recent // versions active. IsActive *bool `locationName:"isActive" type:"boolean"` // The end-user license agreement URL for the image or blueprint. LicenseUrl *string `locationName:"licenseUrl" type:"string"` // The minimum bundle power required to run this blueprint. For example, you // need a bundle with a power value of 500 or more to create an instance that // uses a blueprint with a minimum power value of 500. 0 indicates that the // blueprint runs on all instance sizes. MinPower *int64 `locationName:"minPower" type:"integer"` // The friendly name of the blueprint (e.g., Amazon Linux). Name *string `locationName:"name" type:"string"` // The operating system platform (either Linux/Unix-based or Windows Server-based) // of the blueprint. Platform InstancePlatform `locationName:"platform" type:"string" enum:"true"` // The product URL to learn more about the image or blueprint. ProductUrl *string `locationName:"productUrl" type:"string"` // The type of the blueprint (e.g., os or app). Type BlueprintType `locationName:"type" type:"string" enum:"true"` // The version number of the operating system, application, or stack (e.g., // 2016.03.0). Version *string `locationName:"version" type:"string"` // The version code. VersionCode *string `locationName:"versionCode" type:"string"` // contains filtered or unexported fields }
Describes a blueprint (a virtual private server image). Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/Blueprint
func (*Blueprint) SetBlueprintId ¶
SetBlueprintId sets the BlueprintId field's value.
func (*Blueprint) SetDescription ¶
SetDescription sets the Description field's value.
func (*Blueprint) SetIsActive ¶
SetIsActive sets the IsActive field's value.
func (*Blueprint) SetLicenseUrl ¶
SetLicenseUrl sets the LicenseUrl field's value.
func (*Blueprint) SetMinPower ¶
SetMinPower sets the MinPower field's value.
func (*Blueprint) SetPlatform ¶
func (s *Blueprint) SetPlatform(v InstancePlatform) *Blueprint
SetPlatform sets the Platform field's value.
func (*Blueprint) SetProductUrl ¶
SetProductUrl sets the ProductUrl field's value.
func (*Blueprint) SetType ¶
func (s *Blueprint) SetType(v BlueprintType) *Blueprint
SetType sets the Type field's value.
func (*Blueprint) SetVersion ¶
SetVersion sets the Version field's value.
func (*Blueprint) SetVersionCode ¶
SetVersionCode sets the VersionCode field's value.
type BlueprintType ¶
type BlueprintType string
const ( BlueprintTypeOs BlueprintType = "os" BlueprintTypeApp BlueprintType = "app" )
Enum values for BlueprintType
type Bundle ¶
type Bundle struct { // The bundle ID (e.g., micro_1_0). BundleId *string `locationName:"bundleId" type:"string"` // The number of vCPUs included in the bundle (e.g., 2). CpuCount *int64 `locationName:"cpuCount" type:"integer"` // The size of the SSD (e.g., 30). DiskSizeInGb *int64 `locationName:"diskSizeInGb" type:"integer"` // The Amazon EC2 instance type (e.g., t2.micro). InstanceType *string `locationName:"instanceType" type:"string"` // A Boolean value indicating whether the bundle is active. IsActive *bool `locationName:"isActive" type:"boolean"` // A friendly name for the bundle (e.g., Micro). Name *string `locationName:"name" type:"string"` // A numeric value that represents the power of the bundle (e.g., 500). You // can use the bundle's power value in conjunction with a blueprint's minimum // power value to determine whether the blueprint will run on the bundle. For // example, you need a bundle with a power value of 500 or more to create an // instance that uses a blueprint with a minimum power value of 500. Power *int64 `locationName:"power" type:"integer"` // The price in US dollars (e.g., 5.0). Price *float64 `locationName:"price" type:"float"` // The amount of RAM in GB (e.g., 2.0). RamSizeInGb *float64 `locationName:"ramSizeInGb" type:"float"` // The operating system platform (Linux/Unix-based or Windows Server-based) // that the bundle supports. You can only launch a WINDOWS bundle on a blueprint // that supports the WINDOWS platform. LINUX_UNIX blueprints require a LINUX_UNIX // bundle. SupportedPlatforms []InstancePlatform `locationName:"supportedPlatforms" type:"list"` // The data transfer rate per month in GB (e.g., 2000). TransferPerMonthInGb *int64 `locationName:"transferPerMonthInGb" type:"integer"` // contains filtered or unexported fields }
Describes a bundle, which is a set of specs describing your virtual private server (or instance). Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/Bundle
func (*Bundle) SetBundleId ¶
SetBundleId sets the BundleId field's value.
func (*Bundle) SetCpuCount ¶
SetCpuCount sets the CpuCount field's value.
func (*Bundle) SetDiskSizeInGb ¶
SetDiskSizeInGb sets the DiskSizeInGb field's value.
func (*Bundle) SetInstanceType ¶
SetInstanceType sets the InstanceType field's value.
func (*Bundle) SetIsActive ¶
SetIsActive sets the IsActive field's value.
func (*Bundle) SetRamSizeInGb ¶
SetRamSizeInGb sets the RamSizeInGb field's value.
func (*Bundle) SetSupportedPlatforms ¶
func (s *Bundle) SetSupportedPlatforms(v []InstancePlatform) *Bundle
SetSupportedPlatforms sets the SupportedPlatforms field's value.
func (*Bundle) SetTransferPerMonthInGb ¶
SetTransferPerMonthInGb sets the TransferPerMonthInGb field's value.
type CloseInstancePublicPortsInput ¶
type CloseInstancePublicPortsInput struct { // The name of the instance on which you're attempting to close the public ports. // // InstanceName is a required field InstanceName *string `locationName:"instanceName" type:"string" required:"true"` // Information about the public port you are trying to close. // // PortInfo is a required field PortInfo *PortInfo `locationName:"portInfo" type:"structure" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CloseInstancePublicPortsRequest
func (CloseInstancePublicPortsInput) GoString ¶
func (s CloseInstancePublicPortsInput) GoString() string
GoString returns the string representation
func (*CloseInstancePublicPortsInput) SetInstanceName ¶
func (s *CloseInstancePublicPortsInput) SetInstanceName(v string) *CloseInstancePublicPortsInput
SetInstanceName sets the InstanceName field's value.
func (*CloseInstancePublicPortsInput) SetPortInfo ¶
func (s *CloseInstancePublicPortsInput) SetPortInfo(v *PortInfo) *CloseInstancePublicPortsInput
SetPortInfo sets the PortInfo field's value.
func (CloseInstancePublicPortsInput) String ¶
func (s CloseInstancePublicPortsInput) String() string
String returns the string representation
func (*CloseInstancePublicPortsInput) Validate ¶
func (s *CloseInstancePublicPortsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CloseInstancePublicPortsOutput ¶
type CloseInstancePublicPortsOutput struct { // An array of key-value pairs that contains information about the operation. Operation *Operation `locationName:"operation" type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CloseInstancePublicPortsResult
func (CloseInstancePublicPortsOutput) GoString ¶
func (s CloseInstancePublicPortsOutput) GoString() string
GoString returns the string representation
func (CloseInstancePublicPortsOutput) SDKResponseMetadata ¶
func (s CloseInstancePublicPortsOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*CloseInstancePublicPortsOutput) SetOperation ¶
func (s *CloseInstancePublicPortsOutput) SetOperation(v *Operation) *CloseInstancePublicPortsOutput
SetOperation sets the Operation field's value.
func (CloseInstancePublicPortsOutput) String ¶
func (s CloseInstancePublicPortsOutput) String() string
String returns the string representation
type CloseInstancePublicPortsRequest ¶
type CloseInstancePublicPortsRequest struct { *aws.Request Input *CloseInstancePublicPortsInput }
CloseInstancePublicPortsRequest is a API request type for the CloseInstancePublicPorts API operation.
func (CloseInstancePublicPortsRequest) Send ¶
func (r CloseInstancePublicPortsRequest) Send() (*CloseInstancePublicPortsOutput, error)
Send marshals and sends the CloseInstancePublicPorts API request.
type CreateDiskFromSnapshotInput ¶
type CreateDiskFromSnapshotInput struct { // The Availability Zone where you want to create the disk (e.g., us-east-2a). // Choose the same Availability Zone as the Lightsail instance where you want // to create the disk. // // Use the GetRegions operation to list the Availability Zones where Lightsail // is currently available. // // AvailabilityZone is a required field AvailabilityZone *string `locationName:"availabilityZone" type:"string" required:"true"` // The unique Lightsail disk name (e.g., my-disk). // // DiskName is a required field DiskName *string `locationName:"diskName" type:"string" required:"true"` // The name of the disk snapshot (e.g., my-snapshot) from which to create the // new storage disk. // // DiskSnapshotName is a required field DiskSnapshotName *string `locationName:"diskSnapshotName" type:"string" required:"true"` // The size of the disk in GB (e.g., 32). // // SizeInGb is a required field SizeInGb *int64 `locationName:"sizeInGb" type:"integer" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateDiskFromSnapshotRequest
func (CreateDiskFromSnapshotInput) GoString ¶
func (s CreateDiskFromSnapshotInput) GoString() string
GoString returns the string representation
func (*CreateDiskFromSnapshotInput) SetAvailabilityZone ¶
func (s *CreateDiskFromSnapshotInput) SetAvailabilityZone(v string) *CreateDiskFromSnapshotInput
SetAvailabilityZone sets the AvailabilityZone field's value.
func (*CreateDiskFromSnapshotInput) SetDiskName ¶
func (s *CreateDiskFromSnapshotInput) SetDiskName(v string) *CreateDiskFromSnapshotInput
SetDiskName sets the DiskName field's value.
func (*CreateDiskFromSnapshotInput) SetDiskSnapshotName ¶
func (s *CreateDiskFromSnapshotInput) SetDiskSnapshotName(v string) *CreateDiskFromSnapshotInput
SetDiskSnapshotName sets the DiskSnapshotName field's value.
func (*CreateDiskFromSnapshotInput) SetSizeInGb ¶
func (s *CreateDiskFromSnapshotInput) SetSizeInGb(v int64) *CreateDiskFromSnapshotInput
SetSizeInGb sets the SizeInGb field's value.
func (CreateDiskFromSnapshotInput) String ¶
func (s CreateDiskFromSnapshotInput) String() 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 object describing the API operations. Operations []Operation `locationName:"operations" type:"list"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateDiskFromSnapshotResult
func (CreateDiskFromSnapshotOutput) GoString ¶
func (s CreateDiskFromSnapshotOutput) GoString() string
GoString returns the string representation
func (CreateDiskFromSnapshotOutput) SDKResponseMetadata ¶
func (s CreateDiskFromSnapshotOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*CreateDiskFromSnapshotOutput) SetOperations ¶
func (s *CreateDiskFromSnapshotOutput) SetOperations(v []Operation) *CreateDiskFromSnapshotOutput
SetOperations sets the Operations field's value.
func (CreateDiskFromSnapshotOutput) String ¶
func (s CreateDiskFromSnapshotOutput) String() string
String returns the string representation
type CreateDiskFromSnapshotRequest ¶
type CreateDiskFromSnapshotRequest struct { *aws.Request Input *CreateDiskFromSnapshotInput }
CreateDiskFromSnapshotRequest is a API request type for the CreateDiskFromSnapshot API operation.
func (CreateDiskFromSnapshotRequest) Send ¶
func (r CreateDiskFromSnapshotRequest) Send() (*CreateDiskFromSnapshotOutput, error)
Send marshals and sends the CreateDiskFromSnapshot API request.
type CreateDiskInput ¶
type CreateDiskInput struct { // The Availability Zone where you want to create the disk (e.g., us-east-2a). // Choose the same Availability Zone as the Lightsail instance where you want // to create the disk. // // Use the GetRegions operation to list the Availability Zones where Lightsail // is currently available. // // AvailabilityZone is a required field AvailabilityZone *string `locationName:"availabilityZone" type:"string" required:"true"` // The unique Lightsail disk name (e.g., my-disk). // // DiskName is a required field DiskName *string `locationName:"diskName" type:"string" required:"true"` // The size of the disk in GB (e.g., 32). // // SizeInGb is a required field SizeInGb *int64 `locationName:"sizeInGb" type:"integer" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateDiskRequest
func (CreateDiskInput) GoString ¶
func (s CreateDiskInput) GoString() string
GoString returns the string representation
func (*CreateDiskInput) SetAvailabilityZone ¶
func (s *CreateDiskInput) SetAvailabilityZone(v string) *CreateDiskInput
SetAvailabilityZone sets the AvailabilityZone field's value.
func (*CreateDiskInput) SetDiskName ¶
func (s *CreateDiskInput) SetDiskName(v string) *CreateDiskInput
SetDiskName sets the DiskName field's value.
func (*CreateDiskInput) SetSizeInGb ¶
func (s *CreateDiskInput) SetSizeInGb(v int64) *CreateDiskInput
SetSizeInGb sets the SizeInGb field's value.
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 object describing the API operations. Operations []Operation `locationName:"operations" type:"list"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateDiskResult
func (CreateDiskOutput) GoString ¶
func (s CreateDiskOutput) GoString() string
GoString returns the string representation
func (CreateDiskOutput) SDKResponseMetadata ¶
func (s CreateDiskOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*CreateDiskOutput) SetOperations ¶
func (s *CreateDiskOutput) SetOperations(v []Operation) *CreateDiskOutput
SetOperations sets the Operations field's value.
func (CreateDiskOutput) String ¶
func (s CreateDiskOutput) String() string
String returns the string representation
type CreateDiskRequest ¶
type CreateDiskRequest struct { *aws.Request Input *CreateDiskInput }
CreateDiskRequest is a API request type for the CreateDisk API operation.
func (CreateDiskRequest) Send ¶
func (r CreateDiskRequest) Send() (*CreateDiskOutput, error)
Send marshals and sends the CreateDisk API request.
type CreateDiskSnapshotInput ¶
type CreateDiskSnapshotInput struct { // The unique name of the source disk (e.g., my-source-disk). // // DiskName is a required field DiskName *string `locationName:"diskName" type:"string" required:"true"` // The name of the destination disk snapshot (e.g., my-disk-snapshot) based // on the source disk. // // DiskSnapshotName is a required field DiskSnapshotName *string `locationName:"diskSnapshotName" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateDiskSnapshotRequest
func (CreateDiskSnapshotInput) GoString ¶
func (s CreateDiskSnapshotInput) GoString() string
GoString returns the string representation
func (*CreateDiskSnapshotInput) SetDiskName ¶
func (s *CreateDiskSnapshotInput) SetDiskName(v string) *CreateDiskSnapshotInput
SetDiskName sets the DiskName field's value.
func (*CreateDiskSnapshotInput) SetDiskSnapshotName ¶
func (s *CreateDiskSnapshotInput) SetDiskSnapshotName(v string) *CreateDiskSnapshotInput
SetDiskSnapshotName sets the DiskSnapshotName field's value.
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 object describing the API operations. Operations []Operation `locationName:"operations" type:"list"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateDiskSnapshotResult
func (CreateDiskSnapshotOutput) GoString ¶
func (s CreateDiskSnapshotOutput) GoString() string
GoString returns the string representation
func (CreateDiskSnapshotOutput) SDKResponseMetadata ¶
func (s CreateDiskSnapshotOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*CreateDiskSnapshotOutput) SetOperations ¶
func (s *CreateDiskSnapshotOutput) SetOperations(v []Operation) *CreateDiskSnapshotOutput
SetOperations sets the Operations field's value.
func (CreateDiskSnapshotOutput) String ¶
func (s CreateDiskSnapshotOutput) String() string
String returns the string representation
type CreateDiskSnapshotRequest ¶
type CreateDiskSnapshotRequest struct { *aws.Request Input *CreateDiskSnapshotInput }
CreateDiskSnapshotRequest is a API request type for the CreateDiskSnapshot API operation.
func (CreateDiskSnapshotRequest) Send ¶
func (r CreateDiskSnapshotRequest) Send() (*CreateDiskSnapshotOutput, error)
Send marshals and sends the CreateDiskSnapshot API request.
type CreateDomainEntryInput ¶
type CreateDomainEntryInput struct { // An array of key-value pairs containing information about the domain entry // request. // // DomainEntry is a required field DomainEntry *DomainEntry `locationName:"domainEntry" type:"structure" required:"true"` // The domain name (e.g., example.com) for which you want to create the domain // entry. // // DomainName is a required field DomainName *string `locationName:"domainName" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateDomainEntryRequest
func (CreateDomainEntryInput) GoString ¶
func (s CreateDomainEntryInput) GoString() string
GoString returns the string representation
func (*CreateDomainEntryInput) SetDomainEntry ¶
func (s *CreateDomainEntryInput) SetDomainEntry(v *DomainEntry) *CreateDomainEntryInput
SetDomainEntry sets the DomainEntry field's value.
func (*CreateDomainEntryInput) SetDomainName ¶
func (s *CreateDomainEntryInput) SetDomainName(v string) *CreateDomainEntryInput
SetDomainName sets the DomainName field's value.
func (CreateDomainEntryInput) String ¶
func (s CreateDomainEntryInput) String() string
String returns the string representation
func (*CreateDomainEntryInput) Validate ¶
func (s *CreateDomainEntryInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateDomainEntryOutput ¶
type CreateDomainEntryOutput struct { // An array of key-value pairs containing information about the operation. Operation *Operation `locationName:"operation" type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateDomainEntryResult
func (CreateDomainEntryOutput) GoString ¶
func (s CreateDomainEntryOutput) GoString() string
GoString returns the string representation
func (CreateDomainEntryOutput) SDKResponseMetadata ¶
func (s CreateDomainEntryOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*CreateDomainEntryOutput) SetOperation ¶
func (s *CreateDomainEntryOutput) SetOperation(v *Operation) *CreateDomainEntryOutput
SetOperation sets the Operation field's value.
func (CreateDomainEntryOutput) String ¶
func (s CreateDomainEntryOutput) String() string
String returns the string representation
type CreateDomainEntryRequest ¶
type CreateDomainEntryRequest struct { *aws.Request Input *CreateDomainEntryInput }
CreateDomainEntryRequest is a API request type for the CreateDomainEntry API operation.
func (CreateDomainEntryRequest) Send ¶
func (r CreateDomainEntryRequest) Send() (*CreateDomainEntryOutput, error)
Send marshals and sends the CreateDomainEntry API request.
type CreateDomainInput ¶
type CreateDomainInput struct { // The domain name to manage (e.g., example.com). // // You cannot register a new domain name using Lightsail. You must register // a domain name using Amazon Route 53 or another domain name registrar. If // you have already registered your domain, you can enter its name in this parameter // to manage the DNS records for that domain. // // DomainName is a required field DomainName *string `locationName:"domainName" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateDomainRequest
func (CreateDomainInput) GoString ¶
func (s CreateDomainInput) GoString() string
GoString returns the string representation
func (*CreateDomainInput) SetDomainName ¶
func (s *CreateDomainInput) SetDomainName(v string) *CreateDomainInput
SetDomainName sets the DomainName field's value.
func (CreateDomainInput) String ¶
func (s CreateDomainInput) String() string
String returns the string representation
func (*CreateDomainInput) Validate ¶
func (s *CreateDomainInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateDomainOutput ¶
type CreateDomainOutput struct { // An array of key-value pairs containing information about the domain resource // you created. Operation *Operation `locationName:"operation" type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateDomainResult
func (CreateDomainOutput) GoString ¶
func (s CreateDomainOutput) GoString() string
GoString returns the string representation
func (CreateDomainOutput) SDKResponseMetadata ¶
func (s CreateDomainOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*CreateDomainOutput) SetOperation ¶
func (s *CreateDomainOutput) SetOperation(v *Operation) *CreateDomainOutput
SetOperation sets the Operation field's value.
func (CreateDomainOutput) String ¶
func (s CreateDomainOutput) String() string
String returns the string representation
type CreateDomainRequest ¶
type CreateDomainRequest struct { *aws.Request Input *CreateDomainInput }
CreateDomainRequest is a API request type for the CreateDomain API operation.
func (CreateDomainRequest) Send ¶
func (r CreateDomainRequest) Send() (*CreateDomainOutput, error)
Send marshals and sends the CreateDomain API request.
type CreateInstanceSnapshotInput ¶
type CreateInstanceSnapshotInput struct { // The Lightsail instance on which to base your snapshot. // // InstanceName is a required field InstanceName *string `locationName:"instanceName" type:"string" required:"true"` // The name for your new snapshot. // // InstanceSnapshotName is a required field InstanceSnapshotName *string `locationName:"instanceSnapshotName" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateInstanceSnapshotRequest
func (CreateInstanceSnapshotInput) GoString ¶
func (s CreateInstanceSnapshotInput) GoString() string
GoString returns the string representation
func (*CreateInstanceSnapshotInput) SetInstanceName ¶
func (s *CreateInstanceSnapshotInput) SetInstanceName(v string) *CreateInstanceSnapshotInput
SetInstanceName sets the InstanceName field's value.
func (*CreateInstanceSnapshotInput) SetInstanceSnapshotName ¶
func (s *CreateInstanceSnapshotInput) SetInstanceSnapshotName(v string) *CreateInstanceSnapshotInput
SetInstanceSnapshotName sets the InstanceSnapshotName field's value.
func (CreateInstanceSnapshotInput) String ¶
func (s CreateInstanceSnapshotInput) String() string
String returns the string representation
func (*CreateInstanceSnapshotInput) Validate ¶
func (s *CreateInstanceSnapshotInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateInstanceSnapshotOutput ¶
type CreateInstanceSnapshotOutput struct { // An array of key-value pairs containing information about the results of your // create instances snapshot request. Operations []Operation `locationName:"operations" type:"list"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateInstanceSnapshotResult
func (CreateInstanceSnapshotOutput) GoString ¶
func (s CreateInstanceSnapshotOutput) GoString() string
GoString returns the string representation
func (CreateInstanceSnapshotOutput) SDKResponseMetadata ¶
func (s CreateInstanceSnapshotOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*CreateInstanceSnapshotOutput) SetOperations ¶
func (s *CreateInstanceSnapshotOutput) SetOperations(v []Operation) *CreateInstanceSnapshotOutput
SetOperations sets the Operations field's value.
func (CreateInstanceSnapshotOutput) String ¶
func (s CreateInstanceSnapshotOutput) String() string
String returns the string representation
type CreateInstanceSnapshotRequest ¶
type CreateInstanceSnapshotRequest struct { *aws.Request Input *CreateInstanceSnapshotInput }
CreateInstanceSnapshotRequest is a API request type for the CreateInstanceSnapshot API operation.
func (CreateInstanceSnapshotRequest) Send ¶
func (r CreateInstanceSnapshotRequest) Send() (*CreateInstanceSnapshotOutput, error)
Send marshals and sends the CreateInstanceSnapshot API request.
type CreateInstancesFromSnapshotInput ¶
type CreateInstancesFromSnapshotInput struct { // An object containing information about one or more disk mappings. AttachedDiskMapping map[string][]DiskMap `locationName:"attachedDiskMapping" type:"map"` // The Availability Zone where you want to create your instances. Use the following // formatting: us-east-2a (case sensitive). You can get a list of availability // zones by using the get regions (http://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_GetRegions.html) // operation. Be sure to add the include availability zones parameter to your // request. // // AvailabilityZone is a required field AvailabilityZone *string `locationName:"availabilityZone" type:"string" required:"true"` // The bundle of specification information for your virtual private server (or // instance), including the pricing plan (e.g., micro_1_0). // // BundleId is a required field BundleId *string `locationName:"bundleId" type:"string" required:"true"` // The names for your new instances. // // InstanceNames is a required field InstanceNames []string `locationName:"instanceNames" type:"list" required:"true"` // The name of the instance snapshot on which you are basing your new instances. // Use the get instance snapshots operation to return information about your // existing snapshots. // // InstanceSnapshotName is a required field InstanceSnapshotName *string `locationName:"instanceSnapshotName" type:"string" required:"true"` // The name for your key pair. KeyPairName *string `locationName:"keyPairName" type:"string"` // You can create a launch script that configures a server with additional user // data. For example, apt-get -y update. // // Depending on the machine image you choose, the command to get software on // your instance varies. Amazon Linux and CentOS use yum, Debian and Ubuntu // use apt-get, and FreeBSD uses pkg. For a complete list, see the Dev Guide // (http://lightsail.aws.amazon.com/ls/docs/getting-started/articles/pre-installed-apps). UserData *string `locationName:"userData" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateInstancesFromSnapshotRequest
func (CreateInstancesFromSnapshotInput) GoString ¶
func (s CreateInstancesFromSnapshotInput) GoString() string
GoString returns the string representation
func (*CreateInstancesFromSnapshotInput) SetAttachedDiskMapping ¶
func (s *CreateInstancesFromSnapshotInput) SetAttachedDiskMapping(v map[string][]DiskMap) *CreateInstancesFromSnapshotInput
SetAttachedDiskMapping sets the AttachedDiskMapping field's value.
func (*CreateInstancesFromSnapshotInput) SetAvailabilityZone ¶
func (s *CreateInstancesFromSnapshotInput) SetAvailabilityZone(v string) *CreateInstancesFromSnapshotInput
SetAvailabilityZone sets the AvailabilityZone field's value.
func (*CreateInstancesFromSnapshotInput) SetBundleId ¶
func (s *CreateInstancesFromSnapshotInput) SetBundleId(v string) *CreateInstancesFromSnapshotInput
SetBundleId sets the BundleId field's value.
func (*CreateInstancesFromSnapshotInput) SetInstanceNames ¶
func (s *CreateInstancesFromSnapshotInput) SetInstanceNames(v []string) *CreateInstancesFromSnapshotInput
SetInstanceNames sets the InstanceNames field's value.
func (*CreateInstancesFromSnapshotInput) SetInstanceSnapshotName ¶
func (s *CreateInstancesFromSnapshotInput) SetInstanceSnapshotName(v string) *CreateInstancesFromSnapshotInput
SetInstanceSnapshotName sets the InstanceSnapshotName field's value.
func (*CreateInstancesFromSnapshotInput) SetKeyPairName ¶
func (s *CreateInstancesFromSnapshotInput) SetKeyPairName(v string) *CreateInstancesFromSnapshotInput
SetKeyPairName sets the KeyPairName field's value.
func (*CreateInstancesFromSnapshotInput) SetUserData ¶
func (s *CreateInstancesFromSnapshotInput) SetUserData(v string) *CreateInstancesFromSnapshotInput
SetUserData sets the UserData field's value.
func (CreateInstancesFromSnapshotInput) String ¶
func (s CreateInstancesFromSnapshotInput) String() string
String returns the string representation
func (*CreateInstancesFromSnapshotInput) Validate ¶
func (s *CreateInstancesFromSnapshotInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateInstancesFromSnapshotOutput ¶
type CreateInstancesFromSnapshotOutput struct { // An array of key-value pairs containing information about the results of your // create instances from snapshot request. Operations []Operation `locationName:"operations" type:"list"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateInstancesFromSnapshotResult
func (CreateInstancesFromSnapshotOutput) GoString ¶
func (s CreateInstancesFromSnapshotOutput) GoString() string
GoString returns the string representation
func (CreateInstancesFromSnapshotOutput) SDKResponseMetadata ¶
func (s CreateInstancesFromSnapshotOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*CreateInstancesFromSnapshotOutput) SetOperations ¶
func (s *CreateInstancesFromSnapshotOutput) SetOperations(v []Operation) *CreateInstancesFromSnapshotOutput
SetOperations sets the Operations field's value.
func (CreateInstancesFromSnapshotOutput) String ¶
func (s CreateInstancesFromSnapshotOutput) String() string
String returns the string representation
type CreateInstancesFromSnapshotRequest ¶
type CreateInstancesFromSnapshotRequest struct { *aws.Request Input *CreateInstancesFromSnapshotInput }
CreateInstancesFromSnapshotRequest is a API request type for the CreateInstancesFromSnapshot API operation.
func (CreateInstancesFromSnapshotRequest) Send ¶
func (r CreateInstancesFromSnapshotRequest) Send() (*CreateInstancesFromSnapshotOutput, error)
Send marshals and sends the CreateInstancesFromSnapshot API request.
type CreateInstancesInput ¶
type CreateInstancesInput struct { // The Availability Zone in which to create your instance. Use the following // format: us-east-2a (case sensitive). You can get a list of availability zones // by using the get regions (http://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_GetRegions.html) // operation. Be sure to add the include availability zones parameter to your // request. // // AvailabilityZone is a required field AvailabilityZone *string `locationName:"availabilityZone" type:"string" required:"true"` // The ID for a virtual private server image (e.g., app_wordpress_4_4 or app_lamp_7_0). // Use the get blueprints operation to return a list of available images (or // blueprints). // // BlueprintId is a required field BlueprintId *string `locationName:"blueprintId" type:"string" required:"true"` // The bundle of specification information for your virtual private server (or // instance), including the pricing plan (e.g., micro_1_0). // // BundleId is a required field BundleId *string `locationName:"bundleId" type:"string" required:"true"` // (Deprecated) The name for your custom image. // // In releases prior to June 12, 2017, this parameter was ignored by the API. // It is now deprecated. CustomImageName *string `locationName:"customImageName" deprecated:"true" type:"string"` // The names to use for your new Lightsail instances. Separate multiple values // using quotation marks and commas, for example: ["MyFirstInstance","MySecondInstance"] // // InstanceNames is a required field InstanceNames []string `locationName:"instanceNames" type:"list" required:"true"` // The name of your key pair. KeyPairName *string `locationName:"keyPairName" type:"string"` // A launch script you can create that configures a server with additional user // data. For example, you might want to run apt-get -y update. // // Depending on the machine image you choose, the command to get software on // your instance varies. Amazon Linux and CentOS use yum, Debian and Ubuntu // use apt-get, and FreeBSD uses pkg. For a complete list, see the Dev Guide // (https://lightsail.aws.amazon.com/ls/docs/getting-started/article/compare-options-choose-lightsail-instance-image). UserData *string `locationName:"userData" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateInstancesRequest
func (CreateInstancesInput) GoString ¶
func (s CreateInstancesInput) GoString() string
GoString returns the string representation
func (*CreateInstancesInput) SetAvailabilityZone ¶
func (s *CreateInstancesInput) SetAvailabilityZone(v string) *CreateInstancesInput
SetAvailabilityZone sets the AvailabilityZone field's value.
func (*CreateInstancesInput) SetBlueprintId ¶
func (s *CreateInstancesInput) SetBlueprintId(v string) *CreateInstancesInput
SetBlueprintId sets the BlueprintId field's value.
func (*CreateInstancesInput) SetBundleId ¶
func (s *CreateInstancesInput) SetBundleId(v string) *CreateInstancesInput
SetBundleId sets the BundleId field's value.
func (*CreateInstancesInput) SetCustomImageName ¶
func (s *CreateInstancesInput) SetCustomImageName(v string) *CreateInstancesInput
SetCustomImageName sets the CustomImageName field's value.
func (*CreateInstancesInput) SetInstanceNames ¶
func (s *CreateInstancesInput) SetInstanceNames(v []string) *CreateInstancesInput
SetInstanceNames sets the InstanceNames field's value.
func (*CreateInstancesInput) SetKeyPairName ¶
func (s *CreateInstancesInput) SetKeyPairName(v string) *CreateInstancesInput
SetKeyPairName sets the KeyPairName field's value.
func (*CreateInstancesInput) SetUserData ¶
func (s *CreateInstancesInput) SetUserData(v string) *CreateInstancesInput
SetUserData sets the UserData field's value.
func (CreateInstancesInput) String ¶
func (s CreateInstancesInput) String() string
String returns the string representation
func (*CreateInstancesInput) Validate ¶
func (s *CreateInstancesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateInstancesOutput ¶
type CreateInstancesOutput struct { // An array of key-value pairs containing information about the results of your // create instances request. Operations []Operation `locationName:"operations" type:"list"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateInstancesResult
func (CreateInstancesOutput) GoString ¶
func (s CreateInstancesOutput) GoString() string
GoString returns the string representation
func (CreateInstancesOutput) SDKResponseMetadata ¶
func (s CreateInstancesOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*CreateInstancesOutput) SetOperations ¶
func (s *CreateInstancesOutput) SetOperations(v []Operation) *CreateInstancesOutput
SetOperations sets the Operations field's value.
func (CreateInstancesOutput) String ¶
func (s CreateInstancesOutput) String() string
String returns the string representation
type CreateInstancesRequest ¶
type CreateInstancesRequest struct { *aws.Request Input *CreateInstancesInput }
CreateInstancesRequest is a API request type for the CreateInstances API operation.
func (CreateInstancesRequest) Send ¶
func (r CreateInstancesRequest) Send() (*CreateInstancesOutput, error)
Send marshals and sends the CreateInstances API request.
type CreateKeyPairInput ¶
type CreateKeyPairInput struct { // The name for your new key pair. // // KeyPairName is a required field KeyPairName *string `locationName:"keyPairName" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateKeyPairRequest
func (CreateKeyPairInput) GoString ¶
func (s CreateKeyPairInput) GoString() string
GoString returns the string representation
func (*CreateKeyPairInput) SetKeyPairName ¶
func (s *CreateKeyPairInput) SetKeyPairName(v string) *CreateKeyPairInput
SetKeyPairName sets the KeyPairName field's value.
func (CreateKeyPairInput) String ¶
func (s CreateKeyPairInput) String() string
String returns the string representation
func (*CreateKeyPairInput) Validate ¶
func (s *CreateKeyPairInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateKeyPairOutput ¶
type CreateKeyPairOutput struct { // An array of key-value pairs containing information about the new key pair // you just created. KeyPair *KeyPair `locationName:"keyPair" type:"structure"` // An array of key-value pairs containing information about the results of your // create key pair request. Operation *Operation `locationName:"operation" type:"structure"` // A base64-encoded RSA private key. PrivateKeyBase64 *string `locationName:"privateKeyBase64" type:"string"` // A base64-encoded public key of the ssh-rsa type. PublicKeyBase64 *string `locationName:"publicKeyBase64" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateKeyPairResult
func (CreateKeyPairOutput) GoString ¶
func (s CreateKeyPairOutput) GoString() string
GoString returns the string representation
func (CreateKeyPairOutput) SDKResponseMetadata ¶
func (s CreateKeyPairOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*CreateKeyPairOutput) SetKeyPair ¶
func (s *CreateKeyPairOutput) SetKeyPair(v *KeyPair) *CreateKeyPairOutput
SetKeyPair sets the KeyPair field's value.
func (*CreateKeyPairOutput) SetOperation ¶
func (s *CreateKeyPairOutput) SetOperation(v *Operation) *CreateKeyPairOutput
SetOperation sets the Operation field's value.
func (*CreateKeyPairOutput) SetPrivateKeyBase64 ¶
func (s *CreateKeyPairOutput) SetPrivateKeyBase64(v string) *CreateKeyPairOutput
SetPrivateKeyBase64 sets the PrivateKeyBase64 field's value.
func (*CreateKeyPairOutput) SetPublicKeyBase64 ¶
func (s *CreateKeyPairOutput) SetPublicKeyBase64(v string) *CreateKeyPairOutput
SetPublicKeyBase64 sets the PublicKeyBase64 field's value.
func (CreateKeyPairOutput) String ¶
func (s CreateKeyPairOutput) String() string
String returns the string representation
type CreateKeyPairRequest ¶
type CreateKeyPairRequest struct { *aws.Request Input *CreateKeyPairInput }
CreateKeyPairRequest is a API request type for the CreateKeyPair API operation.
func (CreateKeyPairRequest) Send ¶
func (r CreateKeyPairRequest) Send() (*CreateKeyPairOutput, error)
Send marshals and sends the CreateKeyPair API request.
type CreateLoadBalancerInput ¶
type CreateLoadBalancerInput struct { // The alternative domain names to use with your TLS/SSL certificate (e.g., // www.example.com, www.ejemplo.com, ejemplo.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 TLS/SSL 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., "/"). HealthCheckPath *string `locationName:"healthCheckPath" type:"string"` // The instance port where you're creating your load balancer. // // InstancePort is a required field InstancePort *int64 `locationName:"instancePort" type:"integer" required:"true"` // The name of your load balancer. // // LoadBalancerName is a required field LoadBalancerName *string `locationName:"loadBalancerName" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateLoadBalancerRequest
func (CreateLoadBalancerInput) GoString ¶
func (s CreateLoadBalancerInput) GoString() string
GoString returns the string representation
func (*CreateLoadBalancerInput) SetCertificateAlternativeNames ¶
func (s *CreateLoadBalancerInput) SetCertificateAlternativeNames(v []string) *CreateLoadBalancerInput
SetCertificateAlternativeNames sets the CertificateAlternativeNames field's value.
func (*CreateLoadBalancerInput) SetCertificateDomainName ¶
func (s *CreateLoadBalancerInput) SetCertificateDomainName(v string) *CreateLoadBalancerInput
SetCertificateDomainName sets the CertificateDomainName field's value.
func (*CreateLoadBalancerInput) SetCertificateName ¶
func (s *CreateLoadBalancerInput) SetCertificateName(v string) *CreateLoadBalancerInput
SetCertificateName sets the CertificateName field's value.
func (*CreateLoadBalancerInput) SetHealthCheckPath ¶
func (s *CreateLoadBalancerInput) SetHealthCheckPath(v string) *CreateLoadBalancerInput
SetHealthCheckPath sets the HealthCheckPath field's value.
func (*CreateLoadBalancerInput) SetInstancePort ¶
func (s *CreateLoadBalancerInput) SetInstancePort(v int64) *CreateLoadBalancerInput
SetInstancePort sets the InstancePort field's value.
func (*CreateLoadBalancerInput) SetLoadBalancerName ¶
func (s *CreateLoadBalancerInput) SetLoadBalancerName(v string) *CreateLoadBalancerInput
SetLoadBalancerName sets the LoadBalancerName field's value.
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 object containing information about the API operations. Operations []Operation `locationName:"operations" type:"list"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateLoadBalancerResult
func (CreateLoadBalancerOutput) GoString ¶
func (s CreateLoadBalancerOutput) GoString() string
GoString returns the string representation
func (CreateLoadBalancerOutput) SDKResponseMetadata ¶
func (s CreateLoadBalancerOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*CreateLoadBalancerOutput) SetOperations ¶
func (s *CreateLoadBalancerOutput) SetOperations(v []Operation) *CreateLoadBalancerOutput
SetOperations sets the Operations field's value.
func (CreateLoadBalancerOutput) String ¶
func (s CreateLoadBalancerOutput) String() string
String returns the string representation
type CreateLoadBalancerRequest ¶
type CreateLoadBalancerRequest struct { *aws.Request Input *CreateLoadBalancerInput }
CreateLoadBalancerRequest is a API request type for the CreateLoadBalancer API operation.
func (CreateLoadBalancerRequest) Send ¶
func (r CreateLoadBalancerRequest) Send() (*CreateLoadBalancerOutput, error)
Send marshals and sends the CreateLoadBalancer API request.
type CreateLoadBalancerTlsCertificateInput ¶
type CreateLoadBalancerTlsCertificateInput struct { // An array of strings listing alternative domain names for your TLS/SSL certificate. CertificateAlternativeNames []string `locationName:"certificateAlternativeNames" type:"list"` // The domain name (e.g., example.com) for your TLS/SSL certificate. // // CertificateDomainName is a required field CertificateDomainName *string `locationName:"certificateDomainName" type:"string" required:"true"` // The TLS/SSL certificate name. // // CertificateName is a required field CertificateName *string `locationName:"certificateName" type:"string" required:"true"` // The load balancer name where you want to create the TLS/SSL certificate. // // LoadBalancerName is a required field LoadBalancerName *string `locationName:"loadBalancerName" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateLoadBalancerTlsCertificateRequest
func (CreateLoadBalancerTlsCertificateInput) GoString ¶
func (s CreateLoadBalancerTlsCertificateInput) GoString() string
GoString returns the string representation
func (*CreateLoadBalancerTlsCertificateInput) SetCertificateAlternativeNames ¶
func (s *CreateLoadBalancerTlsCertificateInput) SetCertificateAlternativeNames(v []string) *CreateLoadBalancerTlsCertificateInput
SetCertificateAlternativeNames sets the CertificateAlternativeNames field's value.
func (*CreateLoadBalancerTlsCertificateInput) SetCertificateDomainName ¶
func (s *CreateLoadBalancerTlsCertificateInput) SetCertificateDomainName(v string) *CreateLoadBalancerTlsCertificateInput
SetCertificateDomainName sets the CertificateDomainName field's value.
func (*CreateLoadBalancerTlsCertificateInput) SetCertificateName ¶
func (s *CreateLoadBalancerTlsCertificateInput) SetCertificateName(v string) *CreateLoadBalancerTlsCertificateInput
SetCertificateName sets the CertificateName field's value.
func (*CreateLoadBalancerTlsCertificateInput) SetLoadBalancerName ¶
func (s *CreateLoadBalancerTlsCertificateInput) SetLoadBalancerName(v string) *CreateLoadBalancerTlsCertificateInput
SetLoadBalancerName sets the LoadBalancerName field's value.
func (CreateLoadBalancerTlsCertificateInput) String ¶
func (s CreateLoadBalancerTlsCertificateInput) String() string
String returns the string representation
func (*CreateLoadBalancerTlsCertificateInput) Validate ¶
func (s *CreateLoadBalancerTlsCertificateInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateLoadBalancerTlsCertificateOutput ¶
type CreateLoadBalancerTlsCertificateOutput struct { // An object containing information about the API operations. Operations []Operation `locationName:"operations" type:"list"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateLoadBalancerTlsCertificateResult
func (CreateLoadBalancerTlsCertificateOutput) GoString ¶
func (s CreateLoadBalancerTlsCertificateOutput) GoString() string
GoString returns the string representation
func (CreateLoadBalancerTlsCertificateOutput) SDKResponseMetadata ¶
func (s CreateLoadBalancerTlsCertificateOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*CreateLoadBalancerTlsCertificateOutput) SetOperations ¶
func (s *CreateLoadBalancerTlsCertificateOutput) SetOperations(v []Operation) *CreateLoadBalancerTlsCertificateOutput
SetOperations sets the Operations field's value.
func (CreateLoadBalancerTlsCertificateOutput) String ¶
func (s CreateLoadBalancerTlsCertificateOutput) String() string
String returns the string representation
type CreateLoadBalancerTlsCertificateRequest ¶
type CreateLoadBalancerTlsCertificateRequest struct { *aws.Request Input *CreateLoadBalancerTlsCertificateInput }
CreateLoadBalancerTlsCertificateRequest is a API request type for the CreateLoadBalancerTlsCertificate API operation.
func (CreateLoadBalancerTlsCertificateRequest) Send ¶
func (r CreateLoadBalancerTlsCertificateRequest) Send() (*CreateLoadBalancerTlsCertificateOutput, error)
Send marshals and sends the CreateLoadBalancerTlsCertificate API 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"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteDiskRequest
func (DeleteDiskInput) GoString ¶
func (s DeleteDiskInput) GoString() string
GoString returns the string representation
func (*DeleteDiskInput) SetDiskName ¶
func (s *DeleteDiskInput) SetDiskName(v string) *DeleteDiskInput
SetDiskName sets the DiskName field's value.
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 object describing the API operations. Operations []Operation `locationName:"operations" type:"list"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteDiskResult
func (DeleteDiskOutput) GoString ¶
func (s DeleteDiskOutput) GoString() string
GoString returns the string representation
func (DeleteDiskOutput) SDKResponseMetadata ¶
func (s DeleteDiskOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*DeleteDiskOutput) SetOperations ¶
func (s *DeleteDiskOutput) SetOperations(v []Operation) *DeleteDiskOutput
SetOperations sets the Operations field's value.
func (DeleteDiskOutput) String ¶
func (s DeleteDiskOutput) String() string
String returns the string representation
type DeleteDiskRequest ¶
type DeleteDiskRequest struct { *aws.Request Input *DeleteDiskInput }
DeleteDiskRequest is a API request type for the DeleteDisk API operation.
func (DeleteDiskRequest) Send ¶
func (r DeleteDiskRequest) Send() (*DeleteDiskOutput, error)
Send marshals and sends the DeleteDisk API 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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteDiskSnapshotRequest
func (DeleteDiskSnapshotInput) GoString ¶
func (s DeleteDiskSnapshotInput) GoString() string
GoString returns the string representation
func (*DeleteDiskSnapshotInput) SetDiskSnapshotName ¶
func (s *DeleteDiskSnapshotInput) SetDiskSnapshotName(v string) *DeleteDiskSnapshotInput
SetDiskSnapshotName sets the DiskSnapshotName field's value.
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 object describing the API operations. Operations []Operation `locationName:"operations" type:"list"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteDiskSnapshotResult
func (DeleteDiskSnapshotOutput) GoString ¶
func (s DeleteDiskSnapshotOutput) GoString() string
GoString returns the string representation
func (DeleteDiskSnapshotOutput) SDKResponseMetadata ¶
func (s DeleteDiskSnapshotOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*DeleteDiskSnapshotOutput) SetOperations ¶
func (s *DeleteDiskSnapshotOutput) SetOperations(v []Operation) *DeleteDiskSnapshotOutput
SetOperations sets the Operations field's value.
func (DeleteDiskSnapshotOutput) String ¶
func (s DeleteDiskSnapshotOutput) String() string
String returns the string representation
type DeleteDiskSnapshotRequest ¶
type DeleteDiskSnapshotRequest struct { *aws.Request Input *DeleteDiskSnapshotInput }
DeleteDiskSnapshotRequest is a API request type for the DeleteDiskSnapshot API operation.
func (DeleteDiskSnapshotRequest) Send ¶
func (r DeleteDiskSnapshotRequest) Send() (*DeleteDiskSnapshotOutput, error)
Send marshals and sends the DeleteDiskSnapshot API request.
type DeleteDomainEntryInput ¶
type DeleteDomainEntryInput struct { // An array of key-value pairs containing information about your domain entries. // // DomainEntry is a required field DomainEntry *DomainEntry `locationName:"domainEntry" type:"structure" required:"true"` // The name of the domain entry to delete. // // DomainName is a required field DomainName *string `locationName:"domainName" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteDomainEntryRequest
func (DeleteDomainEntryInput) GoString ¶
func (s DeleteDomainEntryInput) GoString() string
GoString returns the string representation
func (*DeleteDomainEntryInput) SetDomainEntry ¶
func (s *DeleteDomainEntryInput) SetDomainEntry(v *DomainEntry) *DeleteDomainEntryInput
SetDomainEntry sets the DomainEntry field's value.
func (*DeleteDomainEntryInput) SetDomainName ¶
func (s *DeleteDomainEntryInput) SetDomainName(v string) *DeleteDomainEntryInput
SetDomainName sets the DomainName field's value.
func (DeleteDomainEntryInput) String ¶
func (s DeleteDomainEntryInput) String() string
String returns the string representation
func (*DeleteDomainEntryInput) Validate ¶
func (s *DeleteDomainEntryInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteDomainEntryOutput ¶
type DeleteDomainEntryOutput struct { // An array of key-value pairs containing information about the results of your // delete domain entry request. Operation *Operation `locationName:"operation" type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteDomainEntryResult
func (DeleteDomainEntryOutput) GoString ¶
func (s DeleteDomainEntryOutput) GoString() string
GoString returns the string representation
func (DeleteDomainEntryOutput) SDKResponseMetadata ¶
func (s DeleteDomainEntryOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*DeleteDomainEntryOutput) SetOperation ¶
func (s *DeleteDomainEntryOutput) SetOperation(v *Operation) *DeleteDomainEntryOutput
SetOperation sets the Operation field's value.
func (DeleteDomainEntryOutput) String ¶
func (s DeleteDomainEntryOutput) String() string
String returns the string representation
type DeleteDomainEntryRequest ¶
type DeleteDomainEntryRequest struct { *aws.Request Input *DeleteDomainEntryInput }
DeleteDomainEntryRequest is a API request type for the DeleteDomainEntry API operation.
func (DeleteDomainEntryRequest) Send ¶
func (r DeleteDomainEntryRequest) Send() (*DeleteDomainEntryOutput, error)
Send marshals and sends the DeleteDomainEntry API request.
type DeleteDomainInput ¶
type DeleteDomainInput struct { // The specific domain name to delete. // // DomainName is a required field DomainName *string `locationName:"domainName" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteDomainRequest
func (DeleteDomainInput) GoString ¶
func (s DeleteDomainInput) GoString() string
GoString returns the string representation
func (*DeleteDomainInput) SetDomainName ¶
func (s *DeleteDomainInput) SetDomainName(v string) *DeleteDomainInput
SetDomainName sets the DomainName field's value.
func (DeleteDomainInput) String ¶
func (s DeleteDomainInput) String() string
String returns the string representation
func (*DeleteDomainInput) Validate ¶
func (s *DeleteDomainInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteDomainOutput ¶
type DeleteDomainOutput struct { // An array of key-value pairs containing information about the results of your // delete domain request. Operation *Operation `locationName:"operation" type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteDomainResult
func (DeleteDomainOutput) GoString ¶
func (s DeleteDomainOutput) GoString() string
GoString returns the string representation
func (DeleteDomainOutput) SDKResponseMetadata ¶
func (s DeleteDomainOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*DeleteDomainOutput) SetOperation ¶
func (s *DeleteDomainOutput) SetOperation(v *Operation) *DeleteDomainOutput
SetOperation sets the Operation field's value.
func (DeleteDomainOutput) String ¶
func (s DeleteDomainOutput) String() string
String returns the string representation
type DeleteDomainRequest ¶
type DeleteDomainRequest struct { *aws.Request Input *DeleteDomainInput }
DeleteDomainRequest is a API request type for the DeleteDomain API operation.
func (DeleteDomainRequest) Send ¶
func (r DeleteDomainRequest) Send() (*DeleteDomainOutput, error)
Send marshals and sends the DeleteDomain API request.
type DeleteInstanceInput ¶
type DeleteInstanceInput struct { // The name of the instance to delete. // // InstanceName is a required field InstanceName *string `locationName:"instanceName" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteInstanceRequest
func (DeleteInstanceInput) GoString ¶
func (s DeleteInstanceInput) GoString() string
GoString returns the string representation
func (*DeleteInstanceInput) SetInstanceName ¶
func (s *DeleteInstanceInput) SetInstanceName(v string) *DeleteInstanceInput
SetInstanceName sets the InstanceName field's value.
func (DeleteInstanceInput) String ¶
func (s DeleteInstanceInput) String() string
String returns the string representation
func (*DeleteInstanceInput) Validate ¶
func (s *DeleteInstanceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteInstanceOutput ¶
type DeleteInstanceOutput struct { // An array of key-value pairs containing information about the results of your // delete instance request. Operations []Operation `locationName:"operations" type:"list"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteInstanceResult
func (DeleteInstanceOutput) GoString ¶
func (s DeleteInstanceOutput) GoString() string
GoString returns the string representation
func (DeleteInstanceOutput) SDKResponseMetadata ¶
func (s DeleteInstanceOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*DeleteInstanceOutput) SetOperations ¶
func (s *DeleteInstanceOutput) SetOperations(v []Operation) *DeleteInstanceOutput
SetOperations sets the Operations field's value.
func (DeleteInstanceOutput) String ¶
func (s DeleteInstanceOutput) String() string
String returns the string representation
type DeleteInstanceRequest ¶
type DeleteInstanceRequest struct { *aws.Request Input *DeleteInstanceInput }
DeleteInstanceRequest is a API request type for the DeleteInstance API operation.
func (DeleteInstanceRequest) Send ¶
func (r DeleteInstanceRequest) Send() (*DeleteInstanceOutput, error)
Send marshals and sends the DeleteInstance API request.
type DeleteInstanceSnapshotInput ¶
type DeleteInstanceSnapshotInput struct { // The name of the snapshot to delete. // // InstanceSnapshotName is a required field InstanceSnapshotName *string `locationName:"instanceSnapshotName" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteInstanceSnapshotRequest
func (DeleteInstanceSnapshotInput) GoString ¶
func (s DeleteInstanceSnapshotInput) GoString() string
GoString returns the string representation
func (*DeleteInstanceSnapshotInput) SetInstanceSnapshotName ¶
func (s *DeleteInstanceSnapshotInput) SetInstanceSnapshotName(v string) *DeleteInstanceSnapshotInput
SetInstanceSnapshotName sets the InstanceSnapshotName field's value.
func (DeleteInstanceSnapshotInput) String ¶
func (s DeleteInstanceSnapshotInput) String() string
String returns the string representation
func (*DeleteInstanceSnapshotInput) Validate ¶
func (s *DeleteInstanceSnapshotInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteInstanceSnapshotOutput ¶
type DeleteInstanceSnapshotOutput struct { // An array of key-value pairs containing information about the results of your // delete instance snapshot request. Operations []Operation `locationName:"operations" type:"list"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteInstanceSnapshotResult
func (DeleteInstanceSnapshotOutput) GoString ¶
func (s DeleteInstanceSnapshotOutput) GoString() string
GoString returns the string representation
func (DeleteInstanceSnapshotOutput) SDKResponseMetadata ¶
func (s DeleteInstanceSnapshotOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*DeleteInstanceSnapshotOutput) SetOperations ¶
func (s *DeleteInstanceSnapshotOutput) SetOperations(v []Operation) *DeleteInstanceSnapshotOutput
SetOperations sets the Operations field's value.
func (DeleteInstanceSnapshotOutput) String ¶
func (s DeleteInstanceSnapshotOutput) String() string
String returns the string representation
type DeleteInstanceSnapshotRequest ¶
type DeleteInstanceSnapshotRequest struct { *aws.Request Input *DeleteInstanceSnapshotInput }
DeleteInstanceSnapshotRequest is a API request type for the DeleteInstanceSnapshot API operation.
func (DeleteInstanceSnapshotRequest) Send ¶
func (r DeleteInstanceSnapshotRequest) Send() (*DeleteInstanceSnapshotOutput, error)
Send marshals and sends the DeleteInstanceSnapshot API request.
type DeleteKeyPairInput ¶
type DeleteKeyPairInput struct { // The name of the key pair to delete. // // KeyPairName is a required field KeyPairName *string `locationName:"keyPairName" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteKeyPairRequest
func (DeleteKeyPairInput) GoString ¶
func (s DeleteKeyPairInput) GoString() string
GoString returns the string representation
func (*DeleteKeyPairInput) SetKeyPairName ¶
func (s *DeleteKeyPairInput) SetKeyPairName(v string) *DeleteKeyPairInput
SetKeyPairName sets the KeyPairName field's value.
func (DeleteKeyPairInput) String ¶
func (s DeleteKeyPairInput) String() string
String returns the string representation
func (*DeleteKeyPairInput) Validate ¶
func (s *DeleteKeyPairInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteKeyPairOutput ¶
type DeleteKeyPairOutput struct { // An array of key-value pairs containing information about the results of your // delete key pair request. Operation *Operation `locationName:"operation" type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteKeyPairResult
func (DeleteKeyPairOutput) GoString ¶
func (s DeleteKeyPairOutput) GoString() string
GoString returns the string representation
func (DeleteKeyPairOutput) SDKResponseMetadata ¶
func (s DeleteKeyPairOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*DeleteKeyPairOutput) SetOperation ¶
func (s *DeleteKeyPairOutput) SetOperation(v *Operation) *DeleteKeyPairOutput
SetOperation sets the Operation field's value.
func (DeleteKeyPairOutput) String ¶
func (s DeleteKeyPairOutput) String() string
String returns the string representation
type DeleteKeyPairRequest ¶
type DeleteKeyPairRequest struct { *aws.Request Input *DeleteKeyPairInput }
DeleteKeyPairRequest is a API request type for the DeleteKeyPair API operation.
func (DeleteKeyPairRequest) Send ¶
func (r DeleteKeyPairRequest) Send() (*DeleteKeyPairOutput, error)
Send marshals and sends the DeleteKeyPair API 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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteLoadBalancerRequest
func (DeleteLoadBalancerInput) GoString ¶
func (s DeleteLoadBalancerInput) GoString() string
GoString returns the string representation
func (*DeleteLoadBalancerInput) SetLoadBalancerName ¶
func (s *DeleteLoadBalancerInput) SetLoadBalancerName(v string) *DeleteLoadBalancerInput
SetLoadBalancerName sets the LoadBalancerName field's value.
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 object describing the API operations. Operations []Operation `locationName:"operations" type:"list"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteLoadBalancerResult
func (DeleteLoadBalancerOutput) GoString ¶
func (s DeleteLoadBalancerOutput) GoString() string
GoString returns the string representation
func (DeleteLoadBalancerOutput) SDKResponseMetadata ¶
func (s DeleteLoadBalancerOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*DeleteLoadBalancerOutput) SetOperations ¶
func (s *DeleteLoadBalancerOutput) SetOperations(v []Operation) *DeleteLoadBalancerOutput
SetOperations sets the Operations field's value.
func (DeleteLoadBalancerOutput) String ¶
func (s DeleteLoadBalancerOutput) String() string
String returns the string representation
type DeleteLoadBalancerRequest ¶
type DeleteLoadBalancerRequest struct { *aws.Request Input *DeleteLoadBalancerInput }
DeleteLoadBalancerRequest is a API request type for the DeleteLoadBalancer API operation.
func (DeleteLoadBalancerRequest) Send ¶
func (r DeleteLoadBalancerRequest) Send() (*DeleteLoadBalancerOutput, error)
Send marshals and sends the DeleteLoadBalancer API request.
type DeleteLoadBalancerTlsCertificateInput ¶
type DeleteLoadBalancerTlsCertificateInput struct { // The TLS/SSL certificate name. // // CertificateName is a required field CertificateName *string `locationName:"certificateName" type:"string" required:"true"` // When true, forces the deletion of a TLS/SSL certificate. Force *bool `locationName:"force" type:"boolean"` // The load balancer name. // // LoadBalancerName is a required field LoadBalancerName *string `locationName:"loadBalancerName" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteLoadBalancerTlsCertificateRequest
func (DeleteLoadBalancerTlsCertificateInput) GoString ¶
func (s DeleteLoadBalancerTlsCertificateInput) GoString() string
GoString returns the string representation
func (*DeleteLoadBalancerTlsCertificateInput) SetCertificateName ¶
func (s *DeleteLoadBalancerTlsCertificateInput) SetCertificateName(v string) *DeleteLoadBalancerTlsCertificateInput
SetCertificateName sets the CertificateName field's value.
func (*DeleteLoadBalancerTlsCertificateInput) SetForce ¶
func (s *DeleteLoadBalancerTlsCertificateInput) SetForce(v bool) *DeleteLoadBalancerTlsCertificateInput
SetForce sets the Force field's value.
func (*DeleteLoadBalancerTlsCertificateInput) SetLoadBalancerName ¶
func (s *DeleteLoadBalancerTlsCertificateInput) SetLoadBalancerName(v string) *DeleteLoadBalancerTlsCertificateInput
SetLoadBalancerName sets the LoadBalancerName field's value.
func (DeleteLoadBalancerTlsCertificateInput) String ¶
func (s DeleteLoadBalancerTlsCertificateInput) String() string
String returns the string representation
func (*DeleteLoadBalancerTlsCertificateInput) Validate ¶
func (s *DeleteLoadBalancerTlsCertificateInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteLoadBalancerTlsCertificateOutput ¶
type DeleteLoadBalancerTlsCertificateOutput struct { // An object describing the API operations. Operations []Operation `locationName:"operations" type:"list"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteLoadBalancerTlsCertificateResult
func (DeleteLoadBalancerTlsCertificateOutput) GoString ¶
func (s DeleteLoadBalancerTlsCertificateOutput) GoString() string
GoString returns the string representation
func (DeleteLoadBalancerTlsCertificateOutput) SDKResponseMetadata ¶
func (s DeleteLoadBalancerTlsCertificateOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*DeleteLoadBalancerTlsCertificateOutput) SetOperations ¶
func (s *DeleteLoadBalancerTlsCertificateOutput) SetOperations(v []Operation) *DeleteLoadBalancerTlsCertificateOutput
SetOperations sets the Operations field's value.
func (DeleteLoadBalancerTlsCertificateOutput) String ¶
func (s DeleteLoadBalancerTlsCertificateOutput) String() string
String returns the string representation
type DeleteLoadBalancerTlsCertificateRequest ¶
type DeleteLoadBalancerTlsCertificateRequest struct { *aws.Request Input *DeleteLoadBalancerTlsCertificateInput }
DeleteLoadBalancerTlsCertificateRequest is a API request type for the DeleteLoadBalancerTlsCertificate API operation.
func (DeleteLoadBalancerTlsCertificateRequest) Send ¶
func (r DeleteLoadBalancerTlsCertificateRequest) Send() (*DeleteLoadBalancerTlsCertificateOutput, error)
Send marshals and sends the DeleteLoadBalancerTlsCertificate API request.
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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DetachDiskRequest
func (DetachDiskInput) GoString ¶
func (s DetachDiskInput) GoString() string
GoString returns the string representation
func (*DetachDiskInput) SetDiskName ¶
func (s *DetachDiskInput) SetDiskName(v string) *DetachDiskInput
SetDiskName sets the DiskName field's value.
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 object describing the API operations. Operations []Operation `locationName:"operations" type:"list"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DetachDiskResult
func (DetachDiskOutput) GoString ¶
func (s DetachDiskOutput) GoString() string
GoString returns the string representation
func (DetachDiskOutput) SDKResponseMetadata ¶
func (s DetachDiskOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*DetachDiskOutput) SetOperations ¶
func (s *DetachDiskOutput) SetOperations(v []Operation) *DetachDiskOutput
SetOperations sets the Operations field's value.
func (DetachDiskOutput) String ¶
func (s DetachDiskOutput) String() string
String returns the string representation
type DetachDiskRequest ¶
type DetachDiskRequest struct { *aws.Request Input *DetachDiskInput }
DetachDiskRequest is a API request type for the DetachDisk API operation.
func (DetachDiskRequest) Send ¶
func (r DetachDiskRequest) Send() (*DetachDiskOutput, error)
Send marshals and sends the DetachDisk API 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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DetachInstancesFromLoadBalancerRequest
func (DetachInstancesFromLoadBalancerInput) GoString ¶
func (s DetachInstancesFromLoadBalancerInput) GoString() string
GoString returns the string representation
func (*DetachInstancesFromLoadBalancerInput) SetInstanceNames ¶
func (s *DetachInstancesFromLoadBalancerInput) SetInstanceNames(v []string) *DetachInstancesFromLoadBalancerInput
SetInstanceNames sets the InstanceNames field's value.
func (*DetachInstancesFromLoadBalancerInput) SetLoadBalancerName ¶
func (s *DetachInstancesFromLoadBalancerInput) SetLoadBalancerName(v string) *DetachInstancesFromLoadBalancerInput
SetLoadBalancerName sets the LoadBalancerName field's value.
func (DetachInstancesFromLoadBalancerInput) String ¶
func (s DetachInstancesFromLoadBalancerInput) String() string
String returns the string representation
func (*DetachInstancesFromLoadBalancerInput) Validate ¶
func (s *DetachInstancesFromLoadBalancerInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DetachInstancesFromLoadBalancerOutput ¶
type DetachInstancesFromLoadBalancerOutput struct { // An object describing the API operations. Operations []Operation `locationName:"operations" type:"list"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DetachInstancesFromLoadBalancerResult
func (DetachInstancesFromLoadBalancerOutput) GoString ¶
func (s DetachInstancesFromLoadBalancerOutput) GoString() string
GoString returns the string representation
func (DetachInstancesFromLoadBalancerOutput) SDKResponseMetadata ¶
func (s DetachInstancesFromLoadBalancerOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*DetachInstancesFromLoadBalancerOutput) SetOperations ¶
func (s *DetachInstancesFromLoadBalancerOutput) SetOperations(v []Operation) *DetachInstancesFromLoadBalancerOutput
SetOperations sets the Operations field's value.
func (DetachInstancesFromLoadBalancerOutput) String ¶
func (s DetachInstancesFromLoadBalancerOutput) String() string
String returns the string representation
type DetachInstancesFromLoadBalancerRequest ¶
type DetachInstancesFromLoadBalancerRequest struct { *aws.Request Input *DetachInstancesFromLoadBalancerInput }
DetachInstancesFromLoadBalancerRequest is a API request type for the DetachInstancesFromLoadBalancer API operation.
func (DetachInstancesFromLoadBalancerRequest) Send ¶
func (r DetachInstancesFromLoadBalancerRequest) Send() (*DetachInstancesFromLoadBalancerOutput, error)
Send marshals and sends the DetachInstancesFromLoadBalancer API request.
type DetachStaticIpInput ¶
type DetachStaticIpInput struct { // The name of the static IP to detach from the instance. // // StaticIpName is a required field StaticIpName *string `locationName:"staticIpName" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DetachStaticIpRequest
func (DetachStaticIpInput) GoString ¶
func (s DetachStaticIpInput) GoString() string
GoString returns the string representation
func (*DetachStaticIpInput) SetStaticIpName ¶
func (s *DetachStaticIpInput) SetStaticIpName(v string) *DetachStaticIpInput
SetStaticIpName sets the StaticIpName field's value.
func (DetachStaticIpInput) String ¶
func (s DetachStaticIpInput) String() string
String returns the string representation
func (*DetachStaticIpInput) Validate ¶
func (s *DetachStaticIpInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DetachStaticIpOutput ¶
type DetachStaticIpOutput struct { // An array of key-value pairs containing information about the results of your // detach static IP request. Operations []Operation `locationName:"operations" type:"list"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DetachStaticIpResult
func (DetachStaticIpOutput) GoString ¶
func (s DetachStaticIpOutput) GoString() string
GoString returns the string representation
func (DetachStaticIpOutput) SDKResponseMetadata ¶
func (s DetachStaticIpOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*DetachStaticIpOutput) SetOperations ¶
func (s *DetachStaticIpOutput) SetOperations(v []Operation) *DetachStaticIpOutput
SetOperations sets the Operations field's value.
func (DetachStaticIpOutput) String ¶
func (s DetachStaticIpOutput) String() string
String returns the string representation
type DetachStaticIpRequest ¶
type DetachStaticIpRequest struct { *aws.Request Input *DetachStaticIpInput }
DetachStaticIpRequest is a API request type for the DetachStaticIp API operation.
func (DetachStaticIpRequest) Send ¶
func (r DetachStaticIpRequest) Send() (*DetachStaticIpOutput, error)
Send marshals and sends the DetachStaticIp API request.
type Disk ¶
type Disk struct { // The Amazon Resource Name (ARN) of the disk. Arn *string `locationName:"arn" type:"string"` // The resources to which the disk is attached. AttachedTo *string `locationName:"attachedTo" type:"string"` // (Deprecated) The attachment state of the disk. // // In releases prior to November 14, 2017, this parameter returned attached // for system disks in the API response. It is now deprecated, but still included // in the response. Use isAttached instead. AttachmentState *string `locationName:"attachmentState" deprecated:"true" type:"string"` // The date when the disk was created. CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"unix"` // (Deprecated) The number of GB in use by the disk. // // In releases prior to November 14, 2017, this parameter was not included in // the API response. It is now deprecated. GbInUse *int64 `locationName:"gbInUse" deprecated:"true" type:"integer"` // The input/output operations per second (IOPS) of the disk. Iops *int64 `locationName:"iops" type:"integer"` // A Boolean value indicating whether the disk is attached. IsAttached *bool `locationName:"isAttached" type:"boolean"` // A Boolean value indicating whether this disk is a system disk (has an operating // system loaded on it). IsSystemDisk *bool `locationName:"isSystemDisk" type:"boolean"` // The AWS Region and Availability Zone where the disk is located. Location *ResourceLocation `locationName:"location" type:"structure"` // The unique name of the disk. Name *string `locationName:"name" type:"string"` // The disk path. Path *string `locationName:"path" type:"string"` // The Lightsail resource type (e.g., Disk). ResourceType ResourceType `locationName:"resourceType" type:"string" enum:"true"` // The size of the disk in GB. SizeInGb *int64 `locationName:"sizeInGb" type:"integer"` // Describes the status of the disk. State DiskState `locationName:"state" type:"string" enum:"true"` // The support code. Include this code in your email to support when you have // questions about an instance or another resource in Lightsail. This code enables // our support team to look up your Lightsail information more easily. SupportCode *string `locationName:"supportCode" type:"string"` // contains filtered or unexported fields }
Describes a system disk or an block storage disk. Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/Disk
func (*Disk) SetAttachedTo ¶
SetAttachedTo sets the AttachedTo field's value.
func (*Disk) SetAttachmentState ¶
SetAttachmentState sets the AttachmentState field's value.
func (*Disk) SetCreatedAt ¶
SetCreatedAt sets the CreatedAt field's value.
func (*Disk) SetGbInUse ¶
SetGbInUse sets the GbInUse field's value.
func (*Disk) SetIsAttached ¶
SetIsAttached sets the IsAttached field's value.
func (*Disk) SetIsSystemDisk ¶
SetIsSystemDisk sets the IsSystemDisk field's value.
func (*Disk) SetLocation ¶
func (s *Disk) SetLocation(v *ResourceLocation) *Disk
SetLocation sets the Location field's value.
func (*Disk) SetResourceType ¶
func (s *Disk) SetResourceType(v ResourceType) *Disk
SetResourceType sets the ResourceType field's value.
func (*Disk) SetSizeInGb ¶
SetSizeInGb sets the SizeInGb field's value.
func (*Disk) SetSupportCode ¶
SetSupportCode sets the SupportCode field's value.
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. Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DiskMap
func (*DiskMap) SetNewDiskName ¶
SetNewDiskName sets the NewDiskName field's value.
func (*DiskMap) SetOriginalDiskPath ¶
SetOriginalDiskPath sets the OriginalDiskPath field's value.
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" timestampFormat:"unix"` // The Amazon Resource Name (ARN) of the source disk from which you are creating // the disk snapshot. FromDiskArn *string `locationName:"fromDiskArn" type:"string"` // The unique name of the source disk from which you are creating the disk snapshot. FromDiskName *string `locationName:"fromDiskName" type:"string"` // The AWS Region and Availability Zone where the disk snapshot was created. Location *ResourceLocation `locationName:"location" type:"structure"` // The name of the disk snapshot (e.g., my-disk-snapshot). Name *string `locationName:"name" type:"string"` // The progress of the disk snapshot operation. Progress *string `locationName:"progress" type:"string"` // The Lightsail resource type (e.g., DiskSnapshot). ResourceType ResourceType `locationName:"resourceType" type:"string" enum:"true"` // The size of the disk in GB. SizeInGb *int64 `locationName:"sizeInGb" type:"integer"` // The status of the disk snapshot operation. State DiskSnapshotState `locationName:"state" type:"string" enum:"true"` // The support code. Include this code in your email to support when you have // questions about an instance or another resource in Lightsail. This code enables // our support team to look up your Lightsail information more easily. SupportCode *string `locationName:"supportCode" type:"string"` // contains filtered or unexported fields }
Describes a block storage disk snapshot. Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DiskSnapshot
func (DiskSnapshot) GoString ¶
func (s DiskSnapshot) GoString() string
GoString returns the string representation
func (*DiskSnapshot) SetArn ¶
func (s *DiskSnapshot) SetArn(v string) *DiskSnapshot
SetArn sets the Arn field's value.
func (*DiskSnapshot) SetCreatedAt ¶
func (s *DiskSnapshot) SetCreatedAt(v time.Time) *DiskSnapshot
SetCreatedAt sets the CreatedAt field's value.
func (*DiskSnapshot) SetFromDiskArn ¶
func (s *DiskSnapshot) SetFromDiskArn(v string) *DiskSnapshot
SetFromDiskArn sets the FromDiskArn field's value.
func (*DiskSnapshot) SetFromDiskName ¶
func (s *DiskSnapshot) SetFromDiskName(v string) *DiskSnapshot
SetFromDiskName sets the FromDiskName field's value.
func (*DiskSnapshot) SetLocation ¶
func (s *DiskSnapshot) SetLocation(v *ResourceLocation) *DiskSnapshot
SetLocation sets the Location field's value.
func (*DiskSnapshot) SetName ¶
func (s *DiskSnapshot) SetName(v string) *DiskSnapshot
SetName sets the Name field's value.
func (*DiskSnapshot) SetProgress ¶
func (s *DiskSnapshot) SetProgress(v string) *DiskSnapshot
SetProgress sets the Progress field's value.
func (*DiskSnapshot) SetResourceType ¶
func (s *DiskSnapshot) SetResourceType(v ResourceType) *DiskSnapshot
SetResourceType sets the ResourceType field's value.
func (*DiskSnapshot) SetSizeInGb ¶
func (s *DiskSnapshot) SetSizeInGb(v int64) *DiskSnapshot
SetSizeInGb sets the SizeInGb field's value.
func (*DiskSnapshot) SetState ¶
func (s *DiskSnapshot) SetState(v DiskSnapshotState) *DiskSnapshot
SetState sets the State field's value.
func (*DiskSnapshot) SetSupportCode ¶
func (s *DiskSnapshot) SetSupportCode(v string) *DiskSnapshot
SetSupportCode sets the SupportCode field's value.
func (DiskSnapshot) String ¶
func (s DiskSnapshot) 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
type Domain ¶
type Domain struct { // The Amazon Resource Name (ARN) of the domain recordset (e.g., arn:aws:lightsail:global:123456789101:Domain/824cede0-abc7-4f84-8dbc-12345EXAMPLE). Arn *string `locationName:"arn" type:"string"` // The date when the domain recordset was created. CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"unix"` // An array of key-value pairs containing information about the domain entries. DomainEntries []DomainEntry `locationName:"domainEntries" type:"list"` // The AWS Region and Availability Zones where the domain recordset was created. Location *ResourceLocation `locationName:"location" type:"structure"` // The name of the domain. Name *string `locationName:"name" type:"string"` // The resource type. ResourceType ResourceType `locationName:"resourceType" type:"string" enum:"true"` // The support code. Include this code in your email to support when you have // questions about an instance or another resource in Lightsail. This code enables // our support team to look up your Lightsail information more easily. SupportCode *string `locationName:"supportCode" type:"string"` // contains filtered or unexported fields }
Describes a domain where you are storing recordsets in Lightsail. Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/Domain
func (*Domain) SetCreatedAt ¶
SetCreatedAt sets the CreatedAt field's value.
func (*Domain) SetDomainEntries ¶
func (s *Domain) SetDomainEntries(v []DomainEntry) *Domain
SetDomainEntries sets the DomainEntries field's value.
func (*Domain) SetLocation ¶
func (s *Domain) SetLocation(v *ResourceLocation) *Domain
SetLocation sets the Location field's value.
func (*Domain) SetResourceType ¶
func (s *Domain) SetResourceType(v ResourceType) *Domain
SetResourceType sets the ResourceType field's value.
func (*Domain) SetSupportCode ¶
SetSupportCode sets the SupportCode field's value.
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. 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.). Target *string `locationName:"target" type:"string"` // The type of domain entry (e.g., SOA or NS). Type *string `locationName:"type" type:"string"` // contains filtered or unexported fields }
Describes a domain recordset entry. Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DomainEntry
func (DomainEntry) GoString ¶
func (s DomainEntry) GoString() string
GoString returns the string representation
func (*DomainEntry) SetId ¶
func (s *DomainEntry) SetId(v string) *DomainEntry
SetId sets the Id field's value.
func (*DomainEntry) SetIsAlias ¶
func (s *DomainEntry) SetIsAlias(v bool) *DomainEntry
SetIsAlias sets the IsAlias field's value.
func (*DomainEntry) SetName ¶
func (s *DomainEntry) SetName(v string) *DomainEntry
SetName sets the Name field's value.
func (*DomainEntry) SetOptions ¶
func (s *DomainEntry) SetOptions(v map[string]string) *DomainEntry
SetOptions sets the Options field's value.
func (*DomainEntry) SetTarget ¶
func (s *DomainEntry) SetTarget(v string) *DomainEntry
SetTarget sets the Target field's value.
func (*DomainEntry) SetType ¶
func (s *DomainEntry) SetType(v string) *DomainEntry
SetType sets the Type field's value.
func (DomainEntry) String ¶
func (s DomainEntry) String() string
String returns the string representation
type DownloadDefaultKeyPairInput ¶
type DownloadDefaultKeyPairInput struct {
// contains filtered or unexported fields
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DownloadDefaultKeyPairRequest
func (DownloadDefaultKeyPairInput) GoString ¶
func (s DownloadDefaultKeyPairInput) GoString() string
GoString returns the string representation
func (DownloadDefaultKeyPairInput) String ¶
func (s DownloadDefaultKeyPairInput) String() string
String returns the string representation
type DownloadDefaultKeyPairOutput ¶
type DownloadDefaultKeyPairOutput struct { // A base64-encoded RSA private key. PrivateKeyBase64 *string `locationName:"privateKeyBase64" type:"string"` // A base64-encoded public key of the ssh-rsa type. PublicKeyBase64 *string `locationName:"publicKeyBase64" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DownloadDefaultKeyPairResult
func (DownloadDefaultKeyPairOutput) GoString ¶
func (s DownloadDefaultKeyPairOutput) GoString() string
GoString returns the string representation
func (DownloadDefaultKeyPairOutput) SDKResponseMetadata ¶
func (s DownloadDefaultKeyPairOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*DownloadDefaultKeyPairOutput) SetPrivateKeyBase64 ¶
func (s *DownloadDefaultKeyPairOutput) SetPrivateKeyBase64(v string) *DownloadDefaultKeyPairOutput
SetPrivateKeyBase64 sets the PrivateKeyBase64 field's value.
func (*DownloadDefaultKeyPairOutput) SetPublicKeyBase64 ¶
func (s *DownloadDefaultKeyPairOutput) SetPublicKeyBase64(v string) *DownloadDefaultKeyPairOutput
SetPublicKeyBase64 sets the PublicKeyBase64 field's value.
func (DownloadDefaultKeyPairOutput) String ¶
func (s DownloadDefaultKeyPairOutput) String() string
String returns the string representation
type DownloadDefaultKeyPairRequest ¶
type DownloadDefaultKeyPairRequest struct { *aws.Request Input *DownloadDefaultKeyPairInput }
DownloadDefaultKeyPairRequest is a API request type for the DownloadDefaultKeyPair API operation.
func (DownloadDefaultKeyPairRequest) Send ¶
func (r DownloadDefaultKeyPairRequest) Send() (*DownloadDefaultKeyPairOutput, error)
Send marshals and sends the DownloadDefaultKeyPair API request.
type GetActiveNamesInput ¶
type GetActiveNamesInput struct { // A token used for paginating results from your get active names request. PageToken *string `locationName:"pageToken" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetActiveNamesRequest
func (GetActiveNamesInput) GoString ¶
func (s GetActiveNamesInput) GoString() string
GoString returns the string representation
func (*GetActiveNamesInput) SetPageToken ¶
func (s *GetActiveNamesInput) SetPageToken(v string) *GetActiveNamesInput
SetPageToken sets the PageToken field's value.
func (GetActiveNamesInput) String ¶
func (s GetActiveNamesInput) String() string
String returns the string representation
type GetActiveNamesOutput ¶
type GetActiveNamesOutput struct { // The list of active names returned by the get active names request. ActiveNames []string `locationName:"activeNames" type:"list"` // A token used for advancing to the next page of results from your get active // names request. NextPageToken *string `locationName:"nextPageToken" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetActiveNamesResult
func (GetActiveNamesOutput) GoString ¶
func (s GetActiveNamesOutput) GoString() string
GoString returns the string representation
func (GetActiveNamesOutput) SDKResponseMetadata ¶
func (s GetActiveNamesOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*GetActiveNamesOutput) SetActiveNames ¶
func (s *GetActiveNamesOutput) SetActiveNames(v []string) *GetActiveNamesOutput
SetActiveNames sets the ActiveNames field's value.
func (*GetActiveNamesOutput) SetNextPageToken ¶
func (s *GetActiveNamesOutput) SetNextPageToken(v string) *GetActiveNamesOutput
SetNextPageToken sets the NextPageToken field's value.
func (GetActiveNamesOutput) String ¶
func (s GetActiveNamesOutput) String() string
String returns the string representation
type GetActiveNamesRequest ¶
type GetActiveNamesRequest struct { *aws.Request Input *GetActiveNamesInput }
GetActiveNamesRequest is a API request type for the GetActiveNames API operation.
func (GetActiveNamesRequest) Send ¶
func (r GetActiveNamesRequest) Send() (*GetActiveNamesOutput, error)
Send marshals and sends the GetActiveNames API request.
type GetBlueprintsInput ¶
type GetBlueprintsInput struct { // A Boolean value indicating whether to include inactive results in your request. IncludeInactive *bool `locationName:"includeInactive" type:"boolean"` // A token used for advancing to the next page of results from your get blueprints // request. PageToken *string `locationName:"pageToken" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetBlueprintsRequest
func (GetBlueprintsInput) GoString ¶
func (s GetBlueprintsInput) GoString() string
GoString returns the string representation
func (*GetBlueprintsInput) SetIncludeInactive ¶
func (s *GetBlueprintsInput) SetIncludeInactive(v bool) *GetBlueprintsInput
SetIncludeInactive sets the IncludeInactive field's value.
func (*GetBlueprintsInput) SetPageToken ¶
func (s *GetBlueprintsInput) SetPageToken(v string) *GetBlueprintsInput
SetPageToken sets the PageToken field's value.
func (GetBlueprintsInput) String ¶
func (s GetBlueprintsInput) String() string
String returns the string representation
type GetBlueprintsOutput ¶
type GetBlueprintsOutput struct { // An array of key-value pairs that contains information about the available // blueprints. Blueprints []Blueprint `locationName:"blueprints" type:"list"` // A token used for advancing to the next page of results from your get blueprints // request. NextPageToken *string `locationName:"nextPageToken" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetBlueprintsResult
func (GetBlueprintsOutput) GoString ¶
func (s GetBlueprintsOutput) GoString() string
GoString returns the string representation
func (GetBlueprintsOutput) SDKResponseMetadata ¶
func (s GetBlueprintsOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*GetBlueprintsOutput) SetBlueprints ¶
func (s *GetBlueprintsOutput) SetBlueprints(v []Blueprint) *GetBlueprintsOutput
SetBlueprints sets the Blueprints field's value.
func (*GetBlueprintsOutput) SetNextPageToken ¶
func (s *GetBlueprintsOutput) SetNextPageToken(v string) *GetBlueprintsOutput
SetNextPageToken sets the NextPageToken field's value.
func (GetBlueprintsOutput) String ¶
func (s GetBlueprintsOutput) String() string
String returns the string representation
type GetBlueprintsRequest ¶
type GetBlueprintsRequest struct { *aws.Request Input *GetBlueprintsInput }
GetBlueprintsRequest is a API request type for the GetBlueprints API operation.
func (GetBlueprintsRequest) Send ¶
func (r GetBlueprintsRequest) Send() (*GetBlueprintsOutput, error)
Send marshals and sends the GetBlueprints API request.
type GetBundlesInput ¶
type GetBundlesInput struct { // A Boolean value that indicates whether to include inactive bundle results // in your request. IncludeInactive *bool `locationName:"includeInactive" type:"boolean"` // A token used for advancing to the next page of results from your get bundles // request. PageToken *string `locationName:"pageToken" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetBundlesRequest
func (GetBundlesInput) GoString ¶
func (s GetBundlesInput) GoString() string
GoString returns the string representation
func (*GetBundlesInput) SetIncludeInactive ¶
func (s *GetBundlesInput) SetIncludeInactive(v bool) *GetBundlesInput
SetIncludeInactive sets the IncludeInactive field's value.
func (*GetBundlesInput) SetPageToken ¶
func (s *GetBundlesInput) SetPageToken(v string) *GetBundlesInput
SetPageToken sets the PageToken field's value.
func (GetBundlesInput) String ¶
func (s GetBundlesInput) String() string
String returns the string representation
type GetBundlesOutput ¶
type GetBundlesOutput struct { // An array of key-value pairs that contains information about the available // bundles. Bundles []Bundle `locationName:"bundles" type:"list"` // A token used for advancing to the next page of results from your get active // names request. NextPageToken *string `locationName:"nextPageToken" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetBundlesResult
func (GetBundlesOutput) GoString ¶
func (s GetBundlesOutput) GoString() string
GoString returns the string representation
func (GetBundlesOutput) SDKResponseMetadata ¶
func (s GetBundlesOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*GetBundlesOutput) SetBundles ¶
func (s *GetBundlesOutput) SetBundles(v []Bundle) *GetBundlesOutput
SetBundles sets the Bundles field's value.
func (*GetBundlesOutput) SetNextPageToken ¶
func (s *GetBundlesOutput) SetNextPageToken(v string) *GetBundlesOutput
SetNextPageToken sets the NextPageToken field's value.
func (GetBundlesOutput) String ¶
func (s GetBundlesOutput) String() string
String returns the string representation
type GetBundlesRequest ¶
type GetBundlesRequest struct { *aws.Request Input *GetBundlesInput }
GetBundlesRequest is a API request type for the GetBundles API operation.
func (GetBundlesRequest) Send ¶
func (r GetBundlesRequest) Send() (*GetBundlesOutput, error)
Send marshals and sends the GetBundles API 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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetDiskRequest
func (GetDiskInput) GoString ¶
func (s GetDiskInput) GoString() string
GoString returns the string representation
func (*GetDiskInput) SetDiskName ¶
func (s *GetDiskInput) SetDiskName(v string) *GetDiskInput
SetDiskName sets the DiskName field's value.
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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetDiskResult
func (GetDiskOutput) GoString ¶
func (s GetDiskOutput) GoString() string
GoString returns the string representation
func (GetDiskOutput) SDKResponseMetadata ¶
func (s GetDiskOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*GetDiskOutput) SetDisk ¶
func (s *GetDiskOutput) SetDisk(v *Disk) *GetDiskOutput
SetDisk sets the Disk field's value.
func (GetDiskOutput) String ¶
func (s GetDiskOutput) String() string
String returns the string representation
type GetDiskRequest ¶
type GetDiskRequest struct { *aws.Request Input *GetDiskInput }
GetDiskRequest is a API request type for the GetDisk API operation.
func (GetDiskRequest) Send ¶
func (r GetDiskRequest) Send() (*GetDiskOutput, error)
Send marshals and sends the GetDisk API 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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetDiskSnapshotRequest
func (GetDiskSnapshotInput) GoString ¶
func (s GetDiskSnapshotInput) GoString() string
GoString returns the string representation
func (*GetDiskSnapshotInput) SetDiskSnapshotName ¶
func (s *GetDiskSnapshotInput) SetDiskSnapshotName(v string) *GetDiskSnapshotInput
SetDiskSnapshotName sets the DiskSnapshotName field's value.
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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetDiskSnapshotResult
func (GetDiskSnapshotOutput) GoString ¶
func (s GetDiskSnapshotOutput) GoString() string
GoString returns the string representation
func (GetDiskSnapshotOutput) SDKResponseMetadata ¶
func (s GetDiskSnapshotOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*GetDiskSnapshotOutput) SetDiskSnapshot ¶
func (s *GetDiskSnapshotOutput) SetDiskSnapshot(v *DiskSnapshot) *GetDiskSnapshotOutput
SetDiskSnapshot sets the DiskSnapshot field's value.
func (GetDiskSnapshotOutput) String ¶
func (s GetDiskSnapshotOutput) String() string
String returns the string representation
type GetDiskSnapshotRequest ¶
type GetDiskSnapshotRequest struct { *aws.Request Input *GetDiskSnapshotInput }
GetDiskSnapshotRequest is a API request type for the GetDiskSnapshot API operation.
func (GetDiskSnapshotRequest) Send ¶
func (r GetDiskSnapshotRequest) Send() (*GetDiskSnapshotOutput, error)
Send marshals and sends the GetDiskSnapshot API request.
type GetDiskSnapshotsInput ¶
type GetDiskSnapshotsInput struct { // A token used for advancing to the next page of results from your GetDiskSnapshots // request. PageToken *string `locationName:"pageToken" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetDiskSnapshotsRequest
func (GetDiskSnapshotsInput) GoString ¶
func (s GetDiskSnapshotsInput) GoString() string
GoString returns the string representation
func (*GetDiskSnapshotsInput) SetPageToken ¶
func (s *GetDiskSnapshotsInput) SetPageToken(v string) *GetDiskSnapshotsInput
SetPageToken sets the PageToken field's value.
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"` // A token used for advancing to the next page of results from your GetDiskSnapshots // request. NextPageToken *string `locationName:"nextPageToken" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetDiskSnapshotsResult
func (GetDiskSnapshotsOutput) GoString ¶
func (s GetDiskSnapshotsOutput) GoString() string
GoString returns the string representation
func (GetDiskSnapshotsOutput) SDKResponseMetadata ¶
func (s GetDiskSnapshotsOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*GetDiskSnapshotsOutput) SetDiskSnapshots ¶
func (s *GetDiskSnapshotsOutput) SetDiskSnapshots(v []DiskSnapshot) *GetDiskSnapshotsOutput
SetDiskSnapshots sets the DiskSnapshots field's value.
func (*GetDiskSnapshotsOutput) SetNextPageToken ¶
func (s *GetDiskSnapshotsOutput) SetNextPageToken(v string) *GetDiskSnapshotsOutput
SetNextPageToken sets the NextPageToken field's value.
func (GetDiskSnapshotsOutput) String ¶
func (s GetDiskSnapshotsOutput) String() string
String returns the string representation
type GetDiskSnapshotsRequest ¶
type GetDiskSnapshotsRequest struct { *aws.Request Input *GetDiskSnapshotsInput }
GetDiskSnapshotsRequest is a API request type for the GetDiskSnapshots API operation.
func (GetDiskSnapshotsRequest) Send ¶
func (r GetDiskSnapshotsRequest) Send() (*GetDiskSnapshotsOutput, error)
Send marshals and sends the GetDiskSnapshots API request.
type GetDisksInput ¶
type GetDisksInput struct { // A token used for advancing to the next page of results from your GetDisks // request. PageToken *string `locationName:"pageToken" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetDisksRequest
func (GetDisksInput) GoString ¶
func (s GetDisksInput) GoString() string
GoString returns the string representation
func (*GetDisksInput) SetPageToken ¶
func (s *GetDisksInput) SetPageToken(v string) *GetDisksInput
SetPageToken sets the PageToken field's value.
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"` // A token used for advancing to the next page of results from your GetDisks // request. NextPageToken *string `locationName:"nextPageToken" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetDisksResult
func (GetDisksOutput) GoString ¶
func (s GetDisksOutput) GoString() string
GoString returns the string representation
func (GetDisksOutput) SDKResponseMetadata ¶
func (s GetDisksOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*GetDisksOutput) SetDisks ¶
func (s *GetDisksOutput) SetDisks(v []Disk) *GetDisksOutput
SetDisks sets the Disks field's value.
func (*GetDisksOutput) SetNextPageToken ¶
func (s *GetDisksOutput) SetNextPageToken(v string) *GetDisksOutput
SetNextPageToken sets the NextPageToken field's value.
func (GetDisksOutput) String ¶
func (s GetDisksOutput) String() string
String returns the string representation
type GetDisksRequest ¶
type GetDisksRequest struct { *aws.Request Input *GetDisksInput }
GetDisksRequest is a API request type for the GetDisks API operation.
func (GetDisksRequest) Send ¶
func (r GetDisksRequest) Send() (*GetDisksOutput, error)
Send marshals and sends the GetDisks API request.
type GetDomainInput ¶
type GetDomainInput struct { // The domain name for which your want to return information about. // // DomainName is a required field DomainName *string `locationName:"domainName" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetDomainRequest
func (GetDomainInput) GoString ¶
func (s GetDomainInput) GoString() string
GoString returns the string representation
func (*GetDomainInput) SetDomainName ¶
func (s *GetDomainInput) SetDomainName(v string) *GetDomainInput
SetDomainName sets the DomainName field's value.
func (GetDomainInput) String ¶
func (s GetDomainInput) String() string
String returns the string representation
func (*GetDomainInput) Validate ¶
func (s *GetDomainInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetDomainOutput ¶
type GetDomainOutput struct { // An array of key-value pairs containing information about your get domain // request. Domain *Domain `locationName:"domain" type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetDomainResult
func (GetDomainOutput) GoString ¶
func (s GetDomainOutput) GoString() string
GoString returns the string representation
func (GetDomainOutput) SDKResponseMetadata ¶
func (s GetDomainOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*GetDomainOutput) SetDomain ¶
func (s *GetDomainOutput) SetDomain(v *Domain) *GetDomainOutput
SetDomain sets the Domain field's value.
func (GetDomainOutput) String ¶
func (s GetDomainOutput) String() string
String returns the string representation
type GetDomainRequest ¶
type GetDomainRequest struct { *aws.Request Input *GetDomainInput }
GetDomainRequest is a API request type for the GetDomain API operation.
func (GetDomainRequest) Send ¶
func (r GetDomainRequest) Send() (*GetDomainOutput, error)
Send marshals and sends the GetDomain API request.
type GetDomainsInput ¶
type GetDomainsInput struct { // A token used for advancing to the next page of results from your get domains // request. PageToken *string `locationName:"pageToken" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetDomainsRequest
func (GetDomainsInput) GoString ¶
func (s GetDomainsInput) GoString() string
GoString returns the string representation
func (*GetDomainsInput) SetPageToken ¶
func (s *GetDomainsInput) SetPageToken(v string) *GetDomainsInput
SetPageToken sets the PageToken field's value.
func (GetDomainsInput) String ¶
func (s GetDomainsInput) String() string
String returns the string representation
type GetDomainsOutput ¶
type GetDomainsOutput struct { // An array of key-value pairs containing information about each of the domain // entries in the user's account. Domains []Domain `locationName:"domains" type:"list"` // A token used for advancing to the next page of results from your get active // names request. NextPageToken *string `locationName:"nextPageToken" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetDomainsResult
func (GetDomainsOutput) GoString ¶
func (s GetDomainsOutput) GoString() string
GoString returns the string representation
func (GetDomainsOutput) SDKResponseMetadata ¶
func (s GetDomainsOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*GetDomainsOutput) SetDomains ¶
func (s *GetDomainsOutput) SetDomains(v []Domain) *GetDomainsOutput
SetDomains sets the Domains field's value.
func (*GetDomainsOutput) SetNextPageToken ¶
func (s *GetDomainsOutput) SetNextPageToken(v string) *GetDomainsOutput
SetNextPageToken sets the NextPageToken field's value.
func (GetDomainsOutput) String ¶
func (s GetDomainsOutput) String() string
String returns the string representation
type GetDomainsRequest ¶
type GetDomainsRequest struct { *aws.Request Input *GetDomainsInput }
GetDomainsRequest is a API request type for the GetDomains API operation.
func (GetDomainsRequest) Send ¶
func (r GetDomainsRequest) Send() (*GetDomainsOutput, error)
Send marshals and sends the GetDomains API request.
type GetInstanceAccessDetailsInput ¶
type GetInstanceAccessDetailsInput struct { // The name of the instance to access. // // InstanceName is a required field InstanceName *string `locationName:"instanceName" type:"string" required:"true"` // The protocol to use to connect to your instance. Defaults to ssh. Protocol InstanceAccessProtocol `locationName:"protocol" type:"string" enum:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstanceAccessDetailsRequest
func (GetInstanceAccessDetailsInput) GoString ¶
func (s GetInstanceAccessDetailsInput) GoString() string
GoString returns the string representation
func (*GetInstanceAccessDetailsInput) SetInstanceName ¶
func (s *GetInstanceAccessDetailsInput) SetInstanceName(v string) *GetInstanceAccessDetailsInput
SetInstanceName sets the InstanceName field's value.
func (*GetInstanceAccessDetailsInput) SetProtocol ¶
func (s *GetInstanceAccessDetailsInput) SetProtocol(v InstanceAccessProtocol) *GetInstanceAccessDetailsInput
SetProtocol sets the Protocol field's value.
func (GetInstanceAccessDetailsInput) String ¶
func (s GetInstanceAccessDetailsInput) String() string
String returns the string representation
func (*GetInstanceAccessDetailsInput) Validate ¶
func (s *GetInstanceAccessDetailsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetInstanceAccessDetailsOutput ¶
type GetInstanceAccessDetailsOutput struct { // An array of key-value pairs containing information about a get instance access // request. AccessDetails *InstanceAccessDetails `locationName:"accessDetails" type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstanceAccessDetailsResult
func (GetInstanceAccessDetailsOutput) GoString ¶
func (s GetInstanceAccessDetailsOutput) GoString() string
GoString returns the string representation
func (GetInstanceAccessDetailsOutput) SDKResponseMetadata ¶
func (s GetInstanceAccessDetailsOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*GetInstanceAccessDetailsOutput) SetAccessDetails ¶
func (s *GetInstanceAccessDetailsOutput) SetAccessDetails(v *InstanceAccessDetails) *GetInstanceAccessDetailsOutput
SetAccessDetails sets the AccessDetails field's value.
func (GetInstanceAccessDetailsOutput) String ¶
func (s GetInstanceAccessDetailsOutput) String() string
String returns the string representation
type GetInstanceAccessDetailsRequest ¶
type GetInstanceAccessDetailsRequest struct { *aws.Request Input *GetInstanceAccessDetailsInput }
GetInstanceAccessDetailsRequest is a API request type for the GetInstanceAccessDetails API operation.
func (GetInstanceAccessDetailsRequest) Send ¶
func (r GetInstanceAccessDetailsRequest) Send() (*GetInstanceAccessDetailsOutput, error)
Send marshals and sends the GetInstanceAccessDetails API request.
type GetInstanceInput ¶
type GetInstanceInput struct { // The name of the instance. // // InstanceName is a required field InstanceName *string `locationName:"instanceName" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstanceRequest
func (GetInstanceInput) GoString ¶
func (s GetInstanceInput) GoString() string
GoString returns the string representation
func (*GetInstanceInput) SetInstanceName ¶
func (s *GetInstanceInput) SetInstanceName(v string) *GetInstanceInput
SetInstanceName sets the InstanceName field's value.
func (GetInstanceInput) String ¶
func (s GetInstanceInput) String() string
String returns the string representation
func (*GetInstanceInput) Validate ¶
func (s *GetInstanceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetInstanceMetricDataInput ¶
type GetInstanceMetricDataInput struct { // The end time of the time period. // // EndTime is a required field EndTime *time.Time `locationName:"endTime" type:"timestamp" timestampFormat:"unix" required:"true"` // The name of the instance for which you want to get metrics data. // // InstanceName is a required field InstanceName *string `locationName:"instanceName" type:"string" required:"true"` // The metric name to get data about. // // MetricName is a required field MetricName InstanceMetricName `locationName:"metricName" type:"string" required:"true" enum:"true"` // The time period for which you are requesting data. // // Period is a required field Period *int64 `locationName:"period" min:"60" type:"integer" required:"true"` // The start time of the time period. // // StartTime is a required field StartTime *time.Time `locationName:"startTime" type:"timestamp" timestampFormat:"unix" required:"true"` // The instance statistics. // // Statistics is a required field Statistics []MetricStatistic `locationName:"statistics" type:"list" required:"true"` // The unit. The list of valid values is below. // // Unit is a required field Unit MetricUnit `locationName:"unit" type:"string" required:"true" enum:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstanceMetricDataRequest
func (GetInstanceMetricDataInput) GoString ¶
func (s GetInstanceMetricDataInput) GoString() string
GoString returns the string representation
func (*GetInstanceMetricDataInput) SetEndTime ¶
func (s *GetInstanceMetricDataInput) SetEndTime(v time.Time) *GetInstanceMetricDataInput
SetEndTime sets the EndTime field's value.
func (*GetInstanceMetricDataInput) SetInstanceName ¶
func (s *GetInstanceMetricDataInput) SetInstanceName(v string) *GetInstanceMetricDataInput
SetInstanceName sets the InstanceName field's value.
func (*GetInstanceMetricDataInput) SetMetricName ¶
func (s *GetInstanceMetricDataInput) SetMetricName(v InstanceMetricName) *GetInstanceMetricDataInput
SetMetricName sets the MetricName field's value.
func (*GetInstanceMetricDataInput) SetPeriod ¶
func (s *GetInstanceMetricDataInput) SetPeriod(v int64) *GetInstanceMetricDataInput
SetPeriod sets the Period field's value.
func (*GetInstanceMetricDataInput) SetStartTime ¶
func (s *GetInstanceMetricDataInput) SetStartTime(v time.Time) *GetInstanceMetricDataInput
SetStartTime sets the StartTime field's value.
func (*GetInstanceMetricDataInput) SetStatistics ¶
func (s *GetInstanceMetricDataInput) SetStatistics(v []MetricStatistic) *GetInstanceMetricDataInput
SetStatistics sets the Statistics field's value.
func (*GetInstanceMetricDataInput) SetUnit ¶
func (s *GetInstanceMetricDataInput) SetUnit(v MetricUnit) *GetInstanceMetricDataInput
SetUnit sets the Unit field's value.
func (GetInstanceMetricDataInput) String ¶
func (s GetInstanceMetricDataInput) String() string
String returns the string representation
func (*GetInstanceMetricDataInput) Validate ¶
func (s *GetInstanceMetricDataInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetInstanceMetricDataOutput ¶
type GetInstanceMetricDataOutput struct { // An array of key-value pairs containing information about the results of your // get instance metric data request. MetricData []MetricDatapoint `locationName:"metricData" type:"list"` // The metric name to return data for. MetricName InstanceMetricName `locationName:"metricName" type:"string" enum:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstanceMetricDataResult
func (GetInstanceMetricDataOutput) GoString ¶
func (s GetInstanceMetricDataOutput) GoString() string
GoString returns the string representation
func (GetInstanceMetricDataOutput) SDKResponseMetadata ¶
func (s GetInstanceMetricDataOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*GetInstanceMetricDataOutput) SetMetricData ¶
func (s *GetInstanceMetricDataOutput) SetMetricData(v []MetricDatapoint) *GetInstanceMetricDataOutput
SetMetricData sets the MetricData field's value.
func (*GetInstanceMetricDataOutput) SetMetricName ¶
func (s *GetInstanceMetricDataOutput) SetMetricName(v InstanceMetricName) *GetInstanceMetricDataOutput
SetMetricName sets the MetricName field's value.
func (GetInstanceMetricDataOutput) String ¶
func (s GetInstanceMetricDataOutput) String() string
String returns the string representation
type GetInstanceMetricDataRequest ¶
type GetInstanceMetricDataRequest struct { *aws.Request Input *GetInstanceMetricDataInput }
GetInstanceMetricDataRequest is a API request type for the GetInstanceMetricData API operation.
func (GetInstanceMetricDataRequest) Send ¶
func (r GetInstanceMetricDataRequest) Send() (*GetInstanceMetricDataOutput, error)
Send marshals and sends the GetInstanceMetricData API request.
type GetInstanceOutput ¶
type GetInstanceOutput struct { // An array of key-value pairs containing information about the specified instance. Instance *Instance `locationName:"instance" type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstanceResult
func (GetInstanceOutput) GoString ¶
func (s GetInstanceOutput) GoString() string
GoString returns the string representation
func (GetInstanceOutput) SDKResponseMetadata ¶
func (s GetInstanceOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*GetInstanceOutput) SetInstance ¶
func (s *GetInstanceOutput) SetInstance(v *Instance) *GetInstanceOutput
SetInstance sets the Instance field's value.
func (GetInstanceOutput) String ¶
func (s GetInstanceOutput) String() string
String returns the string representation
type GetInstancePortStatesInput ¶
type GetInstancePortStatesInput struct { // The name of the instance. // // InstanceName is a required field InstanceName *string `locationName:"instanceName" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstancePortStatesRequest
func (GetInstancePortStatesInput) GoString ¶
func (s GetInstancePortStatesInput) GoString() string
GoString returns the string representation
func (*GetInstancePortStatesInput) SetInstanceName ¶
func (s *GetInstancePortStatesInput) SetInstanceName(v string) *GetInstancePortStatesInput
SetInstanceName sets the InstanceName field's value.
func (GetInstancePortStatesInput) String ¶
func (s GetInstancePortStatesInput) String() string
String returns the string representation
func (*GetInstancePortStatesInput) Validate ¶
func (s *GetInstancePortStatesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetInstancePortStatesOutput ¶
type GetInstancePortStatesOutput struct { // Information about the port states resulting from your request. PortStates []InstancePortState `locationName:"portStates" type:"list"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstancePortStatesResult
func (GetInstancePortStatesOutput) GoString ¶
func (s GetInstancePortStatesOutput) GoString() string
GoString returns the string representation
func (GetInstancePortStatesOutput) SDKResponseMetadata ¶
func (s GetInstancePortStatesOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*GetInstancePortStatesOutput) SetPortStates ¶
func (s *GetInstancePortStatesOutput) SetPortStates(v []InstancePortState) *GetInstancePortStatesOutput
SetPortStates sets the PortStates field's value.
func (GetInstancePortStatesOutput) String ¶
func (s GetInstancePortStatesOutput) String() string
String returns the string representation
type GetInstancePortStatesRequest ¶
type GetInstancePortStatesRequest struct { *aws.Request Input *GetInstancePortStatesInput }
GetInstancePortStatesRequest is a API request type for the GetInstancePortStates API operation.
func (GetInstancePortStatesRequest) Send ¶
func (r GetInstancePortStatesRequest) Send() (*GetInstancePortStatesOutput, error)
Send marshals and sends the GetInstancePortStates API request.
type GetInstanceRequest ¶
type GetInstanceRequest struct { *aws.Request Input *GetInstanceInput }
GetInstanceRequest is a API request type for the GetInstance API operation.
func (GetInstanceRequest) Send ¶
func (r GetInstanceRequest) Send() (*GetInstanceOutput, error)
Send marshals and sends the GetInstance API request.
type GetInstanceSnapshotInput ¶
type GetInstanceSnapshotInput struct { // The name of the snapshot for which you are requesting information. // // InstanceSnapshotName is a required field InstanceSnapshotName *string `locationName:"instanceSnapshotName" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstanceSnapshotRequest
func (GetInstanceSnapshotInput) GoString ¶
func (s GetInstanceSnapshotInput) GoString() string
GoString returns the string representation
func (*GetInstanceSnapshotInput) SetInstanceSnapshotName ¶
func (s *GetInstanceSnapshotInput) SetInstanceSnapshotName(v string) *GetInstanceSnapshotInput
SetInstanceSnapshotName sets the InstanceSnapshotName field's value.
func (GetInstanceSnapshotInput) String ¶
func (s GetInstanceSnapshotInput) String() string
String returns the string representation
func (*GetInstanceSnapshotInput) Validate ¶
func (s *GetInstanceSnapshotInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetInstanceSnapshotOutput ¶
type GetInstanceSnapshotOutput struct { // An array of key-value pairs containing information about the results of your // get instance snapshot request. InstanceSnapshot *InstanceSnapshot `locationName:"instanceSnapshot" type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstanceSnapshotResult
func (GetInstanceSnapshotOutput) GoString ¶
func (s GetInstanceSnapshotOutput) GoString() string
GoString returns the string representation
func (GetInstanceSnapshotOutput) SDKResponseMetadata ¶
func (s GetInstanceSnapshotOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*GetInstanceSnapshotOutput) SetInstanceSnapshot ¶
func (s *GetInstanceSnapshotOutput) SetInstanceSnapshot(v *InstanceSnapshot) *GetInstanceSnapshotOutput
SetInstanceSnapshot sets the InstanceSnapshot field's value.
func (GetInstanceSnapshotOutput) String ¶
func (s GetInstanceSnapshotOutput) String() string
String returns the string representation
type GetInstanceSnapshotRequest ¶
type GetInstanceSnapshotRequest struct { *aws.Request Input *GetInstanceSnapshotInput }
GetInstanceSnapshotRequest is a API request type for the GetInstanceSnapshot API operation.
func (GetInstanceSnapshotRequest) Send ¶
func (r GetInstanceSnapshotRequest) Send() (*GetInstanceSnapshotOutput, error)
Send marshals and sends the GetInstanceSnapshot API request.
type GetInstanceSnapshotsInput ¶
type GetInstanceSnapshotsInput struct { // A token used for advancing to the next page of results from your get instance // snapshots request. PageToken *string `locationName:"pageToken" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstanceSnapshotsRequest
func (GetInstanceSnapshotsInput) GoString ¶
func (s GetInstanceSnapshotsInput) GoString() string
GoString returns the string representation
func (*GetInstanceSnapshotsInput) SetPageToken ¶
func (s *GetInstanceSnapshotsInput) SetPageToken(v string) *GetInstanceSnapshotsInput
SetPageToken sets the PageToken field's value.
func (GetInstanceSnapshotsInput) String ¶
func (s GetInstanceSnapshotsInput) String() string
String returns the string representation
type GetInstanceSnapshotsOutput ¶
type GetInstanceSnapshotsOutput struct { // An array of key-value pairs containing information about the results of your // get instance snapshots request. InstanceSnapshots []InstanceSnapshot `locationName:"instanceSnapshots" type:"list"` // A token used for advancing to the next page of results from your get instance // snapshots request. NextPageToken *string `locationName:"nextPageToken" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstanceSnapshotsResult
func (GetInstanceSnapshotsOutput) GoString ¶
func (s GetInstanceSnapshotsOutput) GoString() string
GoString returns the string representation
func (GetInstanceSnapshotsOutput) SDKResponseMetadata ¶
func (s GetInstanceSnapshotsOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*GetInstanceSnapshotsOutput) SetInstanceSnapshots ¶
func (s *GetInstanceSnapshotsOutput) SetInstanceSnapshots(v []InstanceSnapshot) *GetInstanceSnapshotsOutput
SetInstanceSnapshots sets the InstanceSnapshots field's value.
func (*GetInstanceSnapshotsOutput) SetNextPageToken ¶
func (s *GetInstanceSnapshotsOutput) SetNextPageToken(v string) *GetInstanceSnapshotsOutput
SetNextPageToken sets the NextPageToken field's value.
func (GetInstanceSnapshotsOutput) String ¶
func (s GetInstanceSnapshotsOutput) String() string
String returns the string representation
type GetInstanceSnapshotsRequest ¶
type GetInstanceSnapshotsRequest struct { *aws.Request Input *GetInstanceSnapshotsInput }
GetInstanceSnapshotsRequest is a API request type for the GetInstanceSnapshots API operation.
func (GetInstanceSnapshotsRequest) Send ¶
func (r GetInstanceSnapshotsRequest) Send() (*GetInstanceSnapshotsOutput, error)
Send marshals and sends the GetInstanceSnapshots API request.
type GetInstanceStateInput ¶
type GetInstanceStateInput struct { // The name of the instance to get state information about. // // InstanceName is a required field InstanceName *string `locationName:"instanceName" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstanceStateRequest
func (GetInstanceStateInput) GoString ¶
func (s GetInstanceStateInput) GoString() string
GoString returns the string representation
func (*GetInstanceStateInput) SetInstanceName ¶
func (s *GetInstanceStateInput) SetInstanceName(v string) *GetInstanceStateInput
SetInstanceName sets the InstanceName field's value.
func (GetInstanceStateInput) String ¶
func (s GetInstanceStateInput) String() string
String returns the string representation
func (*GetInstanceStateInput) Validate ¶
func (s *GetInstanceStateInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetInstanceStateOutput ¶
type GetInstanceStateOutput struct { // The state of the instance. State *InstanceState `locationName:"state" type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstanceStateResult
func (GetInstanceStateOutput) GoString ¶
func (s GetInstanceStateOutput) GoString() string
GoString returns the string representation
func (GetInstanceStateOutput) SDKResponseMetadata ¶
func (s GetInstanceStateOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*GetInstanceStateOutput) SetState ¶
func (s *GetInstanceStateOutput) SetState(v *InstanceState) *GetInstanceStateOutput
SetState sets the State field's value.
func (GetInstanceStateOutput) String ¶
func (s GetInstanceStateOutput) String() string
String returns the string representation
type GetInstanceStateRequest ¶
type GetInstanceStateRequest struct { *aws.Request Input *GetInstanceStateInput }
GetInstanceStateRequest is a API request type for the GetInstanceState API operation.
func (GetInstanceStateRequest) Send ¶
func (r GetInstanceStateRequest) Send() (*GetInstanceStateOutput, error)
Send marshals and sends the GetInstanceState API request.
type GetInstancesInput ¶
type GetInstancesInput struct { // A token used for advancing to the next page of results from your get instances // request. PageToken *string `locationName:"pageToken" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstancesRequest
func (GetInstancesInput) GoString ¶
func (s GetInstancesInput) GoString() string
GoString returns the string representation
func (*GetInstancesInput) SetPageToken ¶
func (s *GetInstancesInput) SetPageToken(v string) *GetInstancesInput
SetPageToken sets the PageToken field's value.
func (GetInstancesInput) String ¶
func (s GetInstancesInput) String() string
String returns the string representation
type GetInstancesOutput ¶
type GetInstancesOutput struct { // An array of key-value pairs containing information about your instances. Instances []Instance `locationName:"instances" type:"list"` // A token used for advancing to the next page of results from your get instances // request. NextPageToken *string `locationName:"nextPageToken" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstancesResult
func (GetInstancesOutput) GoString ¶
func (s GetInstancesOutput) GoString() string
GoString returns the string representation
func (GetInstancesOutput) SDKResponseMetadata ¶
func (s GetInstancesOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*GetInstancesOutput) SetInstances ¶
func (s *GetInstancesOutput) SetInstances(v []Instance) *GetInstancesOutput
SetInstances sets the Instances field's value.
func (*GetInstancesOutput) SetNextPageToken ¶
func (s *GetInstancesOutput) SetNextPageToken(v string) *GetInstancesOutput
SetNextPageToken sets the NextPageToken field's value.
func (GetInstancesOutput) String ¶
func (s GetInstancesOutput) String() string
String returns the string representation
type GetInstancesRequest ¶
type GetInstancesRequest struct { *aws.Request Input *GetInstancesInput }
GetInstancesRequest is a API request type for the GetInstances API operation.
func (GetInstancesRequest) Send ¶
func (r GetInstancesRequest) Send() (*GetInstancesOutput, error)
Send marshals and sends the GetInstances API request.
type GetKeyPairInput ¶
type GetKeyPairInput struct { // The name of the key pair for which you are requesting information. // // KeyPairName is a required field KeyPairName *string `locationName:"keyPairName" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetKeyPairRequest
func (GetKeyPairInput) GoString ¶
func (s GetKeyPairInput) GoString() string
GoString returns the string representation
func (*GetKeyPairInput) SetKeyPairName ¶
func (s *GetKeyPairInput) SetKeyPairName(v string) *GetKeyPairInput
SetKeyPairName sets the KeyPairName field's value.
func (GetKeyPairInput) String ¶
func (s GetKeyPairInput) String() string
String returns the string representation
func (*GetKeyPairInput) Validate ¶
func (s *GetKeyPairInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetKeyPairOutput ¶
type GetKeyPairOutput struct { // An array of key-value pairs containing information about the key pair. KeyPair *KeyPair `locationName:"keyPair" type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetKeyPairResult
func (GetKeyPairOutput) GoString ¶
func (s GetKeyPairOutput) GoString() string
GoString returns the string representation
func (GetKeyPairOutput) SDKResponseMetadata ¶
func (s GetKeyPairOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*GetKeyPairOutput) SetKeyPair ¶
func (s *GetKeyPairOutput) SetKeyPair(v *KeyPair) *GetKeyPairOutput
SetKeyPair sets the KeyPair field's value.
func (GetKeyPairOutput) String ¶
func (s GetKeyPairOutput) String() string
String returns the string representation
type GetKeyPairRequest ¶
type GetKeyPairRequest struct { *aws.Request Input *GetKeyPairInput }
GetKeyPairRequest is a API request type for the GetKeyPair API operation.
func (GetKeyPairRequest) Send ¶
func (r GetKeyPairRequest) Send() (*GetKeyPairOutput, error)
Send marshals and sends the GetKeyPair API request.
type GetKeyPairsInput ¶
type GetKeyPairsInput struct { // A token used for advancing to the next page of results from your get key // pairs request. PageToken *string `locationName:"pageToken" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetKeyPairsRequest
func (GetKeyPairsInput) GoString ¶
func (s GetKeyPairsInput) GoString() string
GoString returns the string representation
func (*GetKeyPairsInput) SetPageToken ¶
func (s *GetKeyPairsInput) SetPageToken(v string) *GetKeyPairsInput
SetPageToken sets the PageToken field's value.
func (GetKeyPairsInput) String ¶
func (s GetKeyPairsInput) String() string
String returns the string representation
type GetKeyPairsOutput ¶
type GetKeyPairsOutput struct { // An array of key-value pairs containing information about the key pairs. KeyPairs []KeyPair `locationName:"keyPairs" type:"list"` // A token used for advancing to the next page of results from your get key // pairs request. NextPageToken *string `locationName:"nextPageToken" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetKeyPairsResult
func (GetKeyPairsOutput) GoString ¶
func (s GetKeyPairsOutput) GoString() string
GoString returns the string representation
func (GetKeyPairsOutput) SDKResponseMetadata ¶
func (s GetKeyPairsOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*GetKeyPairsOutput) SetKeyPairs ¶
func (s *GetKeyPairsOutput) SetKeyPairs(v []KeyPair) *GetKeyPairsOutput
SetKeyPairs sets the KeyPairs field's value.
func (*GetKeyPairsOutput) SetNextPageToken ¶
func (s *GetKeyPairsOutput) SetNextPageToken(v string) *GetKeyPairsOutput
SetNextPageToken sets the NextPageToken field's value.
func (GetKeyPairsOutput) String ¶
func (s GetKeyPairsOutput) String() string
String returns the string representation
type GetKeyPairsRequest ¶
type GetKeyPairsRequest struct { *aws.Request Input *GetKeyPairsInput }
GetKeyPairsRequest is a API request type for the GetKeyPairs API operation.
func (GetKeyPairsRequest) Send ¶
func (r GetKeyPairsRequest) Send() (*GetKeyPairsOutput, error)
Send marshals and sends the GetKeyPairs API 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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetLoadBalancerRequest
func (GetLoadBalancerInput) GoString ¶
func (s GetLoadBalancerInput) GoString() string
GoString returns the string representation
func (*GetLoadBalancerInput) SetLoadBalancerName ¶
func (s *GetLoadBalancerInput) SetLoadBalancerName(v string) *GetLoadBalancerInput
SetLoadBalancerName sets the LoadBalancerName field's value.
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" timestampFormat:"unix" required:"true"` // The name of the load balancer. // // LoadBalancerName is a required field LoadBalancerName *string `locationName:"loadBalancerName" type:"string" required:"true"` // The metric about which you want to return information. Valid values are listed // below, along with the most useful statistics to include in your request. // // * ClientTLSNegotiationErrorCount - The number of TLS connections initiated // by the client that did not establish a session with the load balancer. // Possible causes include a mismatch of ciphers or protocols. // // Statistics: The most useful statistic is Sum. // // * HealthyHostCount - The number of target instances that are considered // healthy. // // Statistics: The most useful statistic are Average, Minimum, and Maximum. // // * UnhealthyHostCount - The number of target instances that are considered // unhealthy. // // Statistics: The most useful statistic are Average, Minimum, and Maximum. // // * HTTPCode_LB_4XX_Count - The number of HTTP 4XX client error codes that // originate from the load balancer. Client errors are generated when requests // are malformed or incomplete. These requests have not been received by // the target instance. This count does not include any response codes generated // by the target instances. // // Statistics: The most useful statistic is Sum. Note that Minimum, Maximum, // and Average all return 1. // // * HTTPCode_LB_5XX_Count - The number of HTTP 5XX server error codes that // originate from the load balancer. This count does not include any response // codes generated by the target instances. // // Statistics: The most useful statistic is Sum. Note that Minimum, Maximum, // and Average all return 1. Note that Minimum, Maximum, and Average all // return 1. // // * HTTPCode_Instance_2XX_Count - The number of HTTP response codes generated // by the target instances. This does not include any response codes generated // by the load balancer. // // Statistics: The most useful statistic is Sum. Note that Minimum, Maximum, // and Average all return 1. // // * HTTPCode_Instance_3XX_Count - The number of HTTP response codes generated // by the target instances. This does not include any response codes generated // by the load balancer. // // Statistics: The most useful statistic is Sum. Note that Minimum, Maximum, // and Average all return 1. // // * HTTPCode_Instance_4XX_Count - The number of HTTP response codes generated // by the target instances. This does not include any response codes generated // by the load balancer. // // Statistics: The most useful statistic is Sum. Note that Minimum, Maximum, // and Average all return 1. // // * HTTPCode_Instance_5XX_Count - The number of HTTP response codes generated // by the target instances. This does not include any response codes generated // by the load balancer. // // Statistics: The most useful statistic is Sum. Note that Minimum, Maximum, // and Average all return 1. // // * InstanceResponseTime - The time elapsed, in seconds, after the request // leaves the load balancer until a response from the target instance is // received. // // Statistics: The most useful statistic is Average. // // * RejectedConnectionCount - The number of connections that were rejected // because the load balancer had reached its maximum number of connections. // // Statistics: The most useful statistic is Sum. // // * RequestCount - The number of requests processed over IPv4. This count // includes only the requests with a response generated by a target instance // of the load balancer. // // Statistics: The most useful statistic is Sum. Note that Minimum, Maximum, // and Average all return 1. // // MetricName is a required field MetricName LoadBalancerMetricName `locationName:"metricName" type:"string" required:"true" enum:"true"` // The time period duration for your health data request. // // Period is a required field Period *int64 `locationName:"period" min:"60" type:"integer" required:"true"` // The start time of the period. // // StartTime is a required field StartTime *time.Time `locationName:"startTime" type:"timestamp" timestampFormat:"unix" required:"true"` // An array of statistics that you want to request metrics for. Valid values // are listed below. // // Statistics is a required field Statistics []MetricStatistic `locationName:"statistics" type:"list" required:"true"` // The unit for the time period request. Valid values are listed below. // // Unit is a required field Unit MetricUnit `locationName:"unit" type:"string" required:"true" enum:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetLoadBalancerMetricDataRequest
func (GetLoadBalancerMetricDataInput) GoString ¶
func (s GetLoadBalancerMetricDataInput) GoString() string
GoString returns the string representation
func (*GetLoadBalancerMetricDataInput) SetEndTime ¶
func (s *GetLoadBalancerMetricDataInput) SetEndTime(v time.Time) *GetLoadBalancerMetricDataInput
SetEndTime sets the EndTime field's value.
func (*GetLoadBalancerMetricDataInput) SetLoadBalancerName ¶
func (s *GetLoadBalancerMetricDataInput) SetLoadBalancerName(v string) *GetLoadBalancerMetricDataInput
SetLoadBalancerName sets the LoadBalancerName field's value.
func (*GetLoadBalancerMetricDataInput) SetMetricName ¶
func (s *GetLoadBalancerMetricDataInput) SetMetricName(v LoadBalancerMetricName) *GetLoadBalancerMetricDataInput
SetMetricName sets the MetricName field's value.
func (*GetLoadBalancerMetricDataInput) SetPeriod ¶
func (s *GetLoadBalancerMetricDataInput) SetPeriod(v int64) *GetLoadBalancerMetricDataInput
SetPeriod sets the Period field's value.
func (*GetLoadBalancerMetricDataInput) SetStartTime ¶
func (s *GetLoadBalancerMetricDataInput) SetStartTime(v time.Time) *GetLoadBalancerMetricDataInput
SetStartTime sets the StartTime field's value.
func (*GetLoadBalancerMetricDataInput) SetStatistics ¶
func (s *GetLoadBalancerMetricDataInput) SetStatistics(v []MetricStatistic) *GetLoadBalancerMetricDataInput
SetStatistics sets the Statistics field's value.
func (*GetLoadBalancerMetricDataInput) SetUnit ¶
func (s *GetLoadBalancerMetricDataInput) SetUnit(v MetricUnit) *GetLoadBalancerMetricDataInput
SetUnit sets the Unit field's value.
func (GetLoadBalancerMetricDataInput) String ¶
func (s GetLoadBalancerMetricDataInput) String() 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. MetricName LoadBalancerMetricName `locationName:"metricName" type:"string" enum:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetLoadBalancerMetricDataResult
func (GetLoadBalancerMetricDataOutput) GoString ¶
func (s GetLoadBalancerMetricDataOutput) GoString() string
GoString returns the string representation
func (GetLoadBalancerMetricDataOutput) SDKResponseMetadata ¶
func (s GetLoadBalancerMetricDataOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*GetLoadBalancerMetricDataOutput) SetMetricData ¶
func (s *GetLoadBalancerMetricDataOutput) SetMetricData(v []MetricDatapoint) *GetLoadBalancerMetricDataOutput
SetMetricData sets the MetricData field's value.
func (*GetLoadBalancerMetricDataOutput) SetMetricName ¶
func (s *GetLoadBalancerMetricDataOutput) SetMetricName(v LoadBalancerMetricName) *GetLoadBalancerMetricDataOutput
SetMetricName sets the MetricName field's value.
func (GetLoadBalancerMetricDataOutput) String ¶
func (s GetLoadBalancerMetricDataOutput) String() string
String returns the string representation
type GetLoadBalancerMetricDataRequest ¶
type GetLoadBalancerMetricDataRequest struct { *aws.Request Input *GetLoadBalancerMetricDataInput }
GetLoadBalancerMetricDataRequest is a API request type for the GetLoadBalancerMetricData API operation.
func (GetLoadBalancerMetricDataRequest) Send ¶
func (r GetLoadBalancerMetricDataRequest) Send() (*GetLoadBalancerMetricDataOutput, error)
Send marshals and sends the GetLoadBalancerMetricData API 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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetLoadBalancerResult
func (GetLoadBalancerOutput) GoString ¶
func (s GetLoadBalancerOutput) GoString() string
GoString returns the string representation
func (GetLoadBalancerOutput) SDKResponseMetadata ¶
func (s GetLoadBalancerOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*GetLoadBalancerOutput) SetLoadBalancer ¶
func (s *GetLoadBalancerOutput) SetLoadBalancer(v *LoadBalancer) *GetLoadBalancerOutput
SetLoadBalancer sets the LoadBalancer field's value.
func (GetLoadBalancerOutput) String ¶
func (s GetLoadBalancerOutput) String() string
String returns the string representation
type GetLoadBalancerRequest ¶
type GetLoadBalancerRequest struct { *aws.Request Input *GetLoadBalancerInput }
GetLoadBalancerRequest is a API request type for the GetLoadBalancer API operation.
func (GetLoadBalancerRequest) Send ¶
func (r GetLoadBalancerRequest) Send() (*GetLoadBalancerOutput, error)
Send marshals and sends the GetLoadBalancer API request.
type GetLoadBalancerTlsCertificatesInput ¶
type GetLoadBalancerTlsCertificatesInput struct { // The name of the load balancer where you stored your TLS/SSL certificate. // // LoadBalancerName is a required field LoadBalancerName *string `locationName:"loadBalancerName" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetLoadBalancerTlsCertificatesRequest
func (GetLoadBalancerTlsCertificatesInput) GoString ¶
func (s GetLoadBalancerTlsCertificatesInput) GoString() string
GoString returns the string representation
func (*GetLoadBalancerTlsCertificatesInput) SetLoadBalancerName ¶
func (s *GetLoadBalancerTlsCertificatesInput) SetLoadBalancerName(v string) *GetLoadBalancerTlsCertificatesInput
SetLoadBalancerName sets the LoadBalancerName field's value.
func (GetLoadBalancerTlsCertificatesInput) String ¶
func (s GetLoadBalancerTlsCertificatesInput) String() string
String returns the string representation
func (*GetLoadBalancerTlsCertificatesInput) Validate ¶
func (s *GetLoadBalancerTlsCertificatesInput) Validate() error
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 TLS/SSL certificates. TlsCertificates []LoadBalancerTlsCertificate `locationName:"tlsCertificates" type:"list"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetLoadBalancerTlsCertificatesResult
func (GetLoadBalancerTlsCertificatesOutput) GoString ¶
func (s GetLoadBalancerTlsCertificatesOutput) GoString() string
GoString returns the string representation
func (GetLoadBalancerTlsCertificatesOutput) SDKResponseMetadata ¶
func (s GetLoadBalancerTlsCertificatesOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*GetLoadBalancerTlsCertificatesOutput) SetTlsCertificates ¶
func (s *GetLoadBalancerTlsCertificatesOutput) SetTlsCertificates(v []LoadBalancerTlsCertificate) *GetLoadBalancerTlsCertificatesOutput
SetTlsCertificates sets the TlsCertificates field's value.
func (GetLoadBalancerTlsCertificatesOutput) String ¶
func (s GetLoadBalancerTlsCertificatesOutput) String() string
String returns the string representation
type GetLoadBalancerTlsCertificatesRequest ¶
type GetLoadBalancerTlsCertificatesRequest struct { *aws.Request Input *GetLoadBalancerTlsCertificatesInput }
GetLoadBalancerTlsCertificatesRequest is a API request type for the GetLoadBalancerTlsCertificates API operation.
func (GetLoadBalancerTlsCertificatesRequest) Send ¶
func (r GetLoadBalancerTlsCertificatesRequest) Send() (*GetLoadBalancerTlsCertificatesOutput, error)
Send marshals and sends the GetLoadBalancerTlsCertificates API request.
type GetLoadBalancersInput ¶
type GetLoadBalancersInput struct { // A token used for paginating the results from your GetLoadBalancers request. PageToken *string `locationName:"pageToken" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetLoadBalancersRequest
func (GetLoadBalancersInput) GoString ¶
func (s GetLoadBalancersInput) GoString() string
GoString returns the string representation
func (*GetLoadBalancersInput) SetPageToken ¶
func (s *GetLoadBalancersInput) SetPageToken(v string) *GetLoadBalancersInput
SetPageToken sets the PageToken field's value.
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"` // A token used for advancing to the next page of results from your GetLoadBalancers // request. NextPageToken *string `locationName:"nextPageToken" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetLoadBalancersResult
func (GetLoadBalancersOutput) GoString ¶
func (s GetLoadBalancersOutput) GoString() string
GoString returns the string representation
func (GetLoadBalancersOutput) SDKResponseMetadata ¶
func (s GetLoadBalancersOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*GetLoadBalancersOutput) SetLoadBalancers ¶
func (s *GetLoadBalancersOutput) SetLoadBalancers(v []LoadBalancer) *GetLoadBalancersOutput
SetLoadBalancers sets the LoadBalancers field's value.
func (*GetLoadBalancersOutput) SetNextPageToken ¶
func (s *GetLoadBalancersOutput) SetNextPageToken(v string) *GetLoadBalancersOutput
SetNextPageToken sets the NextPageToken field's value.
func (GetLoadBalancersOutput) String ¶
func (s GetLoadBalancersOutput) String() string
String returns the string representation
type GetLoadBalancersRequest ¶
type GetLoadBalancersRequest struct { *aws.Request Input *GetLoadBalancersInput }
GetLoadBalancersRequest is a API request type for the GetLoadBalancers API operation.
func (GetLoadBalancersRequest) Send ¶
func (r GetLoadBalancersRequest) Send() (*GetLoadBalancersOutput, error)
Send marshals and sends the GetLoadBalancers API request.
type GetOperationInput ¶
type GetOperationInput struct { // A GUID used to identify the operation. // // OperationId is a required field OperationId *string `locationName:"operationId" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetOperationRequest
func (GetOperationInput) GoString ¶
func (s GetOperationInput) GoString() string
GoString returns the string representation
func (*GetOperationInput) SetOperationId ¶
func (s *GetOperationInput) SetOperationId(v string) *GetOperationInput
SetOperationId sets the OperationId field's value.
func (GetOperationInput) String ¶
func (s GetOperationInput) String() string
String returns the string representation
func (*GetOperationInput) Validate ¶
func (s *GetOperationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetOperationOutput ¶
type GetOperationOutput struct { // An array of key-value pairs containing information about the results of your // get operation request. Operation *Operation `locationName:"operation" type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetOperationResult
func (GetOperationOutput) GoString ¶
func (s GetOperationOutput) GoString() string
GoString returns the string representation
func (GetOperationOutput) SDKResponseMetadata ¶
func (s GetOperationOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*GetOperationOutput) SetOperation ¶
func (s *GetOperationOutput) SetOperation(v *Operation) *GetOperationOutput
SetOperation sets the Operation field's value.
func (GetOperationOutput) String ¶
func (s GetOperationOutput) String() string
String returns the string representation
type GetOperationRequest ¶
type GetOperationRequest struct { *aws.Request Input *GetOperationInput }
GetOperationRequest is a API request type for the GetOperation API operation.
func (GetOperationRequest) Send ¶
func (r GetOperationRequest) Send() (*GetOperationOutput, error)
Send marshals and sends the GetOperation API request.
type GetOperationsForResourceInput ¶
type GetOperationsForResourceInput struct { // A token used for advancing to the next page of results from your get operations // for resource request. PageToken *string `locationName:"pageToken" type:"string"` // The name of the resource for which you are requesting information. // // ResourceName is a required field ResourceName *string `locationName:"resourceName" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetOperationsForResourceRequest
func (GetOperationsForResourceInput) GoString ¶
func (s GetOperationsForResourceInput) GoString() string
GoString returns the string representation
func (*GetOperationsForResourceInput) SetPageToken ¶
func (s *GetOperationsForResourceInput) SetPageToken(v string) *GetOperationsForResourceInput
SetPageToken sets the PageToken field's value.
func (*GetOperationsForResourceInput) SetResourceName ¶
func (s *GetOperationsForResourceInput) SetResourceName(v string) *GetOperationsForResourceInput
SetResourceName sets the ResourceName field's value.
func (GetOperationsForResourceInput) String ¶
func (s GetOperationsForResourceInput) String() string
String returns the string representation
func (*GetOperationsForResourceInput) Validate ¶
func (s *GetOperationsForResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetOperationsForResourceOutput ¶
type GetOperationsForResourceOutput struct { // (Deprecated) Returns the number of pages of results that remain. // // In releases prior to June 12, 2017, this parameter returned null by the API. // It is now deprecated, and the API returns the nextPageToken parameter instead. NextPageCount *string `locationName:"nextPageCount" deprecated:"true" type:"string"` // An identifier that was returned from the previous call to this operation, // which can be used to return the next set of items in the list. NextPageToken *string `locationName:"nextPageToken" type:"string"` // An array of key-value pairs containing information about the results of your // get operations for resource request. Operations []Operation `locationName:"operations" type:"list"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetOperationsForResourceResult
func (GetOperationsForResourceOutput) GoString ¶
func (s GetOperationsForResourceOutput) GoString() string
GoString returns the string representation
func (GetOperationsForResourceOutput) SDKResponseMetadata ¶
func (s GetOperationsForResourceOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*GetOperationsForResourceOutput) SetNextPageCount ¶
func (s *GetOperationsForResourceOutput) SetNextPageCount(v string) *GetOperationsForResourceOutput
SetNextPageCount sets the NextPageCount field's value.
func (*GetOperationsForResourceOutput) SetNextPageToken ¶
func (s *GetOperationsForResourceOutput) SetNextPageToken(v string) *GetOperationsForResourceOutput
SetNextPageToken sets the NextPageToken field's value.
func (*GetOperationsForResourceOutput) SetOperations ¶
func (s *GetOperationsForResourceOutput) SetOperations(v []Operation) *GetOperationsForResourceOutput
SetOperations sets the Operations field's value.
func (GetOperationsForResourceOutput) String ¶
func (s GetOperationsForResourceOutput) String() string
String returns the string representation
type GetOperationsForResourceRequest ¶
type GetOperationsForResourceRequest struct { *aws.Request Input *GetOperationsForResourceInput }
GetOperationsForResourceRequest is a API request type for the GetOperationsForResource API operation.
func (GetOperationsForResourceRequest) Send ¶
func (r GetOperationsForResourceRequest) Send() (*GetOperationsForResourceOutput, error)
Send marshals and sends the GetOperationsForResource API request.
type GetOperationsInput ¶
type GetOperationsInput struct { // A token used for advancing to the next page of results from your get operations // request. PageToken *string `locationName:"pageToken" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetOperationsRequest
func (GetOperationsInput) GoString ¶
func (s GetOperationsInput) GoString() string
GoString returns the string representation
func (*GetOperationsInput) SetPageToken ¶
func (s *GetOperationsInput) SetPageToken(v string) *GetOperationsInput
SetPageToken sets the PageToken field's value.
func (GetOperationsInput) String ¶
func (s GetOperationsInput) String() string
String returns the string representation
type GetOperationsOutput ¶
type GetOperationsOutput struct { // A token used for advancing to the next page of results from your get operations // request. NextPageToken *string `locationName:"nextPageToken" type:"string"` // An array of key-value pairs containing information about the results of your // get operations request. Operations []Operation `locationName:"operations" type:"list"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetOperationsResult
func (GetOperationsOutput) GoString ¶
func (s GetOperationsOutput) GoString() string
GoString returns the string representation
func (GetOperationsOutput) SDKResponseMetadata ¶
func (s GetOperationsOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*GetOperationsOutput) SetNextPageToken ¶
func (s *GetOperationsOutput) SetNextPageToken(v string) *GetOperationsOutput
SetNextPageToken sets the NextPageToken field's value.
func (*GetOperationsOutput) SetOperations ¶
func (s *GetOperationsOutput) SetOperations(v []Operation) *GetOperationsOutput
SetOperations sets the Operations field's value.
func (GetOperationsOutput) String ¶
func (s GetOperationsOutput) String() string
String returns the string representation
type GetOperationsRequest ¶
type GetOperationsRequest struct { *aws.Request Input *GetOperationsInput }
GetOperationsRequest is a API request type for the GetOperations API operation.
func (GetOperationsRequest) Send ¶
func (r GetOperationsRequest) Send() (*GetOperationsOutput, error)
Send marshals and sends the GetOperations API request.
type GetRegionsInput ¶
type GetRegionsInput struct { // A Boolean value indicating whether to also include Availability Zones in // your get regions request. Availability Zones are indicated with a letter: // e.g., us-east-2a. IncludeAvailabilityZones *bool `locationName:"includeAvailabilityZones" type:"boolean"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetRegionsRequest
func (GetRegionsInput) GoString ¶
func (s GetRegionsInput) GoString() string
GoString returns the string representation
func (*GetRegionsInput) SetIncludeAvailabilityZones ¶
func (s *GetRegionsInput) SetIncludeAvailabilityZones(v bool) *GetRegionsInput
SetIncludeAvailabilityZones sets the IncludeAvailabilityZones field's value.
func (GetRegionsInput) String ¶
func (s GetRegionsInput) String() string
String returns the string representation
type GetRegionsOutput ¶
type GetRegionsOutput struct { // An array of key-value pairs containing information about your get regions // request. Regions []Region `locationName:"regions" type:"list"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetRegionsResult
func (GetRegionsOutput) GoString ¶
func (s GetRegionsOutput) GoString() string
GoString returns the string representation
func (GetRegionsOutput) SDKResponseMetadata ¶
func (s GetRegionsOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*GetRegionsOutput) SetRegions ¶
func (s *GetRegionsOutput) SetRegions(v []Region) *GetRegionsOutput
SetRegions sets the Regions field's value.
func (GetRegionsOutput) String ¶
func (s GetRegionsOutput) String() string
String returns the string representation
type GetRegionsRequest ¶
type GetRegionsRequest struct { *aws.Request Input *GetRegionsInput }
GetRegionsRequest is a API request type for the GetRegions API operation.
func (GetRegionsRequest) Send ¶
func (r GetRegionsRequest) Send() (*GetRegionsOutput, error)
Send marshals and sends the GetRegions API request.
type GetStaticIpInput ¶
type GetStaticIpInput struct { // The name of the static IP in Lightsail. // // StaticIpName is a required field StaticIpName *string `locationName:"staticIpName" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetStaticIpRequest
func (GetStaticIpInput) GoString ¶
func (s GetStaticIpInput) GoString() string
GoString returns the string representation
func (*GetStaticIpInput) SetStaticIpName ¶
func (s *GetStaticIpInput) SetStaticIpName(v string) *GetStaticIpInput
SetStaticIpName sets the StaticIpName field's value.
func (GetStaticIpInput) String ¶
func (s GetStaticIpInput) String() string
String returns the string representation
func (*GetStaticIpInput) Validate ¶
func (s *GetStaticIpInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetStaticIpOutput ¶
type GetStaticIpOutput struct { // An array of key-value pairs containing information about the requested static // IP. StaticIp *StaticIp `locationName:"staticIp" type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetStaticIpResult
func (GetStaticIpOutput) GoString ¶
func (s GetStaticIpOutput) GoString() string
GoString returns the string representation
func (GetStaticIpOutput) SDKResponseMetadata ¶
func (s GetStaticIpOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*GetStaticIpOutput) SetStaticIp ¶
func (s *GetStaticIpOutput) SetStaticIp(v *StaticIp) *GetStaticIpOutput
SetStaticIp sets the StaticIp field's value.
func (GetStaticIpOutput) String ¶
func (s GetStaticIpOutput) String() string
String returns the string representation
type GetStaticIpRequest ¶
type GetStaticIpRequest struct { *aws.Request Input *GetStaticIpInput }
GetStaticIpRequest is a API request type for the GetStaticIp API operation.
func (GetStaticIpRequest) Send ¶
func (r GetStaticIpRequest) Send() (*GetStaticIpOutput, error)
Send marshals and sends the GetStaticIp API request.
type GetStaticIpsInput ¶
type GetStaticIpsInput struct { // A token used for advancing to the next page of results from your get static // IPs request. PageToken *string `locationName:"pageToken" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetStaticIpsRequest
func (GetStaticIpsInput) GoString ¶
func (s GetStaticIpsInput) GoString() string
GoString returns the string representation
func (*GetStaticIpsInput) SetPageToken ¶
func (s *GetStaticIpsInput) SetPageToken(v string) *GetStaticIpsInput
SetPageToken sets the PageToken field's value.
func (GetStaticIpsInput) String ¶
func (s GetStaticIpsInput) String() string
String returns the string representation
type GetStaticIpsOutput ¶
type GetStaticIpsOutput struct { // A token used for advancing to the next page of results from your get static // IPs request. NextPageToken *string `locationName:"nextPageToken" type:"string"` // An array of key-value pairs containing information about your get static // IPs request. StaticIps []StaticIp `locationName:"staticIps" type:"list"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetStaticIpsResult
func (GetStaticIpsOutput) GoString ¶
func (s GetStaticIpsOutput) GoString() string
GoString returns the string representation
func (GetStaticIpsOutput) SDKResponseMetadata ¶
func (s GetStaticIpsOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*GetStaticIpsOutput) SetNextPageToken ¶
func (s *GetStaticIpsOutput) SetNextPageToken(v string) *GetStaticIpsOutput
SetNextPageToken sets the NextPageToken field's value.
func (*GetStaticIpsOutput) SetStaticIps ¶
func (s *GetStaticIpsOutput) SetStaticIps(v []StaticIp) *GetStaticIpsOutput
SetStaticIps sets the StaticIps field's value.
func (GetStaticIpsOutput) String ¶
func (s GetStaticIpsOutput) String() string
String returns the string representation
type GetStaticIpsRequest ¶
type GetStaticIpsRequest struct { *aws.Request Input *GetStaticIpsInput }
GetStaticIpsRequest is a API request type for the GetStaticIps API operation.
func (GetStaticIpsRequest) Send ¶
func (r GetStaticIpsRequest) Send() (*GetStaticIpsOutput, error)
Send marshals and sends the GetStaticIps API request.
type ImportKeyPairInput ¶
type ImportKeyPairInput struct { // The name of the key pair for which you want to import the public key. // // KeyPairName is a required field KeyPairName *string `locationName:"keyPairName" type:"string" required:"true"` // A base64-encoded public key of the ssh-rsa type. // // PublicKeyBase64 is a required field PublicKeyBase64 *string `locationName:"publicKeyBase64" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/ImportKeyPairRequest
func (ImportKeyPairInput) GoString ¶
func (s ImportKeyPairInput) GoString() string
GoString returns the string representation
func (*ImportKeyPairInput) SetKeyPairName ¶
func (s *ImportKeyPairInput) SetKeyPairName(v string) *ImportKeyPairInput
SetKeyPairName sets the KeyPairName field's value.
func (*ImportKeyPairInput) SetPublicKeyBase64 ¶
func (s *ImportKeyPairInput) SetPublicKeyBase64(v string) *ImportKeyPairInput
SetPublicKeyBase64 sets the PublicKeyBase64 field's value.
func (ImportKeyPairInput) String ¶
func (s ImportKeyPairInput) String() string
String returns the string representation
func (*ImportKeyPairInput) Validate ¶
func (s *ImportKeyPairInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ImportKeyPairOutput ¶
type ImportKeyPairOutput struct { // An array of key-value pairs containing information about the request operation. Operation *Operation `locationName:"operation" type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/ImportKeyPairResult
func (ImportKeyPairOutput) GoString ¶
func (s ImportKeyPairOutput) GoString() string
GoString returns the string representation
func (ImportKeyPairOutput) SDKResponseMetadata ¶
func (s ImportKeyPairOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*ImportKeyPairOutput) SetOperation ¶
func (s *ImportKeyPairOutput) SetOperation(v *Operation) *ImportKeyPairOutput
SetOperation sets the Operation field's value.
func (ImportKeyPairOutput) String ¶
func (s ImportKeyPairOutput) String() string
String returns the string representation
type ImportKeyPairRequest ¶
type ImportKeyPairRequest struct { *aws.Request Input *ImportKeyPairInput }
ImportKeyPairRequest is a API request type for the ImportKeyPair API operation.
func (ImportKeyPairRequest) Send ¶
func (r ImportKeyPairRequest) Send() (*ImportKeyPairOutput, error)
Send marshals and sends the ImportKeyPair API request.
type Instance ¶
type Instance struct { // The Amazon Resource Name (ARN) of the instance (e.g., arn:aws:lightsail:us-east-2:123456789101:Instance/244ad76f-8aad-4741-809f-12345EXAMPLE). Arn *string `locationName:"arn" type:"string"` // The blueprint ID (e.g., os_amlinux_2016_03). BlueprintId *string `locationName:"blueprintId" type:"string"` // The friendly name of the blueprint (e.g., Amazon Linux). BlueprintName *string `locationName:"blueprintName" type:"string"` // The bundle for the instance (e.g., micro_1_0). BundleId *string `locationName:"bundleId" type:"string"` // The timestamp when the instance was created (e.g., 1479734909.17). CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"unix"` // The size of the vCPU and the amount of RAM for the instance. Hardware *InstanceHardware `locationName:"hardware" type:"structure"` // The IPv6 address of the instance. Ipv6Address *string `locationName:"ipv6Address" type:"string"` // A Boolean value indicating whether this instance has a static IP assigned // to it. IsStaticIp *bool `locationName:"isStaticIp" type:"boolean"` // The region name and availability zone where the instance is located. Location *ResourceLocation `locationName:"location" type:"structure"` // The name the user gave the instance (e.g., Amazon_Linux-1GB-Ohio-1). Name *string `locationName:"name" type:"string"` // Information about the public ports and monthly data transfer rates for the // instance. Networking *InstanceNetworking `locationName:"networking" type:"structure"` // The private IP address of the instance. PrivateIpAddress *string `locationName:"privateIpAddress" type:"string"` // The public IP address of the instance. PublicIpAddress *string `locationName:"publicIpAddress" type:"string"` // The type of resource (usually Instance). ResourceType ResourceType `locationName:"resourceType" type:"string" enum:"true"` // The name of the SSH key being used to connect to the instance (e.g., LightsailDefaultKeyPair). SshKeyName *string `locationName:"sshKeyName" type:"string"` // The status code and the state (e.g., running) for the instance. State *InstanceState `locationName:"state" type:"structure"` // The support code. Include this code in your email to support when you have // questions about an instance or another resource in Lightsail. This code enables // our support team to look up your Lightsail information more easily. SupportCode *string `locationName:"supportCode" type:"string"` // The user name for connecting to the instance (e.g., ec2-user). Username *string `locationName:"username" type:"string"` // contains filtered or unexported fields }
Describes an instance (a virtual private server). Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/Instance
func (*Instance) SetBlueprintId ¶
SetBlueprintId sets the BlueprintId field's value.
func (*Instance) SetBlueprintName ¶
SetBlueprintName sets the BlueprintName field's value.
func (*Instance) SetBundleId ¶
SetBundleId sets the BundleId field's value.
func (*Instance) SetCreatedAt ¶
SetCreatedAt sets the CreatedAt field's value.
func (*Instance) SetHardware ¶
func (s *Instance) SetHardware(v *InstanceHardware) *Instance
SetHardware sets the Hardware field's value.
func (*Instance) SetIpv6Address ¶
SetIpv6Address sets the Ipv6Address field's value.
func (*Instance) SetIsStaticIp ¶
SetIsStaticIp sets the IsStaticIp field's value.
func (*Instance) SetLocation ¶
func (s *Instance) SetLocation(v *ResourceLocation) *Instance
SetLocation sets the Location field's value.
func (*Instance) SetNetworking ¶
func (s *Instance) SetNetworking(v *InstanceNetworking) *Instance
SetNetworking sets the Networking field's value.
func (*Instance) SetPrivateIpAddress ¶
SetPrivateIpAddress sets the PrivateIpAddress field's value.
func (*Instance) SetPublicIpAddress ¶
SetPublicIpAddress sets the PublicIpAddress field's value.
func (*Instance) SetResourceType ¶
func (s *Instance) SetResourceType(v ResourceType) *Instance
SetResourceType sets the ResourceType field's value.
func (*Instance) SetSshKeyName ¶
SetSshKeyName sets the SshKeyName field's value.
func (*Instance) SetState ¶
func (s *Instance) SetState(v *InstanceState) *Instance
SetState sets the State field's value.
func (*Instance) SetSupportCode ¶
SetSupportCode sets the SupportCode field's value.
func (*Instance) SetUsername ¶
SetUsername sets the Username field's value.
type InstanceAccessDetails ¶
type InstanceAccessDetails struct { // For SSH access, the public key to use when accessing your instance For OpenSSH // clients (e.g., command line SSH), you should save this value to tempkey-cert.pub. CertKey *string `locationName:"certKey" type:"string"` // For SSH access, the date on which the temporary keys expire. ExpiresAt *time.Time `locationName:"expiresAt" type:"timestamp" timestampFormat:"unix"` // The name of this Amazon Lightsail instance. InstanceName *string `locationName:"instanceName" type:"string"` // The public IP address of the Amazon Lightsail instance. IpAddress *string `locationName:"ipAddress" type:"string"` // For RDP access, the password for your Amazon Lightsail instance. Password // will be an empty string if the password for your new instance is not ready // yet. When you create an instance, it can take up to 15 minutes for the instance // to be ready. // // If you create an instance using any key pair other than the default (LightsailDefaultKeyPair), // password will always be an empty string. // // If you change the Administrator password on the instance, Lightsail will // continue to return the original password value. When accessing the instance // using RDP, you need to manually enter the Administrator password after changing // it from the default. Password *string `locationName:"password" type:"string"` // For a Windows Server-based instance, an object with the data you can use // to retrieve your password. This is only needed if password is empty and the // instance is not new (and therefore the password is not ready yet). When you // create an instance, it can take up to 15 minutes for the instance to be ready. PasswordData *PasswordData `locationName:"passwordData" type:"structure"` // For SSH access, the temporary private key. For OpenSSH clients (e.g., command // line SSH), you should save this value to tempkey). PrivateKey *string `locationName:"privateKey" type:"string"` // The protocol for these Amazon Lightsail instance access details. Protocol InstanceAccessProtocol `locationName:"protocol" type:"string" enum:"true"` // The user name to use when logging in to the Amazon Lightsail instance. Username *string `locationName:"username" type:"string"` // contains filtered or unexported fields }
The parameters for gaining temporary access to one of your Amazon Lightsail instances. Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/InstanceAccessDetails
func (InstanceAccessDetails) GoString ¶
func (s InstanceAccessDetails) GoString() string
GoString returns the string representation
func (*InstanceAccessDetails) SetCertKey ¶
func (s *InstanceAccessDetails) SetCertKey(v string) *InstanceAccessDetails
SetCertKey sets the CertKey field's value.
func (*InstanceAccessDetails) SetExpiresAt ¶
func (s *InstanceAccessDetails) SetExpiresAt(v time.Time) *InstanceAccessDetails
SetExpiresAt sets the ExpiresAt field's value.
func (*InstanceAccessDetails) SetInstanceName ¶
func (s *InstanceAccessDetails) SetInstanceName(v string) *InstanceAccessDetails
SetInstanceName sets the InstanceName field's value.
func (*InstanceAccessDetails) SetIpAddress ¶
func (s *InstanceAccessDetails) SetIpAddress(v string) *InstanceAccessDetails
SetIpAddress sets the IpAddress field's value.
func (*InstanceAccessDetails) SetPassword ¶
func (s *InstanceAccessDetails) SetPassword(v string) *InstanceAccessDetails
SetPassword sets the Password field's value.
func (*InstanceAccessDetails) SetPasswordData ¶
func (s *InstanceAccessDetails) SetPasswordData(v *PasswordData) *InstanceAccessDetails
SetPasswordData sets the PasswordData field's value.
func (*InstanceAccessDetails) SetPrivateKey ¶
func (s *InstanceAccessDetails) SetPrivateKey(v string) *InstanceAccessDetails
SetPrivateKey sets the PrivateKey field's value.
func (*InstanceAccessDetails) SetProtocol ¶
func (s *InstanceAccessDetails) SetProtocol(v InstanceAccessProtocol) *InstanceAccessDetails
SetProtocol sets the Protocol field's value.
func (*InstanceAccessDetails) SetUsername ¶
func (s *InstanceAccessDetails) SetUsername(v string) *InstanceAccessDetails
SetUsername sets the Username field's value.
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
type InstanceHardware ¶
type InstanceHardware struct { // The number of vCPUs the instance has. CpuCount *int64 `locationName:"cpuCount" type:"integer"` // The disks attached to the instance. Disks []Disk `locationName:"disks" type:"list"` // The amount of RAM in GB on the instance (e.g., 1.0). RamSizeInGb *float64 `locationName:"ramSizeInGb" type:"float"` // contains filtered or unexported fields }
Describes the hardware for the instance. Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/InstanceHardware
func (InstanceHardware) GoString ¶
func (s InstanceHardware) GoString() string
GoString returns the string representation
func (*InstanceHardware) SetCpuCount ¶
func (s *InstanceHardware) SetCpuCount(v int64) *InstanceHardware
SetCpuCount sets the CpuCount field's value.
func (*InstanceHardware) SetDisks ¶
func (s *InstanceHardware) SetDisks(v []Disk) *InstanceHardware
SetDisks sets the Disks field's value.
func (*InstanceHardware) SetRamSizeInGb ¶
func (s *InstanceHardware) SetRamSizeInGb(v float64) *InstanceHardware
SetRamSizeInGb sets the RamSizeInGb field's value.
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
type InstanceHealthState ¶
type InstanceHealthState string
const ( InstanceHealthStateInitial InstanceHealthState = "initial" InstanceHealthStateHealthy InstanceHealthState = "healthy" InstanceHealthStateUnhealthy InstanceHealthState = "unhealthy" InstanceHealthStateUnused InstanceHealthState = "unused" InstanceHealthStateDraining InstanceHealthState = "draining" )
Enum values for InstanceHealthState
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. Valid values are below. InstanceHealthReason InstanceHealthReason `locationName:"instanceHealthReason" type:"string" enum:"true"` // The name of the Lightsail instance for which you are requesting health check // data. InstanceName *string `locationName:"instanceName" type:"string"` // contains filtered or unexported fields }
Describes information about the health of the instance. Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/InstanceHealthSummary
func (InstanceHealthSummary) GoString ¶
func (s InstanceHealthSummary) GoString() string
GoString returns the string representation
func (*InstanceHealthSummary) SetInstanceHealth ¶
func (s *InstanceHealthSummary) SetInstanceHealth(v InstanceHealthState) *InstanceHealthSummary
SetInstanceHealth sets the InstanceHealth field's value.
func (*InstanceHealthSummary) SetInstanceHealthReason ¶
func (s *InstanceHealthSummary) SetInstanceHealthReason(v InstanceHealthReason) *InstanceHealthSummary
SetInstanceHealthReason sets the InstanceHealthReason field's value.
func (*InstanceHealthSummary) SetInstanceName ¶
func (s *InstanceHealthSummary) SetInstanceName(v string) *InstanceHealthSummary
SetInstanceName sets the InstanceName field's value.
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
type InstanceNetworking ¶
type InstanceNetworking struct { // The amount of data in GB allocated for monthly data transfers. MonthlyTransfer *MonthlyTransfer `locationName:"monthlyTransfer" type:"structure"` // An array of key-value pairs containing information about the ports on the // instance. Ports []InstancePortInfo `locationName:"ports" type:"list"` // contains filtered or unexported fields }
Describes monthly data transfer rates and port information for an instance. Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/InstanceNetworking
func (InstanceNetworking) GoString ¶
func (s InstanceNetworking) GoString() string
GoString returns the string representation
func (*InstanceNetworking) SetMonthlyTransfer ¶
func (s *InstanceNetworking) SetMonthlyTransfer(v *MonthlyTransfer) *InstanceNetworking
SetMonthlyTransfer sets the MonthlyTransfer field's value.
func (*InstanceNetworking) SetPorts ¶
func (s *InstanceNetworking) SetPorts(v []InstancePortInfo) *InstanceNetworking
SetPorts sets the Ports field's value.
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
type InstancePortInfo ¶
type InstancePortInfo struct { // The access direction (inbound or outbound). AccessDirection AccessDirection `locationName:"accessDirection" type:"string" enum:"true"` // The location from which access is allowed (e.g., Anywhere (0.0.0.0/0)). AccessFrom *string `locationName:"accessFrom" type:"string"` // The type of access (Public or Private). AccessType PortAccessType `locationName:"accessType" type:"string" enum:"true"` // The common name. CommonName *string `locationName:"commonName" type:"string"` // The first port in the range. FromPort *int64 `locationName:"fromPort" type:"integer"` // The protocol being used. Can be one of the following. // // * tcp - Transmission Control Protocol (TCP) provides reliable, ordered, // and error-checked delivery of streamed data between applications running // on hosts communicating by an IP network. If you have an application that // doesn't require reliable data stream service, use UDP instead. // // * all - All transport layer protocol types. For more general information, // see Transport layer (https://en.wikipedia.org/wiki/Transport_layer) on // Wikipedia. // // * udp - With User Datagram Protocol (UDP), computer applications can send // messages (or datagrams) to other hosts on an Internet Protocol (IP) network. // Prior communications are not required to set up transmission channels // or data paths. Applications that don't require reliable data stream service // can use UDP, which provides a connectionless datagram service that emphasizes // reduced latency over reliability. If you do require reliable data stream // service, use TCP instead. Protocol NetworkProtocol `locationName:"protocol" type:"string" enum:"true"` // The last port in the range. ToPort *int64 `locationName:"toPort" type:"integer"` // contains filtered or unexported fields }
Describes information about the instance ports. Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/InstancePortInfo
func (InstancePortInfo) GoString ¶
func (s InstancePortInfo) GoString() string
GoString returns the string representation
func (*InstancePortInfo) SetAccessDirection ¶
func (s *InstancePortInfo) SetAccessDirection(v AccessDirection) *InstancePortInfo
SetAccessDirection sets the AccessDirection field's value.
func (*InstancePortInfo) SetAccessFrom ¶
func (s *InstancePortInfo) SetAccessFrom(v string) *InstancePortInfo
SetAccessFrom sets the AccessFrom field's value.
func (*InstancePortInfo) SetAccessType ¶
func (s *InstancePortInfo) SetAccessType(v PortAccessType) *InstancePortInfo
SetAccessType sets the AccessType field's value.
func (*InstancePortInfo) SetCommonName ¶
func (s *InstancePortInfo) SetCommonName(v string) *InstancePortInfo
SetCommonName sets the CommonName field's value.
func (*InstancePortInfo) SetFromPort ¶
func (s *InstancePortInfo) SetFromPort(v int64) *InstancePortInfo
SetFromPort sets the FromPort field's value.
func (*InstancePortInfo) SetProtocol ¶
func (s *InstancePortInfo) SetProtocol(v NetworkProtocol) *InstancePortInfo
SetProtocol sets the Protocol field's value.
func (*InstancePortInfo) SetToPort ¶
func (s *InstancePortInfo) SetToPort(v int64) *InstancePortInfo
SetToPort sets the ToPort field's value.
func (InstancePortInfo) String ¶
func (s InstancePortInfo) String() string
String returns the string representation
type InstancePortState ¶
type InstancePortState struct { // The first port in the range. FromPort *int64 `locationName:"fromPort" type:"integer"` // The protocol being used. Can be one of the following. // // * tcp - Transmission Control Protocol (TCP) provides reliable, ordered, // and error-checked delivery of streamed data between applications running // on hosts communicating by an IP network. If you have an application that // doesn't require reliable data stream service, use UDP instead. // // * all - All transport layer protocol types. For more general information, // see Transport layer (https://en.wikipedia.org/wiki/Transport_layer) on // Wikipedia. // // * udp - With User Datagram Protocol (UDP), computer applications can send // messages (or datagrams) to other hosts on an Internet Protocol (IP) network. // Prior communications are not required to set up transmission channels // or data paths. Applications that don't require reliable data stream service // can use UDP, which provides a connectionless datagram service that emphasizes // reduced latency over reliability. If you do require reliable data stream // service, use TCP instead. Protocol NetworkProtocol `locationName:"protocol" type:"string" enum:"true"` // Specifies whether the instance port is open or closed. State PortState `locationName:"state" type:"string" enum:"true"` // The last port in the range. ToPort *int64 `locationName:"toPort" type:"integer"` // contains filtered or unexported fields }
Describes the port state. Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/InstancePortState
func (InstancePortState) GoString ¶
func (s InstancePortState) GoString() string
GoString returns the string representation
func (*InstancePortState) SetFromPort ¶
func (s *InstancePortState) SetFromPort(v int64) *InstancePortState
SetFromPort sets the FromPort field's value.
func (*InstancePortState) SetProtocol ¶
func (s *InstancePortState) SetProtocol(v NetworkProtocol) *InstancePortState
SetProtocol sets the Protocol field's value.
func (*InstancePortState) SetState ¶
func (s *InstancePortState) SetState(v PortState) *InstancePortState
SetState sets the State field's value.
func (*InstancePortState) SetToPort ¶
func (s *InstancePortState) SetToPort(v int64) *InstancePortState
SetToPort sets the ToPort field's value.
func (InstancePortState) String ¶
func (s InstancePortState) String() string
String returns the string representation
type InstanceSnapshot ¶
type InstanceSnapshot struct { // The Amazon Resource Name (ARN) of the snapshot (e.g., arn:aws:lightsail:us-east-2:123456789101:InstanceSnapshot/d23b5706-3322-4d83-81e5-12345EXAMPLE). Arn *string `locationName:"arn" type:"string"` // The timestamp when the snapshot was created (e.g., 1479907467.024). CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"unix"` // An array of disk objects containing information about all block storage disks. FromAttachedDisks []Disk `locationName:"fromAttachedDisks" type:"list"` // The blueprint ID from which you created the snapshot (e.g., os_debian_8_3). // A blueprint is a virtual private server (or instance) image used to create // instances quickly. FromBlueprintId *string `locationName:"fromBlueprintId" type:"string"` // The bundle ID from which you created the snapshot (e.g., micro_1_0). FromBundleId *string `locationName:"fromBundleId" type:"string"` // The Amazon Resource Name (ARN) of the instance from which the snapshot was // created (e.g., arn:aws:lightsail:us-east-2:123456789101:Instance/64b8404c-ccb1-430b-8daf-12345EXAMPLE). FromInstanceArn *string `locationName:"fromInstanceArn" type:"string"` // The instance from which the snapshot was created. FromInstanceName *string `locationName:"fromInstanceName" type:"string"` // The region name and availability zone where you created the snapshot. Location *ResourceLocation `locationName:"location" type:"structure"` // The name of the snapshot. Name *string `locationName:"name" type:"string"` // The progress of the snapshot. Progress *string `locationName:"progress" type:"string"` // The type of resource (usually InstanceSnapshot). ResourceType ResourceType `locationName:"resourceType" type:"string" enum:"true"` // The size in GB of the SSD. SizeInGb *int64 `locationName:"sizeInGb" type:"integer"` // The state the snapshot is in. State InstanceSnapshotState `locationName:"state" type:"string" enum:"true"` // The support code. Include this code in your email to support when you have // questions about an instance or another resource in Lightsail. This code enables // our support team to look up your Lightsail information more easily. SupportCode *string `locationName:"supportCode" type:"string"` // contains filtered or unexported fields }
Describes the snapshot of the virtual private server, or instance. Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/InstanceSnapshot
func (InstanceSnapshot) GoString ¶
func (s InstanceSnapshot) GoString() string
GoString returns the string representation
func (*InstanceSnapshot) SetArn ¶
func (s *InstanceSnapshot) SetArn(v string) *InstanceSnapshot
SetArn sets the Arn field's value.
func (*InstanceSnapshot) SetCreatedAt ¶
func (s *InstanceSnapshot) SetCreatedAt(v time.Time) *InstanceSnapshot
SetCreatedAt sets the CreatedAt field's value.
func (*InstanceSnapshot) SetFromAttachedDisks ¶
func (s *InstanceSnapshot) SetFromAttachedDisks(v []Disk) *InstanceSnapshot
SetFromAttachedDisks sets the FromAttachedDisks field's value.
func (*InstanceSnapshot) SetFromBlueprintId ¶
func (s *InstanceSnapshot) SetFromBlueprintId(v string) *InstanceSnapshot
SetFromBlueprintId sets the FromBlueprintId field's value.
func (*InstanceSnapshot) SetFromBundleId ¶
func (s *InstanceSnapshot) SetFromBundleId(v string) *InstanceSnapshot
SetFromBundleId sets the FromBundleId field's value.
func (*InstanceSnapshot) SetFromInstanceArn ¶
func (s *InstanceSnapshot) SetFromInstanceArn(v string) *InstanceSnapshot
SetFromInstanceArn sets the FromInstanceArn field's value.
func (*InstanceSnapshot) SetFromInstanceName ¶
func (s *InstanceSnapshot) SetFromInstanceName(v string) *InstanceSnapshot
SetFromInstanceName sets the FromInstanceName field's value.
func (*InstanceSnapshot) SetLocation ¶
func (s *InstanceSnapshot) SetLocation(v *ResourceLocation) *InstanceSnapshot
SetLocation sets the Location field's value.
func (*InstanceSnapshot) SetName ¶
func (s *InstanceSnapshot) SetName(v string) *InstanceSnapshot
SetName sets the Name field's value.
func (*InstanceSnapshot) SetProgress ¶
func (s *InstanceSnapshot) SetProgress(v string) *InstanceSnapshot
SetProgress sets the Progress field's value.
func (*InstanceSnapshot) SetResourceType ¶
func (s *InstanceSnapshot) SetResourceType(v ResourceType) *InstanceSnapshot
SetResourceType sets the ResourceType field's value.
func (*InstanceSnapshot) SetSizeInGb ¶
func (s *InstanceSnapshot) SetSizeInGb(v int64) *InstanceSnapshot
SetSizeInGb sets the SizeInGb field's value.
func (*InstanceSnapshot) SetState ¶
func (s *InstanceSnapshot) SetState(v InstanceSnapshotState) *InstanceSnapshot
SetState sets the State field's value.
func (*InstanceSnapshot) SetSupportCode ¶
func (s *InstanceSnapshot) SetSupportCode(v string) *InstanceSnapshot
SetSupportCode sets the SupportCode field's value.
func (InstanceSnapshot) String ¶
func (s InstanceSnapshot) String() string
String returns the string representation
type InstanceSnapshotState ¶
type InstanceSnapshotState string
const ( InstanceSnapshotStatePending InstanceSnapshotState = "pending" InstanceSnapshotStateError InstanceSnapshotState = "error" InstanceSnapshotStateAvailable InstanceSnapshotState = "available" )
Enum values for InstanceSnapshotState
type InstanceState ¶
type InstanceState struct { // The status code for the instance. Code *int64 `locationName:"code" type:"integer"` // The state of the instance (e.g., running or pending). Name *string `locationName:"name" type:"string"` // contains filtered or unexported fields }
Describes the virtual private server (or instance) status. Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/InstanceState
func (InstanceState) GoString ¶
func (s InstanceState) GoString() string
GoString returns the string representation
func (*InstanceState) SetCode ¶
func (s *InstanceState) SetCode(v int64) *InstanceState
SetCode sets the Code field's value.
func (*InstanceState) SetName ¶
func (s *InstanceState) SetName(v string) *InstanceState
SetName sets the Name field's value.
func (InstanceState) String ¶
func (s InstanceState) String() string
String returns the string representation
type IsVpcPeeredInput ¶
type IsVpcPeeredInput struct {
// contains filtered or unexported fields
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/IsVpcPeeredRequest
func (IsVpcPeeredInput) GoString ¶
func (s IsVpcPeeredInput) GoString() string
GoString returns the string representation
func (IsVpcPeeredInput) String ¶
func (s IsVpcPeeredInput) String() string
String returns the string representation
type IsVpcPeeredOutput ¶
type IsVpcPeeredOutput struct { // Returns true if the Lightsail VPC is peered; otherwise, false. IsPeered *bool `locationName:"isPeered" type:"boolean"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/IsVpcPeeredResult
func (IsVpcPeeredOutput) GoString ¶
func (s IsVpcPeeredOutput) GoString() string
GoString returns the string representation
func (IsVpcPeeredOutput) SDKResponseMetadata ¶
func (s IsVpcPeeredOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*IsVpcPeeredOutput) SetIsPeered ¶
func (s *IsVpcPeeredOutput) SetIsPeered(v bool) *IsVpcPeeredOutput
SetIsPeered sets the IsPeered field's value.
func (IsVpcPeeredOutput) String ¶
func (s IsVpcPeeredOutput) String() string
String returns the string representation
type IsVpcPeeredRequest ¶
type IsVpcPeeredRequest struct { *aws.Request Input *IsVpcPeeredInput }
IsVpcPeeredRequest is a API request type for the IsVpcPeered API operation.
func (IsVpcPeeredRequest) Send ¶
func (r IsVpcPeeredRequest) Send() (*IsVpcPeeredOutput, error)
Send marshals and sends the IsVpcPeered API request.
type KeyPair ¶
type KeyPair struct { // The Amazon Resource Name (ARN) of the key pair (e.g., arn:aws:lightsail:us-east-2:123456789101:KeyPair/05859e3d-331d-48ba-9034-12345EXAMPLE). Arn *string `locationName:"arn" type:"string"` // The timestamp when the key pair was created (e.g., 1479816991.349). CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"unix"` // The RSA fingerprint of the key pair. Fingerprint *string `locationName:"fingerprint" type:"string"` // The region name and Availability Zone where the key pair was created. Location *ResourceLocation `locationName:"location" type:"structure"` // The friendly name of the SSH key pair. Name *string `locationName:"name" type:"string"` // The resource type (usually KeyPair). ResourceType ResourceType `locationName:"resourceType" type:"string" enum:"true"` // The support code. Include this code in your email to support when you have // questions about an instance or another resource in Lightsail. This code enables // our support team to look up your Lightsail information more easily. SupportCode *string `locationName:"supportCode" type:"string"` // contains filtered or unexported fields }
Describes the SSH key pair. Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/KeyPair
func (*KeyPair) SetCreatedAt ¶
SetCreatedAt sets the CreatedAt field's value.
func (*KeyPair) SetFingerprint ¶
SetFingerprint sets the Fingerprint field's value.
func (*KeyPair) SetLocation ¶
func (s *KeyPair) SetLocation(v *ResourceLocation) *KeyPair
SetLocation sets the Location field's value.
func (*KeyPair) SetResourceType ¶
func (s *KeyPair) SetResourceType(v ResourceType) *KeyPair
SetResourceType sets the ResourceType field's value.
func (*KeyPair) SetSupportCode ¶
SetSupportCode sets the SupportCode field's value.
type Lightsail ¶
Lightsail provides the API operation methods for making requests to Amazon Lightsail. See this package's package overview docs for details on the service.
Lightsail methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.
func New ¶
New creates a new instance of the Lightsail client with a config. If additional configuration is needed for the client instance use the optional aws.Config parameter to add your extra config.
Example:
// Create a Lightsail client from just a config. svc := lightsail.New(myConfig) // Create a Lightsail client with additional configuration svc := lightsail.New(myConfig, aws.NewConfig().WithRegion("us-west-2"))
func (*Lightsail) AllocateStaticIpRequest ¶
func (c *Lightsail) AllocateStaticIpRequest(input *AllocateStaticIpInput) AllocateStaticIpRequest
AllocateStaticIpRequest returns a request value for making API operation for Amazon Lightsail.
Allocates a static IP address.
// Example sending a request using the AllocateStaticIpRequest method. req := client.AllocateStaticIpRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/AllocateStaticIp
func (*Lightsail) AttachDiskRequest ¶
func (c *Lightsail) AttachDiskRequest(input *AttachDiskInput) AttachDiskRequest
AttachDiskRequest returns a request value for making API operation for Amazon Lightsail.
Attaches a block storage disk to a running or stopped Lightsail instance and exposes it to the instance with the specified disk name.
// Example sending a request using the AttachDiskRequest method. req := client.AttachDiskRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/AttachDisk
func (*Lightsail) AttachInstancesToLoadBalancerRequest ¶
func (c *Lightsail) AttachInstancesToLoadBalancerRequest(input *AttachInstancesToLoadBalancerInput) AttachInstancesToLoadBalancerRequest
AttachInstancesToLoadBalancerRequest returns a request value for making API operation for Amazon Lightsail.
Attaches one or more Lightsail instances to a load balancer.
// Example sending a request using the AttachInstancesToLoadBalancerRequest method. req := client.AttachInstancesToLoadBalancerRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/AttachInstancesToLoadBalancer
func (*Lightsail) AttachLoadBalancerTlsCertificateRequest ¶
func (c *Lightsail) AttachLoadBalancerTlsCertificateRequest(input *AttachLoadBalancerTlsCertificateInput) AttachLoadBalancerTlsCertificateRequest
AttachLoadBalancerTlsCertificateRequest returns a request value for making API operation for Amazon Lightsail.
Attaches a Transport Layer Security (TLS) certificate to your load balancer.
TLS is just an updated, more secure version of Secure Socket Layer (SSL).
// Example sending a request using the AttachLoadBalancerTlsCertificateRequest method. req := client.AttachLoadBalancerTlsCertificateRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/AttachLoadBalancerTlsCertificate
func (*Lightsail) AttachStaticIpRequest ¶
func (c *Lightsail) AttachStaticIpRequest(input *AttachStaticIpInput) AttachStaticIpRequest
AttachStaticIpRequest returns a request value for making API operation for Amazon Lightsail.
Attaches a static IP address to a specific Amazon Lightsail instance.
// Example sending a request using the AttachStaticIpRequest method. req := client.AttachStaticIpRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/AttachStaticIp
func (*Lightsail) CloseInstancePublicPortsRequest ¶
func (c *Lightsail) CloseInstancePublicPortsRequest(input *CloseInstancePublicPortsInput) CloseInstancePublicPortsRequest
CloseInstancePublicPortsRequest returns a request value for making API operation for Amazon Lightsail.
Closes the public ports on a specific Amazon Lightsail instance.
// Example sending a request using the CloseInstancePublicPortsRequest method. req := client.CloseInstancePublicPortsRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CloseInstancePublicPorts
func (*Lightsail) CreateDiskFromSnapshotRequest ¶
func (c *Lightsail) CreateDiskFromSnapshotRequest(input *CreateDiskFromSnapshotInput) CreateDiskFromSnapshotRequest
CreateDiskFromSnapshotRequest returns a request value for making API operation for Amazon Lightsail.
Creates a block storage disk from a disk snapshot that can be attached to a Lightsail instance in the same Availability Zone (e.g., us-east-2a). The disk is created in the regional endpoint that you send the HTTP request to. For more information, see Regions and Availability Zones in Lightsail (https://lightsail.aws.amazon.com/ls/docs/overview/article/understanding-regions-and-availability-zones-in-amazon-lightsail).
// Example sending a request using the CreateDiskFromSnapshotRequest method. req := client.CreateDiskFromSnapshotRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateDiskFromSnapshot
func (*Lightsail) CreateDiskRequest ¶
func (c *Lightsail) CreateDiskRequest(input *CreateDiskInput) CreateDiskRequest
CreateDiskRequest returns a request value for making API operation for Amazon Lightsail.
Creates a block storage disk that can be attached to a Lightsail instance in the same Availability Zone (e.g., us-east-2a). The disk is created in the regional endpoint that you send the HTTP request to. For more information, see Regions and Availability Zones in Lightsail (https://lightsail.aws.amazon.com/ls/docs/overview/article/understanding-regions-and-availability-zones-in-amazon-lightsail).
// Example sending a request using the CreateDiskRequest method. req := client.CreateDiskRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateDisk
func (*Lightsail) CreateDiskSnapshotRequest ¶
func (c *Lightsail) CreateDiskSnapshotRequest(input *CreateDiskSnapshotInput) CreateDiskSnapshotRequest
CreateDiskSnapshotRequest returns a request value for making API operation for Amazon Lightsail.
Creates a snapshot of a block storage disk. You can use snapshots for backups, to make copies of disks, and to save data before shutting down a Lightsail instance.
You can take a snapshot of an attached disk that is in use; however, snapshots only capture data that has been written to your disk at the time the snapshot command is issued. This may exclude any data that has been cached by any applications or the operating system. If you can pause any file systems on the disk long enough to take a snapshot, your snapshot should be complete. Nevertheless, if you cannot pause all file writes to the disk, you should unmount the disk from within the Lightsail instance, issue the create disk snapshot command, and then remount the disk to ensure a consistent and complete snapshot. You may remount and use your disk while the snapshot status is pending.
// Example sending a request using the CreateDiskSnapshotRequest method. req := client.CreateDiskSnapshotRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateDiskSnapshot
func (*Lightsail) CreateDomainEntryRequest ¶
func (c *Lightsail) CreateDomainEntryRequest(input *CreateDomainEntryInput) CreateDomainEntryRequest
CreateDomainEntryRequest returns a request value for making API operation for Amazon Lightsail.
Creates one of the following entry records associated with the domain: A record, CNAME record, TXT record, or MX record.
// Example sending a request using the CreateDomainEntryRequest method. req := client.CreateDomainEntryRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateDomainEntry
func (*Lightsail) CreateDomainRequest ¶
func (c *Lightsail) CreateDomainRequest(input *CreateDomainInput) CreateDomainRequest
CreateDomainRequest returns a request value for making API operation for Amazon Lightsail.
Creates a domain resource for the specified domain (e.g., example.com).
// Example sending a request using the CreateDomainRequest method. req := client.CreateDomainRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateDomain
func (*Lightsail) CreateInstanceSnapshotRequest ¶
func (c *Lightsail) CreateInstanceSnapshotRequest(input *CreateInstanceSnapshotInput) CreateInstanceSnapshotRequest
CreateInstanceSnapshotRequest returns a request value for making API operation for Amazon Lightsail.
Creates a snapshot of a specific virtual private server, or instance. You can use a snapshot to create a new instance that is based on that snapshot.
// Example sending a request using the CreateInstanceSnapshotRequest method. req := client.CreateInstanceSnapshotRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateInstanceSnapshot
func (*Lightsail) CreateInstancesFromSnapshotRequest ¶
func (c *Lightsail) CreateInstancesFromSnapshotRequest(input *CreateInstancesFromSnapshotInput) CreateInstancesFromSnapshotRequest
CreateInstancesFromSnapshotRequest returns a request value for making API operation for Amazon Lightsail.
Uses a specific snapshot as a blueprint for creating one or more new instances that are based on that identical configuration.
// Example sending a request using the CreateInstancesFromSnapshotRequest method. req := client.CreateInstancesFromSnapshotRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateInstancesFromSnapshot
func (*Lightsail) CreateInstancesRequest ¶
func (c *Lightsail) CreateInstancesRequest(input *CreateInstancesInput) CreateInstancesRequest
CreateInstancesRequest returns a request value for making API operation for Amazon Lightsail.
Creates one or more Amazon Lightsail virtual private servers, or instances.
// Example sending a request using the CreateInstancesRequest method. req := client.CreateInstancesRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateInstances
func (*Lightsail) CreateKeyPairRequest ¶
func (c *Lightsail) CreateKeyPairRequest(input *CreateKeyPairInput) CreateKeyPairRequest
CreateKeyPairRequest returns a request value for making API operation for Amazon Lightsail.
Creates sn SSH key pair.
// Example sending a request using the CreateKeyPairRequest method. req := client.CreateKeyPairRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateKeyPair
func (*Lightsail) CreateLoadBalancerRequest ¶
func (c *Lightsail) CreateLoadBalancerRequest(input *CreateLoadBalancerInput) CreateLoadBalancerRequest
CreateLoadBalancerRequest returns a request value for making API operation for Amazon Lightsail.
Creates a Lightsail load balancer.
When you create a load balancer, you can specify certificates and port settings. You can create up to 5 load balancers per AWS Region in your account.
// Example sending a request using the CreateLoadBalancerRequest method. req := client.CreateLoadBalancerRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateLoadBalancer
func (*Lightsail) CreateLoadBalancerTlsCertificateRequest ¶
func (c *Lightsail) CreateLoadBalancerTlsCertificateRequest(input *CreateLoadBalancerTlsCertificateInput) CreateLoadBalancerTlsCertificateRequest
CreateLoadBalancerTlsCertificateRequest returns a request value for making API operation for Amazon Lightsail.
Creates a Lightsail load balancer TLS certificate.
TLS is just an updated, more secure version of Secure Socket Layer (SSL).
// Example sending a request using the CreateLoadBalancerTlsCertificateRequest method. req := client.CreateLoadBalancerTlsCertificateRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateLoadBalancerTlsCertificate
func (*Lightsail) DeleteDiskRequest ¶
func (c *Lightsail) DeleteDiskRequest(input *DeleteDiskInput) DeleteDiskRequest
DeleteDiskRequest returns a request value for making API operation for Amazon Lightsail.
Deletes the specified block storage disk. The disk must be in the available state (not attached to a Lightsail instance).
The disk may remain in the deleting state for several minutes.
// Example sending a request using the DeleteDiskRequest method. req := client.DeleteDiskRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteDisk
func (*Lightsail) DeleteDiskSnapshotRequest ¶
func (c *Lightsail) DeleteDiskSnapshotRequest(input *DeleteDiskSnapshotInput) DeleteDiskSnapshotRequest
DeleteDiskSnapshotRequest returns a request value for making API operation for Amazon Lightsail.
Deletes the specified disk snapshot.
When you make periodic snapshots of a disk, the snapshots are incremental, and only the blocks on the device that have changed since your last snapshot are saved in the new snapshot. When you delete a snapshot, only the data not needed for any other snapshot is removed. So regardless of which prior snapshots have been deleted, all active snapshots will have access to all the information needed to restore the disk.
// Example sending a request using the DeleteDiskSnapshotRequest method. req := client.DeleteDiskSnapshotRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteDiskSnapshot
func (*Lightsail) DeleteDomainEntryRequest ¶
func (c *Lightsail) DeleteDomainEntryRequest(input *DeleteDomainEntryInput) DeleteDomainEntryRequest
DeleteDomainEntryRequest returns a request value for making API operation for Amazon Lightsail.
Deletes a specific domain entry.
// Example sending a request using the DeleteDomainEntryRequest method. req := client.DeleteDomainEntryRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteDomainEntry
func (*Lightsail) DeleteDomainRequest ¶
func (c *Lightsail) DeleteDomainRequest(input *DeleteDomainInput) DeleteDomainRequest
DeleteDomainRequest returns a request value for making API operation for Amazon Lightsail.
Deletes the specified domain recordset and all of its domain records.
// Example sending a request using the DeleteDomainRequest method. req := client.DeleteDomainRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteDomain
func (*Lightsail) DeleteInstanceRequest ¶
func (c *Lightsail) DeleteInstanceRequest(input *DeleteInstanceInput) DeleteInstanceRequest
DeleteInstanceRequest returns a request value for making API operation for Amazon Lightsail.
Deletes a specific Amazon Lightsail virtual private server, or instance.
// Example sending a request using the DeleteInstanceRequest method. req := client.DeleteInstanceRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteInstance
func (*Lightsail) DeleteInstanceSnapshotRequest ¶
func (c *Lightsail) DeleteInstanceSnapshotRequest(input *DeleteInstanceSnapshotInput) DeleteInstanceSnapshotRequest
DeleteInstanceSnapshotRequest returns a request value for making API operation for Amazon Lightsail.
Deletes a specific snapshot of a virtual private server (or instance).
// Example sending a request using the DeleteInstanceSnapshotRequest method. req := client.DeleteInstanceSnapshotRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteInstanceSnapshot
func (*Lightsail) DeleteKeyPairRequest ¶
func (c *Lightsail) DeleteKeyPairRequest(input *DeleteKeyPairInput) DeleteKeyPairRequest
DeleteKeyPairRequest returns a request value for making API operation for Amazon Lightsail.
Deletes a specific SSH key pair.
// Example sending a request using the DeleteKeyPairRequest method. req := client.DeleteKeyPairRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteKeyPair
func (*Lightsail) DeleteLoadBalancerRequest ¶
func (c *Lightsail) DeleteLoadBalancerRequest(input *DeleteLoadBalancerInput) DeleteLoadBalancerRequest
DeleteLoadBalancerRequest returns a request value for making API operation for Amazon Lightsail.
Deletes a Lightsail load balancer.
// Example sending a request using the DeleteLoadBalancerRequest method. req := client.DeleteLoadBalancerRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteLoadBalancer
func (*Lightsail) DeleteLoadBalancerTlsCertificateRequest ¶
func (c *Lightsail) DeleteLoadBalancerTlsCertificateRequest(input *DeleteLoadBalancerTlsCertificateInput) DeleteLoadBalancerTlsCertificateRequest
DeleteLoadBalancerTlsCertificateRequest returns a request value for making API operation for Amazon Lightsail.
Deletes a TLS/SSL certificate associated with a Lightsail load balancer.
// Example sending a request using the DeleteLoadBalancerTlsCertificateRequest method. req := client.DeleteLoadBalancerTlsCertificateRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteLoadBalancerTlsCertificate
func (*Lightsail) DetachDiskRequest ¶
func (c *Lightsail) DetachDiskRequest(input *DetachDiskInput) DetachDiskRequest
DetachDiskRequest returns a request value for making API operation for Amazon Lightsail.
Detaches a stopped block storage disk from a Lightsail instance. Make sure to unmount any file systems on the device within your operating system before stopping the instance and detaching the disk.
// Example sending a request using the DetachDiskRequest method. req := client.DetachDiskRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DetachDisk
func (*Lightsail) DetachInstancesFromLoadBalancerRequest ¶
func (c *Lightsail) DetachInstancesFromLoadBalancerRequest(input *DetachInstancesFromLoadBalancerInput) DetachInstancesFromLoadBalancerRequest
DetachInstancesFromLoadBalancerRequest returns a request value for making API operation for Amazon Lightsail.
Detaches the specified instances from a Lightsail load balancer.
// Example sending a request using the DetachInstancesFromLoadBalancerRequest method. req := client.DetachInstancesFromLoadBalancerRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DetachInstancesFromLoadBalancer
func (*Lightsail) DetachStaticIpRequest ¶
func (c *Lightsail) DetachStaticIpRequest(input *DetachStaticIpInput) DetachStaticIpRequest
DetachStaticIpRequest returns a request value for making API operation for Amazon Lightsail.
Detaches a static IP from the Amazon Lightsail instance to which it is attached.
// Example sending a request using the DetachStaticIpRequest method. req := client.DetachStaticIpRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DetachStaticIp
func (*Lightsail) DownloadDefaultKeyPairRequest ¶
func (c *Lightsail) DownloadDefaultKeyPairRequest(input *DownloadDefaultKeyPairInput) DownloadDefaultKeyPairRequest
DownloadDefaultKeyPairRequest returns a request value for making API operation for Amazon Lightsail.
Downloads the default SSH key pair from the user's account.
// Example sending a request using the DownloadDefaultKeyPairRequest method. req := client.DownloadDefaultKeyPairRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DownloadDefaultKeyPair
func (*Lightsail) GetActiveNamesRequest ¶
func (c *Lightsail) GetActiveNamesRequest(input *GetActiveNamesInput) GetActiveNamesRequest
GetActiveNamesRequest returns a request value for making API operation for Amazon Lightsail.
Returns the names of all active (not deleted) resources.
// Example sending a request using the GetActiveNamesRequest method. req := client.GetActiveNamesRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetActiveNames
func (*Lightsail) GetBlueprintsRequest ¶
func (c *Lightsail) GetBlueprintsRequest(input *GetBlueprintsInput) GetBlueprintsRequest
GetBlueprintsRequest returns a request value for making API operation for Amazon Lightsail.
Returns the list of available instance images, or blueprints. You can use a blueprint to create a new virtual private server already running a specific operating system, as well as a preinstalled app or development stack. The software each instance is running depends on the blueprint image you choose.
// Example sending a request using the GetBlueprintsRequest method. req := client.GetBlueprintsRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetBlueprints
func (*Lightsail) GetBundlesRequest ¶
func (c *Lightsail) GetBundlesRequest(input *GetBundlesInput) GetBundlesRequest
GetBundlesRequest returns a request value for making API operation for Amazon Lightsail.
Returns the list of bundles that are available for purchase. A bundle describes the specs for your virtual private server (or instance).
// Example sending a request using the GetBundlesRequest method. req := client.GetBundlesRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetBundles
func (*Lightsail) GetDiskRequest ¶
func (c *Lightsail) GetDiskRequest(input *GetDiskInput) GetDiskRequest
GetDiskRequest returns a request value for making API operation for Amazon Lightsail.
Returns information about a specific block storage disk.
// Example sending a request using the GetDiskRequest method. req := client.GetDiskRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetDisk
func (*Lightsail) GetDiskSnapshotRequest ¶
func (c *Lightsail) GetDiskSnapshotRequest(input *GetDiskSnapshotInput) GetDiskSnapshotRequest
GetDiskSnapshotRequest returns a request value for making API operation for Amazon Lightsail.
Returns information about a specific block storage disk snapshot.
// Example sending a request using the GetDiskSnapshotRequest method. req := client.GetDiskSnapshotRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetDiskSnapshot
func (*Lightsail) GetDiskSnapshotsRequest ¶
func (c *Lightsail) GetDiskSnapshotsRequest(input *GetDiskSnapshotsInput) GetDiskSnapshotsRequest
GetDiskSnapshotsRequest returns a request value for making API operation for Amazon Lightsail.
Returns information about all block storage disk snapshots in your AWS account and region.
If you are describing a long list of disk snapshots, you can paginate the output to make the list more manageable. You can use the pageToken and nextPageToken values to retrieve the next items in the list.
// Example sending a request using the GetDiskSnapshotsRequest method. req := client.GetDiskSnapshotsRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetDiskSnapshots
func (*Lightsail) GetDisksRequest ¶
func (c *Lightsail) GetDisksRequest(input *GetDisksInput) GetDisksRequest
GetDisksRequest returns a request value for making API operation for Amazon Lightsail.
Returns information about all block storage disks in your AWS account and region.
If you are describing a long list of disks, you can paginate the output to make the list more manageable. You can use the pageToken and nextPageToken values to retrieve the next items in the list.
// Example sending a request using the GetDisksRequest method. req := client.GetDisksRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetDisks
func (*Lightsail) GetDomainRequest ¶
func (c *Lightsail) GetDomainRequest(input *GetDomainInput) GetDomainRequest
GetDomainRequest returns a request value for making API operation for Amazon Lightsail.
Returns information about a specific domain recordset.
// Example sending a request using the GetDomainRequest method. req := client.GetDomainRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetDomain
func (*Lightsail) GetDomainsRequest ¶
func (c *Lightsail) GetDomainsRequest(input *GetDomainsInput) GetDomainsRequest
GetDomainsRequest returns a request value for making API operation for Amazon Lightsail.
Returns a list of all domains in the user's account.
// Example sending a request using the GetDomainsRequest method. req := client.GetDomainsRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetDomains
func (*Lightsail) GetInstanceAccessDetailsRequest ¶
func (c *Lightsail) GetInstanceAccessDetailsRequest(input *GetInstanceAccessDetailsInput) GetInstanceAccessDetailsRequest
GetInstanceAccessDetailsRequest returns a request value for making API operation for Amazon Lightsail.
Returns temporary SSH keys you can use to connect to a specific virtual private server, or instance.
// Example sending a request using the GetInstanceAccessDetailsRequest method. req := client.GetInstanceAccessDetailsRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstanceAccessDetails
func (*Lightsail) GetInstanceMetricDataRequest ¶
func (c *Lightsail) GetInstanceMetricDataRequest(input *GetInstanceMetricDataInput) GetInstanceMetricDataRequest
GetInstanceMetricDataRequest returns a request value for making API operation for Amazon Lightsail.
Returns the data points for the specified Amazon Lightsail instance metric, given an instance name.
// Example sending a request using the GetInstanceMetricDataRequest method. req := client.GetInstanceMetricDataRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstanceMetricData
func (*Lightsail) GetInstancePortStatesRequest ¶
func (c *Lightsail) GetInstancePortStatesRequest(input *GetInstancePortStatesInput) GetInstancePortStatesRequest
GetInstancePortStatesRequest returns a request value for making API operation for Amazon Lightsail.
Returns the port states for a specific virtual private server, or instance.
// Example sending a request using the GetInstancePortStatesRequest method. req := client.GetInstancePortStatesRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstancePortStates
func (*Lightsail) GetInstanceRequest ¶
func (c *Lightsail) GetInstanceRequest(input *GetInstanceInput) GetInstanceRequest
GetInstanceRequest returns a request value for making API operation for Amazon Lightsail.
Returns information about a specific Amazon Lightsail instance, which is a virtual private server.
// Example sending a request using the GetInstanceRequest method. req := client.GetInstanceRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstance
func (*Lightsail) GetInstanceSnapshotRequest ¶
func (c *Lightsail) GetInstanceSnapshotRequest(input *GetInstanceSnapshotInput) GetInstanceSnapshotRequest
GetInstanceSnapshotRequest returns a request value for making API operation for Amazon Lightsail.
Returns information about a specific instance snapshot.
// Example sending a request using the GetInstanceSnapshotRequest method. req := client.GetInstanceSnapshotRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstanceSnapshot
func (*Lightsail) GetInstanceSnapshotsRequest ¶
func (c *Lightsail) GetInstanceSnapshotsRequest(input *GetInstanceSnapshotsInput) GetInstanceSnapshotsRequest
GetInstanceSnapshotsRequest returns a request value for making API operation for Amazon Lightsail.
Returns all instance snapshots for the user's account.
// Example sending a request using the GetInstanceSnapshotsRequest method. req := client.GetInstanceSnapshotsRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstanceSnapshots
func (*Lightsail) GetInstanceStateRequest ¶
func (c *Lightsail) GetInstanceStateRequest(input *GetInstanceStateInput) GetInstanceStateRequest
GetInstanceStateRequest returns a request value for making API operation for Amazon Lightsail.
Returns the state of a specific instance. Works on one instance at a time.
// Example sending a request using the GetInstanceStateRequest method. req := client.GetInstanceStateRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstanceState
func (*Lightsail) GetInstancesRequest ¶
func (c *Lightsail) GetInstancesRequest(input *GetInstancesInput) GetInstancesRequest
GetInstancesRequest returns a request value for making API operation for Amazon Lightsail.
Returns information about all Amazon Lightsail virtual private servers, or instances.
// Example sending a request using the GetInstancesRequest method. req := client.GetInstancesRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstances
func (*Lightsail) GetKeyPairRequest ¶
func (c *Lightsail) GetKeyPairRequest(input *GetKeyPairInput) GetKeyPairRequest
GetKeyPairRequest returns a request value for making API operation for Amazon Lightsail.
Returns information about a specific key pair.
// Example sending a request using the GetKeyPairRequest method. req := client.GetKeyPairRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetKeyPair
func (*Lightsail) GetKeyPairsRequest ¶
func (c *Lightsail) GetKeyPairsRequest(input *GetKeyPairsInput) GetKeyPairsRequest
GetKeyPairsRequest returns a request value for making API operation for Amazon Lightsail.
Returns information about all key pairs in the user's account.
// Example sending a request using the GetKeyPairsRequest method. req := client.GetKeyPairsRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetKeyPairs
func (*Lightsail) GetLoadBalancerMetricDataRequest ¶
func (c *Lightsail) GetLoadBalancerMetricDataRequest(input *GetLoadBalancerMetricDataInput) GetLoadBalancerMetricDataRequest
GetLoadBalancerMetricDataRequest returns a request value for making API operation for Amazon Lightsail.
Returns information about health metrics for your Lightsail load balancer.
// Example sending a request using the GetLoadBalancerMetricDataRequest method. req := client.GetLoadBalancerMetricDataRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetLoadBalancerMetricData
func (*Lightsail) GetLoadBalancerRequest ¶
func (c *Lightsail) GetLoadBalancerRequest(input *GetLoadBalancerInput) GetLoadBalancerRequest
GetLoadBalancerRequest returns a request value for making API operation for Amazon Lightsail.
Returns information about the specified Lightsail load balancer.
// Example sending a request using the GetLoadBalancerRequest method. req := client.GetLoadBalancerRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetLoadBalancer
func (*Lightsail) GetLoadBalancerTlsCertificatesRequest ¶
func (c *Lightsail) GetLoadBalancerTlsCertificatesRequest(input *GetLoadBalancerTlsCertificatesInput) GetLoadBalancerTlsCertificatesRequest
GetLoadBalancerTlsCertificatesRequest returns a request value for making API operation for Amazon Lightsail.
Returns information about the TLS certificates that are associated with the specified Lightsail load balancer.
TLS is just an updated, more secure version of Secure Socket Layer (SSL).
// Example sending a request using the GetLoadBalancerTlsCertificatesRequest method. req := client.GetLoadBalancerTlsCertificatesRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetLoadBalancerTlsCertificates
func (*Lightsail) GetLoadBalancersRequest ¶
func (c *Lightsail) GetLoadBalancersRequest(input *GetLoadBalancersInput) GetLoadBalancersRequest
GetLoadBalancersRequest returns a request value for making API operation for Amazon Lightsail.
Returns information about all load balancers in an account.
If you are describing a long list of load balancers, you can paginate the output to make the list more manageable. You can use the pageToken and nextPageToken values to retrieve the next items in the list.
// Example sending a request using the GetLoadBalancersRequest method. req := client.GetLoadBalancersRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetLoadBalancers
func (*Lightsail) GetOperationRequest ¶
func (c *Lightsail) GetOperationRequest(input *GetOperationInput) GetOperationRequest
GetOperationRequest returns a request value for making API operation for Amazon Lightsail.
Returns information about a specific operation. Operations include events such as when you create an instance, allocate a static IP, attach a static IP, and so on.
// Example sending a request using the GetOperationRequest method. req := client.GetOperationRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetOperation
func (*Lightsail) GetOperationsForResourceRequest ¶
func (c *Lightsail) GetOperationsForResourceRequest(input *GetOperationsForResourceInput) GetOperationsForResourceRequest
GetOperationsForResourceRequest returns a request value for making API operation for Amazon Lightsail.
Gets operations for a specific resource (e.g., an instance or a static IP).
// Example sending a request using the GetOperationsForResourceRequest method. req := client.GetOperationsForResourceRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetOperationsForResource
func (*Lightsail) GetOperationsRequest ¶
func (c *Lightsail) GetOperationsRequest(input *GetOperationsInput) GetOperationsRequest
GetOperationsRequest returns a request value for making API operation for Amazon Lightsail.
Returns information about all operations.
Results are returned from oldest to newest, up to a maximum of 200. Results can be paged by making each subsequent call to GetOperations use the maximum (last) statusChangedAt value from the previous request.
// Example sending a request using the GetOperationsRequest method. req := client.GetOperationsRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetOperations
func (*Lightsail) GetRegionsRequest ¶
func (c *Lightsail) GetRegionsRequest(input *GetRegionsInput) GetRegionsRequest
GetRegionsRequest returns a request value for making API operation for Amazon Lightsail.
Returns a list of all valid regions for Amazon Lightsail. Use the include availability zones parameter to also return the availability zones in a region.
// Example sending a request using the GetRegionsRequest method. req := client.GetRegionsRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetRegions
func (*Lightsail) GetStaticIpRequest ¶
func (c *Lightsail) GetStaticIpRequest(input *GetStaticIpInput) GetStaticIpRequest
GetStaticIpRequest returns a request value for making API operation for Amazon Lightsail.
Returns information about a specific static IP.
// Example sending a request using the GetStaticIpRequest method. req := client.GetStaticIpRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetStaticIp
func (*Lightsail) GetStaticIpsRequest ¶
func (c *Lightsail) GetStaticIpsRequest(input *GetStaticIpsInput) GetStaticIpsRequest
GetStaticIpsRequest returns a request value for making API operation for Amazon Lightsail.
Returns information about all static IPs in the user's account.
// Example sending a request using the GetStaticIpsRequest method. req := client.GetStaticIpsRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetStaticIps
func (*Lightsail) ImportKeyPairRequest ¶
func (c *Lightsail) ImportKeyPairRequest(input *ImportKeyPairInput) ImportKeyPairRequest
ImportKeyPairRequest returns a request value for making API operation for Amazon Lightsail.
Imports a public SSH key from a specific key pair.
// Example sending a request using the ImportKeyPairRequest method. req := client.ImportKeyPairRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/ImportKeyPair
func (*Lightsail) IsVpcPeeredRequest ¶
func (c *Lightsail) IsVpcPeeredRequest(input *IsVpcPeeredInput) IsVpcPeeredRequest
IsVpcPeeredRequest returns a request value for making API operation for Amazon Lightsail.
Returns a Boolean value indicating whether your Lightsail VPC is peered.
// Example sending a request using the IsVpcPeeredRequest method. req := client.IsVpcPeeredRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/IsVpcPeered
func (*Lightsail) OpenInstancePublicPortsRequest ¶
func (c *Lightsail) OpenInstancePublicPortsRequest(input *OpenInstancePublicPortsInput) OpenInstancePublicPortsRequest
OpenInstancePublicPortsRequest returns a request value for making API operation for Amazon Lightsail.
Adds public ports to an Amazon Lightsail instance.
// Example sending a request using the OpenInstancePublicPortsRequest method. req := client.OpenInstancePublicPortsRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/OpenInstancePublicPorts
func (*Lightsail) PeerVpcRequest ¶
func (c *Lightsail) PeerVpcRequest(input *PeerVpcInput) PeerVpcRequest
PeerVpcRequest returns a request value for making API operation for Amazon Lightsail.
Tries to peer the Lightsail VPC with the user's default VPC.
// Example sending a request using the PeerVpcRequest method. req := client.PeerVpcRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/PeerVpc
func (*Lightsail) PutInstancePublicPortsRequest ¶
func (c *Lightsail) PutInstancePublicPortsRequest(input *PutInstancePublicPortsInput) PutInstancePublicPortsRequest
PutInstancePublicPortsRequest returns a request value for making API operation for Amazon Lightsail.
Sets the specified open ports for an Amazon Lightsail instance, and closes all ports for every protocol not included in the current request.
// Example sending a request using the PutInstancePublicPortsRequest method. req := client.PutInstancePublicPortsRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/PutInstancePublicPorts
func (*Lightsail) RebootInstanceRequest ¶
func (c *Lightsail) RebootInstanceRequest(input *RebootInstanceInput) RebootInstanceRequest
RebootInstanceRequest returns a request value for making API operation for Amazon Lightsail.
Restarts a specific instance. When your Amazon Lightsail instance is finished rebooting, Lightsail assigns a new public IP address. To use the same IP address after restarting, create a static IP address and attach it to the instance.
// Example sending a request using the RebootInstanceRequest method. req := client.RebootInstanceRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/RebootInstance
func (*Lightsail) ReleaseStaticIpRequest ¶
func (c *Lightsail) ReleaseStaticIpRequest(input *ReleaseStaticIpInput) ReleaseStaticIpRequest
ReleaseStaticIpRequest returns a request value for making API operation for Amazon Lightsail.
Deletes a specific static IP from your account.
// Example sending a request using the ReleaseStaticIpRequest method. req := client.ReleaseStaticIpRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/ReleaseStaticIp
func (*Lightsail) StartInstanceRequest ¶
func (c *Lightsail) StartInstanceRequest(input *StartInstanceInput) StartInstanceRequest
StartInstanceRequest returns a request value for making API operation for Amazon Lightsail.
Starts a specific Amazon Lightsail instance from a stopped state. To restart an instance, use the reboot instance operation.
// Example sending a request using the StartInstanceRequest method. req := client.StartInstanceRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/StartInstance
func (*Lightsail) StopInstanceRequest ¶
func (c *Lightsail) StopInstanceRequest(input *StopInstanceInput) StopInstanceRequest
StopInstanceRequest returns a request value for making API operation for Amazon Lightsail.
Stops a specific Amazon Lightsail instance that is currently running.
// Example sending a request using the StopInstanceRequest method. req := client.StopInstanceRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/StopInstance
func (*Lightsail) UnpeerVpcRequest ¶
func (c *Lightsail) UnpeerVpcRequest(input *UnpeerVpcInput) UnpeerVpcRequest
UnpeerVpcRequest returns a request value for making API operation for Amazon Lightsail.
Attempts to unpeer the Lightsail VPC from the user's default VPC.
// Example sending a request using the UnpeerVpcRequest method. req := client.UnpeerVpcRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/UnpeerVpc
func (*Lightsail) UpdateDomainEntryRequest ¶
func (c *Lightsail) UpdateDomainEntryRequest(input *UpdateDomainEntryInput) UpdateDomainEntryRequest
UpdateDomainEntryRequest returns a request value for making API operation for Amazon Lightsail.
Updates a domain recordset after it is created.
// Example sending a request using the UpdateDomainEntryRequest method. req := client.UpdateDomainEntryRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/UpdateDomainEntry
func (*Lightsail) UpdateLoadBalancerAttributeRequest ¶
func (c *Lightsail) UpdateLoadBalancerAttributeRequest(input *UpdateLoadBalancerAttributeInput) UpdateLoadBalancerAttributeRequest
UpdateLoadBalancerAttributeRequest returns a request value for making API operation for Amazon Lightsail.
Updates the specified attribute for a load balancer.
// Example sending a request using the UpdateLoadBalancerAttributeRequest method. req := client.UpdateLoadBalancerAttributeRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/UpdateLoadBalancerAttribute
type LoadBalancer ¶
type LoadBalancer struct { // The Amazon Resource Name (ARN) of the load balancer. Arn *string `locationName:"arn" type:"string"` // A string to string map of the configuration options for your load balancer. // Valid values are listed below. ConfigurationOptions map[string]string `locationName:"configurationOptions" type:"map"` // The date when your load balancer was created. CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"unix"` // The DNS name of your Lightsail load balancer. DnsName *string `locationName:"dnsName" type:"string"` // The path you specified to perform your health checks. If no path is specified, // the load balancer tries to make a request to the default (root) page. HealthCheckPath *string `locationName:"healthCheckPath" type:"string"` // An array of InstanceHealthSummary objects describing the health of the load // balancer. InstanceHealthSummary []InstanceHealthSummary `locationName:"instanceHealthSummary" type:"list"` // The instance port where the load balancer is listening. InstancePort *int64 `locationName:"instancePort" type:"integer"` // The AWS Region and Availability Zone where your load balancer was created // (e.g., us-east-2a). 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. Protocol LoadBalancerProtocol `locationName:"protocol" type:"string" enum:"true"` // An array of public port settings for your load balancer. PublicPorts []int64 `locationName:"publicPorts" type:"list"` // The resource type (e.g., LoadBalancer. ResourceType ResourceType `locationName:"resourceType" type:"string" enum:"true"` // The status of your load balancer. Valid values are below. State LoadBalancerState `locationName:"state" type:"string" enum:"true"` // The support code. Include this code in your email to support when you have // questions about your Lightsail load balancer. This code enables our support // team to look up your Lightsail information more easily. SupportCode *string `locationName:"supportCode" type:"string"` // An array of LoadBalancerTlsCertificateSummary objects that provide additional // information about the TLS/SSL certificates. TlsCertificateSummaries []LoadBalancerTlsCertificateSummary `locationName:"tlsCertificateSummaries" type:"list"` // contains filtered or unexported fields }
Describes the Lightsail load balancer. Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/LoadBalancer
func (LoadBalancer) GoString ¶
func (s LoadBalancer) GoString() string
GoString returns the string representation
func (*LoadBalancer) SetArn ¶
func (s *LoadBalancer) SetArn(v string) *LoadBalancer
SetArn sets the Arn field's value.
func (*LoadBalancer) SetConfigurationOptions ¶
func (s *LoadBalancer) SetConfigurationOptions(v map[string]string) *LoadBalancer
SetConfigurationOptions sets the ConfigurationOptions field's value.
func (*LoadBalancer) SetCreatedAt ¶
func (s *LoadBalancer) SetCreatedAt(v time.Time) *LoadBalancer
SetCreatedAt sets the CreatedAt field's value.
func (*LoadBalancer) SetDnsName ¶
func (s *LoadBalancer) SetDnsName(v string) *LoadBalancer
SetDnsName sets the DnsName field's value.
func (*LoadBalancer) SetHealthCheckPath ¶
func (s *LoadBalancer) SetHealthCheckPath(v string) *LoadBalancer
SetHealthCheckPath sets the HealthCheckPath field's value.
func (*LoadBalancer) SetInstanceHealthSummary ¶
func (s *LoadBalancer) SetInstanceHealthSummary(v []InstanceHealthSummary) *LoadBalancer
SetInstanceHealthSummary sets the InstanceHealthSummary field's value.
func (*LoadBalancer) SetInstancePort ¶
func (s *LoadBalancer) SetInstancePort(v int64) *LoadBalancer
SetInstancePort sets the InstancePort field's value.
func (*LoadBalancer) SetLocation ¶
func (s *LoadBalancer) SetLocation(v *ResourceLocation) *LoadBalancer
SetLocation sets the Location field's value.
func (*LoadBalancer) SetName ¶
func (s *LoadBalancer) SetName(v string) *LoadBalancer
SetName sets the Name field's value.
func (*LoadBalancer) SetProtocol ¶
func (s *LoadBalancer) SetProtocol(v LoadBalancerProtocol) *LoadBalancer
SetProtocol sets the Protocol field's value.
func (*LoadBalancer) SetPublicPorts ¶
func (s *LoadBalancer) SetPublicPorts(v []int64) *LoadBalancer
SetPublicPorts sets the PublicPorts field's value.
func (*LoadBalancer) SetResourceType ¶
func (s *LoadBalancer) SetResourceType(v ResourceType) *LoadBalancer
SetResourceType sets the ResourceType field's value.
func (*LoadBalancer) SetState ¶
func (s *LoadBalancer) SetState(v LoadBalancerState) *LoadBalancer
SetState sets the State field's value.
func (*LoadBalancer) SetSupportCode ¶
func (s *LoadBalancer) SetSupportCode(v string) *LoadBalancer
SetSupportCode sets the SupportCode field's value.
func (*LoadBalancer) SetTlsCertificateSummaries ¶
func (s *LoadBalancer) SetTlsCertificateSummaries(v []LoadBalancerTlsCertificateSummary) *LoadBalancer
SetTlsCertificateSummaries sets the TlsCertificateSummaries field's value.
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
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
type LoadBalancerProtocol ¶
type LoadBalancerProtocol string
const ( LoadBalancerProtocolHttpHttps LoadBalancerProtocol = "HTTP_HTTPS" LoadBalancerProtocolHttp LoadBalancerProtocol = "HTTP" )
Enum values for LoadBalancerProtocol
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
type LoadBalancerTlsCertificate ¶
type LoadBalancerTlsCertificate struct { // The Amazon Resource Name (ARN) of the TLS/SSL certificate. Arn *string `locationName:"arn" type:"string"` // The time when you created your TLS/SSL certificate. CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"unix"` // The domain name for your TLS/SSL 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 TLS/SSL certificate validation failure. FailureReason LoadBalancerTlsCertificateFailureReason `locationName:"failureReason" type:"string" enum:"true"` // When true, the TLS/SSL certificate is attached to the Lightsail load balancer. IsAttached *bool `locationName:"isAttached" type:"boolean"` // The time when the TLS/SSL certificate was issued. IssuedAt *time.Time `locationName:"issuedAt" type:"timestamp" timestampFormat:"unix"` // The issuer of the certificate. Issuer *string `locationName:"issuer" type:"string"` // The algorithm that was used to generate the key pair (the public and private // key). KeyAlgorithm *string `locationName:"keyAlgorithm" type:"string"` // The load balancer name where your TLS/SSL 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 TLS/SSL certificate (e.g., my-certificate). Name *string `locationName:"name" type:"string"` // The timestamp when the TLS/SSL certificate expires. NotAfter *time.Time `locationName:"notAfter" type:"timestamp" timestampFormat:"unix"` // The timestamp when the TLS/SSL certificate is first valid. NotBefore *time.Time `locationName:"notBefore" type:"timestamp" timestampFormat:"unix"` // An object containing information about the status of Lightsail's managed // renewal for the certificate. RenewalSummary *LoadBalancerTlsCertificateRenewalSummary `locationName:"renewalSummary" type:"structure"` // The resource type (e.g., LoadBalancerTlsCertificate. 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 TLS/SSL certificate was revoked. RevokedAt *time.Time `locationName:"revokedAt" type:"timestamp" timestampFormat:"unix"` // The serial number of the certificate. Serial *string `locationName:"serial" type:"string"` // The algorithm that was used to sign the certificate. SignatureAlgorithm *string `locationName:"signatureAlgorithm" type:"string"` // The status of the TLS/SSL 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 domain names (subject alternative names) 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 (CN) of the certificate and additional domain names // that can be used to connect to the website. 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 TLS/SSL certificate. This // code enables our support team to look up your Lightsail information more // easily. SupportCode *string `locationName:"supportCode" type:"string"` // contains filtered or unexported fields }
Describes a load balancer TLS/SSL certificate.
TLS is just an updated, more secure version of Secure Socket Layer (SSL). Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/LoadBalancerTlsCertificate
func (LoadBalancerTlsCertificate) GoString ¶
func (s LoadBalancerTlsCertificate) GoString() string
GoString returns the string representation
func (*LoadBalancerTlsCertificate) SetArn ¶
func (s *LoadBalancerTlsCertificate) SetArn(v string) *LoadBalancerTlsCertificate
SetArn sets the Arn field's value.
func (*LoadBalancerTlsCertificate) SetCreatedAt ¶
func (s *LoadBalancerTlsCertificate) SetCreatedAt(v time.Time) *LoadBalancerTlsCertificate
SetCreatedAt sets the CreatedAt field's value.
func (*LoadBalancerTlsCertificate) SetDomainName ¶
func (s *LoadBalancerTlsCertificate) SetDomainName(v string) *LoadBalancerTlsCertificate
SetDomainName sets the DomainName field's value.
func (*LoadBalancerTlsCertificate) SetDomainValidationRecords ¶
func (s *LoadBalancerTlsCertificate) SetDomainValidationRecords(v []LoadBalancerTlsCertificateDomainValidationRecord) *LoadBalancerTlsCertificate
SetDomainValidationRecords sets the DomainValidationRecords field's value.
func (*LoadBalancerTlsCertificate) SetFailureReason ¶
func (s *LoadBalancerTlsCertificate) SetFailureReason(v LoadBalancerTlsCertificateFailureReason) *LoadBalancerTlsCertificate
SetFailureReason sets the FailureReason field's value.
func (*LoadBalancerTlsCertificate) SetIsAttached ¶
func (s *LoadBalancerTlsCertificate) SetIsAttached(v bool) *LoadBalancerTlsCertificate
SetIsAttached sets the IsAttached field's value.
func (*LoadBalancerTlsCertificate) SetIssuedAt ¶
func (s *LoadBalancerTlsCertificate) SetIssuedAt(v time.Time) *LoadBalancerTlsCertificate
SetIssuedAt sets the IssuedAt field's value.
func (*LoadBalancerTlsCertificate) SetIssuer ¶
func (s *LoadBalancerTlsCertificate) SetIssuer(v string) *LoadBalancerTlsCertificate
SetIssuer sets the Issuer field's value.
func (*LoadBalancerTlsCertificate) SetKeyAlgorithm ¶
func (s *LoadBalancerTlsCertificate) SetKeyAlgorithm(v string) *LoadBalancerTlsCertificate
SetKeyAlgorithm sets the KeyAlgorithm field's value.
func (*LoadBalancerTlsCertificate) SetLoadBalancerName ¶
func (s *LoadBalancerTlsCertificate) SetLoadBalancerName(v string) *LoadBalancerTlsCertificate
SetLoadBalancerName sets the LoadBalancerName field's value.
func (*LoadBalancerTlsCertificate) SetLocation ¶
func (s *LoadBalancerTlsCertificate) SetLocation(v *ResourceLocation) *LoadBalancerTlsCertificate
SetLocation sets the Location field's value.
func (*LoadBalancerTlsCertificate) SetName ¶
func (s *LoadBalancerTlsCertificate) SetName(v string) *LoadBalancerTlsCertificate
SetName sets the Name field's value.
func (*LoadBalancerTlsCertificate) SetNotAfter ¶
func (s *LoadBalancerTlsCertificate) SetNotAfter(v time.Time) *LoadBalancerTlsCertificate
SetNotAfter sets the NotAfter field's value.
func (*LoadBalancerTlsCertificate) SetNotBefore ¶
func (s *LoadBalancerTlsCertificate) SetNotBefore(v time.Time) *LoadBalancerTlsCertificate
SetNotBefore sets the NotBefore field's value.
func (*LoadBalancerTlsCertificate) SetRenewalSummary ¶
func (s *LoadBalancerTlsCertificate) SetRenewalSummary(v *LoadBalancerTlsCertificateRenewalSummary) *LoadBalancerTlsCertificate
SetRenewalSummary sets the RenewalSummary field's value.
func (*LoadBalancerTlsCertificate) SetResourceType ¶
func (s *LoadBalancerTlsCertificate) SetResourceType(v ResourceType) *LoadBalancerTlsCertificate
SetResourceType sets the ResourceType field's value.
func (*LoadBalancerTlsCertificate) SetRevocationReason ¶
func (s *LoadBalancerTlsCertificate) SetRevocationReason(v LoadBalancerTlsCertificateRevocationReason) *LoadBalancerTlsCertificate
SetRevocationReason sets the RevocationReason field's value.
func (*LoadBalancerTlsCertificate) SetRevokedAt ¶
func (s *LoadBalancerTlsCertificate) SetRevokedAt(v time.Time) *LoadBalancerTlsCertificate
SetRevokedAt sets the RevokedAt field's value.
func (*LoadBalancerTlsCertificate) SetSerial ¶
func (s *LoadBalancerTlsCertificate) SetSerial(v string) *LoadBalancerTlsCertificate
SetSerial sets the Serial field's value.
func (*LoadBalancerTlsCertificate) SetSignatureAlgorithm ¶
func (s *LoadBalancerTlsCertificate) SetSignatureAlgorithm(v string) *LoadBalancerTlsCertificate
SetSignatureAlgorithm sets the SignatureAlgorithm field's value.
func (*LoadBalancerTlsCertificate) SetStatus ¶
func (s *LoadBalancerTlsCertificate) SetStatus(v LoadBalancerTlsCertificateStatus) *LoadBalancerTlsCertificate
SetStatus sets the Status field's value.
func (*LoadBalancerTlsCertificate) SetSubject ¶
func (s *LoadBalancerTlsCertificate) SetSubject(v string) *LoadBalancerTlsCertificate
SetSubject sets the Subject field's value.
func (*LoadBalancerTlsCertificate) SetSubjectAlternativeNames ¶
func (s *LoadBalancerTlsCertificate) SetSubjectAlternativeNames(v []string) *LoadBalancerTlsCertificate
SetSubjectAlternativeNames sets the SubjectAlternativeNames field's value.
func (*LoadBalancerTlsCertificate) SetSupportCode ¶
func (s *LoadBalancerTlsCertificate) SetSupportCode(v string) *LoadBalancerTlsCertificate
SetSupportCode sets the SupportCode field's value.
func (LoadBalancerTlsCertificate) String ¶
func (s LoadBalancerTlsCertificate) String() 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
type LoadBalancerTlsCertificateDomainValidationOption ¶
type LoadBalancerTlsCertificateDomainValidationOption struct { // A 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 a TLS/SSL certificate that you will use to validate domain ownership. Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/LoadBalancerTlsCertificateDomainValidationOption
func (LoadBalancerTlsCertificateDomainValidationOption) GoString ¶
func (s LoadBalancerTlsCertificateDomainValidationOption) GoString() string
GoString returns the string representation
func (*LoadBalancerTlsCertificateDomainValidationOption) SetDomainName ¶
func (s *LoadBalancerTlsCertificateDomainValidationOption) SetDomainName(v string) *LoadBalancerTlsCertificateDomainValidationOption
SetDomainName sets the DomainName field's value.
func (*LoadBalancerTlsCertificateDomainValidationOption) SetValidationStatus ¶
func (s *LoadBalancerTlsCertificateDomainValidationOption) SetValidationStatus(v LoadBalancerTlsCertificateDomainStatus) *LoadBalancerTlsCertificateDomainValidationOption
SetValidationStatus sets the ValidationStatus field's value.
func (LoadBalancerTlsCertificateDomainValidationOption) String ¶
func (s LoadBalancerTlsCertificateDomainValidationOption) String() string
String returns the string representation
type LoadBalancerTlsCertificateDomainValidationRecord ¶
type LoadBalancerTlsCertificateDomainValidationRecord struct { // The domain name against which your TLS/SSL 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 TLS/SSL certificate. Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/LoadBalancerTlsCertificateDomainValidationRecord
func (LoadBalancerTlsCertificateDomainValidationRecord) GoString ¶
func (s LoadBalancerTlsCertificateDomainValidationRecord) GoString() string
GoString returns the string representation
func (*LoadBalancerTlsCertificateDomainValidationRecord) SetDomainName ¶
func (s *LoadBalancerTlsCertificateDomainValidationRecord) SetDomainName(v string) *LoadBalancerTlsCertificateDomainValidationRecord
SetDomainName sets the DomainName field's value.
func (*LoadBalancerTlsCertificateDomainValidationRecord) SetName ¶
func (s *LoadBalancerTlsCertificateDomainValidationRecord) SetName(v string) *LoadBalancerTlsCertificateDomainValidationRecord
SetName sets the Name field's value.
func (*LoadBalancerTlsCertificateDomainValidationRecord) SetType ¶
func (s *LoadBalancerTlsCertificateDomainValidationRecord) SetType(v string) *LoadBalancerTlsCertificateDomainValidationRecord
SetType sets the Type field's value.
func (*LoadBalancerTlsCertificateDomainValidationRecord) SetValidationStatus ¶
func (s *LoadBalancerTlsCertificateDomainValidationRecord) SetValidationStatus(v LoadBalancerTlsCertificateDomainStatus) *LoadBalancerTlsCertificateDomainValidationRecord
SetValidationStatus sets the ValidationStatus field's value.
func (*LoadBalancerTlsCertificateDomainValidationRecord) SetValue ¶
func (s *LoadBalancerTlsCertificateDomainValidationRecord) SetValue(v string) *LoadBalancerTlsCertificateDomainValidationRecord
SetValue sets the Value field's value.
func (LoadBalancerTlsCertificateDomainValidationRecord) String ¶
func (s LoadBalancerTlsCertificateDomainValidationRecord) String() 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
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
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. Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/LoadBalancerTlsCertificateRenewalSummary
func (LoadBalancerTlsCertificateRenewalSummary) GoString ¶
func (s LoadBalancerTlsCertificateRenewalSummary) GoString() string
GoString returns the string representation
func (*LoadBalancerTlsCertificateRenewalSummary) SetDomainValidationOptions ¶
func (s *LoadBalancerTlsCertificateRenewalSummary) SetDomainValidationOptions(v []LoadBalancerTlsCertificateDomainValidationOption) *LoadBalancerTlsCertificateRenewalSummary
SetDomainValidationOptions sets the DomainValidationOptions field's value.
func (*LoadBalancerTlsCertificateRenewalSummary) SetRenewalStatus ¶
func (s *LoadBalancerTlsCertificateRenewalSummary) SetRenewalStatus(v LoadBalancerTlsCertificateRenewalStatus) *LoadBalancerTlsCertificateRenewalSummary
SetRenewalStatus sets the RenewalStatus field's value.
func (LoadBalancerTlsCertificateRenewalSummary) String ¶
func (s LoadBalancerTlsCertificateRenewalSummary) String() 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
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
type LoadBalancerTlsCertificateSummary ¶
type LoadBalancerTlsCertificateSummary struct { // When true, the TLS/SSL certificate is attached to the Lightsail load balancer. IsAttached *bool `locationName:"isAttached" type:"boolean"` // The name of the TLS/SSL certificate. Name *string `locationName:"name" type:"string"` // contains filtered or unexported fields }
Provides a summary of TLS/SSL certificate metadata. Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/LoadBalancerTlsCertificateSummary
func (LoadBalancerTlsCertificateSummary) GoString ¶
func (s LoadBalancerTlsCertificateSummary) GoString() string
GoString returns the string representation
func (*LoadBalancerTlsCertificateSummary) SetIsAttached ¶
func (s *LoadBalancerTlsCertificateSummary) SetIsAttached(v bool) *LoadBalancerTlsCertificateSummary
SetIsAttached sets the IsAttached field's value.
func (*LoadBalancerTlsCertificateSummary) SetName ¶
func (s *LoadBalancerTlsCertificateSummary) SetName(v string) *LoadBalancerTlsCertificateSummary
SetName sets the Name field's value.
func (LoadBalancerTlsCertificateSummary) String ¶
func (s LoadBalancerTlsCertificateSummary) String() string
String returns the string representation
type MetricDatapoint ¶
type MetricDatapoint struct { // The average. Average *float64 `locationName:"average" type:"double"` // The maximum. Maximum *float64 `locationName:"maximum" type:"double"` // The minimum. Minimum *float64 `locationName:"minimum" type:"double"` // The sample count. SampleCount *float64 `locationName:"sampleCount" type:"double"` // The sum. Sum *float64 `locationName:"sum" type:"double"` // The timestamp (e.g., 1479816991.349). Timestamp *time.Time `locationName:"timestamp" type:"timestamp" timestampFormat:"unix"` // The unit. Unit MetricUnit `locationName:"unit" type:"string" enum:"true"` // contains filtered or unexported fields }
Describes the metric data point. Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/MetricDatapoint
func (MetricDatapoint) GoString ¶
func (s MetricDatapoint) GoString() string
GoString returns the string representation
func (*MetricDatapoint) SetAverage ¶
func (s *MetricDatapoint) SetAverage(v float64) *MetricDatapoint
SetAverage sets the Average field's value.
func (*MetricDatapoint) SetMaximum ¶
func (s *MetricDatapoint) SetMaximum(v float64) *MetricDatapoint
SetMaximum sets the Maximum field's value.
func (*MetricDatapoint) SetMinimum ¶
func (s *MetricDatapoint) SetMinimum(v float64) *MetricDatapoint
SetMinimum sets the Minimum field's value.
func (*MetricDatapoint) SetSampleCount ¶
func (s *MetricDatapoint) SetSampleCount(v float64) *MetricDatapoint
SetSampleCount sets the SampleCount field's value.
func (*MetricDatapoint) SetSum ¶
func (s *MetricDatapoint) SetSum(v float64) *MetricDatapoint
SetSum sets the Sum field's value.
func (*MetricDatapoint) SetTimestamp ¶
func (s *MetricDatapoint) SetTimestamp(v time.Time) *MetricDatapoint
SetTimestamp sets the Timestamp field's value.
func (*MetricDatapoint) SetUnit ¶
func (s *MetricDatapoint) SetUnit(v MetricUnit) *MetricDatapoint
SetUnit sets the Unit field's value.
func (MetricDatapoint) String ¶
func (s MetricDatapoint) String() string
String returns the string representation
type MetricStatistic ¶
type MetricStatistic string
const ( MetricStatisticMinimum MetricStatistic = "Minimum" MetricStatisticMaximum MetricStatistic = "Maximum" MetricStatisticSum MetricStatistic = "Sum" MetricStatisticAverage MetricStatistic = "Average" MetricStatisticSampleCount MetricStatistic = "SampleCount" )
Enum values for MetricStatistic
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
type MonthlyTransfer ¶
type MonthlyTransfer struct { // The amount allocated per month (in GB). GbPerMonthAllocated *int64 `locationName:"gbPerMonthAllocated" type:"integer"` // contains filtered or unexported fields }
Describes the monthly data transfer in and out of your virtual private server (or instance). Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/MonthlyTransfer
func (MonthlyTransfer) GoString ¶
func (s MonthlyTransfer) GoString() string
GoString returns the string representation
func (*MonthlyTransfer) SetGbPerMonthAllocated ¶
func (s *MonthlyTransfer) SetGbPerMonthAllocated(v int64) *MonthlyTransfer
SetGbPerMonthAllocated sets the GbPerMonthAllocated field's value.
func (MonthlyTransfer) String ¶
func (s MonthlyTransfer) String() string
String returns the string representation
type NetworkProtocol ¶
type NetworkProtocol string
const ( NetworkProtocolTcp NetworkProtocol = "tcp" NetworkProtocolAll NetworkProtocol = "all" NetworkProtocolUdp NetworkProtocol = "udp" )
Enum values for NetworkProtocol
type OpenInstancePublicPortsInput ¶
type OpenInstancePublicPortsInput struct { // The name of the instance for which you want to open the public ports. // // InstanceName is a required field InstanceName *string `locationName:"instanceName" type:"string" required:"true"` // An array of key-value pairs containing information about the port mappings. // // PortInfo is a required field PortInfo *PortInfo `locationName:"portInfo" type:"structure" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/OpenInstancePublicPortsRequest
func (OpenInstancePublicPortsInput) GoString ¶
func (s OpenInstancePublicPortsInput) GoString() string
GoString returns the string representation
func (*OpenInstancePublicPortsInput) SetInstanceName ¶
func (s *OpenInstancePublicPortsInput) SetInstanceName(v string) *OpenInstancePublicPortsInput
SetInstanceName sets the InstanceName field's value.
func (*OpenInstancePublicPortsInput) SetPortInfo ¶
func (s *OpenInstancePublicPortsInput) SetPortInfo(v *PortInfo) *OpenInstancePublicPortsInput
SetPortInfo sets the PortInfo field's value.
func (OpenInstancePublicPortsInput) String ¶
func (s OpenInstancePublicPortsInput) String() string
String returns the string representation
func (*OpenInstancePublicPortsInput) Validate ¶
func (s *OpenInstancePublicPortsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type OpenInstancePublicPortsOutput ¶
type OpenInstancePublicPortsOutput struct { // An array of key-value pairs containing information about the request operation. Operation *Operation `locationName:"operation" type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/OpenInstancePublicPortsResult
func (OpenInstancePublicPortsOutput) GoString ¶
func (s OpenInstancePublicPortsOutput) GoString() string
GoString returns the string representation
func (OpenInstancePublicPortsOutput) SDKResponseMetadata ¶
func (s OpenInstancePublicPortsOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*OpenInstancePublicPortsOutput) SetOperation ¶
func (s *OpenInstancePublicPortsOutput) SetOperation(v *Operation) *OpenInstancePublicPortsOutput
SetOperation sets the Operation field's value.
func (OpenInstancePublicPortsOutput) String ¶
func (s OpenInstancePublicPortsOutput) String() string
String returns the string representation
type OpenInstancePublicPortsRequest ¶
type OpenInstancePublicPortsRequest struct { *aws.Request Input *OpenInstancePublicPortsInput }
OpenInstancePublicPortsRequest is a API request type for the OpenInstancePublicPorts API operation.
func (OpenInstancePublicPortsRequest) Send ¶
func (r OpenInstancePublicPortsRequest) Send() (*OpenInstancePublicPortsOutput, error)
Send marshals and sends the OpenInstancePublicPorts API request.
type Operation ¶
type Operation struct { // The timestamp when the operation was initialized (e.g., 1479816991.349). CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"unix"` // The error code. ErrorCode *string `locationName:"errorCode" type:"string"` // The error details. ErrorDetails *string `locationName:"errorDetails" type:"string"` // The ID of the operation. Id *string `locationName:"id" type:"string"` // A Boolean value indicating whether the operation is terminal. IsTerminal *bool `locationName:"isTerminal" type:"boolean"` // The region and Availability Zone. Location *ResourceLocation `locationName:"location" type:"structure"` // Details about the operation (e.g., Debian-1GB-Ohio-1). OperationDetails *string `locationName:"operationDetails" type:"string"` // The type of operation. OperationType OperationType `locationName:"operationType" type:"string" enum:"true"` // The resource name. ResourceName *string `locationName:"resourceName" type:"string"` // The resource type. ResourceType ResourceType `locationName:"resourceType" type:"string" enum:"true"` // The status of the operation. Status OperationStatus `locationName:"status" type:"string" enum:"true"` // The timestamp when the status was changed (e.g., 1479816991.349). StatusChangedAt *time.Time `locationName:"statusChangedAt" type:"timestamp" timestampFormat:"unix"` // contains filtered or unexported fields }
Describes the API operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/Operation
func (*Operation) SetCreatedAt ¶
SetCreatedAt sets the CreatedAt field's value.
func (*Operation) SetErrorCode ¶
SetErrorCode sets the ErrorCode field's value.
func (*Operation) SetErrorDetails ¶
SetErrorDetails sets the ErrorDetails field's value.
func (*Operation) SetIsTerminal ¶
SetIsTerminal sets the IsTerminal field's value.
func (*Operation) SetLocation ¶
func (s *Operation) SetLocation(v *ResourceLocation) *Operation
SetLocation sets the Location field's value.
func (*Operation) SetOperationDetails ¶
SetOperationDetails sets the OperationDetails field's value.
func (*Operation) SetOperationType ¶
func (s *Operation) SetOperationType(v OperationType) *Operation
SetOperationType sets the OperationType field's value.
func (*Operation) SetResourceName ¶
SetResourceName sets the ResourceName field's value.
func (*Operation) SetResourceType ¶
func (s *Operation) SetResourceType(v ResourceType) *Operation
SetResourceType sets the ResourceType field's value.
func (*Operation) SetStatus ¶
func (s *Operation) SetStatus(v OperationStatus) *Operation
SetStatus sets the Status field's value.
func (*Operation) SetStatusChangedAt ¶
SetStatusChangedAt sets the StatusChangedAt field's value.
type OperationStatus ¶
type OperationStatus string
const ( OperationStatusNotStarted OperationStatus = "NotStarted" OperationStatusStarted OperationStatus = "Started" OperationStatusFailed OperationStatus = "Failed" OperationStatusCompleted OperationStatus = "Completed" )
Enum values for OperationStatus
type OperationType ¶
type OperationType string
const ( OperationTypeDeleteInstance OperationType = "DeleteInstance" OperationTypeCreateInstance OperationType = "CreateInstance" OperationTypeStopInstance OperationType = "StopInstance" OperationTypeStartInstance OperationType = "StartInstance" OperationTypeRebootInstance OperationType = "RebootInstance" OperationTypeOpenInstancePublicPorts OperationType = "OpenInstancePublicPorts" OperationTypePutInstancePublicPorts OperationType = "PutInstancePublicPorts" OperationTypeCloseInstancePublicPorts OperationType = "CloseInstancePublicPorts" OperationTypeAllocateStaticIp OperationType = "AllocateStaticIp" OperationTypeReleaseStaticIp OperationType = "ReleaseStaticIp" OperationTypeAttachStaticIp OperationType = "AttachStaticIp" OperationTypeDetachStaticIp OperationType = "DetachStaticIp" OperationTypeUpdateDomainEntry OperationType = "UpdateDomainEntry" OperationTypeDeleteDomainEntry OperationType = "DeleteDomainEntry" OperationTypeCreateDomain OperationType = "CreateDomain" OperationTypeDeleteDomain OperationType = "DeleteDomain" OperationTypeCreateInstanceSnapshot OperationType = "CreateInstanceSnapshot" OperationTypeDeleteInstanceSnapshot OperationType = "DeleteInstanceSnapshot" OperationTypeCreateInstancesFromSnapshot OperationType = "CreateInstancesFromSnapshot" OperationTypeCreateLoadBalancer OperationType = "CreateLoadBalancer" OperationTypeDeleteLoadBalancer OperationType = "DeleteLoadBalancer" OperationTypeAttachInstancesToLoadBalancer OperationType = "AttachInstancesToLoadBalancer" OperationTypeDetachInstancesFromLoadBalancer OperationType = "DetachInstancesFromLoadBalancer" OperationTypeUpdateLoadBalancerAttribute OperationType = "UpdateLoadBalancerAttribute" OperationTypeCreateLoadBalancerTlsCertificate OperationType = "CreateLoadBalancerTlsCertificate" OperationTypeDeleteLoadBalancerTlsCertificate OperationType = "DeleteLoadBalancerTlsCertificate" OperationTypeAttachLoadBalancerTlsCertificate OperationType = "AttachLoadBalancerTlsCertificate" OperationTypeCreateDisk OperationType = "CreateDisk" OperationTypeDeleteDisk OperationType = "DeleteDisk" OperationTypeAttachDisk OperationType = "AttachDisk" OperationTypeDetachDisk OperationType = "DetachDisk" OperationTypeCreateDiskSnapshot OperationType = "CreateDiskSnapshot" OperationTypeDeleteDiskSnapshot OperationType = "DeleteDiskSnapshot" OperationTypeCreateDiskFromSnapshot OperationType = "CreateDiskFromSnapshot" )
Enum values for OperationType
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. Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/PasswordData
func (PasswordData) GoString ¶
func (s PasswordData) GoString() string
GoString returns the string representation
func (*PasswordData) SetCiphertext ¶
func (s *PasswordData) SetCiphertext(v string) *PasswordData
SetCiphertext sets the Ciphertext field's value.
func (*PasswordData) SetKeyPairName ¶
func (s *PasswordData) SetKeyPairName(v string) *PasswordData
SetKeyPairName sets the KeyPairName field's value.
func (PasswordData) String ¶
func (s PasswordData) String() string
String returns the string representation
type PeerVpcInput ¶
type PeerVpcInput struct {
// contains filtered or unexported fields
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/PeerVpcRequest
func (PeerVpcInput) GoString ¶
func (s PeerVpcInput) GoString() string
GoString returns the string representation
func (PeerVpcInput) String ¶
func (s PeerVpcInput) String() string
String returns the string representation
type PeerVpcOutput ¶
type PeerVpcOutput struct { // An array of key-value pairs containing information about the request operation. Operation *Operation `locationName:"operation" type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/PeerVpcResult
func (PeerVpcOutput) GoString ¶
func (s PeerVpcOutput) GoString() string
GoString returns the string representation
func (PeerVpcOutput) SDKResponseMetadata ¶
func (s PeerVpcOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*PeerVpcOutput) SetOperation ¶
func (s *PeerVpcOutput) SetOperation(v *Operation) *PeerVpcOutput
SetOperation sets the Operation field's value.
func (PeerVpcOutput) String ¶
func (s PeerVpcOutput) String() string
String returns the string representation
type PeerVpcRequest ¶
type PeerVpcRequest struct { *aws.Request Input *PeerVpcInput }
PeerVpcRequest is a API request type for the PeerVpc API operation.
func (PeerVpcRequest) Send ¶
func (r PeerVpcRequest) Send() (*PeerVpcOutput, error)
Send marshals and sends the PeerVpc API request.
type PortAccessType ¶
type PortAccessType string
const ( PortAccessTypePublic PortAccessType = "Public" PortAccessTypePrivate PortAccessType = "Private" )
Enum values for PortAccessType
type PortInfo ¶
type PortInfo struct { // The first port in the range. FromPort *int64 `locationName:"fromPort" type:"integer"` // The protocol. Protocol NetworkProtocol `locationName:"protocol" type:"string" enum:"true"` // The last port in the range. ToPort *int64 `locationName:"toPort" type:"integer"` // contains filtered or unexported fields }
Describes information about the ports on your virtual private server (or instance). Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/PortInfo
func (*PortInfo) SetFromPort ¶
SetFromPort sets the FromPort field's value.
func (*PortInfo) SetProtocol ¶
func (s *PortInfo) SetProtocol(v NetworkProtocol) *PortInfo
SetProtocol sets the Protocol field's value.
type PutInstancePublicPortsInput ¶
type PutInstancePublicPortsInput struct { // The Lightsail instance name of the public port(s) you are setting. // // InstanceName is a required field InstanceName *string `locationName:"instanceName" type:"string" required:"true"` // Specifies information about the public port(s). // // PortInfos is a required field PortInfos []PortInfo `locationName:"portInfos" type:"list" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/PutInstancePublicPortsRequest
func (PutInstancePublicPortsInput) GoString ¶
func (s PutInstancePublicPortsInput) GoString() string
GoString returns the string representation
func (*PutInstancePublicPortsInput) SetInstanceName ¶
func (s *PutInstancePublicPortsInput) SetInstanceName(v string) *PutInstancePublicPortsInput
SetInstanceName sets the InstanceName field's value.
func (*PutInstancePublicPortsInput) SetPortInfos ¶
func (s *PutInstancePublicPortsInput) SetPortInfos(v []PortInfo) *PutInstancePublicPortsInput
SetPortInfos sets the PortInfos field's value.
func (PutInstancePublicPortsInput) String ¶
func (s PutInstancePublicPortsInput) String() string
String returns the string representation
func (*PutInstancePublicPortsInput) Validate ¶
func (s *PutInstancePublicPortsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type PutInstancePublicPortsOutput ¶
type PutInstancePublicPortsOutput struct { // Describes metadata about the operation you just executed. Operation *Operation `locationName:"operation" type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/PutInstancePublicPortsResult
func (PutInstancePublicPortsOutput) GoString ¶
func (s PutInstancePublicPortsOutput) GoString() string
GoString returns the string representation
func (PutInstancePublicPortsOutput) SDKResponseMetadata ¶
func (s PutInstancePublicPortsOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*PutInstancePublicPortsOutput) SetOperation ¶
func (s *PutInstancePublicPortsOutput) SetOperation(v *Operation) *PutInstancePublicPortsOutput
SetOperation sets the Operation field's value.
func (PutInstancePublicPortsOutput) String ¶
func (s PutInstancePublicPortsOutput) String() string
String returns the string representation
type PutInstancePublicPortsRequest ¶
type PutInstancePublicPortsRequest struct { *aws.Request Input *PutInstancePublicPortsInput }
PutInstancePublicPortsRequest is a API request type for the PutInstancePublicPorts API operation.
func (PutInstancePublicPortsRequest) Send ¶
func (r PutInstancePublicPortsRequest) Send() (*PutInstancePublicPortsOutput, error)
Send marshals and sends the PutInstancePublicPorts API request.
type RebootInstanceInput ¶
type RebootInstanceInput struct { // The name of the instance to reboot. // // InstanceName is a required field InstanceName *string `locationName:"instanceName" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/RebootInstanceRequest
func (RebootInstanceInput) GoString ¶
func (s RebootInstanceInput) GoString() string
GoString returns the string representation
func (*RebootInstanceInput) SetInstanceName ¶
func (s *RebootInstanceInput) SetInstanceName(v string) *RebootInstanceInput
SetInstanceName sets the InstanceName field's value.
func (RebootInstanceInput) String ¶
func (s RebootInstanceInput) String() string
String returns the string representation
func (*RebootInstanceInput) Validate ¶
func (s *RebootInstanceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type RebootInstanceOutput ¶
type RebootInstanceOutput struct { // An array of key-value pairs containing information about the request operation. Operations []Operation `locationName:"operations" type:"list"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/RebootInstanceResult
func (RebootInstanceOutput) GoString ¶
func (s RebootInstanceOutput) GoString() string
GoString returns the string representation
func (RebootInstanceOutput) SDKResponseMetadata ¶
func (s RebootInstanceOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*RebootInstanceOutput) SetOperations ¶
func (s *RebootInstanceOutput) SetOperations(v []Operation) *RebootInstanceOutput
SetOperations sets the Operations field's value.
func (RebootInstanceOutput) String ¶
func (s RebootInstanceOutput) String() string
String returns the string representation
type RebootInstanceRequest ¶
type RebootInstanceRequest struct { *aws.Request Input *RebootInstanceInput }
RebootInstanceRequest is a API request type for the RebootInstance API operation.
func (RebootInstanceRequest) Send ¶
func (r RebootInstanceRequest) Send() (*RebootInstanceOutput, error)
Send marshals and sends the RebootInstance API request.
type Region ¶
type Region struct { // The Availability Zones. Follows the format us-east-2a (case-sensitive). AvailabilityZones []AvailabilityZone `locationName:"availabilityZones" type:"list"` // The continent code (e.g., NA, meaning North America). ContinentCode *string `locationName:"continentCode" type:"string"` // The description of the AWS Region (e.g., This region is recommended to serve // users in the eastern United States and eastern Canada). Description *string `locationName:"description" type:"string"` // The display name (e.g., Ohio). DisplayName *string `locationName:"displayName" type:"string"` // The region name (e.g., us-east-2). Name RegionName `locationName:"name" type:"string" enum:"true"` // contains filtered or unexported fields }
Describes the AWS Region. Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/Region
func (*Region) SetAvailabilityZones ¶
func (s *Region) SetAvailabilityZones(v []AvailabilityZone) *Region
SetAvailabilityZones sets the AvailabilityZones field's value.
func (*Region) SetContinentCode ¶
SetContinentCode sets the ContinentCode field's value.
func (*Region) SetDescription ¶
SetDescription sets the Description field's value.
func (*Region) SetDisplayName ¶
SetDisplayName sets the DisplayName field's value.
func (*Region) SetName ¶
func (s *Region) SetName(v RegionName) *Region
SetName sets the Name field's value.
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" RegionNameEuCentral1 RegionName = "eu-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
type ReleaseStaticIpInput ¶
type ReleaseStaticIpInput struct { // The name of the static IP to delete. // // StaticIpName is a required field StaticIpName *string `locationName:"staticIpName" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/ReleaseStaticIpRequest
func (ReleaseStaticIpInput) GoString ¶
func (s ReleaseStaticIpInput) GoString() string
GoString returns the string representation
func (*ReleaseStaticIpInput) SetStaticIpName ¶
func (s *ReleaseStaticIpInput) SetStaticIpName(v string) *ReleaseStaticIpInput
SetStaticIpName sets the StaticIpName field's value.
func (ReleaseStaticIpInput) String ¶
func (s ReleaseStaticIpInput) String() string
String returns the string representation
func (*ReleaseStaticIpInput) Validate ¶
func (s *ReleaseStaticIpInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ReleaseStaticIpOutput ¶
type ReleaseStaticIpOutput struct { // An array of key-value pairs containing information about the request operation. Operations []Operation `locationName:"operations" type:"list"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/ReleaseStaticIpResult
func (ReleaseStaticIpOutput) GoString ¶
func (s ReleaseStaticIpOutput) GoString() string
GoString returns the string representation
func (ReleaseStaticIpOutput) SDKResponseMetadata ¶
func (s ReleaseStaticIpOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*ReleaseStaticIpOutput) SetOperations ¶
func (s *ReleaseStaticIpOutput) SetOperations(v []Operation) *ReleaseStaticIpOutput
SetOperations sets the Operations field's value.
func (ReleaseStaticIpOutput) String ¶
func (s ReleaseStaticIpOutput) String() string
String returns the string representation
type ReleaseStaticIpRequest ¶
type ReleaseStaticIpRequest struct { *aws.Request Input *ReleaseStaticIpInput }
ReleaseStaticIpRequest is a API request type for the ReleaseStaticIp API operation.
func (ReleaseStaticIpRequest) Send ¶
func (r ReleaseStaticIpRequest) Send() (*ReleaseStaticIpOutput, error)
Send marshals and sends the ReleaseStaticIp API request.
type ResourceLocation ¶
type ResourceLocation struct { // The Availability Zone. Follows the format us-east-2a (case-sensitive). AvailabilityZone *string `locationName:"availabilityZone" type:"string"` // The AWS Region name. RegionName RegionName `locationName:"regionName" type:"string" enum:"true"` // contains filtered or unexported fields }
Describes the resource location. Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/ResourceLocation
func (ResourceLocation) GoString ¶
func (s ResourceLocation) GoString() string
GoString returns the string representation
func (*ResourceLocation) SetAvailabilityZone ¶
func (s *ResourceLocation) SetAvailabilityZone(v string) *ResourceLocation
SetAvailabilityZone sets the AvailabilityZone field's value.
func (*ResourceLocation) SetRegionName ¶
func (s *ResourceLocation) SetRegionName(v RegionName) *ResourceLocation
SetRegionName sets the RegionName field's value.
func (ResourceLocation) String ¶
func (s ResourceLocation) String() string
String returns the string representation
type ResourceType ¶
type ResourceType string
const ( ResourceTypeInstance ResourceType = "Instance" ResourceTypeStaticIp ResourceType = "StaticIp" ResourceTypeKeyPair ResourceType = "KeyPair" ResourceTypeInstanceSnapshot ResourceType = "InstanceSnapshot" ResourceTypeDomain ResourceType = "Domain" ResourceTypePeeredVpc ResourceType = "PeeredVpc" ResourceTypeLoadBalancer ResourceType = "LoadBalancer" ResourceTypeLoadBalancerTlsCertificate ResourceType = "LoadBalancerTlsCertificate" ResourceTypeDisk ResourceType = "Disk" ResourceTypeDiskSnapshot ResourceType = "DiskSnapshot" )
Enum values for ResourceType
type StartInstanceInput ¶
type StartInstanceInput struct { // The name of the instance (a virtual private server) to start. // // InstanceName is a required field InstanceName *string `locationName:"instanceName" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/StartInstanceRequest
func (StartInstanceInput) GoString ¶
func (s StartInstanceInput) GoString() string
GoString returns the string representation
func (*StartInstanceInput) SetInstanceName ¶
func (s *StartInstanceInput) SetInstanceName(v string) *StartInstanceInput
SetInstanceName sets the InstanceName field's value.
func (StartInstanceInput) String ¶
func (s StartInstanceInput) String() string
String returns the string representation
func (*StartInstanceInput) Validate ¶
func (s *StartInstanceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type StartInstanceOutput ¶
type StartInstanceOutput struct { // An array of key-value pairs containing information about the request operation. Operations []Operation `locationName:"operations" type:"list"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/StartInstanceResult
func (StartInstanceOutput) GoString ¶
func (s StartInstanceOutput) GoString() string
GoString returns the string representation
func (StartInstanceOutput) SDKResponseMetadata ¶
func (s StartInstanceOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*StartInstanceOutput) SetOperations ¶
func (s *StartInstanceOutput) SetOperations(v []Operation) *StartInstanceOutput
SetOperations sets the Operations field's value.
func (StartInstanceOutput) String ¶
func (s StartInstanceOutput) String() string
String returns the string representation
type StartInstanceRequest ¶
type StartInstanceRequest struct { *aws.Request Input *StartInstanceInput }
StartInstanceRequest is a API request type for the StartInstance API operation.
func (StartInstanceRequest) Send ¶
func (r StartInstanceRequest) Send() (*StartInstanceOutput, error)
Send marshals and sends the StartInstance API request.
type StaticIp ¶
type StaticIp struct { // The Amazon Resource Name (ARN) of the static IP (e.g., arn:aws:lightsail:us-east-2:123456789101:StaticIp/9cbb4a9e-f8e3-4dfe-b57e-12345EXAMPLE). Arn *string `locationName:"arn" type:"string"` // The instance where the static IP is attached (e.g., Amazon_Linux-1GB-Ohio-1). AttachedTo *string `locationName:"attachedTo" type:"string"` // The timestamp when the static IP was created (e.g., 1479735304.222). CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"unix"` // The static IP address. IpAddress *string `locationName:"ipAddress" type:"string"` // A Boolean value indicating whether the static IP is attached. IsAttached *bool `locationName:"isAttached" type:"boolean"` // The region and Availability Zone where the static IP was created. Location *ResourceLocation `locationName:"location" type:"structure"` // The name of the static IP (e.g., StaticIP-Ohio-EXAMPLE). Name *string `locationName:"name" type:"string"` // The resource type (usually StaticIp). ResourceType ResourceType `locationName:"resourceType" type:"string" enum:"true"` // The support code. Include this code in your email to support when you have // questions about an instance or another resource in Lightsail. This code enables // our support team to look up your Lightsail information more easily. SupportCode *string `locationName:"supportCode" type:"string"` // contains filtered or unexported fields }
Describes the static IP. Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/StaticIp
func (*StaticIp) SetAttachedTo ¶
SetAttachedTo sets the AttachedTo field's value.
func (*StaticIp) SetCreatedAt ¶
SetCreatedAt sets the CreatedAt field's value.
func (*StaticIp) SetIpAddress ¶
SetIpAddress sets the IpAddress field's value.
func (*StaticIp) SetIsAttached ¶
SetIsAttached sets the IsAttached field's value.
func (*StaticIp) SetLocation ¶
func (s *StaticIp) SetLocation(v *ResourceLocation) *StaticIp
SetLocation sets the Location field's value.
func (*StaticIp) SetResourceType ¶
func (s *StaticIp) SetResourceType(v ResourceType) *StaticIp
SetResourceType sets the ResourceType field's value.
func (*StaticIp) SetSupportCode ¶
SetSupportCode sets the SupportCode field's value.
type StopInstanceInput ¶
type StopInstanceInput struct { // When set to True, forces a Lightsail instance that is stuck in a stopping // state to stop. // // Only use the force parameter if your instance is stuck in the stopping state. // In any other state, your instance should stop normally without adding this // parameter to your API request. Force *bool `locationName:"force" type:"boolean"` // The name of the instance (a virtual private server) to stop. // // InstanceName is a required field InstanceName *string `locationName:"instanceName" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/StopInstanceRequest
func (StopInstanceInput) GoString ¶
func (s StopInstanceInput) GoString() string
GoString returns the string representation
func (*StopInstanceInput) SetForce ¶
func (s *StopInstanceInput) SetForce(v bool) *StopInstanceInput
SetForce sets the Force field's value.
func (*StopInstanceInput) SetInstanceName ¶
func (s *StopInstanceInput) SetInstanceName(v string) *StopInstanceInput
SetInstanceName sets the InstanceName field's value.
func (StopInstanceInput) String ¶
func (s StopInstanceInput) String() string
String returns the string representation
func (*StopInstanceInput) Validate ¶
func (s *StopInstanceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type StopInstanceOutput ¶
type StopInstanceOutput struct { // An array of key-value pairs containing information about the request operation. Operations []Operation `locationName:"operations" type:"list"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/StopInstanceResult
func (StopInstanceOutput) GoString ¶
func (s StopInstanceOutput) GoString() string
GoString returns the string representation
func (StopInstanceOutput) SDKResponseMetadata ¶
func (s StopInstanceOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*StopInstanceOutput) SetOperations ¶
func (s *StopInstanceOutput) SetOperations(v []Operation) *StopInstanceOutput
SetOperations sets the Operations field's value.
func (StopInstanceOutput) String ¶
func (s StopInstanceOutput) String() string
String returns the string representation
type StopInstanceRequest ¶
type StopInstanceRequest struct { *aws.Request Input *StopInstanceInput }
StopInstanceRequest is a API request type for the StopInstance API operation.
func (StopInstanceRequest) Send ¶
func (r StopInstanceRequest) Send() (*StopInstanceOutput, error)
Send marshals and sends the StopInstance API request.
type UnpeerVpcInput ¶
type UnpeerVpcInput struct {
// contains filtered or unexported fields
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/UnpeerVpcRequest
func (UnpeerVpcInput) GoString ¶
func (s UnpeerVpcInput) GoString() string
GoString returns the string representation
func (UnpeerVpcInput) String ¶
func (s UnpeerVpcInput) String() string
String returns the string representation
type UnpeerVpcOutput ¶
type UnpeerVpcOutput struct { // An array of key-value pairs containing information about the request operation. Operation *Operation `locationName:"operation" type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/UnpeerVpcResult
func (UnpeerVpcOutput) GoString ¶
func (s UnpeerVpcOutput) GoString() string
GoString returns the string representation
func (UnpeerVpcOutput) SDKResponseMetadata ¶
func (s UnpeerVpcOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*UnpeerVpcOutput) SetOperation ¶
func (s *UnpeerVpcOutput) SetOperation(v *Operation) *UnpeerVpcOutput
SetOperation sets the Operation field's value.
func (UnpeerVpcOutput) String ¶
func (s UnpeerVpcOutput) String() string
String returns the string representation
type UnpeerVpcRequest ¶
type UnpeerVpcRequest struct { *aws.Request Input *UnpeerVpcInput }
UnpeerVpcRequest is a API request type for the UnpeerVpc API operation.
func (UnpeerVpcRequest) Send ¶
func (r UnpeerVpcRequest) Send() (*UnpeerVpcOutput, error)
Send marshals and sends the UnpeerVpc API request.
type UpdateDomainEntryInput ¶
type UpdateDomainEntryInput struct { // An array of key-value pairs containing information about the domain entry. // // DomainEntry is a required field DomainEntry *DomainEntry `locationName:"domainEntry" type:"structure" required:"true"` // The name of the domain recordset to update. // // DomainName is a required field DomainName *string `locationName:"domainName" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/UpdateDomainEntryRequest
func (UpdateDomainEntryInput) GoString ¶
func (s UpdateDomainEntryInput) GoString() string
GoString returns the string representation
func (*UpdateDomainEntryInput) SetDomainEntry ¶
func (s *UpdateDomainEntryInput) SetDomainEntry(v *DomainEntry) *UpdateDomainEntryInput
SetDomainEntry sets the DomainEntry field's value.
func (*UpdateDomainEntryInput) SetDomainName ¶
func (s *UpdateDomainEntryInput) SetDomainName(v string) *UpdateDomainEntryInput
SetDomainName sets the DomainName field's value.
func (UpdateDomainEntryInput) String ¶
func (s UpdateDomainEntryInput) String() string
String returns the string representation
func (*UpdateDomainEntryInput) Validate ¶
func (s *UpdateDomainEntryInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateDomainEntryOutput ¶
type UpdateDomainEntryOutput struct { // An array of key-value pairs containing information about the request operation. Operations []Operation `locationName:"operations" type:"list"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/UpdateDomainEntryResult
func (UpdateDomainEntryOutput) GoString ¶
func (s UpdateDomainEntryOutput) GoString() string
GoString returns the string representation
func (UpdateDomainEntryOutput) SDKResponseMetadata ¶
func (s UpdateDomainEntryOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*UpdateDomainEntryOutput) SetOperations ¶
func (s *UpdateDomainEntryOutput) SetOperations(v []Operation) *UpdateDomainEntryOutput
SetOperations sets the Operations field's value.
func (UpdateDomainEntryOutput) String ¶
func (s UpdateDomainEntryOutput) String() string
String returns the string representation
type UpdateDomainEntryRequest ¶
type UpdateDomainEntryRequest struct { *aws.Request Input *UpdateDomainEntryInput }
UpdateDomainEntryRequest is a API request type for the UpdateDomainEntry API operation.
func (UpdateDomainEntryRequest) Send ¶
func (r UpdateDomainEntryRequest) Send() (*UpdateDomainEntryOutput, error)
Send marshals and sends the UpdateDomainEntry API 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. // // LoadBalancerName is a required field LoadBalancerName *string `locationName:"loadBalancerName" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/UpdateLoadBalancerAttributeRequest
func (UpdateLoadBalancerAttributeInput) GoString ¶
func (s UpdateLoadBalancerAttributeInput) GoString() string
GoString returns the string representation
func (*UpdateLoadBalancerAttributeInput) SetAttributeName ¶
func (s *UpdateLoadBalancerAttributeInput) SetAttributeName(v LoadBalancerAttributeName) *UpdateLoadBalancerAttributeInput
SetAttributeName sets the AttributeName field's value.
func (*UpdateLoadBalancerAttributeInput) SetAttributeValue ¶
func (s *UpdateLoadBalancerAttributeInput) SetAttributeValue(v string) *UpdateLoadBalancerAttributeInput
SetAttributeValue sets the AttributeValue field's value.
func (*UpdateLoadBalancerAttributeInput) SetLoadBalancerName ¶
func (s *UpdateLoadBalancerAttributeInput) SetLoadBalancerName(v string) *UpdateLoadBalancerAttributeInput
SetLoadBalancerName sets the LoadBalancerName field's value.
func (UpdateLoadBalancerAttributeInput) String ¶
func (s UpdateLoadBalancerAttributeInput) String() string
String returns the string representation
func (*UpdateLoadBalancerAttributeInput) Validate ¶
func (s *UpdateLoadBalancerAttributeInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateLoadBalancerAttributeOutput ¶
type UpdateLoadBalancerAttributeOutput struct { // An object describing the API operations. Operations []Operation `locationName:"operations" type:"list"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/UpdateLoadBalancerAttributeResult
func (UpdateLoadBalancerAttributeOutput) GoString ¶
func (s UpdateLoadBalancerAttributeOutput) GoString() string
GoString returns the string representation
func (UpdateLoadBalancerAttributeOutput) SDKResponseMetadata ¶
func (s UpdateLoadBalancerAttributeOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*UpdateLoadBalancerAttributeOutput) SetOperations ¶
func (s *UpdateLoadBalancerAttributeOutput) SetOperations(v []Operation) *UpdateLoadBalancerAttributeOutput
SetOperations sets the Operations field's value.
func (UpdateLoadBalancerAttributeOutput) String ¶
func (s UpdateLoadBalancerAttributeOutput) String() string
String returns the string representation
type UpdateLoadBalancerAttributeRequest ¶
type UpdateLoadBalancerAttributeRequest struct { *aws.Request Input *UpdateLoadBalancerAttributeInput }
UpdateLoadBalancerAttributeRequest is a API request type for the UpdateLoadBalancerAttribute API operation.
func (UpdateLoadBalancerAttributeRequest) Send ¶
func (r UpdateLoadBalancerAttributeRequest) Send() (*UpdateLoadBalancerAttributeOutput, error)
Send marshals and sends the UpdateLoadBalancerAttribute API request.
Directories ¶
Path | Synopsis |
---|---|
Package lightsailiface provides an interface to enable mocking the Amazon Lightsail service client for testing your code.
|
Package lightsailiface provides an interface to enable mocking the Amazon Lightsail service client for testing your code. |