aws-sdk-lightsail 1.26.0 → 1.31.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/aws-sdk-lightsail.rb +7 -4
- data/lib/aws-sdk-lightsail/client.rb +1475 -435
- data/lib/aws-sdk-lightsail/client_api.rb +259 -0
- data/lib/aws-sdk-lightsail/errors.rb +29 -7
- data/lib/aws-sdk-lightsail/resource.rb +1 -0
- data/lib/aws-sdk-lightsail/types.rb +1932 -378
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 241e05be18706803b1aa8ad4f810bbf1140f9310217c4a63edc24fec8e176c78
|
4
|
+
data.tar.gz: 513b842969df2b654ed6179a11f13b971e060750a80ccd56634f1b225f133b82
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2d58bdc297374e3f4a755428d30b6198b8d2893b0bf2a6b5e75adf75f455c5191d0abff97b1c7d01cf70c78bd76814cf10ad7faf7b4b4165fd5a7a65cc41f61a
|
7
|
+
data.tar.gz: bf61a7b28471b1571b89df823518604cc6d61af47db6d5fa912f05e9388b0cbda6c6972a7a162071aaee4f6d8bba43dab87c3be2c18db59f884cf4faa2c0753c
|
data/lib/aws-sdk-lightsail.rb
CHANGED
@@ -24,17 +24,20 @@ require_relative 'aws-sdk-lightsail/customizations'
|
|
24
24
|
# methods each accept a hash of request parameters and return a response
|
25
25
|
# structure.
|
26
26
|
#
|
27
|
+
# lightsail = Aws::Lightsail::Client.new
|
28
|
+
# resp = lightsail.allocate_static_ip(params)
|
29
|
+
#
|
27
30
|
# See {Client} for more information.
|
28
31
|
#
|
29
32
|
# # Errors
|
30
33
|
#
|
31
|
-
# Errors returned from Amazon Lightsail
|
32
|
-
# extend {Errors::ServiceError}.
|
34
|
+
# Errors returned from Amazon Lightsail are defined in the
|
35
|
+
# {Errors} module and all extend {Errors::ServiceError}.
|
33
36
|
#
|
34
37
|
# begin
|
35
38
|
# # do stuff
|
36
39
|
# rescue Aws::Lightsail::Errors::ServiceError
|
37
|
-
# # rescues all
|
40
|
+
# # rescues all Amazon Lightsail API errors
|
38
41
|
# end
|
39
42
|
#
|
40
43
|
# See {Errors} for more information.
|
@@ -42,6 +45,6 @@ require_relative 'aws-sdk-lightsail/customizations'
|
|
42
45
|
# @service
|
43
46
|
module Aws::Lightsail
|
44
47
|
|
45
|
-
GEM_VERSION = '1.
|
48
|
+
GEM_VERSION = '1.31.0'
|
46
49
|
|
47
50
|
end
|
@@ -30,6 +30,18 @@ require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
|
|
30
30
|
Aws::Plugins::GlobalConfiguration.add_identifier(:lightsail)
|
31
31
|
|
32
32
|
module Aws::Lightsail
|
33
|
+
# An API client for Lightsail. To construct a client, you need to configure a `:region` and `:credentials`.
|
34
|
+
#
|
35
|
+
# client = Aws::Lightsail::Client.new(
|
36
|
+
# region: region_name,
|
37
|
+
# credentials: credentials,
|
38
|
+
# # ...
|
39
|
+
# )
|
40
|
+
#
|
41
|
+
# For details on configuring region and credentials see
|
42
|
+
# the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
|
43
|
+
#
|
44
|
+
# See {#initialize} for a full list of supported configuration options.
|
33
45
|
class Client < Seahorse::Client::Base
|
34
46
|
|
35
47
|
include Aws::ClientStubs
|
@@ -93,7 +105,7 @@ module Aws::Lightsail
|
|
93
105
|
# @option options [required, String] :region
|
94
106
|
# The AWS region to connect to. The configured `:region` is
|
95
107
|
# used to determine the service `:endpoint`. When not passed,
|
96
|
-
# a default `:region` is
|
108
|
+
# a default `:region` is searched for in the following locations:
|
97
109
|
#
|
98
110
|
# * `Aws.config[:region]`
|
99
111
|
# * `ENV['AWS_REGION']`
|
@@ -108,6 +120,12 @@ module Aws::Lightsail
|
|
108
120
|
# When set to `true`, a thread polling for endpoints will be running in
|
109
121
|
# the background every 60 secs (default). Defaults to `false`.
|
110
122
|
#
|
123
|
+
# @option options [Boolean] :adaptive_retry_wait_to_fill (true)
|
124
|
+
# Used only in `adaptive` retry mode. When true, the request will sleep
|
125
|
+
# until there is sufficent client side capacity to retry the request.
|
126
|
+
# When false, the request will raise a `RetryCapacityNotAvailableError` and will
|
127
|
+
# not retry instead of sleeping.
|
128
|
+
#
|
111
129
|
# @option options [Boolean] :client_side_monitoring (false)
|
112
130
|
# When `true`, client-side metrics will be collected for all API requests from
|
113
131
|
# this client.
|
@@ -132,6 +150,10 @@ module Aws::Lightsail
|
|
132
150
|
# When `true`, an attempt is made to coerce request parameters into
|
133
151
|
# the required types.
|
134
152
|
#
|
153
|
+
# @option options [Boolean] :correct_clock_skew (true)
|
154
|
+
# Used only in `standard` and adaptive retry modes. Specifies whether to apply
|
155
|
+
# a clock skew correction and retry requests with skewed client clocks.
|
156
|
+
#
|
135
157
|
# @option options [Boolean] :disable_host_prefix_injection (false)
|
136
158
|
# Set to true to disable SDK automatically adding host prefix
|
137
159
|
# to default service endpoint when available.
|
@@ -139,7 +161,7 @@ module Aws::Lightsail
|
|
139
161
|
# @option options [String] :endpoint
|
140
162
|
# The client endpoint is normally constructed from the `:region`
|
141
163
|
# option. You should only configure an `:endpoint` when connecting
|
142
|
-
# to test endpoints. This should be
|
164
|
+
# to test endpoints. This should be a valid HTTP(S) URI.
|
143
165
|
#
|
144
166
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
145
167
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -154,7 +176,7 @@ module Aws::Lightsail
|
|
154
176
|
# requests fetching endpoints information. Defaults to 60 sec.
|
155
177
|
#
|
156
178
|
# @option options [Boolean] :endpoint_discovery (false)
|
157
|
-
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
179
|
+
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
158
180
|
#
|
159
181
|
# @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
|
160
182
|
# The log formatter.
|
@@ -166,15 +188,29 @@ module Aws::Lightsail
|
|
166
188
|
# The Logger instance to send log messages to. If this option
|
167
189
|
# is not set, logging will be disabled.
|
168
190
|
#
|
191
|
+
# @option options [Integer] :max_attempts (3)
|
192
|
+
# An integer representing the maximum number attempts that will be made for
|
193
|
+
# a single request, including the initial attempt. For example,
|
194
|
+
# setting this value to 5 will result in a request being retried up to
|
195
|
+
# 4 times. Used in `standard` and `adaptive` retry modes.
|
196
|
+
#
|
169
197
|
# @option options [String] :profile ("default")
|
170
198
|
# Used when loading credentials from the shared credentials file
|
171
199
|
# at HOME/.aws/credentials. When not specified, 'default' is used.
|
172
200
|
#
|
201
|
+
# @option options [Proc] :retry_backoff
|
202
|
+
# A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
|
203
|
+
# This option is only used in the `legacy` retry mode.
|
204
|
+
#
|
173
205
|
# @option options [Float] :retry_base_delay (0.3)
|
174
|
-
# The base delay in seconds used by the default backoff function.
|
206
|
+
# The base delay in seconds used by the default backoff function. This option
|
207
|
+
# is only used in the `legacy` retry mode.
|
175
208
|
#
|
176
209
|
# @option options [Symbol] :retry_jitter (:none)
|
177
|
-
# A delay randomiser function used by the default backoff function.
|
210
|
+
# A delay randomiser function used by the default backoff function.
|
211
|
+
# Some predefined functions can be referenced by name - :none, :equal, :full,
|
212
|
+
# otherwise a Proc that takes and returns a number. This option is only used
|
213
|
+
# in the `legacy` retry mode.
|
178
214
|
#
|
179
215
|
# @see https://www.awsarchitectureblog.com/2015/03/backoff.html
|
180
216
|
#
|
@@ -182,11 +218,30 @@ module Aws::Lightsail
|
|
182
218
|
# The maximum number of times to retry failed requests. Only
|
183
219
|
# ~ 500 level server errors and certain ~ 400 level client errors
|
184
220
|
# are retried. Generally, these are throttling errors, data
|
185
|
-
# checksum errors, networking errors, timeout errors
|
186
|
-
# errors from expired credentials.
|
221
|
+
# checksum errors, networking errors, timeout errors, auth errors,
|
222
|
+
# endpoint discovery, and errors from expired credentials.
|
223
|
+
# This option is only used in the `legacy` retry mode.
|
187
224
|
#
|
188
225
|
# @option options [Integer] :retry_max_delay (0)
|
189
|
-
# The maximum number of seconds to delay between retries (0 for no limit)
|
226
|
+
# The maximum number of seconds to delay between retries (0 for no limit)
|
227
|
+
# used by the default backoff function. This option is only used in the
|
228
|
+
# `legacy` retry mode.
|
229
|
+
#
|
230
|
+
# @option options [String] :retry_mode ("legacy")
|
231
|
+
# Specifies which retry algorithm to use. Values are:
|
232
|
+
#
|
233
|
+
# * `legacy` - The pre-existing retry behavior. This is default value if
|
234
|
+
# no retry mode is provided.
|
235
|
+
#
|
236
|
+
# * `standard` - A standardized set of retry rules across the AWS SDKs.
|
237
|
+
# This includes support for retry quotas, which limit the number of
|
238
|
+
# unsuccessful retries a client can make.
|
239
|
+
#
|
240
|
+
# * `adaptive` - An experimental retry mode that includes all the
|
241
|
+
# functionality of `standard` mode along with automatic client side
|
242
|
+
# throttling. This is a provisional mode that may change behavior
|
243
|
+
# in the future.
|
244
|
+
#
|
190
245
|
#
|
191
246
|
# @option options [String] :secret_access_key
|
192
247
|
#
|
@@ -219,16 +274,15 @@ module Aws::Lightsail
|
|
219
274
|
# requests through. Formatted like 'http://proxy.com:123'.
|
220
275
|
#
|
221
276
|
# @option options [Float] :http_open_timeout (15) The number of
|
222
|
-
# seconds to wait when opening a HTTP session before
|
277
|
+
# seconds to wait when opening a HTTP session before raising a
|
223
278
|
# `Timeout::Error`.
|
224
279
|
#
|
225
280
|
# @option options [Integer] :http_read_timeout (60) The default
|
226
281
|
# number of seconds to wait for response data. This value can
|
227
|
-
# safely be set
|
228
|
-
# per-request on the session yeidled by {#session_for}.
|
282
|
+
# safely be set per-request on the session.
|
229
283
|
#
|
230
284
|
# @option options [Float] :http_idle_timeout (5) The number of
|
231
|
-
# seconds a connection is allowed to sit
|
285
|
+
# seconds a connection is allowed to sit idle before it is
|
232
286
|
# considered stale. Stale connections are closed and removed
|
233
287
|
# from the pool before making a request.
|
234
288
|
#
|
@@ -237,7 +291,7 @@ module Aws::Lightsail
|
|
237
291
|
# request body. This option has no effect unless the request has
|
238
292
|
# "Expect" header set to "100-continue". Defaults to `nil` which
|
239
293
|
# disables this behaviour. This value can safely be set per
|
240
|
-
# request on the session
|
294
|
+
# request on the session.
|
241
295
|
#
|
242
296
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
243
297
|
# HTTP debug output will be sent to the `:logger`.
|
@@ -284,13 +338,13 @@ module Aws::Lightsail
|
|
284
338
|
# resp.operations #=> Array
|
285
339
|
# resp.operations[0].id #=> String
|
286
340
|
# resp.operations[0].resource_name #=> String
|
287
|
-
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord"
|
341
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord", "Alarm", "ContactMethod"
|
288
342
|
# resp.operations[0].created_at #=> Time
|
289
343
|
# resp.operations[0].location.availability_zone #=> String
|
290
344
|
# resp.operations[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
291
345
|
# resp.operations[0].is_terminal #=> Boolean
|
292
346
|
# resp.operations[0].operation_details #=> String
|
293
|
-
# resp.operations[0].operation_type #=> String, one of "DeleteKnownHostKeys", "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot", "CreateRelationalDatabase", "UpdateRelationalDatabase", "DeleteRelationalDatabase", "CreateRelationalDatabaseFromSnapshot", "CreateRelationalDatabaseSnapshot", "DeleteRelationalDatabaseSnapshot", "UpdateRelationalDatabaseParameters", "StartRelationalDatabase", "RebootRelationalDatabase", "StopRelationalDatabase", "EnableAddOn", "DisableAddOn"
|
347
|
+
# resp.operations[0].operation_type #=> String, one of "DeleteKnownHostKeys", "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot", "CreateRelationalDatabase", "UpdateRelationalDatabase", "DeleteRelationalDatabase", "CreateRelationalDatabaseFromSnapshot", "CreateRelationalDatabaseSnapshot", "DeleteRelationalDatabaseSnapshot", "UpdateRelationalDatabaseParameters", "StartRelationalDatabase", "RebootRelationalDatabase", "StopRelationalDatabase", "EnableAddOn", "DisableAddOn", "PutAlarm", "GetAlarms", "DeleteAlarm", "TestAlarm", "CreateContactMethod", "GetContactMethods", "SendContactMethodVerification", "DeleteContactMethod"
|
294
348
|
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed", "Succeeded"
|
295
349
|
# resp.operations[0].status_changed_at #=> Time
|
296
350
|
# resp.operations[0].error_code #=> String
|
@@ -343,13 +397,13 @@ module Aws::Lightsail
|
|
343
397
|
# resp.operations #=> Array
|
344
398
|
# resp.operations[0].id #=> String
|
345
399
|
# resp.operations[0].resource_name #=> String
|
346
|
-
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord"
|
400
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord", "Alarm", "ContactMethod"
|
347
401
|
# resp.operations[0].created_at #=> Time
|
348
402
|
# resp.operations[0].location.availability_zone #=> String
|
349
403
|
# resp.operations[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
350
404
|
# resp.operations[0].is_terminal #=> Boolean
|
351
405
|
# resp.operations[0].operation_details #=> String
|
352
|
-
# resp.operations[0].operation_type #=> String, one of "DeleteKnownHostKeys", "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot", "CreateRelationalDatabase", "UpdateRelationalDatabase", "DeleteRelationalDatabase", "CreateRelationalDatabaseFromSnapshot", "CreateRelationalDatabaseSnapshot", "DeleteRelationalDatabaseSnapshot", "UpdateRelationalDatabaseParameters", "StartRelationalDatabase", "RebootRelationalDatabase", "StopRelationalDatabase", "EnableAddOn", "DisableAddOn"
|
406
|
+
# resp.operations[0].operation_type #=> String, one of "DeleteKnownHostKeys", "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot", "CreateRelationalDatabase", "UpdateRelationalDatabase", "DeleteRelationalDatabase", "CreateRelationalDatabaseFromSnapshot", "CreateRelationalDatabaseSnapshot", "DeleteRelationalDatabaseSnapshot", "UpdateRelationalDatabaseParameters", "StartRelationalDatabase", "RebootRelationalDatabase", "StopRelationalDatabase", "EnableAddOn", "DisableAddOn", "PutAlarm", "GetAlarms", "DeleteAlarm", "TestAlarm", "CreateContactMethod", "GetContactMethods", "SendContactMethodVerification", "DeleteContactMethod"
|
353
407
|
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed", "Succeeded"
|
354
408
|
# resp.operations[0].status_changed_at #=> Time
|
355
409
|
# resp.operations[0].error_code #=> String
|
@@ -408,13 +462,13 @@ module Aws::Lightsail
|
|
408
462
|
# resp.operations #=> Array
|
409
463
|
# resp.operations[0].id #=> String
|
410
464
|
# resp.operations[0].resource_name #=> String
|
411
|
-
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord"
|
465
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord", "Alarm", "ContactMethod"
|
412
466
|
# resp.operations[0].created_at #=> Time
|
413
467
|
# resp.operations[0].location.availability_zone #=> String
|
414
468
|
# resp.operations[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
415
469
|
# resp.operations[0].is_terminal #=> Boolean
|
416
470
|
# resp.operations[0].operation_details #=> String
|
417
|
-
# resp.operations[0].operation_type #=> String, one of "DeleteKnownHostKeys", "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot", "CreateRelationalDatabase", "UpdateRelationalDatabase", "DeleteRelationalDatabase", "CreateRelationalDatabaseFromSnapshot", "CreateRelationalDatabaseSnapshot", "DeleteRelationalDatabaseSnapshot", "UpdateRelationalDatabaseParameters", "StartRelationalDatabase", "RebootRelationalDatabase", "StopRelationalDatabase", "EnableAddOn", "DisableAddOn"
|
471
|
+
# resp.operations[0].operation_type #=> String, one of "DeleteKnownHostKeys", "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot", "CreateRelationalDatabase", "UpdateRelationalDatabase", "DeleteRelationalDatabase", "CreateRelationalDatabaseFromSnapshot", "CreateRelationalDatabaseSnapshot", "DeleteRelationalDatabaseSnapshot", "UpdateRelationalDatabaseParameters", "StartRelationalDatabase", "RebootRelationalDatabase", "StopRelationalDatabase", "EnableAddOn", "DisableAddOn", "PutAlarm", "GetAlarms", "DeleteAlarm", "TestAlarm", "CreateContactMethod", "GetContactMethods", "SendContactMethodVerification", "DeleteContactMethod"
|
418
472
|
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed", "Succeeded"
|
419
473
|
# resp.operations[0].status_changed_at #=> Time
|
420
474
|
# resp.operations[0].error_code #=> String
|
@@ -435,14 +489,15 @@ module Aws::Lightsail
|
|
435
489
|
#
|
436
490
|
# Once you create and validate your certificate, you can attach it to
|
437
491
|
# your load balancer. You can also use this API to rotate the
|
438
|
-
# certificates on your account. Use the
|
439
|
-
#
|
440
|
-
# replace the existing one and become the
|
492
|
+
# certificates on your account. Use the
|
493
|
+
# `AttachLoadBalancerTlsCertificate` action with the non-attached
|
494
|
+
# certificate, and it will replace the existing one and become the
|
495
|
+
# attached certificate.
|
441
496
|
#
|
442
|
-
# The `
|
443
|
-
#
|
444
|
-
#
|
445
|
-
#
|
497
|
+
# The `AttachLoadBalancerTlsCertificate` operation supports tag-based
|
498
|
+
# access control via resource tags applied to the resource identified by
|
499
|
+
# `load balancer name`. For more information, see the [Lightsail Dev
|
500
|
+
# Guide][1].
|
446
501
|
#
|
447
502
|
#
|
448
503
|
#
|
@@ -471,13 +526,13 @@ module Aws::Lightsail
|
|
471
526
|
# resp.operations #=> Array
|
472
527
|
# resp.operations[0].id #=> String
|
473
528
|
# resp.operations[0].resource_name #=> String
|
474
|
-
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord"
|
529
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord", "Alarm", "ContactMethod"
|
475
530
|
# resp.operations[0].created_at #=> Time
|
476
531
|
# resp.operations[0].location.availability_zone #=> String
|
477
532
|
# resp.operations[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
478
533
|
# resp.operations[0].is_terminal #=> Boolean
|
479
534
|
# resp.operations[0].operation_details #=> String
|
480
|
-
# resp.operations[0].operation_type #=> String, one of "DeleteKnownHostKeys", "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot", "CreateRelationalDatabase", "UpdateRelationalDatabase", "DeleteRelationalDatabase", "CreateRelationalDatabaseFromSnapshot", "CreateRelationalDatabaseSnapshot", "DeleteRelationalDatabaseSnapshot", "UpdateRelationalDatabaseParameters", "StartRelationalDatabase", "RebootRelationalDatabase", "StopRelationalDatabase", "EnableAddOn", "DisableAddOn"
|
535
|
+
# resp.operations[0].operation_type #=> String, one of "DeleteKnownHostKeys", "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot", "CreateRelationalDatabase", "UpdateRelationalDatabase", "DeleteRelationalDatabase", "CreateRelationalDatabaseFromSnapshot", "CreateRelationalDatabaseSnapshot", "DeleteRelationalDatabaseSnapshot", "UpdateRelationalDatabaseParameters", "StartRelationalDatabase", "RebootRelationalDatabase", "StopRelationalDatabase", "EnableAddOn", "DisableAddOn", "PutAlarm", "GetAlarms", "DeleteAlarm", "TestAlarm", "CreateContactMethod", "GetContactMethods", "SendContactMethodVerification", "DeleteContactMethod"
|
481
536
|
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed", "Succeeded"
|
482
537
|
# resp.operations[0].status_changed_at #=> Time
|
483
538
|
# resp.operations[0].error_code #=> String
|
@@ -516,13 +571,13 @@ module Aws::Lightsail
|
|
516
571
|
# resp.operations #=> Array
|
517
572
|
# resp.operations[0].id #=> String
|
518
573
|
# resp.operations[0].resource_name #=> String
|
519
|
-
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord"
|
574
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord", "Alarm", "ContactMethod"
|
520
575
|
# resp.operations[0].created_at #=> Time
|
521
576
|
# resp.operations[0].location.availability_zone #=> String
|
522
577
|
# resp.operations[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
523
578
|
# resp.operations[0].is_terminal #=> Boolean
|
524
579
|
# resp.operations[0].operation_details #=> String
|
525
|
-
# resp.operations[0].operation_type #=> String, one of "DeleteKnownHostKeys", "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot", "CreateRelationalDatabase", "UpdateRelationalDatabase", "DeleteRelationalDatabase", "CreateRelationalDatabaseFromSnapshot", "CreateRelationalDatabaseSnapshot", "DeleteRelationalDatabaseSnapshot", "UpdateRelationalDatabaseParameters", "StartRelationalDatabase", "RebootRelationalDatabase", "StopRelationalDatabase", "EnableAddOn", "DisableAddOn"
|
580
|
+
# resp.operations[0].operation_type #=> String, one of "DeleteKnownHostKeys", "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot", "CreateRelationalDatabase", "UpdateRelationalDatabase", "DeleteRelationalDatabase", "CreateRelationalDatabaseFromSnapshot", "CreateRelationalDatabaseSnapshot", "DeleteRelationalDatabaseSnapshot", "UpdateRelationalDatabaseParameters", "StartRelationalDatabase", "RebootRelationalDatabase", "StopRelationalDatabase", "EnableAddOn", "DisableAddOn", "PutAlarm", "GetAlarms", "DeleteAlarm", "TestAlarm", "CreateContactMethod", "GetContactMethods", "SendContactMethodVerification", "DeleteContactMethod"
|
526
581
|
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed", "Succeeded"
|
527
582
|
# resp.operations[0].status_changed_at #=> Time
|
528
583
|
# resp.operations[0].error_code #=> String
|
@@ -537,11 +592,11 @@ module Aws::Lightsail
|
|
537
592
|
req.send_request(options)
|
538
593
|
end
|
539
594
|
|
540
|
-
# Closes
|
595
|
+
# Closes ports for a specific Amazon Lightsail instance.
|
541
596
|
#
|
542
|
-
# The `
|
597
|
+
# The `CloseInstancePublicPorts` action supports tag-based access
|
543
598
|
# control via resource tags applied to the resource identified by
|
544
|
-
# `
|
599
|
+
# `instanceName`. For more information, see the [Lightsail Dev
|
545
600
|
# Guide][1].
|
546
601
|
#
|
547
602
|
#
|
@@ -549,11 +604,10 @@ module Aws::Lightsail
|
|
549
604
|
# [1]: https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-controlling-access-using-tags
|
550
605
|
#
|
551
606
|
# @option params [required, Types::PortInfo] :port_info
|
552
|
-
#
|
607
|
+
# An object to describe the ports to close for the specified instance.
|
553
608
|
#
|
554
609
|
# @option params [required, String] :instance_name
|
555
|
-
# The name of the instance
|
556
|
-
# public ports.
|
610
|
+
# The name of the instance for which to close ports.
|
557
611
|
#
|
558
612
|
# @return [Types::CloseInstancePublicPortsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
559
613
|
#
|
@@ -565,7 +619,9 @@ module Aws::Lightsail
|
|
565
619
|
# port_info: { # required
|
566
620
|
# from_port: 1,
|
567
621
|
# to_port: 1,
|
568
|
-
# protocol: "tcp", # accepts tcp, all, udp
|
622
|
+
# protocol: "tcp", # accepts tcp, all, udp, icmp
|
623
|
+
# cidrs: ["string"],
|
624
|
+
# cidr_list_aliases: ["string"],
|
569
625
|
# },
|
570
626
|
# instance_name: "ResourceName", # required
|
571
627
|
# })
|
@@ -574,13 +630,13 @@ module Aws::Lightsail
|
|
574
630
|
#
|
575
631
|
# resp.operation.id #=> String
|
576
632
|
# resp.operation.resource_name #=> String
|
577
|
-
# resp.operation.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord"
|
633
|
+
# resp.operation.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord", "Alarm", "ContactMethod"
|
578
634
|
# resp.operation.created_at #=> Time
|
579
635
|
# resp.operation.location.availability_zone #=> String
|
580
636
|
# resp.operation.location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
581
637
|
# resp.operation.is_terminal #=> Boolean
|
582
638
|
# resp.operation.operation_details #=> String
|
583
|
-
# resp.operation.operation_type #=> String, one of "DeleteKnownHostKeys", "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot", "CreateRelationalDatabase", "UpdateRelationalDatabase", "DeleteRelationalDatabase", "CreateRelationalDatabaseFromSnapshot", "CreateRelationalDatabaseSnapshot", "DeleteRelationalDatabaseSnapshot", "UpdateRelationalDatabaseParameters", "StartRelationalDatabase", "RebootRelationalDatabase", "StopRelationalDatabase", "EnableAddOn", "DisableAddOn"
|
639
|
+
# resp.operation.operation_type #=> String, one of "DeleteKnownHostKeys", "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot", "CreateRelationalDatabase", "UpdateRelationalDatabase", "DeleteRelationalDatabase", "CreateRelationalDatabaseFromSnapshot", "CreateRelationalDatabaseSnapshot", "DeleteRelationalDatabaseSnapshot", "UpdateRelationalDatabaseParameters", "StartRelationalDatabase", "RebootRelationalDatabase", "StopRelationalDatabase", "EnableAddOn", "DisableAddOn", "PutAlarm", "GetAlarms", "DeleteAlarm", "TestAlarm", "CreateContactMethod", "GetContactMethods", "SendContactMethodVerification", "DeleteContactMethod"
|
584
640
|
# resp.operation.status #=> String, one of "NotStarted", "Started", "Failed", "Completed", "Succeeded"
|
585
641
|
# resp.operation.status_changed_at #=> Time
|
586
642
|
# resp.operation.error_code #=> String
|
@@ -595,11 +651,11 @@ module Aws::Lightsail
|
|
595
651
|
req.send_request(options)
|
596
652
|
end
|
597
653
|
|
598
|
-
# Copies a manual instance or disk
|
599
|
-
# or copies an automatic instance or disk
|
600
|
-
# This operation can also be used to copy a manual or
|
601
|
-
# of an instance or a disk from one AWS Region to
|
602
|
-
# Lightsail.
|
654
|
+
# Copies a manual snapshot of an instance or disk as another manual
|
655
|
+
# snapshot, or copies an automatic snapshot of an instance or disk as a
|
656
|
+
# manual snapshot. This operation can also be used to copy a manual or
|
657
|
+
# automatic snapshot of an instance or a disk from one AWS Region to
|
658
|
+
# another in Amazon Lightsail.
|
603
659
|
#
|
604
660
|
# When copying a *manual snapshot*, be sure to define the `source
|
605
661
|
# region`, `source snapshot name`, and `target snapshot name`
|
@@ -610,38 +666,36 @@ module Aws::Lightsail
|
|
610
666
|
# the `restore date` or the `use latest restorable auto snapshot`
|
611
667
|
# parameters.
|
612
668
|
#
|
613
|
-
# <note markdown="1"> Database snapshots cannot be copied at this time.
|
614
|
-
#
|
615
|
-
# </note>
|
616
|
-
#
|
617
669
|
# @option params [String] :source_snapshot_name
|
618
|
-
# The name of the source
|
670
|
+
# The name of the source manual snapshot to copy.
|
619
671
|
#
|
620
|
-
#
|
621
|
-
# manual snapshot.
|
672
|
+
# Constraint:
|
622
673
|
#
|
623
|
-
#
|
674
|
+
# * Define this parameter only when copying a manual snapshot as another
|
675
|
+
# manual snapshot.
|
676
|
+
#
|
677
|
+
# ^
|
624
678
|
#
|
625
679
|
# @option params [String] :source_resource_name
|
626
|
-
# The name of the source
|
627
|
-
# created.
|
680
|
+
# The name of the source instance or disk from which the source
|
681
|
+
# automatic snapshot was created.
|
628
682
|
#
|
629
|
-
#
|
630
|
-
# manual snapshot. For more information, see the [Lightsail Dev
|
631
|
-
# Guide][1].
|
683
|
+
# Constraint:
|
632
684
|
#
|
633
|
-
#
|
685
|
+
# * Define this parameter only when copying an automatic snapshot as a
|
686
|
+
# manual snapshot. For more information, see the [Lightsail Dev
|
687
|
+
# Guide][1].
|
634
688
|
#
|
689
|
+
# ^
|
635
690
|
#
|
636
691
|
#
|
637
|
-
# [1]: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-configuring-automatic-snapshots
|
638
692
|
#
|
639
|
-
#
|
640
|
-
# The date of the automatic snapshot to copy for the new manual
|
641
|
-
# snapshot.
|
693
|
+
# [1]: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-keeping-automatic-snapshots
|
642
694
|
#
|
643
|
-
#
|
644
|
-
#
|
695
|
+
# @option params [String] :restore_date
|
696
|
+
# The date of the source automatic snapshot to copy. Use the `get auto
|
697
|
+
# snapshots` operation to identify the dates of the available automatic
|
698
|
+
# snapshots.
|
645
699
|
#
|
646
700
|
# Constraints:
|
647
701
|
#
|
@@ -651,36 +705,34 @@ module Aws::Lightsail
|
|
651
705
|
# restorable auto snapshot` parameter. The `restore date` and `use
|
652
706
|
# latest restorable auto snapshot` parameters are mutually exclusive.
|
653
707
|
#
|
654
|
-
#
|
655
|
-
#
|
656
|
-
#
|
657
|
-
#
|
658
|
-
# </note>
|
708
|
+
# * Define this parameter only when copying an automatic snapshot as a
|
709
|
+
# manual snapshot. For more information, see the [Lightsail Dev
|
710
|
+
# Guide][1].
|
659
711
|
#
|
660
712
|
#
|
661
713
|
#
|
662
|
-
# [1]: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-
|
714
|
+
# [1]: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-keeping-automatic-snapshots
|
663
715
|
#
|
664
716
|
# @option params [Boolean] :use_latest_restorable_auto_snapshot
|
665
717
|
# A Boolean value to indicate whether to use the latest available
|
666
|
-
# automatic snapshot.
|
718
|
+
# automatic snapshot of the specified source instance or disk.
|
667
719
|
#
|
668
|
-
#
|
669
|
-
# parameter. The `use latest restorable auto snapshot` and `restore
|
670
|
-
# date` parameters are mutually exclusive.
|
720
|
+
# Constraints:
|
671
721
|
#
|
672
|
-
#
|
673
|
-
#
|
674
|
-
#
|
722
|
+
# * This parameter cannot be defined together with the `restore date`
|
723
|
+
# parameter. The `use latest restorable auto snapshot` and `restore
|
724
|
+
# date` parameters are mutually exclusive.
|
675
725
|
#
|
676
|
-
#
|
726
|
+
# * Define this parameter only when copying an automatic snapshot as a
|
727
|
+
# manual snapshot. For more information, see the [Lightsail Dev
|
728
|
+
# Guide][1].
|
677
729
|
#
|
678
730
|
#
|
679
731
|
#
|
680
|
-
# [1]: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-
|
732
|
+
# [1]: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-keeping-automatic-snapshots
|
681
733
|
#
|
682
734
|
# @option params [required, String] :target_snapshot_name
|
683
|
-
# The name of the new
|
735
|
+
# The name of the new manual snapshot to be created as a copy.
|
684
736
|
#
|
685
737
|
# @option params [required, String] :source_region
|
686
738
|
# The AWS Region where the source manual or automatic snapshot is
|
@@ -706,13 +758,13 @@ module Aws::Lightsail
|
|
706
758
|
# resp.operations #=> Array
|
707
759
|
# resp.operations[0].id #=> String
|
708
760
|
# resp.operations[0].resource_name #=> String
|
709
|
-
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord"
|
761
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord", "Alarm", "ContactMethod"
|
710
762
|
# resp.operations[0].created_at #=> Time
|
711
763
|
# resp.operations[0].location.availability_zone #=> String
|
712
764
|
# resp.operations[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
713
765
|
# resp.operations[0].is_terminal #=> Boolean
|
714
766
|
# resp.operations[0].operation_details #=> String
|
715
|
-
# resp.operations[0].operation_type #=> String, one of "DeleteKnownHostKeys", "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot", "CreateRelationalDatabase", "UpdateRelationalDatabase", "DeleteRelationalDatabase", "CreateRelationalDatabaseFromSnapshot", "CreateRelationalDatabaseSnapshot", "DeleteRelationalDatabaseSnapshot", "UpdateRelationalDatabaseParameters", "StartRelationalDatabase", "RebootRelationalDatabase", "StopRelationalDatabase", "EnableAddOn", "DisableAddOn"
|
767
|
+
# resp.operations[0].operation_type #=> String, one of "DeleteKnownHostKeys", "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot", "CreateRelationalDatabase", "UpdateRelationalDatabase", "DeleteRelationalDatabase", "CreateRelationalDatabaseFromSnapshot", "CreateRelationalDatabaseSnapshot", "DeleteRelationalDatabaseSnapshot", "UpdateRelationalDatabaseParameters", "StartRelationalDatabase", "RebootRelationalDatabase", "StopRelationalDatabase", "EnableAddOn", "DisableAddOn", "PutAlarm", "GetAlarms", "DeleteAlarm", "TestAlarm", "CreateContactMethod", "GetContactMethods", "SendContactMethodVerification", "DeleteContactMethod"
|
716
768
|
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed", "Succeeded"
|
717
769
|
# resp.operations[0].status_changed_at #=> Time
|
718
770
|
# resp.operations[0].error_code #=> String
|
@@ -766,13 +818,13 @@ module Aws::Lightsail
|
|
766
818
|
# resp.operations #=> Array
|
767
819
|
# resp.operations[0].id #=> String
|
768
820
|
# resp.operations[0].resource_name #=> String
|
769
|
-
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord"
|
821
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord", "Alarm", "ContactMethod"
|
770
822
|
# resp.operations[0].created_at #=> Time
|
771
823
|
# resp.operations[0].location.availability_zone #=> String
|
772
824
|
# resp.operations[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
773
825
|
# resp.operations[0].is_terminal #=> Boolean
|
774
826
|
# resp.operations[0].operation_details #=> String
|
775
|
-
# resp.operations[0].operation_type #=> String, one of "DeleteKnownHostKeys", "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot", "CreateRelationalDatabase", "UpdateRelationalDatabase", "DeleteRelationalDatabase", "CreateRelationalDatabaseFromSnapshot", "CreateRelationalDatabaseSnapshot", "DeleteRelationalDatabaseSnapshot", "UpdateRelationalDatabaseParameters", "StartRelationalDatabase", "RebootRelationalDatabase", "StopRelationalDatabase", "EnableAddOn", "DisableAddOn"
|
827
|
+
# resp.operations[0].operation_type #=> String, one of "DeleteKnownHostKeys", "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot", "CreateRelationalDatabase", "UpdateRelationalDatabase", "DeleteRelationalDatabase", "CreateRelationalDatabaseFromSnapshot", "CreateRelationalDatabaseSnapshot", "DeleteRelationalDatabaseSnapshot", "UpdateRelationalDatabaseParameters", "StartRelationalDatabase", "RebootRelationalDatabase", "StopRelationalDatabase", "EnableAddOn", "DisableAddOn", "PutAlarm", "GetAlarms", "DeleteAlarm", "TestAlarm", "CreateContactMethod", "GetContactMethods", "SendContactMethodVerification", "DeleteContactMethod"
|
776
828
|
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed", "Succeeded"
|
777
829
|
# resp.operations[0].status_changed_at #=> Time
|
778
830
|
# resp.operations[0].error_code #=> String
|
@@ -787,6 +839,103 @@ module Aws::Lightsail
|
|
787
839
|
req.send_request(options)
|
788
840
|
end
|
789
841
|
|
842
|
+
# Creates an email or SMS text message contact method.
|
843
|
+
#
|
844
|
+
# A contact method is used to send you notifications about your Amazon
|
845
|
+
# Lightsail resources. You can add one email address and one mobile
|
846
|
+
# phone number contact method in each AWS Region. However, SMS text
|
847
|
+
# messaging is not supported in some AWS Regions, and SMS text messages
|
848
|
+
# cannot be sent to some countries/regions. For more information, see
|
849
|
+
# [Notifications in Amazon Lightsail][1].
|
850
|
+
#
|
851
|
+
#
|
852
|
+
#
|
853
|
+
# [1]: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-notifications
|
854
|
+
#
|
855
|
+
# @option params [required, String] :protocol
|
856
|
+
# The protocol of the contact method, such as `Email` or `SMS` (text
|
857
|
+
# messaging).
|
858
|
+
#
|
859
|
+
# The `SMS` protocol is supported only in the following AWS Regions.
|
860
|
+
#
|
861
|
+
# * US East (N. Virginia) (`us-east-1`)
|
862
|
+
#
|
863
|
+
# * US West (Oregon) (`us-west-2`)
|
864
|
+
#
|
865
|
+
# * Europe (Ireland) (`eu-west-1`)
|
866
|
+
#
|
867
|
+
# * Asia Pacific (Tokyo) (`ap-northeast-1`)
|
868
|
+
#
|
869
|
+
# * Asia Pacific (Singapore) (`ap-southeast-1`)
|
870
|
+
#
|
871
|
+
# * Asia Pacific (Sydney) (`ap-southeast-2`)
|
872
|
+
#
|
873
|
+
# For a list of countries/regions where SMS text messages can be sent,
|
874
|
+
# and the latest AWS Regions where SMS text messaging is supported, see
|
875
|
+
# [Supported Regions and Countries][1] in the *Amazon SNS Developer
|
876
|
+
# Guide*.
|
877
|
+
#
|
878
|
+
# For more information about notifications in Amazon Lightsail, see
|
879
|
+
# [Notifications in Amazon Lightsail][2].
|
880
|
+
#
|
881
|
+
#
|
882
|
+
#
|
883
|
+
# [1]: https://docs.aws.amazon.com/sns/latest/dg/sns-supported-regions-countries.html
|
884
|
+
# [2]: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-notifications
|
885
|
+
#
|
886
|
+
# @option params [required, String] :contact_endpoint
|
887
|
+
# The destination of the contact method, such as an email address or a
|
888
|
+
# mobile phone number.
|
889
|
+
#
|
890
|
+
# Use the E.164 format when specifying a mobile phone number. E.164 is a
|
891
|
+
# standard for the phone number structure used for international
|
892
|
+
# telecommunication. Phone numbers that follow this format can have a
|
893
|
+
# maximum of 15 digits, and they are prefixed with the plus character
|
894
|
+
# (+) and the country code. For example, a U.S. phone number in E.164
|
895
|
+
# format would be specified as +1XXX5550100. For more information, see
|
896
|
+
# [E.164][1] on *Wikipedia*.
|
897
|
+
#
|
898
|
+
#
|
899
|
+
#
|
900
|
+
# [1]: https://en.wikipedia.org/wiki/E.164
|
901
|
+
#
|
902
|
+
# @return [Types::CreateContactMethodResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
903
|
+
#
|
904
|
+
# * {Types::CreateContactMethodResult#operations #operations} => Array<Types::Operation>
|
905
|
+
#
|
906
|
+
# @example Request syntax with placeholder values
|
907
|
+
#
|
908
|
+
# resp = client.create_contact_method({
|
909
|
+
# protocol: "Email", # required, accepts Email, SMS
|
910
|
+
# contact_endpoint: "StringMax256", # required
|
911
|
+
# })
|
912
|
+
#
|
913
|
+
# @example Response structure
|
914
|
+
#
|
915
|
+
# resp.operations #=> Array
|
916
|
+
# resp.operations[0].id #=> String
|
917
|
+
# resp.operations[0].resource_name #=> String
|
918
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord", "Alarm", "ContactMethod"
|
919
|
+
# resp.operations[0].created_at #=> Time
|
920
|
+
# resp.operations[0].location.availability_zone #=> String
|
921
|
+
# resp.operations[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
922
|
+
# resp.operations[0].is_terminal #=> Boolean
|
923
|
+
# resp.operations[0].operation_details #=> String
|
924
|
+
# resp.operations[0].operation_type #=> String, one of "DeleteKnownHostKeys", "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot", "CreateRelationalDatabase", "UpdateRelationalDatabase", "DeleteRelationalDatabase", "CreateRelationalDatabaseFromSnapshot", "CreateRelationalDatabaseSnapshot", "DeleteRelationalDatabaseSnapshot", "UpdateRelationalDatabaseParameters", "StartRelationalDatabase", "RebootRelationalDatabase", "StopRelationalDatabase", "EnableAddOn", "DisableAddOn", "PutAlarm", "GetAlarms", "DeleteAlarm", "TestAlarm", "CreateContactMethod", "GetContactMethods", "SendContactMethodVerification", "DeleteContactMethod"
|
925
|
+
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed", "Succeeded"
|
926
|
+
# resp.operations[0].status_changed_at #=> Time
|
927
|
+
# resp.operations[0].error_code #=> String
|
928
|
+
# resp.operations[0].error_details #=> String
|
929
|
+
#
|
930
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateContactMethod AWS API Documentation
|
931
|
+
#
|
932
|
+
# @overload create_contact_method(params = {})
|
933
|
+
# @param [Hash] params ({})
|
934
|
+
def create_contact_method(params = {}, options = {})
|
935
|
+
req = build_request(:create_contact_method, params)
|
936
|
+
req.send_request(options)
|
937
|
+
end
|
938
|
+
|
790
939
|
# Creates a block storage disk that can be attached to an Amazon
|
791
940
|
# Lightsail instance in the same Availability Zone (e.g., `us-east-2a`).
|
792
941
|
#
|
@@ -852,13 +1001,13 @@ module Aws::Lightsail
|
|
852
1001
|
# resp.operations #=> Array
|
853
1002
|
# resp.operations[0].id #=> String
|
854
1003
|
# resp.operations[0].resource_name #=> String
|
855
|
-
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord"
|
1004
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord", "Alarm", "ContactMethod"
|
856
1005
|
# resp.operations[0].created_at #=> Time
|
857
1006
|
# resp.operations[0].location.availability_zone #=> String
|
858
1007
|
# resp.operations[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
859
1008
|
# resp.operations[0].is_terminal #=> Boolean
|
860
1009
|
# resp.operations[0].operation_details #=> String
|
861
|
-
# resp.operations[0].operation_type #=> String, one of "DeleteKnownHostKeys", "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot", "CreateRelationalDatabase", "UpdateRelationalDatabase", "DeleteRelationalDatabase", "CreateRelationalDatabaseFromSnapshot", "CreateRelationalDatabaseSnapshot", "DeleteRelationalDatabaseSnapshot", "UpdateRelationalDatabaseParameters", "StartRelationalDatabase", "RebootRelationalDatabase", "StopRelationalDatabase", "EnableAddOn", "DisableAddOn"
|
1010
|
+
# resp.operations[0].operation_type #=> String, one of "DeleteKnownHostKeys", "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot", "CreateRelationalDatabase", "UpdateRelationalDatabase", "DeleteRelationalDatabase", "CreateRelationalDatabaseFromSnapshot", "CreateRelationalDatabaseSnapshot", "DeleteRelationalDatabaseSnapshot", "UpdateRelationalDatabaseParameters", "StartRelationalDatabase", "RebootRelationalDatabase", "StopRelationalDatabase", "EnableAddOn", "DisableAddOn", "PutAlarm", "GetAlarms", "DeleteAlarm", "TestAlarm", "CreateContactMethod", "GetContactMethods", "SendContactMethodVerification", "DeleteContactMethod"
|
862
1011
|
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed", "Succeeded"
|
863
1012
|
# resp.operations[0].status_changed_at #=> Time
|
864
1013
|
# resp.operations[0].error_code #=> String
|
@@ -893,9 +1042,13 @@ module Aws::Lightsail
|
|
893
1042
|
# The name of the disk snapshot (e.g., `my-snapshot`) from which to
|
894
1043
|
# create the new storage disk.
|
895
1044
|
#
|
896
|
-
#
|
897
|
-
#
|
898
|
-
#
|
1045
|
+
# Constraint:
|
1046
|
+
#
|
1047
|
+
# * This parameter cannot be defined together with the `source disk
|
1048
|
+
# name` parameter. The `disk snapshot name` and `source disk name`
|
1049
|
+
# parameters are mutually exclusive.
|
1050
|
+
#
|
1051
|
+
# ^
|
899
1052
|
#
|
900
1053
|
# @option params [required, String] :availability_zone
|
901
1054
|
# The Availability Zone where you want to create the disk (e.g.,
|
@@ -922,24 +1075,24 @@ module Aws::Lightsail
|
|
922
1075
|
# The name of the source disk from which the source automatic snapshot
|
923
1076
|
# was created.
|
924
1077
|
#
|
925
|
-
#
|
926
|
-
# name` parameter. The `source disk name` and `disk snapshot name`
|
927
|
-
# parameters are mutually exclusive.
|
1078
|
+
# Constraints:
|
928
1079
|
#
|
929
|
-
#
|
930
|
-
#
|
1080
|
+
# * This parameter cannot be defined together with the `disk snapshot
|
1081
|
+
# name` parameter. The `source disk name` and `disk snapshot name`
|
1082
|
+
# parameters are mutually exclusive.
|
931
1083
|
#
|
932
|
-
#
|
1084
|
+
# * Define this parameter only when creating a new disk from an
|
1085
|
+
# automatic snapshot. For more information, see the [Lightsail Dev
|
1086
|
+
# Guide][1].
|
933
1087
|
#
|
934
1088
|
#
|
935
1089
|
#
|
936
1090
|
# [1]: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-configuring-automatic-snapshots
|
937
1091
|
#
|
938
1092
|
# @option params [String] :restore_date
|
939
|
-
# The date of the automatic snapshot to use for the new disk.
|
940
|
-
#
|
941
|
-
#
|
942
|
-
# available automatic snapshots.
|
1093
|
+
# The date of the automatic snapshot to use for the new disk. Use the
|
1094
|
+
# `get auto snapshots` operation to identify the dates of the available
|
1095
|
+
# automatic snapshots.
|
943
1096
|
#
|
944
1097
|
# Constraints:
|
945
1098
|
#
|
@@ -949,10 +1102,9 @@ module Aws::Lightsail
|
|
949
1102
|
# restorable auto snapshot` parameter. The `restore date` and `use
|
950
1103
|
# latest restorable auto snapshot` parameters are mutually exclusive.
|
951
1104
|
#
|
952
|
-
#
|
953
|
-
#
|
954
|
-
#
|
955
|
-
# </note>
|
1105
|
+
# * Define this parameter only when creating a new disk from an
|
1106
|
+
# automatic snapshot. For more information, see the [Lightsail Dev
|
1107
|
+
# Guide][1].
|
956
1108
|
#
|
957
1109
|
#
|
958
1110
|
#
|
@@ -962,14 +1114,15 @@ module Aws::Lightsail
|
|
962
1114
|
# A Boolean value to indicate whether to use the latest available
|
963
1115
|
# automatic snapshot.
|
964
1116
|
#
|
965
|
-
#
|
966
|
-
# parameter. The `use latest restorable auto snapshot` and `restore
|
967
|
-
# date` parameters are mutually exclusive.
|
1117
|
+
# Constraints:
|
968
1118
|
#
|
969
|
-
#
|
970
|
-
#
|
1119
|
+
# * This parameter cannot be defined together with the `restore date`
|
1120
|
+
# parameter. The `use latest restorable auto snapshot` and `restore
|
1121
|
+
# date` parameters are mutually exclusive.
|
971
1122
|
#
|
972
|
-
#
|
1123
|
+
# * Define this parameter only when creating a new disk from an
|
1124
|
+
# automatic snapshot. For more information, see the [Lightsail Dev
|
1125
|
+
# Guide][1].
|
973
1126
|
#
|
974
1127
|
#
|
975
1128
|
#
|
@@ -1010,13 +1163,13 @@ module Aws::Lightsail
|
|
1010
1163
|
# resp.operations #=> Array
|
1011
1164
|
# resp.operations[0].id #=> String
|
1012
1165
|
# resp.operations[0].resource_name #=> String
|
1013
|
-
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord"
|
1166
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord", "Alarm", "ContactMethod"
|
1014
1167
|
# resp.operations[0].created_at #=> Time
|
1015
1168
|
# resp.operations[0].location.availability_zone #=> String
|
1016
1169
|
# resp.operations[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
1017
1170
|
# resp.operations[0].is_terminal #=> Boolean
|
1018
1171
|
# resp.operations[0].operation_details #=> String
|
1019
|
-
# resp.operations[0].operation_type #=> String, one of "DeleteKnownHostKeys", "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot", "CreateRelationalDatabase", "UpdateRelationalDatabase", "DeleteRelationalDatabase", "CreateRelationalDatabaseFromSnapshot", "CreateRelationalDatabaseSnapshot", "DeleteRelationalDatabaseSnapshot", "UpdateRelationalDatabaseParameters", "StartRelationalDatabase", "RebootRelationalDatabase", "StopRelationalDatabase", "EnableAddOn", "DisableAddOn"
|
1172
|
+
# resp.operations[0].operation_type #=> String, one of "DeleteKnownHostKeys", "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot", "CreateRelationalDatabase", "UpdateRelationalDatabase", "DeleteRelationalDatabase", "CreateRelationalDatabaseFromSnapshot", "CreateRelationalDatabaseSnapshot", "DeleteRelationalDatabaseSnapshot", "UpdateRelationalDatabaseParameters", "StartRelationalDatabase", "RebootRelationalDatabase", "StopRelationalDatabase", "EnableAddOn", "DisableAddOn", "PutAlarm", "GetAlarms", "DeleteAlarm", "TestAlarm", "CreateContactMethod", "GetContactMethods", "SendContactMethodVerification", "DeleteContactMethod"
|
1020
1173
|
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed", "Succeeded"
|
1021
1174
|
# resp.operations[0].status_changed_at #=> Time
|
1022
1175
|
# resp.operations[0].error_code #=> String
|
@@ -1118,13 +1271,13 @@ module Aws::Lightsail
|
|
1118
1271
|
# resp.operations #=> Array
|
1119
1272
|
# resp.operations[0].id #=> String
|
1120
1273
|
# resp.operations[0].resource_name #=> String
|
1121
|
-
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord"
|
1274
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord", "Alarm", "ContactMethod"
|
1122
1275
|
# resp.operations[0].created_at #=> Time
|
1123
1276
|
# resp.operations[0].location.availability_zone #=> String
|
1124
1277
|
# resp.operations[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
1125
1278
|
# resp.operations[0].is_terminal #=> Boolean
|
1126
1279
|
# resp.operations[0].operation_details #=> String
|
1127
|
-
# resp.operations[0].operation_type #=> String, one of "DeleteKnownHostKeys", "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot", "CreateRelationalDatabase", "UpdateRelationalDatabase", "DeleteRelationalDatabase", "CreateRelationalDatabaseFromSnapshot", "CreateRelationalDatabaseSnapshot", "DeleteRelationalDatabaseSnapshot", "UpdateRelationalDatabaseParameters", "StartRelationalDatabase", "RebootRelationalDatabase", "StopRelationalDatabase", "EnableAddOn", "DisableAddOn"
|
1280
|
+
# resp.operations[0].operation_type #=> String, one of "DeleteKnownHostKeys", "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot", "CreateRelationalDatabase", "UpdateRelationalDatabase", "DeleteRelationalDatabase", "CreateRelationalDatabaseFromSnapshot", "CreateRelationalDatabaseSnapshot", "DeleteRelationalDatabaseSnapshot", "UpdateRelationalDatabaseParameters", "StartRelationalDatabase", "RebootRelationalDatabase", "StopRelationalDatabase", "EnableAddOn", "DisableAddOn", "PutAlarm", "GetAlarms", "DeleteAlarm", "TestAlarm", "CreateContactMethod", "GetContactMethods", "SendContactMethodVerification", "DeleteContactMethod"
|
1128
1281
|
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed", "Succeeded"
|
1129
1282
|
# resp.operations[0].status_changed_at #=> Time
|
1130
1283
|
# resp.operations[0].error_code #=> String
|
@@ -1185,13 +1338,13 @@ module Aws::Lightsail
|
|
1185
1338
|
#
|
1186
1339
|
# resp.operation.id #=> String
|
1187
1340
|
# resp.operation.resource_name #=> String
|
1188
|
-
# resp.operation.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord"
|
1341
|
+
# resp.operation.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord", "Alarm", "ContactMethod"
|
1189
1342
|
# resp.operation.created_at #=> Time
|
1190
1343
|
# resp.operation.location.availability_zone #=> String
|
1191
1344
|
# resp.operation.location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
1192
1345
|
# resp.operation.is_terminal #=> Boolean
|
1193
1346
|
# resp.operation.operation_details #=> String
|
1194
|
-
# resp.operation.operation_type #=> String, one of "DeleteKnownHostKeys", "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot", "CreateRelationalDatabase", "UpdateRelationalDatabase", "DeleteRelationalDatabase", "CreateRelationalDatabaseFromSnapshot", "CreateRelationalDatabaseSnapshot", "DeleteRelationalDatabaseSnapshot", "UpdateRelationalDatabaseParameters", "StartRelationalDatabase", "RebootRelationalDatabase", "StopRelationalDatabase", "EnableAddOn", "DisableAddOn"
|
1347
|
+
# resp.operation.operation_type #=> String, one of "DeleteKnownHostKeys", "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot", "CreateRelationalDatabase", "UpdateRelationalDatabase", "DeleteRelationalDatabase", "CreateRelationalDatabaseFromSnapshot", "CreateRelationalDatabaseSnapshot", "DeleteRelationalDatabaseSnapshot", "UpdateRelationalDatabaseParameters", "StartRelationalDatabase", "RebootRelationalDatabase", "StopRelationalDatabase", "EnableAddOn", "DisableAddOn", "PutAlarm", "GetAlarms", "DeleteAlarm", "TestAlarm", "CreateContactMethod", "GetContactMethods", "SendContactMethodVerification", "DeleteContactMethod"
|
1195
1348
|
# resp.operation.status #=> String, one of "NotStarted", "Started", "Failed", "Completed", "Succeeded"
|
1196
1349
|
# resp.operation.status_changed_at #=> Time
|
1197
1350
|
# resp.operation.error_code #=> String
|
@@ -1250,13 +1403,13 @@ module Aws::Lightsail
|
|
1250
1403
|
#
|
1251
1404
|
# resp.operation.id #=> String
|
1252
1405
|
# resp.operation.resource_name #=> String
|
1253
|
-
# resp.operation.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord"
|
1406
|
+
# resp.operation.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord", "Alarm", "ContactMethod"
|
1254
1407
|
# resp.operation.created_at #=> Time
|
1255
1408
|
# resp.operation.location.availability_zone #=> String
|
1256
1409
|
# resp.operation.location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
1257
1410
|
# resp.operation.is_terminal #=> Boolean
|
1258
1411
|
# resp.operation.operation_details #=> String
|
1259
|
-
# resp.operation.operation_type #=> String, one of "DeleteKnownHostKeys", "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot", "CreateRelationalDatabase", "UpdateRelationalDatabase", "DeleteRelationalDatabase", "CreateRelationalDatabaseFromSnapshot", "CreateRelationalDatabaseSnapshot", "DeleteRelationalDatabaseSnapshot", "UpdateRelationalDatabaseParameters", "StartRelationalDatabase", "RebootRelationalDatabase", "StopRelationalDatabase", "EnableAddOn", "DisableAddOn"
|
1412
|
+
# resp.operation.operation_type #=> String, one of "DeleteKnownHostKeys", "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot", "CreateRelationalDatabase", "UpdateRelationalDatabase", "DeleteRelationalDatabase", "CreateRelationalDatabaseFromSnapshot", "CreateRelationalDatabaseSnapshot", "DeleteRelationalDatabaseSnapshot", "UpdateRelationalDatabaseParameters", "StartRelationalDatabase", "RebootRelationalDatabase", "StopRelationalDatabase", "EnableAddOn", "DisableAddOn", "PutAlarm", "GetAlarms", "DeleteAlarm", "TestAlarm", "CreateContactMethod", "GetContactMethods", "SendContactMethodVerification", "DeleteContactMethod"
|
1260
1413
|
# resp.operation.status #=> String, one of "NotStarted", "Started", "Failed", "Completed", "Succeeded"
|
1261
1414
|
# resp.operation.status_changed_at #=> Time
|
1262
1415
|
# resp.operation.error_code #=> String
|
@@ -1317,13 +1470,13 @@ module Aws::Lightsail
|
|
1317
1470
|
# resp.operations #=> Array
|
1318
1471
|
# resp.operations[0].id #=> String
|
1319
1472
|
# resp.operations[0].resource_name #=> String
|
1320
|
-
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord"
|
1473
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord", "Alarm", "ContactMethod"
|
1321
1474
|
# resp.operations[0].created_at #=> Time
|
1322
1475
|
# resp.operations[0].location.availability_zone #=> String
|
1323
1476
|
# resp.operations[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
1324
1477
|
# resp.operations[0].is_terminal #=> Boolean
|
1325
1478
|
# resp.operations[0].operation_details #=> String
|
1326
|
-
# resp.operations[0].operation_type #=> String, one of "DeleteKnownHostKeys", "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot", "CreateRelationalDatabase", "UpdateRelationalDatabase", "DeleteRelationalDatabase", "CreateRelationalDatabaseFromSnapshot", "CreateRelationalDatabaseSnapshot", "DeleteRelationalDatabaseSnapshot", "UpdateRelationalDatabaseParameters", "StartRelationalDatabase", "RebootRelationalDatabase", "StopRelationalDatabase", "EnableAddOn", "DisableAddOn"
|
1479
|
+
# resp.operations[0].operation_type #=> String, one of "DeleteKnownHostKeys", "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot", "CreateRelationalDatabase", "UpdateRelationalDatabase", "DeleteRelationalDatabase", "CreateRelationalDatabaseFromSnapshot", "CreateRelationalDatabaseSnapshot", "DeleteRelationalDatabaseSnapshot", "UpdateRelationalDatabaseParameters", "StartRelationalDatabase", "RebootRelationalDatabase", "StopRelationalDatabase", "EnableAddOn", "DisableAddOn", "PutAlarm", "GetAlarms", "DeleteAlarm", "TestAlarm", "CreateContactMethod", "GetContactMethods", "SendContactMethodVerification", "DeleteContactMethod"
|
1327
1480
|
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed", "Succeeded"
|
1328
1481
|
# resp.operations[0].status_changed_at #=> Time
|
1329
1482
|
# resp.operations[0].error_code #=> String
|
@@ -1452,13 +1605,13 @@ module Aws::Lightsail
|
|
1452
1605
|
# resp.operations #=> Array
|
1453
1606
|
# resp.operations[0].id #=> String
|
1454
1607
|
# resp.operations[0].resource_name #=> String
|
1455
|
-
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord"
|
1608
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord", "Alarm", "ContactMethod"
|
1456
1609
|
# resp.operations[0].created_at #=> Time
|
1457
1610
|
# resp.operations[0].location.availability_zone #=> String
|
1458
1611
|
# resp.operations[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
1459
1612
|
# resp.operations[0].is_terminal #=> Boolean
|
1460
1613
|
# resp.operations[0].operation_details #=> String
|
1461
|
-
# resp.operations[0].operation_type #=> String, one of "DeleteKnownHostKeys", "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot", "CreateRelationalDatabase", "UpdateRelationalDatabase", "DeleteRelationalDatabase", "CreateRelationalDatabaseFromSnapshot", "CreateRelationalDatabaseSnapshot", "DeleteRelationalDatabaseSnapshot", "UpdateRelationalDatabaseParameters", "StartRelationalDatabase", "RebootRelationalDatabase", "StopRelationalDatabase", "EnableAddOn", "DisableAddOn"
|
1614
|
+
# resp.operations[0].operation_type #=> String, one of "DeleteKnownHostKeys", "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot", "CreateRelationalDatabase", "UpdateRelationalDatabase", "DeleteRelationalDatabase", "CreateRelationalDatabaseFromSnapshot", "CreateRelationalDatabaseSnapshot", "DeleteRelationalDatabaseSnapshot", "UpdateRelationalDatabaseParameters", "StartRelationalDatabase", "RebootRelationalDatabase", "StopRelationalDatabase", "EnableAddOn", "DisableAddOn", "PutAlarm", "GetAlarms", "DeleteAlarm", "TestAlarm", "CreateContactMethod", "GetContactMethods", "SendContactMethodVerification", "DeleteContactMethod"
|
1462
1615
|
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed", "Succeeded"
|
1463
1616
|
# resp.operations[0].status_changed_at #=> Time
|
1464
1617
|
# resp.operations[0].error_code #=> String
|
@@ -1507,9 +1660,13 @@ module Aws::Lightsail
|
|
1507
1660
|
# instances. Use the get instance snapshots operation to return
|
1508
1661
|
# information about your existing snapshots.
|
1509
1662
|
#
|
1510
|
-
#
|
1511
|
-
#
|
1512
|
-
#
|
1663
|
+
# Constraint:
|
1664
|
+
#
|
1665
|
+
# * This parameter cannot be defined together with the `source instance
|
1666
|
+
# name` parameter. The `instance snapshot name` and `source instance
|
1667
|
+
# name` parameters are mutually exclusive.
|
1668
|
+
#
|
1669
|
+
# ^
|
1513
1670
|
#
|
1514
1671
|
# @option params [required, String] :bundle_id
|
1515
1672
|
# The bundle of specification information for your virtual private
|
@@ -1548,24 +1705,23 @@ module Aws::Lightsail
|
|
1548
1705
|
# The name of the source instance from which the source automatic
|
1549
1706
|
# snapshot was created.
|
1550
1707
|
#
|
1551
|
-
#
|
1552
|
-
# name` parameter. The `source instance name` and `instance snapshot
|
1553
|
-
# name` parameters are mutually exclusive.
|
1708
|
+
# Constraints:
|
1554
1709
|
#
|
1555
|
-
#
|
1556
|
-
#
|
1557
|
-
#
|
1710
|
+
# * This parameter cannot be defined together with the `instance
|
1711
|
+
# snapshot name` parameter. The `source instance name` and `instance
|
1712
|
+
# snapshot name` parameters are mutually exclusive.
|
1558
1713
|
#
|
1559
|
-
#
|
1714
|
+
# * Define this parameter only when creating a new instance from an
|
1715
|
+
# automatic snapshot. For more information, see the [Lightsail Dev
|
1716
|
+
# Guide][1].
|
1560
1717
|
#
|
1561
1718
|
#
|
1562
1719
|
#
|
1563
1720
|
# [1]: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-configuring-automatic-snapshots
|
1564
1721
|
#
|
1565
1722
|
# @option params [String] :restore_date
|
1566
|
-
# The date of the automatic snapshot to use for the new instance.
|
1567
|
-
#
|
1568
|
-
# Use the `get auto snapshots` operation to identify the dates of the
|
1723
|
+
# The date of the automatic snapshot to use for the new instance. Use
|
1724
|
+
# the `get auto snapshots` operation to identify the dates of the
|
1569
1725
|
# available automatic snapshots.
|
1570
1726
|
#
|
1571
1727
|
# Constraints:
|
@@ -1576,11 +1732,9 @@ module Aws::Lightsail
|
|
1576
1732
|
# restorable auto snapshot` parameter. The `restore date` and `use
|
1577
1733
|
# latest restorable auto snapshot` parameters are mutually exclusive.
|
1578
1734
|
#
|
1579
|
-
#
|
1580
|
-
#
|
1581
|
-
#
|
1582
|
-
#
|
1583
|
-
# </note>
|
1735
|
+
# * Define this parameter only when creating a new instance from an
|
1736
|
+
# automatic snapshot. For more information, see the [Lightsail Dev
|
1737
|
+
# Guide][1].
|
1584
1738
|
#
|
1585
1739
|
#
|
1586
1740
|
#
|
@@ -1590,15 +1744,15 @@ module Aws::Lightsail
|
|
1590
1744
|
# A Boolean value to indicate whether to use the latest available
|
1591
1745
|
# automatic snapshot.
|
1592
1746
|
#
|
1593
|
-
#
|
1594
|
-
# parameter. The `use latest restorable auto snapshot` and `restore
|
1595
|
-
# date` parameters are mutually exclusive.
|
1747
|
+
# Constraints:
|
1596
1748
|
#
|
1597
|
-
#
|
1598
|
-
#
|
1599
|
-
#
|
1749
|
+
# * This parameter cannot be defined together with the `restore date`
|
1750
|
+
# parameter. The `use latest restorable auto snapshot` and `restore
|
1751
|
+
# date` parameters are mutually exclusive.
|
1600
1752
|
#
|
1601
|
-
#
|
1753
|
+
# * Define this parameter only when creating a new instance from an
|
1754
|
+
# automatic snapshot. For more information, see the [Lightsail Dev
|
1755
|
+
# Guide][1].
|
1602
1756
|
#
|
1603
1757
|
#
|
1604
1758
|
#
|
@@ -1649,13 +1803,13 @@ module Aws::Lightsail
|
|
1649
1803
|
# resp.operations #=> Array
|
1650
1804
|
# resp.operations[0].id #=> String
|
1651
1805
|
# resp.operations[0].resource_name #=> String
|
1652
|
-
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord"
|
1806
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord", "Alarm", "ContactMethod"
|
1653
1807
|
# resp.operations[0].created_at #=> Time
|
1654
1808
|
# resp.operations[0].location.availability_zone #=> String
|
1655
1809
|
# resp.operations[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
1656
1810
|
# resp.operations[0].is_terminal #=> Boolean
|
1657
1811
|
# resp.operations[0].operation_details #=> String
|
1658
|
-
# resp.operations[0].operation_type #=> String, one of "DeleteKnownHostKeys", "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot", "CreateRelationalDatabase", "UpdateRelationalDatabase", "DeleteRelationalDatabase", "CreateRelationalDatabaseFromSnapshot", "CreateRelationalDatabaseSnapshot", "DeleteRelationalDatabaseSnapshot", "UpdateRelationalDatabaseParameters", "StartRelationalDatabase", "RebootRelationalDatabase", "StopRelationalDatabase", "EnableAddOn", "DisableAddOn"
|
1812
|
+
# resp.operations[0].operation_type #=> String, one of "DeleteKnownHostKeys", "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot", "CreateRelationalDatabase", "UpdateRelationalDatabase", "DeleteRelationalDatabase", "CreateRelationalDatabaseFromSnapshot", "CreateRelationalDatabaseSnapshot", "DeleteRelationalDatabaseSnapshot", "UpdateRelationalDatabaseParameters", "StartRelationalDatabase", "RebootRelationalDatabase", "StopRelationalDatabase", "EnableAddOn", "DisableAddOn", "PutAlarm", "GetAlarms", "DeleteAlarm", "TestAlarm", "CreateContactMethod", "GetContactMethods", "SendContactMethodVerification", "DeleteContactMethod"
|
1659
1813
|
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed", "Succeeded"
|
1660
1814
|
# resp.operations[0].status_changed_at #=> Time
|
1661
1815
|
# resp.operations[0].error_code #=> String
|
@@ -1715,7 +1869,7 @@ module Aws::Lightsail
|
|
1715
1869
|
# resp.key_pair.created_at #=> Time
|
1716
1870
|
# resp.key_pair.location.availability_zone #=> String
|
1717
1871
|
# resp.key_pair.location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
1718
|
-
# resp.key_pair.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord"
|
1872
|
+
# resp.key_pair.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord", "Alarm", "ContactMethod"
|
1719
1873
|
# resp.key_pair.tags #=> Array
|
1720
1874
|
# resp.key_pair.tags[0].key #=> String
|
1721
1875
|
# resp.key_pair.tags[0].value #=> String
|
@@ -1724,13 +1878,13 @@ module Aws::Lightsail
|
|
1724
1878
|
# resp.private_key_base_64 #=> String
|
1725
1879
|
# resp.operation.id #=> String
|
1726
1880
|
# resp.operation.resource_name #=> String
|
1727
|
-
# resp.operation.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord"
|
1881
|
+
# resp.operation.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord", "Alarm", "ContactMethod"
|
1728
1882
|
# resp.operation.created_at #=> Time
|
1729
1883
|
# resp.operation.location.availability_zone #=> String
|
1730
1884
|
# resp.operation.location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
1731
1885
|
# resp.operation.is_terminal #=> Boolean
|
1732
1886
|
# resp.operation.operation_details #=> String
|
1733
|
-
# resp.operation.operation_type #=> String, one of "DeleteKnownHostKeys", "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot", "CreateRelationalDatabase", "UpdateRelationalDatabase", "DeleteRelationalDatabase", "CreateRelationalDatabaseFromSnapshot", "CreateRelationalDatabaseSnapshot", "DeleteRelationalDatabaseSnapshot", "UpdateRelationalDatabaseParameters", "StartRelationalDatabase", "RebootRelationalDatabase", "StopRelationalDatabase", "EnableAddOn", "DisableAddOn"
|
1887
|
+
# resp.operation.operation_type #=> String, one of "DeleteKnownHostKeys", "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot", "CreateRelationalDatabase", "UpdateRelationalDatabase", "DeleteRelationalDatabase", "CreateRelationalDatabaseFromSnapshot", "CreateRelationalDatabaseSnapshot", "DeleteRelationalDatabaseSnapshot", "UpdateRelationalDatabaseParameters", "StartRelationalDatabase", "RebootRelationalDatabase", "StopRelationalDatabase", "EnableAddOn", "DisableAddOn", "PutAlarm", "GetAlarms", "DeleteAlarm", "TestAlarm", "CreateContactMethod", "GetContactMethods", "SendContactMethodVerification", "DeleteContactMethod"
|
1734
1888
|
# resp.operation.status #=> String, one of "NotStarted", "Started", "Failed", "Completed", "Succeeded"
|
1735
1889
|
# resp.operation.status_changed_at #=> Time
|
1736
1890
|
# resp.operation.error_code #=> String
|
@@ -1828,13 +1982,13 @@ module Aws::Lightsail
|
|
1828
1982
|
# resp.operations #=> Array
|
1829
1983
|
# resp.operations[0].id #=> String
|
1830
1984
|
# resp.operations[0].resource_name #=> String
|
1831
|
-
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord"
|
1985
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord", "Alarm", "ContactMethod"
|
1832
1986
|
# resp.operations[0].created_at #=> Time
|
1833
1987
|
# resp.operations[0].location.availability_zone #=> String
|
1834
1988
|
# resp.operations[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
1835
1989
|
# resp.operations[0].is_terminal #=> Boolean
|
1836
1990
|
# resp.operations[0].operation_details #=> String
|
1837
|
-
# resp.operations[0].operation_type #=> String, one of "DeleteKnownHostKeys", "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot", "CreateRelationalDatabase", "UpdateRelationalDatabase", "DeleteRelationalDatabase", "CreateRelationalDatabaseFromSnapshot", "CreateRelationalDatabaseSnapshot", "DeleteRelationalDatabaseSnapshot", "UpdateRelationalDatabaseParameters", "StartRelationalDatabase", "RebootRelationalDatabase", "StopRelationalDatabase", "EnableAddOn", "DisableAddOn"
|
1991
|
+
# resp.operations[0].operation_type #=> String, one of "DeleteKnownHostKeys", "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot", "CreateRelationalDatabase", "UpdateRelationalDatabase", "DeleteRelationalDatabase", "CreateRelationalDatabaseFromSnapshot", "CreateRelationalDatabaseSnapshot", "DeleteRelationalDatabaseSnapshot", "UpdateRelationalDatabaseParameters", "StartRelationalDatabase", "RebootRelationalDatabase", "StopRelationalDatabase", "EnableAddOn", "DisableAddOn", "PutAlarm", "GetAlarms", "DeleteAlarm", "TestAlarm", "CreateContactMethod", "GetContactMethods", "SendContactMethodVerification", "DeleteContactMethod"
|
1838
1992
|
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed", "Succeeded"
|
1839
1993
|
# resp.operations[0].status_changed_at #=> Time
|
1840
1994
|
# resp.operations[0].error_code #=> String
|
@@ -1854,10 +2008,10 @@ module Aws::Lightsail
|
|
1854
2008
|
# TLS is just an updated, more secure version of Secure Socket Layer
|
1855
2009
|
# (SSL).
|
1856
2010
|
#
|
1857
|
-
# The `
|
1858
|
-
#
|
1859
|
-
#
|
1860
|
-
#
|
2011
|
+
# The `CreateLoadBalancerTlsCertificate` operation supports tag-based
|
2012
|
+
# access control via resource tags applied to the resource identified by
|
2013
|
+
# `load balancer name`. For more information, see the [Lightsail Dev
|
2014
|
+
# Guide][1].
|
1861
2015
|
#
|
1862
2016
|
#
|
1863
2017
|
#
|
@@ -1919,13 +2073,13 @@ module Aws::Lightsail
|
|
1919
2073
|
# resp.operations #=> Array
|
1920
2074
|
# resp.operations[0].id #=> String
|
1921
2075
|
# resp.operations[0].resource_name #=> String
|
1922
|
-
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord"
|
2076
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord", "Alarm", "ContactMethod"
|
1923
2077
|
# resp.operations[0].created_at #=> Time
|
1924
2078
|
# resp.operations[0].location.availability_zone #=> String
|
1925
2079
|
# resp.operations[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
1926
2080
|
# resp.operations[0].is_terminal #=> Boolean
|
1927
2081
|
# resp.operations[0].operation_details #=> String
|
1928
|
-
# resp.operations[0].operation_type #=> String, one of "DeleteKnownHostKeys", "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot", "CreateRelationalDatabase", "UpdateRelationalDatabase", "DeleteRelationalDatabase", "CreateRelationalDatabaseFromSnapshot", "CreateRelationalDatabaseSnapshot", "DeleteRelationalDatabaseSnapshot", "UpdateRelationalDatabaseParameters", "StartRelationalDatabase", "RebootRelationalDatabase", "StopRelationalDatabase", "EnableAddOn", "DisableAddOn"
|
2082
|
+
# resp.operations[0].operation_type #=> String, one of "DeleteKnownHostKeys", "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot", "CreateRelationalDatabase", "UpdateRelationalDatabase", "DeleteRelationalDatabase", "CreateRelationalDatabaseFromSnapshot", "CreateRelationalDatabaseSnapshot", "DeleteRelationalDatabaseSnapshot", "UpdateRelationalDatabaseParameters", "StartRelationalDatabase", "RebootRelationalDatabase", "StopRelationalDatabase", "EnableAddOn", "DisableAddOn", "PutAlarm", "GetAlarms", "DeleteAlarm", "TestAlarm", "CreateContactMethod", "GetContactMethods", "SendContactMethodVerification", "DeleteContactMethod"
|
1929
2083
|
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed", "Succeeded"
|
1930
2084
|
# resp.operations[0].status_changed_at #=> Time
|
1931
2085
|
# resp.operations[0].error_code #=> String
|
@@ -2109,13 +2263,13 @@ module Aws::Lightsail
|
|
2109
2263
|
# resp.operations #=> Array
|
2110
2264
|
# resp.operations[0].id #=> String
|
2111
2265
|
# resp.operations[0].resource_name #=> String
|
2112
|
-
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord"
|
2266
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord", "Alarm", "ContactMethod"
|
2113
2267
|
# resp.operations[0].created_at #=> Time
|
2114
2268
|
# resp.operations[0].location.availability_zone #=> String
|
2115
2269
|
# resp.operations[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
2116
2270
|
# resp.operations[0].is_terminal #=> Boolean
|
2117
2271
|
# resp.operations[0].operation_details #=> String
|
2118
|
-
# resp.operations[0].operation_type #=> String, one of "DeleteKnownHostKeys", "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot", "CreateRelationalDatabase", "UpdateRelationalDatabase", "DeleteRelationalDatabase", "CreateRelationalDatabaseFromSnapshot", "CreateRelationalDatabaseSnapshot", "DeleteRelationalDatabaseSnapshot", "UpdateRelationalDatabaseParameters", "StartRelationalDatabase", "RebootRelationalDatabase", "StopRelationalDatabase", "EnableAddOn", "DisableAddOn"
|
2272
|
+
# resp.operations[0].operation_type #=> String, one of "DeleteKnownHostKeys", "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot", "CreateRelationalDatabase", "UpdateRelationalDatabase", "DeleteRelationalDatabase", "CreateRelationalDatabaseFromSnapshot", "CreateRelationalDatabaseSnapshot", "DeleteRelationalDatabaseSnapshot", "UpdateRelationalDatabaseParameters", "StartRelationalDatabase", "RebootRelationalDatabase", "StopRelationalDatabase", "EnableAddOn", "DisableAddOn", "PutAlarm", "GetAlarms", "DeleteAlarm", "TestAlarm", "CreateContactMethod", "GetContactMethods", "SendContactMethodVerification", "DeleteContactMethod"
|
2119
2273
|
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed", "Succeeded"
|
2120
2274
|
# resp.operations[0].status_changed_at #=> Time
|
2121
2275
|
# resp.operations[0].error_code #=> String
|
@@ -2247,13 +2401,13 @@ module Aws::Lightsail
|
|
2247
2401
|
# resp.operations #=> Array
|
2248
2402
|
# resp.operations[0].id #=> String
|
2249
2403
|
# resp.operations[0].resource_name #=> String
|
2250
|
-
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord"
|
2404
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord", "Alarm", "ContactMethod"
|
2251
2405
|
# resp.operations[0].created_at #=> Time
|
2252
2406
|
# resp.operations[0].location.availability_zone #=> String
|
2253
2407
|
# resp.operations[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
2254
2408
|
# resp.operations[0].is_terminal #=> Boolean
|
2255
2409
|
# resp.operations[0].operation_details #=> String
|
2256
|
-
# resp.operations[0].operation_type #=> String, one of "DeleteKnownHostKeys", "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot", "CreateRelationalDatabase", "UpdateRelationalDatabase", "DeleteRelationalDatabase", "CreateRelationalDatabaseFromSnapshot", "CreateRelationalDatabaseSnapshot", "DeleteRelationalDatabaseSnapshot", "UpdateRelationalDatabaseParameters", "StartRelationalDatabase", "RebootRelationalDatabase", "StopRelationalDatabase", "EnableAddOn", "DisableAddOn"
|
2410
|
+
# resp.operations[0].operation_type #=> String, one of "DeleteKnownHostKeys", "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot", "CreateRelationalDatabase", "UpdateRelationalDatabase", "DeleteRelationalDatabase", "CreateRelationalDatabaseFromSnapshot", "CreateRelationalDatabaseSnapshot", "DeleteRelationalDatabaseSnapshot", "UpdateRelationalDatabaseParameters", "StartRelationalDatabase", "RebootRelationalDatabase", "StopRelationalDatabase", "EnableAddOn", "DisableAddOn", "PutAlarm", "GetAlarms", "DeleteAlarm", "TestAlarm", "CreateContactMethod", "GetContactMethods", "SendContactMethodVerification", "DeleteContactMethod"
|
2257
2411
|
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed", "Succeeded"
|
2258
2412
|
# resp.operations[0].status_changed_at #=> Time
|
2259
2413
|
# resp.operations[0].error_code #=> String
|
@@ -2320,13 +2474,13 @@ module Aws::Lightsail
|
|
2320
2474
|
# resp.operations #=> Array
|
2321
2475
|
# resp.operations[0].id #=> String
|
2322
2476
|
# resp.operations[0].resource_name #=> String
|
2323
|
-
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord"
|
2477
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord", "Alarm", "ContactMethod"
|
2324
2478
|
# resp.operations[0].created_at #=> Time
|
2325
2479
|
# resp.operations[0].location.availability_zone #=> String
|
2326
2480
|
# resp.operations[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
2327
2481
|
# resp.operations[0].is_terminal #=> Boolean
|
2328
2482
|
# resp.operations[0].operation_details #=> String
|
2329
|
-
# resp.operations[0].operation_type #=> String, one of "DeleteKnownHostKeys", "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot", "CreateRelationalDatabase", "UpdateRelationalDatabase", "DeleteRelationalDatabase", "CreateRelationalDatabaseFromSnapshot", "CreateRelationalDatabaseSnapshot", "DeleteRelationalDatabaseSnapshot", "UpdateRelationalDatabaseParameters", "StartRelationalDatabase", "RebootRelationalDatabase", "StopRelationalDatabase", "EnableAddOn", "DisableAddOn"
|
2483
|
+
# resp.operations[0].operation_type #=> String, one of "DeleteKnownHostKeys", "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot", "CreateRelationalDatabase", "UpdateRelationalDatabase", "DeleteRelationalDatabase", "CreateRelationalDatabaseFromSnapshot", "CreateRelationalDatabaseSnapshot", "DeleteRelationalDatabaseSnapshot", "UpdateRelationalDatabaseParameters", "StartRelationalDatabase", "RebootRelationalDatabase", "StopRelationalDatabase", "EnableAddOn", "DisableAddOn", "PutAlarm", "GetAlarms", "DeleteAlarm", "TestAlarm", "CreateContactMethod", "GetContactMethods", "SendContactMethodVerification", "DeleteContactMethod"
|
2330
2484
|
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed", "Succeeded"
|
2331
2485
|
# resp.operations[0].status_changed_at #=> Time
|
2332
2486
|
# resp.operations[0].error_code #=> String
|
@@ -2341,15 +2495,69 @@ module Aws::Lightsail
|
|
2341
2495
|
req.send_request(options)
|
2342
2496
|
end
|
2343
2497
|
|
2344
|
-
# Deletes an
|
2498
|
+
# Deletes an alarm.
|
2499
|
+
#
|
2500
|
+
# An alarm is used to monitor a single metric for one of your resources.
|
2501
|
+
# When a metric condition is met, the alarm can notify you by email, SMS
|
2502
|
+
# text message, and a banner displayed on the Amazon Lightsail console.
|
2503
|
+
# For more information, see [Alarms in Amazon Lightsail][1].
|
2504
|
+
#
|
2505
|
+
#
|
2506
|
+
#
|
2507
|
+
# [1]: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-alarms
|
2508
|
+
#
|
2509
|
+
# @option params [required, String] :alarm_name
|
2510
|
+
# The name of the alarm to delete.
|
2511
|
+
#
|
2512
|
+
# @return [Types::DeleteAlarmResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2513
|
+
#
|
2514
|
+
# * {Types::DeleteAlarmResult#operations #operations} => Array<Types::Operation>
|
2515
|
+
#
|
2516
|
+
# @example Request syntax with placeholder values
|
2517
|
+
#
|
2518
|
+
# resp = client.delete_alarm({
|
2519
|
+
# alarm_name: "ResourceName", # required
|
2520
|
+
# })
|
2521
|
+
#
|
2522
|
+
# @example Response structure
|
2523
|
+
#
|
2524
|
+
# resp.operations #=> Array
|
2525
|
+
# resp.operations[0].id #=> String
|
2526
|
+
# resp.operations[0].resource_name #=> String
|
2527
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord", "Alarm", "ContactMethod"
|
2528
|
+
# resp.operations[0].created_at #=> Time
|
2529
|
+
# resp.operations[0].location.availability_zone #=> String
|
2530
|
+
# resp.operations[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
2531
|
+
# resp.operations[0].is_terminal #=> Boolean
|
2532
|
+
# resp.operations[0].operation_details #=> String
|
2533
|
+
# resp.operations[0].operation_type #=> String, one of "DeleteKnownHostKeys", "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot", "CreateRelationalDatabase", "UpdateRelationalDatabase", "DeleteRelationalDatabase", "CreateRelationalDatabaseFromSnapshot", "CreateRelationalDatabaseSnapshot", "DeleteRelationalDatabaseSnapshot", "UpdateRelationalDatabaseParameters", "StartRelationalDatabase", "RebootRelationalDatabase", "StopRelationalDatabase", "EnableAddOn", "DisableAddOn", "PutAlarm", "GetAlarms", "DeleteAlarm", "TestAlarm", "CreateContactMethod", "GetContactMethods", "SendContactMethodVerification", "DeleteContactMethod"
|
2534
|
+
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed", "Succeeded"
|
2535
|
+
# resp.operations[0].status_changed_at #=> Time
|
2536
|
+
# resp.operations[0].error_code #=> String
|
2537
|
+
# resp.operations[0].error_details #=> String
|
2538
|
+
#
|
2539
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteAlarm AWS API Documentation
|
2540
|
+
#
|
2541
|
+
# @overload delete_alarm(params = {})
|
2542
|
+
# @param [Hash] params ({})
|
2543
|
+
def delete_alarm(params = {}, options = {})
|
2544
|
+
req = build_request(:delete_alarm, params)
|
2545
|
+
req.send_request(options)
|
2546
|
+
end
|
2547
|
+
|
2548
|
+
# Deletes an automatic snapshot of an instance or disk. For more
|
2549
|
+
# information, see the [Lightsail Dev Guide][1].
|
2550
|
+
#
|
2551
|
+
#
|
2552
|
+
#
|
2553
|
+
# [1]: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-configuring-automatic-snapshots
|
2345
2554
|
#
|
2346
2555
|
# @option params [required, String] :resource_name
|
2347
|
-
# The name of the source
|
2348
|
-
# snapshot.
|
2556
|
+
# The name of the source instance or disk from which to delete the
|
2557
|
+
# automatic snapshot.
|
2349
2558
|
#
|
2350
2559
|
# @option params [required, String] :date
|
2351
2560
|
# The date of the automatic snapshot to delete in `YYYY-MM-DD` format.
|
2352
|
-
#
|
2353
2561
|
# Use the `get auto snapshots` operation to get the available automatic
|
2354
2562
|
# snapshots for a resource.
|
2355
2563
|
#
|
@@ -2369,13 +2577,13 @@ module Aws::Lightsail
|
|
2369
2577
|
# resp.operations #=> Array
|
2370
2578
|
# resp.operations[0].id #=> String
|
2371
2579
|
# resp.operations[0].resource_name #=> String
|
2372
|
-
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord"
|
2580
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord", "Alarm", "ContactMethod"
|
2373
2581
|
# resp.operations[0].created_at #=> Time
|
2374
2582
|
# resp.operations[0].location.availability_zone #=> String
|
2375
2583
|
# resp.operations[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
2376
2584
|
# resp.operations[0].is_terminal #=> Boolean
|
2377
2585
|
# resp.operations[0].operation_details #=> String
|
2378
|
-
# resp.operations[0].operation_type #=> String, one of "DeleteKnownHostKeys", "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot", "CreateRelationalDatabase", "UpdateRelationalDatabase", "DeleteRelationalDatabase", "CreateRelationalDatabaseFromSnapshot", "CreateRelationalDatabaseSnapshot", "DeleteRelationalDatabaseSnapshot", "UpdateRelationalDatabaseParameters", "StartRelationalDatabase", "RebootRelationalDatabase", "StopRelationalDatabase", "EnableAddOn", "DisableAddOn"
|
2586
|
+
# resp.operations[0].operation_type #=> String, one of "DeleteKnownHostKeys", "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot", "CreateRelationalDatabase", "UpdateRelationalDatabase", "DeleteRelationalDatabase", "CreateRelationalDatabaseFromSnapshot", "CreateRelationalDatabaseSnapshot", "DeleteRelationalDatabaseSnapshot", "UpdateRelationalDatabaseParameters", "StartRelationalDatabase", "RebootRelationalDatabase", "StopRelationalDatabase", "EnableAddOn", "DisableAddOn", "PutAlarm", "GetAlarms", "DeleteAlarm", "TestAlarm", "CreateContactMethod", "GetContactMethods", "SendContactMethodVerification", "DeleteContactMethod"
|
2379
2587
|
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed", "Succeeded"
|
2380
2588
|
# resp.operations[0].status_changed_at #=> Time
|
2381
2589
|
# resp.operations[0].error_code #=> String
|
@@ -2390,6 +2598,65 @@ module Aws::Lightsail
|
|
2390
2598
|
req.send_request(options)
|
2391
2599
|
end
|
2392
2600
|
|
2601
|
+
# Deletes a contact method.
|
2602
|
+
#
|
2603
|
+
# A contact method is used to send you notifications about your Amazon
|
2604
|
+
# Lightsail resources. You can add one email address and one mobile
|
2605
|
+
# phone number contact method in each AWS Region. However, SMS text
|
2606
|
+
# messaging is not supported in some AWS Regions, and SMS text messages
|
2607
|
+
# cannot be sent to some countries/regions. For more information, see
|
2608
|
+
# [Notifications in Amazon Lightsail][1].
|
2609
|
+
#
|
2610
|
+
#
|
2611
|
+
#
|
2612
|
+
# [1]: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-notifications
|
2613
|
+
#
|
2614
|
+
# @option params [required, String] :protocol
|
2615
|
+
# The protocol that will be deleted, such as `Email` or `SMS` (text
|
2616
|
+
# messaging).
|
2617
|
+
#
|
2618
|
+
# <note markdown="1"> To delete an `Email` and an `SMS` contact method if you added both,
|
2619
|
+
# you must run separate `DeleteContactMethod` actions to delete each
|
2620
|
+
# protocol.
|
2621
|
+
#
|
2622
|
+
# </note>
|
2623
|
+
#
|
2624
|
+
# @return [Types::DeleteContactMethodResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2625
|
+
#
|
2626
|
+
# * {Types::DeleteContactMethodResult#operations #operations} => Array<Types::Operation>
|
2627
|
+
#
|
2628
|
+
# @example Request syntax with placeholder values
|
2629
|
+
#
|
2630
|
+
# resp = client.delete_contact_method({
|
2631
|
+
# protocol: "Email", # required, accepts Email, SMS
|
2632
|
+
# })
|
2633
|
+
#
|
2634
|
+
# @example Response structure
|
2635
|
+
#
|
2636
|
+
# resp.operations #=> Array
|
2637
|
+
# resp.operations[0].id #=> String
|
2638
|
+
# resp.operations[0].resource_name #=> String
|
2639
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord", "Alarm", "ContactMethod"
|
2640
|
+
# resp.operations[0].created_at #=> Time
|
2641
|
+
# resp.operations[0].location.availability_zone #=> String
|
2642
|
+
# resp.operations[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
2643
|
+
# resp.operations[0].is_terminal #=> Boolean
|
2644
|
+
# resp.operations[0].operation_details #=> String
|
2645
|
+
# resp.operations[0].operation_type #=> String, one of "DeleteKnownHostKeys", "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot", "CreateRelationalDatabase", "UpdateRelationalDatabase", "DeleteRelationalDatabase", "CreateRelationalDatabaseFromSnapshot", "CreateRelationalDatabaseSnapshot", "DeleteRelationalDatabaseSnapshot", "UpdateRelationalDatabaseParameters", "StartRelationalDatabase", "RebootRelationalDatabase", "StopRelationalDatabase", "EnableAddOn", "DisableAddOn", "PutAlarm", "GetAlarms", "DeleteAlarm", "TestAlarm", "CreateContactMethod", "GetContactMethods", "SendContactMethodVerification", "DeleteContactMethod"
|
2646
|
+
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed", "Succeeded"
|
2647
|
+
# resp.operations[0].status_changed_at #=> Time
|
2648
|
+
# resp.operations[0].error_code #=> String
|
2649
|
+
# resp.operations[0].error_details #=> String
|
2650
|
+
#
|
2651
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteContactMethod AWS API Documentation
|
2652
|
+
#
|
2653
|
+
# @overload delete_contact_method(params = {})
|
2654
|
+
# @param [Hash] params ({})
|
2655
|
+
def delete_contact_method(params = {}, options = {})
|
2656
|
+
req = build_request(:delete_contact_method, params)
|
2657
|
+
req.send_request(options)
|
2658
|
+
end
|
2659
|
+
|
2393
2660
|
# Deletes the specified block storage disk. The disk must be in the
|
2394
2661
|
# `available` state (not attached to a Lightsail instance).
|
2395
2662
|
#
|
@@ -2428,13 +2695,13 @@ module Aws::Lightsail
|
|
2428
2695
|
# resp.operations #=> Array
|
2429
2696
|
# resp.operations[0].id #=> String
|
2430
2697
|
# resp.operations[0].resource_name #=> String
|
2431
|
-
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord"
|
2698
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord", "Alarm", "ContactMethod"
|
2432
2699
|
# resp.operations[0].created_at #=> Time
|
2433
2700
|
# resp.operations[0].location.availability_zone #=> String
|
2434
2701
|
# resp.operations[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
2435
2702
|
# resp.operations[0].is_terminal #=> Boolean
|
2436
2703
|
# resp.operations[0].operation_details #=> String
|
2437
|
-
# resp.operations[0].operation_type #=> String, one of "DeleteKnownHostKeys", "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot", "CreateRelationalDatabase", "UpdateRelationalDatabase", "DeleteRelationalDatabase", "CreateRelationalDatabaseFromSnapshot", "CreateRelationalDatabaseSnapshot", "DeleteRelationalDatabaseSnapshot", "UpdateRelationalDatabaseParameters", "StartRelationalDatabase", "RebootRelationalDatabase", "StopRelationalDatabase", "EnableAddOn", "DisableAddOn"
|
2704
|
+
# resp.operations[0].operation_type #=> String, one of "DeleteKnownHostKeys", "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot", "CreateRelationalDatabase", "UpdateRelationalDatabase", "DeleteRelationalDatabase", "CreateRelationalDatabaseFromSnapshot", "CreateRelationalDatabaseSnapshot", "DeleteRelationalDatabaseSnapshot", "UpdateRelationalDatabaseParameters", "StartRelationalDatabase", "RebootRelationalDatabase", "StopRelationalDatabase", "EnableAddOn", "DisableAddOn", "PutAlarm", "GetAlarms", "DeleteAlarm", "TestAlarm", "CreateContactMethod", "GetContactMethods", "SendContactMethodVerification", "DeleteContactMethod"
|
2438
2705
|
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed", "Succeeded"
|
2439
2706
|
# resp.operations[0].status_changed_at #=> Time
|
2440
2707
|
# resp.operations[0].error_code #=> String
|
@@ -2486,13 +2753,13 @@ module Aws::Lightsail
|
|
2486
2753
|
# resp.operations #=> Array
|
2487
2754
|
# resp.operations[0].id #=> String
|
2488
2755
|
# resp.operations[0].resource_name #=> String
|
2489
|
-
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord"
|
2756
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord", "Alarm", "ContactMethod"
|
2490
2757
|
# resp.operations[0].created_at #=> Time
|
2491
2758
|
# resp.operations[0].location.availability_zone #=> String
|
2492
2759
|
# resp.operations[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
2493
2760
|
# resp.operations[0].is_terminal #=> Boolean
|
2494
2761
|
# resp.operations[0].operation_details #=> String
|
2495
|
-
# resp.operations[0].operation_type #=> String, one of "DeleteKnownHostKeys", "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot", "CreateRelationalDatabase", "UpdateRelationalDatabase", "DeleteRelationalDatabase", "CreateRelationalDatabaseFromSnapshot", "CreateRelationalDatabaseSnapshot", "DeleteRelationalDatabaseSnapshot", "UpdateRelationalDatabaseParameters", "StartRelationalDatabase", "RebootRelationalDatabase", "StopRelationalDatabase", "EnableAddOn", "DisableAddOn"
|
2762
|
+
# resp.operations[0].operation_type #=> String, one of "DeleteKnownHostKeys", "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot", "CreateRelationalDatabase", "UpdateRelationalDatabase", "DeleteRelationalDatabase", "CreateRelationalDatabaseFromSnapshot", "CreateRelationalDatabaseSnapshot", "DeleteRelationalDatabaseSnapshot", "UpdateRelationalDatabaseParameters", "StartRelationalDatabase", "RebootRelationalDatabase", "StopRelationalDatabase", "EnableAddOn", "DisableAddOn", "PutAlarm", "GetAlarms", "DeleteAlarm", "TestAlarm", "CreateContactMethod", "GetContactMethods", "SendContactMethodVerification", "DeleteContactMethod"
|
2496
2763
|
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed", "Succeeded"
|
2497
2764
|
# resp.operations[0].status_changed_at #=> Time
|
2498
2765
|
# resp.operations[0].error_code #=> String
|
@@ -2534,13 +2801,13 @@ module Aws::Lightsail
|
|
2534
2801
|
#
|
2535
2802
|
# resp.operation.id #=> String
|
2536
2803
|
# resp.operation.resource_name #=> String
|
2537
|
-
# resp.operation.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord"
|
2804
|
+
# resp.operation.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord", "Alarm", "ContactMethod"
|
2538
2805
|
# resp.operation.created_at #=> Time
|
2539
2806
|
# resp.operation.location.availability_zone #=> String
|
2540
2807
|
# resp.operation.location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
2541
2808
|
# resp.operation.is_terminal #=> Boolean
|
2542
2809
|
# resp.operation.operation_details #=> String
|
2543
|
-
# resp.operation.operation_type #=> String, one of "DeleteKnownHostKeys", "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot", "CreateRelationalDatabase", "UpdateRelationalDatabase", "DeleteRelationalDatabase", "CreateRelationalDatabaseFromSnapshot", "CreateRelationalDatabaseSnapshot", "DeleteRelationalDatabaseSnapshot", "UpdateRelationalDatabaseParameters", "StartRelationalDatabase", "RebootRelationalDatabase", "StopRelationalDatabase", "EnableAddOn", "DisableAddOn"
|
2810
|
+
# resp.operation.operation_type #=> String, one of "DeleteKnownHostKeys", "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot", "CreateRelationalDatabase", "UpdateRelationalDatabase", "DeleteRelationalDatabase", "CreateRelationalDatabaseFromSnapshot", "CreateRelationalDatabaseSnapshot", "DeleteRelationalDatabaseSnapshot", "UpdateRelationalDatabaseParameters", "StartRelationalDatabase", "RebootRelationalDatabase", "StopRelationalDatabase", "EnableAddOn", "DisableAddOn", "PutAlarm", "GetAlarms", "DeleteAlarm", "TestAlarm", "CreateContactMethod", "GetContactMethods", "SendContactMethodVerification", "DeleteContactMethod"
|
2544
2811
|
# resp.operation.status #=> String, one of "NotStarted", "Started", "Failed", "Completed", "Succeeded"
|
2545
2812
|
# resp.operation.status_changed_at #=> Time
|
2546
2813
|
# resp.operation.error_code #=> String
|
@@ -2596,13 +2863,13 @@ module Aws::Lightsail
|
|
2596
2863
|
#
|
2597
2864
|
# resp.operation.id #=> String
|
2598
2865
|
# resp.operation.resource_name #=> String
|
2599
|
-
# resp.operation.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord"
|
2866
|
+
# resp.operation.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord", "Alarm", "ContactMethod"
|
2600
2867
|
# resp.operation.created_at #=> Time
|
2601
2868
|
# resp.operation.location.availability_zone #=> String
|
2602
2869
|
# resp.operation.location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
2603
2870
|
# resp.operation.is_terminal #=> Boolean
|
2604
2871
|
# resp.operation.operation_details #=> String
|
2605
|
-
# resp.operation.operation_type #=> String, one of "DeleteKnownHostKeys", "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot", "CreateRelationalDatabase", "UpdateRelationalDatabase", "DeleteRelationalDatabase", "CreateRelationalDatabaseFromSnapshot", "CreateRelationalDatabaseSnapshot", "DeleteRelationalDatabaseSnapshot", "UpdateRelationalDatabaseParameters", "StartRelationalDatabase", "RebootRelationalDatabase", "StopRelationalDatabase", "EnableAddOn", "DisableAddOn"
|
2872
|
+
# resp.operation.operation_type #=> String, one of "DeleteKnownHostKeys", "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot", "CreateRelationalDatabase", "UpdateRelationalDatabase", "DeleteRelationalDatabase", "CreateRelationalDatabaseFromSnapshot", "CreateRelationalDatabaseSnapshot", "DeleteRelationalDatabaseSnapshot", "UpdateRelationalDatabaseParameters", "StartRelationalDatabase", "RebootRelationalDatabase", "StopRelationalDatabase", "EnableAddOn", "DisableAddOn", "PutAlarm", "GetAlarms", "DeleteAlarm", "TestAlarm", "CreateContactMethod", "GetContactMethods", "SendContactMethodVerification", "DeleteContactMethod"
|
2606
2873
|
# resp.operation.status #=> String, one of "NotStarted", "Started", "Failed", "Completed", "Succeeded"
|
2607
2874
|
# resp.operation.status_changed_at #=> Time
|
2608
2875
|
# resp.operation.error_code #=> String
|
@@ -2650,13 +2917,13 @@ module Aws::Lightsail
|
|
2650
2917
|
# resp.operations #=> Array
|
2651
2918
|
# resp.operations[0].id #=> String
|
2652
2919
|
# resp.operations[0].resource_name #=> String
|
2653
|
-
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord"
|
2920
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord", "Alarm", "ContactMethod"
|
2654
2921
|
# resp.operations[0].created_at #=> Time
|
2655
2922
|
# resp.operations[0].location.availability_zone #=> String
|
2656
2923
|
# resp.operations[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
2657
2924
|
# resp.operations[0].is_terminal #=> Boolean
|
2658
2925
|
# resp.operations[0].operation_details #=> String
|
2659
|
-
# resp.operations[0].operation_type #=> String, one of "DeleteKnownHostKeys", "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot", "CreateRelationalDatabase", "UpdateRelationalDatabase", "DeleteRelationalDatabase", "CreateRelationalDatabaseFromSnapshot", "CreateRelationalDatabaseSnapshot", "DeleteRelationalDatabaseSnapshot", "UpdateRelationalDatabaseParameters", "StartRelationalDatabase", "RebootRelationalDatabase", "StopRelationalDatabase", "EnableAddOn", "DisableAddOn"
|
2926
|
+
# resp.operations[0].operation_type #=> String, one of "DeleteKnownHostKeys", "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot", "CreateRelationalDatabase", "UpdateRelationalDatabase", "DeleteRelationalDatabase", "CreateRelationalDatabaseFromSnapshot", "CreateRelationalDatabaseSnapshot", "DeleteRelationalDatabaseSnapshot", "UpdateRelationalDatabaseParameters", "StartRelationalDatabase", "RebootRelationalDatabase", "StopRelationalDatabase", "EnableAddOn", "DisableAddOn", "PutAlarm", "GetAlarms", "DeleteAlarm", "TestAlarm", "CreateContactMethod", "GetContactMethods", "SendContactMethodVerification", "DeleteContactMethod"
|
2660
2927
|
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed", "Succeeded"
|
2661
2928
|
# resp.operations[0].status_changed_at #=> Time
|
2662
2929
|
# resp.operations[0].error_code #=> String
|
@@ -2701,13 +2968,13 @@ module Aws::Lightsail
|
|
2701
2968
|
# resp.operations #=> Array
|
2702
2969
|
# resp.operations[0].id #=> String
|
2703
2970
|
# resp.operations[0].resource_name #=> String
|
2704
|
-
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord"
|
2971
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord", "Alarm", "ContactMethod"
|
2705
2972
|
# resp.operations[0].created_at #=> Time
|
2706
2973
|
# resp.operations[0].location.availability_zone #=> String
|
2707
2974
|
# resp.operations[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
2708
2975
|
# resp.operations[0].is_terminal #=> Boolean
|
2709
2976
|
# resp.operations[0].operation_details #=> String
|
2710
|
-
# resp.operations[0].operation_type #=> String, one of "DeleteKnownHostKeys", "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot", "CreateRelationalDatabase", "UpdateRelationalDatabase", "DeleteRelationalDatabase", "CreateRelationalDatabaseFromSnapshot", "CreateRelationalDatabaseSnapshot", "DeleteRelationalDatabaseSnapshot", "UpdateRelationalDatabaseParameters", "StartRelationalDatabase", "RebootRelationalDatabase", "StopRelationalDatabase", "EnableAddOn", "DisableAddOn"
|
2977
|
+
# resp.operations[0].operation_type #=> String, one of "DeleteKnownHostKeys", "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot", "CreateRelationalDatabase", "UpdateRelationalDatabase", "DeleteRelationalDatabase", "CreateRelationalDatabaseFromSnapshot", "CreateRelationalDatabaseSnapshot", "DeleteRelationalDatabaseSnapshot", "UpdateRelationalDatabaseParameters", "StartRelationalDatabase", "RebootRelationalDatabase", "StopRelationalDatabase", "EnableAddOn", "DisableAddOn", "PutAlarm", "GetAlarms", "DeleteAlarm", "TestAlarm", "CreateContactMethod", "GetContactMethods", "SendContactMethodVerification", "DeleteContactMethod"
|
2711
2978
|
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed", "Succeeded"
|
2712
2979
|
# resp.operations[0].status_changed_at #=> Time
|
2713
2980
|
# resp.operations[0].error_code #=> String
|
@@ -2749,13 +3016,13 @@ module Aws::Lightsail
|
|
2749
3016
|
#
|
2750
3017
|
# resp.operation.id #=> String
|
2751
3018
|
# resp.operation.resource_name #=> String
|
2752
|
-
# resp.operation.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord"
|
3019
|
+
# resp.operation.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord", "Alarm", "ContactMethod"
|
2753
3020
|
# resp.operation.created_at #=> Time
|
2754
3021
|
# resp.operation.location.availability_zone #=> String
|
2755
3022
|
# resp.operation.location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
2756
3023
|
# resp.operation.is_terminal #=> Boolean
|
2757
3024
|
# resp.operation.operation_details #=> String
|
2758
|
-
# resp.operation.operation_type #=> String, one of "DeleteKnownHostKeys", "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot", "CreateRelationalDatabase", "UpdateRelationalDatabase", "DeleteRelationalDatabase", "CreateRelationalDatabaseFromSnapshot", "CreateRelationalDatabaseSnapshot", "DeleteRelationalDatabaseSnapshot", "UpdateRelationalDatabaseParameters", "StartRelationalDatabase", "RebootRelationalDatabase", "StopRelationalDatabase", "EnableAddOn", "DisableAddOn"
|
3025
|
+
# resp.operation.operation_type #=> String, one of "DeleteKnownHostKeys", "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot", "CreateRelationalDatabase", "UpdateRelationalDatabase", "DeleteRelationalDatabase", "CreateRelationalDatabaseFromSnapshot", "CreateRelationalDatabaseSnapshot", "DeleteRelationalDatabaseSnapshot", "UpdateRelationalDatabaseParameters", "StartRelationalDatabase", "RebootRelationalDatabase", "StopRelationalDatabase", "EnableAddOn", "DisableAddOn", "PutAlarm", "GetAlarms", "DeleteAlarm", "TestAlarm", "CreateContactMethod", "GetContactMethods", "SendContactMethodVerification", "DeleteContactMethod"
|
2759
3026
|
# resp.operation.status #=> String, one of "NotStarted", "Started", "Failed", "Completed", "Succeeded"
|
2760
3027
|
# resp.operation.status_changed_at #=> Time
|
2761
3028
|
# resp.operation.error_code #=> String
|
@@ -2804,13 +3071,13 @@ module Aws::Lightsail
|
|
2804
3071
|
# resp.operations #=> Array
|
2805
3072
|
# resp.operations[0].id #=> String
|
2806
3073
|
# resp.operations[0].resource_name #=> String
|
2807
|
-
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord"
|
3074
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord", "Alarm", "ContactMethod"
|
2808
3075
|
# resp.operations[0].created_at #=> Time
|
2809
3076
|
# resp.operations[0].location.availability_zone #=> String
|
2810
3077
|
# resp.operations[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
2811
3078
|
# resp.operations[0].is_terminal #=> Boolean
|
2812
3079
|
# resp.operations[0].operation_details #=> String
|
2813
|
-
# resp.operations[0].operation_type #=> String, one of "DeleteKnownHostKeys", "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot", "CreateRelationalDatabase", "UpdateRelationalDatabase", "DeleteRelationalDatabase", "CreateRelationalDatabaseFromSnapshot", "CreateRelationalDatabaseSnapshot", "DeleteRelationalDatabaseSnapshot", "UpdateRelationalDatabaseParameters", "StartRelationalDatabase", "RebootRelationalDatabase", "StopRelationalDatabase", "EnableAddOn", "DisableAddOn"
|
3080
|
+
# resp.operations[0].operation_type #=> String, one of "DeleteKnownHostKeys", "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot", "CreateRelationalDatabase", "UpdateRelationalDatabase", "DeleteRelationalDatabase", "CreateRelationalDatabaseFromSnapshot", "CreateRelationalDatabaseSnapshot", "DeleteRelationalDatabaseSnapshot", "UpdateRelationalDatabaseParameters", "StartRelationalDatabase", "RebootRelationalDatabase", "StopRelationalDatabase", "EnableAddOn", "DisableAddOn", "PutAlarm", "GetAlarms", "DeleteAlarm", "TestAlarm", "CreateContactMethod", "GetContactMethods", "SendContactMethodVerification", "DeleteContactMethod"
|
2814
3081
|
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed", "Succeeded"
|
2815
3082
|
# resp.operations[0].status_changed_at #=> Time
|
2816
3083
|
# resp.operations[0].error_code #=> String
|
@@ -2856,13 +3123,13 @@ module Aws::Lightsail
|
|
2856
3123
|
# resp.operations #=> Array
|
2857
3124
|
# resp.operations[0].id #=> String
|
2858
3125
|
# resp.operations[0].resource_name #=> String
|
2859
|
-
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord"
|
3126
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord", "Alarm", "ContactMethod"
|
2860
3127
|
# resp.operations[0].created_at #=> Time
|
2861
3128
|
# resp.operations[0].location.availability_zone #=> String
|
2862
3129
|
# resp.operations[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
2863
3130
|
# resp.operations[0].is_terminal #=> Boolean
|
2864
3131
|
# resp.operations[0].operation_details #=> String
|
2865
|
-
# resp.operations[0].operation_type #=> String, one of "DeleteKnownHostKeys", "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot", "CreateRelationalDatabase", "UpdateRelationalDatabase", "DeleteRelationalDatabase", "CreateRelationalDatabaseFromSnapshot", "CreateRelationalDatabaseSnapshot", "DeleteRelationalDatabaseSnapshot", "UpdateRelationalDatabaseParameters", "StartRelationalDatabase", "RebootRelationalDatabase", "StopRelationalDatabase", "EnableAddOn", "DisableAddOn"
|
3132
|
+
# resp.operations[0].operation_type #=> String, one of "DeleteKnownHostKeys", "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot", "CreateRelationalDatabase", "UpdateRelationalDatabase", "DeleteRelationalDatabase", "CreateRelationalDatabaseFromSnapshot", "CreateRelationalDatabaseSnapshot", "DeleteRelationalDatabaseSnapshot", "UpdateRelationalDatabaseParameters", "StartRelationalDatabase", "RebootRelationalDatabase", "StopRelationalDatabase", "EnableAddOn", "DisableAddOn", "PutAlarm", "GetAlarms", "DeleteAlarm", "TestAlarm", "CreateContactMethod", "GetContactMethods", "SendContactMethodVerification", "DeleteContactMethod"
|
2866
3133
|
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed", "Succeeded"
|
2867
3134
|
# resp.operations[0].status_changed_at #=> Time
|
2868
3135
|
# resp.operations[0].error_code #=> String
|
@@ -2880,10 +3147,10 @@ module Aws::Lightsail
|
|
2880
3147
|
# Deletes an SSL/TLS certificate associated with a Lightsail load
|
2881
3148
|
# balancer.
|
2882
3149
|
#
|
2883
|
-
# The `
|
2884
|
-
#
|
2885
|
-
#
|
2886
|
-
#
|
3150
|
+
# The `DeleteLoadBalancerTlsCertificate` operation supports tag-based
|
3151
|
+
# access control via resource tags applied to the resource identified by
|
3152
|
+
# `load balancer name`. For more information, see the [Lightsail Dev
|
3153
|
+
# Guide][1].
|
2887
3154
|
#
|
2888
3155
|
#
|
2889
3156
|
#
|
@@ -2920,13 +3187,13 @@ module Aws::Lightsail
|
|
2920
3187
|
# resp.operations #=> Array
|
2921
3188
|
# resp.operations[0].id #=> String
|
2922
3189
|
# resp.operations[0].resource_name #=> String
|
2923
|
-
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord"
|
3190
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord", "Alarm", "ContactMethod"
|
2924
3191
|
# resp.operations[0].created_at #=> Time
|
2925
3192
|
# resp.operations[0].location.availability_zone #=> String
|
2926
3193
|
# resp.operations[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
2927
3194
|
# resp.operations[0].is_terminal #=> Boolean
|
2928
3195
|
# resp.operations[0].operation_details #=> String
|
2929
|
-
# resp.operations[0].operation_type #=> String, one of "DeleteKnownHostKeys", "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot", "CreateRelationalDatabase", "UpdateRelationalDatabase", "DeleteRelationalDatabase", "CreateRelationalDatabaseFromSnapshot", "CreateRelationalDatabaseSnapshot", "DeleteRelationalDatabaseSnapshot", "UpdateRelationalDatabaseParameters", "StartRelationalDatabase", "RebootRelationalDatabase", "StopRelationalDatabase", "EnableAddOn", "DisableAddOn"
|
3196
|
+
# resp.operations[0].operation_type #=> String, one of "DeleteKnownHostKeys", "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot", "CreateRelationalDatabase", "UpdateRelationalDatabase", "DeleteRelationalDatabase", "CreateRelationalDatabaseFromSnapshot", "CreateRelationalDatabaseSnapshot", "DeleteRelationalDatabaseSnapshot", "UpdateRelationalDatabaseParameters", "StartRelationalDatabase", "RebootRelationalDatabase", "StopRelationalDatabase", "EnableAddOn", "DisableAddOn", "PutAlarm", "GetAlarms", "DeleteAlarm", "TestAlarm", "CreateContactMethod", "GetContactMethods", "SendContactMethodVerification", "DeleteContactMethod"
|
2930
3197
|
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed", "Succeeded"
|
2931
3198
|
# resp.operations[0].status_changed_at #=> Time
|
2932
3199
|
# resp.operations[0].error_code #=> String
|
@@ -2998,13 +3265,13 @@ module Aws::Lightsail
|
|
2998
3265
|
# resp.operations #=> Array
|
2999
3266
|
# resp.operations[0].id #=> String
|
3000
3267
|
# resp.operations[0].resource_name #=> String
|
3001
|
-
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord"
|
3268
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord", "Alarm", "ContactMethod"
|
3002
3269
|
# resp.operations[0].created_at #=> Time
|
3003
3270
|
# resp.operations[0].location.availability_zone #=> String
|
3004
3271
|
# resp.operations[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
3005
3272
|
# resp.operations[0].is_terminal #=> Boolean
|
3006
3273
|
# resp.operations[0].operation_details #=> String
|
3007
|
-
# resp.operations[0].operation_type #=> String, one of "DeleteKnownHostKeys", "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot", "CreateRelationalDatabase", "UpdateRelationalDatabase", "DeleteRelationalDatabase", "CreateRelationalDatabaseFromSnapshot", "CreateRelationalDatabaseSnapshot", "DeleteRelationalDatabaseSnapshot", "UpdateRelationalDatabaseParameters", "StartRelationalDatabase", "RebootRelationalDatabase", "StopRelationalDatabase", "EnableAddOn", "DisableAddOn"
|
3274
|
+
# resp.operations[0].operation_type #=> String, one of "DeleteKnownHostKeys", "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot", "CreateRelationalDatabase", "UpdateRelationalDatabase", "DeleteRelationalDatabase", "CreateRelationalDatabaseFromSnapshot", "CreateRelationalDatabaseSnapshot", "DeleteRelationalDatabaseSnapshot", "UpdateRelationalDatabaseParameters", "StartRelationalDatabase", "RebootRelationalDatabase", "StopRelationalDatabase", "EnableAddOn", "DisableAddOn", "PutAlarm", "GetAlarms", "DeleteAlarm", "TestAlarm", "CreateContactMethod", "GetContactMethods", "SendContactMethodVerification", "DeleteContactMethod"
|
3008
3275
|
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed", "Succeeded"
|
3009
3276
|
# resp.operations[0].status_changed_at #=> Time
|
3010
3277
|
# resp.operations[0].error_code #=> String
|
@@ -3048,13 +3315,13 @@ module Aws::Lightsail
|
|
3048
3315
|
# resp.operations #=> Array
|
3049
3316
|
# resp.operations[0].id #=> String
|
3050
3317
|
# resp.operations[0].resource_name #=> String
|
3051
|
-
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord"
|
3318
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord", "Alarm", "ContactMethod"
|
3052
3319
|
# resp.operations[0].created_at #=> Time
|
3053
3320
|
# resp.operations[0].location.availability_zone #=> String
|
3054
3321
|
# resp.operations[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
3055
3322
|
# resp.operations[0].is_terminal #=> Boolean
|
3056
3323
|
# resp.operations[0].operation_details #=> String
|
3057
|
-
# resp.operations[0].operation_type #=> String, one of "DeleteKnownHostKeys", "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot", "CreateRelationalDatabase", "UpdateRelationalDatabase", "DeleteRelationalDatabase", "CreateRelationalDatabaseFromSnapshot", "CreateRelationalDatabaseSnapshot", "DeleteRelationalDatabaseSnapshot", "UpdateRelationalDatabaseParameters", "StartRelationalDatabase", "RebootRelationalDatabase", "StopRelationalDatabase", "EnableAddOn", "DisableAddOn"
|
3324
|
+
# resp.operations[0].operation_type #=> String, one of "DeleteKnownHostKeys", "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot", "CreateRelationalDatabase", "UpdateRelationalDatabase", "DeleteRelationalDatabase", "CreateRelationalDatabaseFromSnapshot", "CreateRelationalDatabaseSnapshot", "DeleteRelationalDatabaseSnapshot", "UpdateRelationalDatabaseParameters", "StartRelationalDatabase", "RebootRelationalDatabase", "StopRelationalDatabase", "EnableAddOn", "DisableAddOn", "PutAlarm", "GetAlarms", "DeleteAlarm", "TestAlarm", "CreateContactMethod", "GetContactMethods", "SendContactMethodVerification", "DeleteContactMethod"
|
3058
3325
|
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed", "Succeeded"
|
3059
3326
|
# resp.operations[0].status_changed_at #=> Time
|
3060
3327
|
# resp.operations[0].error_code #=> String
|
@@ -3100,13 +3367,13 @@ module Aws::Lightsail
|
|
3100
3367
|
# resp.operations #=> Array
|
3101
3368
|
# resp.operations[0].id #=> String
|
3102
3369
|
# resp.operations[0].resource_name #=> String
|
3103
|
-
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord"
|
3370
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord", "Alarm", "ContactMethod"
|
3104
3371
|
# resp.operations[0].created_at #=> Time
|
3105
3372
|
# resp.operations[0].location.availability_zone #=> String
|
3106
3373
|
# resp.operations[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
3107
3374
|
# resp.operations[0].is_terminal #=> Boolean
|
3108
3375
|
# resp.operations[0].operation_details #=> String
|
3109
|
-
# resp.operations[0].operation_type #=> String, one of "DeleteKnownHostKeys", "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot", "CreateRelationalDatabase", "UpdateRelationalDatabase", "DeleteRelationalDatabase", "CreateRelationalDatabaseFromSnapshot", "CreateRelationalDatabaseSnapshot", "DeleteRelationalDatabaseSnapshot", "UpdateRelationalDatabaseParameters", "StartRelationalDatabase", "RebootRelationalDatabase", "StopRelationalDatabase", "EnableAddOn", "DisableAddOn"
|
3376
|
+
# resp.operations[0].operation_type #=> String, one of "DeleteKnownHostKeys", "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot", "CreateRelationalDatabase", "UpdateRelationalDatabase", "DeleteRelationalDatabase", "CreateRelationalDatabaseFromSnapshot", "CreateRelationalDatabaseSnapshot", "DeleteRelationalDatabaseSnapshot", "UpdateRelationalDatabaseParameters", "StartRelationalDatabase", "RebootRelationalDatabase", "StopRelationalDatabase", "EnableAddOn", "DisableAddOn", "PutAlarm", "GetAlarms", "DeleteAlarm", "TestAlarm", "CreateContactMethod", "GetContactMethods", "SendContactMethodVerification", "DeleteContactMethod"
|
3110
3377
|
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed", "Succeeded"
|
3111
3378
|
# resp.operations[0].status_changed_at #=> Time
|
3112
3379
|
# resp.operations[0].error_code #=> String
|
@@ -3158,13 +3425,13 @@ module Aws::Lightsail
|
|
3158
3425
|
# resp.operations #=> Array
|
3159
3426
|
# resp.operations[0].id #=> String
|
3160
3427
|
# resp.operations[0].resource_name #=> String
|
3161
|
-
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord"
|
3428
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord", "Alarm", "ContactMethod"
|
3162
3429
|
# resp.operations[0].created_at #=> Time
|
3163
3430
|
# resp.operations[0].location.availability_zone #=> String
|
3164
3431
|
# resp.operations[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
3165
3432
|
# resp.operations[0].is_terminal #=> Boolean
|
3166
3433
|
# resp.operations[0].operation_details #=> String
|
3167
|
-
# resp.operations[0].operation_type #=> String, one of "DeleteKnownHostKeys", "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot", "CreateRelationalDatabase", "UpdateRelationalDatabase", "DeleteRelationalDatabase", "CreateRelationalDatabaseFromSnapshot", "CreateRelationalDatabaseSnapshot", "DeleteRelationalDatabaseSnapshot", "UpdateRelationalDatabaseParameters", "StartRelationalDatabase", "RebootRelationalDatabase", "StopRelationalDatabase", "EnableAddOn", "DisableAddOn"
|
3434
|
+
# resp.operations[0].operation_type #=> String, one of "DeleteKnownHostKeys", "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot", "CreateRelationalDatabase", "UpdateRelationalDatabase", "DeleteRelationalDatabase", "CreateRelationalDatabaseFromSnapshot", "CreateRelationalDatabaseSnapshot", "DeleteRelationalDatabaseSnapshot", "UpdateRelationalDatabaseParameters", "StartRelationalDatabase", "RebootRelationalDatabase", "StopRelationalDatabase", "EnableAddOn", "DisableAddOn", "PutAlarm", "GetAlarms", "DeleteAlarm", "TestAlarm", "CreateContactMethod", "GetContactMethods", "SendContactMethodVerification", "DeleteContactMethod"
|
3168
3435
|
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed", "Succeeded"
|
3169
3436
|
# resp.operations[0].status_changed_at #=> Time
|
3170
3437
|
# resp.operations[0].error_code #=> String
|
@@ -3200,13 +3467,13 @@ module Aws::Lightsail
|
|
3200
3467
|
# resp.operations #=> Array
|
3201
3468
|
# resp.operations[0].id #=> String
|
3202
3469
|
# resp.operations[0].resource_name #=> String
|
3203
|
-
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord"
|
3470
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord", "Alarm", "ContactMethod"
|
3204
3471
|
# resp.operations[0].created_at #=> Time
|
3205
3472
|
# resp.operations[0].location.availability_zone #=> String
|
3206
3473
|
# resp.operations[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
3207
3474
|
# resp.operations[0].is_terminal #=> Boolean
|
3208
3475
|
# resp.operations[0].operation_details #=> String
|
3209
|
-
# resp.operations[0].operation_type #=> String, one of "DeleteKnownHostKeys", "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot", "CreateRelationalDatabase", "UpdateRelationalDatabase", "DeleteRelationalDatabase", "CreateRelationalDatabaseFromSnapshot", "CreateRelationalDatabaseSnapshot", "DeleteRelationalDatabaseSnapshot", "UpdateRelationalDatabaseParameters", "StartRelationalDatabase", "RebootRelationalDatabase", "StopRelationalDatabase", "EnableAddOn", "DisableAddOn"
|
3476
|
+
# resp.operations[0].operation_type #=> String, one of "DeleteKnownHostKeys", "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot", "CreateRelationalDatabase", "UpdateRelationalDatabase", "DeleteRelationalDatabase", "CreateRelationalDatabaseFromSnapshot", "CreateRelationalDatabaseSnapshot", "DeleteRelationalDatabaseSnapshot", "UpdateRelationalDatabaseParameters", "StartRelationalDatabase", "RebootRelationalDatabase", "StopRelationalDatabase", "EnableAddOn", "DisableAddOn", "PutAlarm", "GetAlarms", "DeleteAlarm", "TestAlarm", "CreateContactMethod", "GetContactMethods", "SendContactMethodVerification", "DeleteContactMethod"
|
3210
3477
|
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed", "Succeeded"
|
3211
3478
|
# resp.operations[0].status_changed_at #=> Time
|
3212
3479
|
# resp.operations[0].error_code #=> String
|
@@ -3232,7 +3499,7 @@ module Aws::Lightsail
|
|
3232
3499
|
# The add-on type to disable.
|
3233
3500
|
#
|
3234
3501
|
# @option params [required, String] :resource_name
|
3235
|
-
# The name of the source resource
|
3502
|
+
# The name of the source resource for which to disable the add-on.
|
3236
3503
|
#
|
3237
3504
|
# @return [Types::DisableAddOnResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3238
3505
|
#
|
@@ -3250,13 +3517,13 @@ module Aws::Lightsail
|
|
3250
3517
|
# resp.operations #=> Array
|
3251
3518
|
# resp.operations[0].id #=> String
|
3252
3519
|
# resp.operations[0].resource_name #=> String
|
3253
|
-
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord"
|
3520
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord", "Alarm", "ContactMethod"
|
3254
3521
|
# resp.operations[0].created_at #=> Time
|
3255
3522
|
# resp.operations[0].location.availability_zone #=> String
|
3256
3523
|
# resp.operations[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
3257
3524
|
# resp.operations[0].is_terminal #=> Boolean
|
3258
3525
|
# resp.operations[0].operation_details #=> String
|
3259
|
-
# resp.operations[0].operation_type #=> String, one of "DeleteKnownHostKeys", "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot", "CreateRelationalDatabase", "UpdateRelationalDatabase", "DeleteRelationalDatabase", "CreateRelationalDatabaseFromSnapshot", "CreateRelationalDatabaseSnapshot", "DeleteRelationalDatabaseSnapshot", "UpdateRelationalDatabaseParameters", "StartRelationalDatabase", "RebootRelationalDatabase", "StopRelationalDatabase", "EnableAddOn", "DisableAddOn"
|
3526
|
+
# resp.operations[0].operation_type #=> String, one of "DeleteKnownHostKeys", "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot", "CreateRelationalDatabase", "UpdateRelationalDatabase", "DeleteRelationalDatabase", "CreateRelationalDatabaseFromSnapshot", "CreateRelationalDatabaseSnapshot", "DeleteRelationalDatabaseSnapshot", "UpdateRelationalDatabaseParameters", "StartRelationalDatabase", "RebootRelationalDatabase", "StopRelationalDatabase", "EnableAddOn", "DisableAddOn", "PutAlarm", "GetAlarms", "DeleteAlarm", "TestAlarm", "CreateContactMethod", "GetContactMethods", "SendContactMethodVerification", "DeleteContactMethod"
|
3260
3527
|
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed", "Succeeded"
|
3261
3528
|
# resp.operations[0].status_changed_at #=> Time
|
3262
3529
|
# resp.operations[0].error_code #=> String
|
@@ -3327,13 +3594,13 @@ module Aws::Lightsail
|
|
3327
3594
|
# resp.operations #=> Array
|
3328
3595
|
# resp.operations[0].id #=> String
|
3329
3596
|
# resp.operations[0].resource_name #=> String
|
3330
|
-
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord"
|
3597
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord", "Alarm", "ContactMethod"
|
3331
3598
|
# resp.operations[0].created_at #=> Time
|
3332
3599
|
# resp.operations[0].location.availability_zone #=> String
|
3333
3600
|
# resp.operations[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
3334
3601
|
# resp.operations[0].is_terminal #=> Boolean
|
3335
3602
|
# resp.operations[0].operation_details #=> String
|
3336
|
-
# resp.operations[0].operation_type #=> String, one of "DeleteKnownHostKeys", "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot", "CreateRelationalDatabase", "UpdateRelationalDatabase", "DeleteRelationalDatabase", "CreateRelationalDatabaseFromSnapshot", "CreateRelationalDatabaseSnapshot", "DeleteRelationalDatabaseSnapshot", "UpdateRelationalDatabaseParameters", "StartRelationalDatabase", "RebootRelationalDatabase", "StopRelationalDatabase", "EnableAddOn", "DisableAddOn"
|
3603
|
+
# resp.operations[0].operation_type #=> String, one of "DeleteKnownHostKeys", "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot", "CreateRelationalDatabase", "UpdateRelationalDatabase", "DeleteRelationalDatabase", "CreateRelationalDatabaseFromSnapshot", "CreateRelationalDatabaseSnapshot", "DeleteRelationalDatabaseSnapshot", "UpdateRelationalDatabaseParameters", "StartRelationalDatabase", "RebootRelationalDatabase", "StopRelationalDatabase", "EnableAddOn", "DisableAddOn", "PutAlarm", "GetAlarms", "DeleteAlarm", "TestAlarm", "CreateContactMethod", "GetContactMethods", "SendContactMethodVerification", "DeleteContactMethod"
|
3337
3604
|
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed", "Succeeded"
|
3338
3605
|
# resp.operations[0].status_changed_at #=> Time
|
3339
3606
|
# resp.operations[0].error_code #=> String
|
@@ -3394,13 +3661,13 @@ module Aws::Lightsail
|
|
3394
3661
|
# resp.operations #=> Array
|
3395
3662
|
# resp.operations[0].id #=> String
|
3396
3663
|
# resp.operations[0].resource_name #=> String
|
3397
|
-
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord"
|
3664
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord", "Alarm", "ContactMethod"
|
3398
3665
|
# resp.operations[0].created_at #=> Time
|
3399
3666
|
# resp.operations[0].location.availability_zone #=> String
|
3400
3667
|
# resp.operations[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
3401
3668
|
# resp.operations[0].is_terminal #=> Boolean
|
3402
3669
|
# resp.operations[0].operation_details #=> String
|
3403
|
-
# resp.operations[0].operation_type #=> String, one of "DeleteKnownHostKeys", "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot", "CreateRelationalDatabase", "UpdateRelationalDatabase", "DeleteRelationalDatabase", "CreateRelationalDatabaseFromSnapshot", "CreateRelationalDatabaseSnapshot", "DeleteRelationalDatabaseSnapshot", "UpdateRelationalDatabaseParameters", "StartRelationalDatabase", "RebootRelationalDatabase", "StopRelationalDatabase", "EnableAddOn", "DisableAddOn"
|
3670
|
+
# resp.operations[0].operation_type #=> String, one of "DeleteKnownHostKeys", "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot", "CreateRelationalDatabase", "UpdateRelationalDatabase", "DeleteRelationalDatabase", "CreateRelationalDatabaseFromSnapshot", "CreateRelationalDatabaseSnapshot", "DeleteRelationalDatabaseSnapshot", "UpdateRelationalDatabaseParameters", "StartRelationalDatabase", "RebootRelationalDatabase", "StopRelationalDatabase", "EnableAddOn", "DisableAddOn", "PutAlarm", "GetAlarms", "DeleteAlarm", "TestAlarm", "CreateContactMethod", "GetContactMethods", "SendContactMethodVerification", "DeleteContactMethod"
|
3404
3671
|
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed", "Succeeded"
|
3405
3672
|
# resp.operations[0].status_changed_at #=> Time
|
3406
3673
|
# resp.operations[0].error_code #=> String
|
@@ -3418,8 +3685,11 @@ module Aws::Lightsail
|
|
3418
3685
|
# Returns the names of all active (not deleted) resources.
|
3419
3686
|
#
|
3420
3687
|
# @option params [String] :page_token
|
3421
|
-
#
|
3422
|
-
#
|
3688
|
+
# The token to advance to the next page of results from your request.
|
3689
|
+
#
|
3690
|
+
# To get a page token, perform an initial `GetActiveNames` request. If
|
3691
|
+
# your results are paginated, the response will return a next page token
|
3692
|
+
# that you can specify as the page token in a subsequent request.
|
3423
3693
|
#
|
3424
3694
|
# @return [Types::GetActiveNamesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3425
3695
|
#
|
@@ -3447,16 +3717,100 @@ module Aws::Lightsail
|
|
3447
3717
|
req.send_request(options)
|
3448
3718
|
end
|
3449
3719
|
|
3450
|
-
# Returns the
|
3451
|
-
#
|
3720
|
+
# Returns information about the configured alarms. Specify an alarm name
|
3721
|
+
# in your request to return information about a specific alarm, or
|
3722
|
+
# specify a monitored resource name to return information about all
|
3723
|
+
# alarms for a specific resource.
|
3724
|
+
#
|
3725
|
+
# An alarm is used to monitor a single metric for one of your resources.
|
3726
|
+
# When a metric condition is met, the alarm can notify you by email, SMS
|
3727
|
+
# text message, and a banner displayed on the Amazon Lightsail console.
|
3728
|
+
# For more information, see [Alarms in Amazon Lightsail][1].
|
3729
|
+
#
|
3730
|
+
#
|
3731
|
+
#
|
3732
|
+
# [1]: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-alarms
|
3733
|
+
#
|
3734
|
+
# @option params [String] :alarm_name
|
3735
|
+
# The name of the alarm.
|
3736
|
+
#
|
3737
|
+
# Specify an alarm name to return information about a specific alarm.
|
3738
|
+
#
|
3739
|
+
# @option params [String] :page_token
|
3740
|
+
# The token to advance to the next page of results from your request.
|
3741
|
+
#
|
3742
|
+
# To get a page token, perform an initial `GetAlarms` request. If your
|
3743
|
+
# results are paginated, the response will return a next page token that
|
3744
|
+
# you can specify as the page token in a subsequent request.
|
3745
|
+
#
|
3746
|
+
# @option params [String] :monitored_resource_name
|
3747
|
+
# The name of the Lightsail resource being monitored by the alarm.
|
3748
|
+
#
|
3749
|
+
# Specify a monitored resource name to return information about all
|
3750
|
+
# alarms for a specific resource.
|
3751
|
+
#
|
3752
|
+
# @return [Types::GetAlarmsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3753
|
+
#
|
3754
|
+
# * {Types::GetAlarmsResult#alarms #alarms} => Array<Types::Alarm>
|
3755
|
+
# * {Types::GetAlarmsResult#next_page_token #next_page_token} => String
|
3756
|
+
#
|
3757
|
+
# @example Request syntax with placeholder values
|
3758
|
+
#
|
3759
|
+
# resp = client.get_alarms({
|
3760
|
+
# alarm_name: "ResourceName",
|
3761
|
+
# page_token: "string",
|
3762
|
+
# monitored_resource_name: "ResourceName",
|
3763
|
+
# })
|
3764
|
+
#
|
3765
|
+
# @example Response structure
|
3766
|
+
#
|
3767
|
+
# resp.alarms #=> Array
|
3768
|
+
# resp.alarms[0].name #=> String
|
3769
|
+
# resp.alarms[0].arn #=> String
|
3770
|
+
# resp.alarms[0].created_at #=> Time
|
3771
|
+
# resp.alarms[0].location.availability_zone #=> String
|
3772
|
+
# resp.alarms[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
3773
|
+
# resp.alarms[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord", "Alarm", "ContactMethod"
|
3774
|
+
# resp.alarms[0].support_code #=> String
|
3775
|
+
# resp.alarms[0].monitored_resource_info.arn #=> String
|
3776
|
+
# resp.alarms[0].monitored_resource_info.name #=> String
|
3777
|
+
# resp.alarms[0].monitored_resource_info.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord", "Alarm", "ContactMethod"
|
3778
|
+
# resp.alarms[0].comparison_operator #=> String, one of "GreaterThanOrEqualToThreshold", "GreaterThanThreshold", "LessThanThreshold", "LessThanOrEqualToThreshold"
|
3779
|
+
# resp.alarms[0].evaluation_periods #=> Integer
|
3780
|
+
# resp.alarms[0].period #=> Integer
|
3781
|
+
# resp.alarms[0].threshold #=> Float
|
3782
|
+
# resp.alarms[0].datapoints_to_alarm #=> Integer
|
3783
|
+
# resp.alarms[0].treat_missing_data #=> String, one of "breaching", "notBreaching", "ignore", "missing"
|
3784
|
+
# resp.alarms[0].statistic #=> String, one of "Minimum", "Maximum", "Sum", "Average", "SampleCount"
|
3785
|
+
# resp.alarms[0].metric_name #=> String, one of "CPUUtilization", "NetworkIn", "NetworkOut", "StatusCheckFailed", "StatusCheckFailed_Instance", "StatusCheckFailed_System", "ClientTLSNegotiationErrorCount", "HealthyHostCount", "UnhealthyHostCount", "HTTPCode_LB_4XX_Count", "HTTPCode_LB_5XX_Count", "HTTPCode_Instance_2XX_Count", "HTTPCode_Instance_3XX_Count", "HTTPCode_Instance_4XX_Count", "HTTPCode_Instance_5XX_Count", "InstanceResponseTime", "RejectedConnectionCount", "RequestCount", "DatabaseConnections", "DiskQueueDepth", "FreeStorageSpace", "NetworkReceiveThroughput", "NetworkTransmitThroughput"
|
3786
|
+
# resp.alarms[0].state #=> String, one of "OK", "ALARM", "INSUFFICIENT_DATA"
|
3787
|
+
# resp.alarms[0].unit #=> String, one of "Seconds", "Microseconds", "Milliseconds", "Bytes", "Kilobytes", "Megabytes", "Gigabytes", "Terabytes", "Bits", "Kilobits", "Megabits", "Gigabits", "Terabits", "Percent", "Count", "Bytes/Second", "Kilobytes/Second", "Megabytes/Second", "Gigabytes/Second", "Terabytes/Second", "Bits/Second", "Kilobits/Second", "Megabits/Second", "Gigabits/Second", "Terabits/Second", "Count/Second", "None"
|
3788
|
+
# resp.alarms[0].contact_protocols #=> Array
|
3789
|
+
# resp.alarms[0].contact_protocols[0] #=> String, one of "Email", "SMS"
|
3790
|
+
# resp.alarms[0].notification_triggers #=> Array
|
3791
|
+
# resp.alarms[0].notification_triggers[0] #=> String, one of "OK", "ALARM", "INSUFFICIENT_DATA"
|
3792
|
+
# resp.alarms[0].notification_enabled #=> Boolean
|
3793
|
+
# resp.next_page_token #=> String
|
3794
|
+
#
|
3795
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetAlarms AWS API Documentation
|
3796
|
+
#
|
3797
|
+
# @overload get_alarms(params = {})
|
3798
|
+
# @param [Hash] params ({})
|
3799
|
+
def get_alarms(params = {}, options = {})
|
3800
|
+
req = build_request(:get_alarms, params)
|
3801
|
+
req.send_request(options)
|
3802
|
+
end
|
3803
|
+
|
3804
|
+
# Returns the available automatic snapshots for an instance or disk. For
|
3805
|
+
# more information, see the [Lightsail Dev Guide][1].
|
3452
3806
|
#
|
3453
3807
|
#
|
3454
3808
|
#
|
3455
3809
|
# [1]: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-configuring-automatic-snapshots
|
3456
3810
|
#
|
3457
3811
|
# @option params [required, String] :resource_name
|
3458
|
-
# The name of the source
|
3459
|
-
# information.
|
3812
|
+
# The name of the source instance or disk from which to get automatic
|
3813
|
+
# snapshot information.
|
3460
3814
|
#
|
3461
3815
|
# @return [Types::GetAutoSnapshotsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3462
3816
|
#
|
@@ -3473,7 +3827,7 @@ module Aws::Lightsail
|
|
3473
3827
|
# @example Response structure
|
3474
3828
|
#
|
3475
3829
|
# resp.resource_name #=> String
|
3476
|
-
# resp.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord"
|
3830
|
+
# resp.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord", "Alarm", "ContactMethod"
|
3477
3831
|
# resp.auto_snapshots #=> Array
|
3478
3832
|
# resp.auto_snapshots[0].date #=> String
|
3479
3833
|
# resp.auto_snapshots[0].created_at #=> Time
|
@@ -3510,8 +3864,11 @@ module Aws::Lightsail
|
|
3510
3864
|
# request.
|
3511
3865
|
#
|
3512
3866
|
# @option params [String] :page_token
|
3513
|
-
#
|
3514
|
-
#
|
3867
|
+
# The token to advance to the next page of results from your request.
|
3868
|
+
#
|
3869
|
+
# To get a page token, perform an initial `GetBlueprints` request. If
|
3870
|
+
# your results are paginated, the response will return a next page token
|
3871
|
+
# that you can specify as the page token in a subsequent request.
|
3515
3872
|
#
|
3516
3873
|
# @return [Types::GetBlueprintsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3517
3874
|
#
|
@@ -3559,8 +3916,11 @@ module Aws::Lightsail
|
|
3559
3916
|
# results in your request.
|
3560
3917
|
#
|
3561
3918
|
# @option params [String] :page_token
|
3562
|
-
#
|
3563
|
-
#
|
3919
|
+
# The token to advance to the next page of results from your request.
|
3920
|
+
#
|
3921
|
+
# To get a page token, perform an initial `GetBundles` request. If your
|
3922
|
+
# results are paginated, the response will return a next page token that
|
3923
|
+
# you can specify as the page token in a subsequent request.
|
3564
3924
|
#
|
3565
3925
|
# @return [Types::GetBundlesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3566
3926
|
#
|
@@ -3607,8 +3967,12 @@ module Aws::Lightsail
|
|
3607
3967
|
# instance from an exported Lightsail snapshot.
|
3608
3968
|
#
|
3609
3969
|
# @option params [String] :page_token
|
3610
|
-
#
|
3611
|
-
#
|
3970
|
+
# The token to advance to the next page of results from your request.
|
3971
|
+
#
|
3972
|
+
# To get a page token, perform an initial `GetClouFormationStackRecords`
|
3973
|
+
# request. If your results are paginated, the response will return a
|
3974
|
+
# next page token that you can specify as the page token in a subsequent
|
3975
|
+
# request.
|
3612
3976
|
#
|
3613
3977
|
# @return [Types::GetCloudFormationStackRecordsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3614
3978
|
#
|
@@ -3629,7 +3993,7 @@ module Aws::Lightsail
|
|
3629
3993
|
# resp.cloud_formation_stack_records[0].created_at #=> Time
|
3630
3994
|
# resp.cloud_formation_stack_records[0].location.availability_zone #=> String
|
3631
3995
|
# resp.cloud_formation_stack_records[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
3632
|
-
# resp.cloud_formation_stack_records[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord"
|
3996
|
+
# resp.cloud_formation_stack_records[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord", "Alarm", "ContactMethod"
|
3633
3997
|
# resp.cloud_formation_stack_records[0].state #=> String, one of "Started", "Succeeded", "Failed"
|
3634
3998
|
# resp.cloud_formation_stack_records[0].source_info #=> Array
|
3635
3999
|
# resp.cloud_formation_stack_records[0].source_info[0].resource_type #=> String, one of "ExportSnapshotRecord"
|
@@ -3648,6 +4012,61 @@ module Aws::Lightsail
|
|
3648
4012
|
req.send_request(options)
|
3649
4013
|
end
|
3650
4014
|
|
4015
|
+
# Returns information about the configured contact methods. Specify a
|
4016
|
+
# protocol in your request to return information about a specific
|
4017
|
+
# contact method.
|
4018
|
+
#
|
4019
|
+
# A contact method is used to send you notifications about your Amazon
|
4020
|
+
# Lightsail resources. You can add one email address and one mobile
|
4021
|
+
# phone number contact method in each AWS Region. However, SMS text
|
4022
|
+
# messaging is not supported in some AWS Regions, and SMS text messages
|
4023
|
+
# cannot be sent to some countries/regions. For more information, see
|
4024
|
+
# [Notifications in Amazon Lightsail][1].
|
4025
|
+
#
|
4026
|
+
#
|
4027
|
+
#
|
4028
|
+
# [1]: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-notifications
|
4029
|
+
#
|
4030
|
+
# @option params [Array<String>] :protocols
|
4031
|
+
# The protocols used to send notifications, such as `Email`, or `SMS`
|
4032
|
+
# (text messaging).
|
4033
|
+
#
|
4034
|
+
# Specify a protocol in your request to return information about a
|
4035
|
+
# specific contact method protocol.
|
4036
|
+
#
|
4037
|
+
# @return [Types::GetContactMethodsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4038
|
+
#
|
4039
|
+
# * {Types::GetContactMethodsResult#contact_methods #contact_methods} => Array<Types::ContactMethod>
|
4040
|
+
#
|
4041
|
+
# @example Request syntax with placeholder values
|
4042
|
+
#
|
4043
|
+
# resp = client.get_contact_methods({
|
4044
|
+
# protocols: ["Email"], # accepts Email, SMS
|
4045
|
+
# })
|
4046
|
+
#
|
4047
|
+
# @example Response structure
|
4048
|
+
#
|
4049
|
+
# resp.contact_methods #=> Array
|
4050
|
+
# resp.contact_methods[0].contact_endpoint #=> String
|
4051
|
+
# resp.contact_methods[0].status #=> String, one of "PendingVerification", "Valid", "Invalid"
|
4052
|
+
# resp.contact_methods[0].protocol #=> String, one of "Email", "SMS"
|
4053
|
+
# resp.contact_methods[0].name #=> String
|
4054
|
+
# resp.contact_methods[0].arn #=> String
|
4055
|
+
# resp.contact_methods[0].created_at #=> Time
|
4056
|
+
# resp.contact_methods[0].location.availability_zone #=> String
|
4057
|
+
# resp.contact_methods[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
4058
|
+
# resp.contact_methods[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord", "Alarm", "ContactMethod"
|
4059
|
+
# resp.contact_methods[0].support_code #=> String
|
4060
|
+
#
|
4061
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetContactMethods AWS API Documentation
|
4062
|
+
#
|
4063
|
+
# @overload get_contact_methods(params = {})
|
4064
|
+
# @param [Hash] params ({})
|
4065
|
+
def get_contact_methods(params = {}, options = {})
|
4066
|
+
req = build_request(:get_contact_methods, params)
|
4067
|
+
req.send_request(options)
|
4068
|
+
end
|
4069
|
+
|
3651
4070
|
# Returns information about a specific block storage disk.
|
3652
4071
|
#
|
3653
4072
|
# @option params [required, String] :disk_name
|
@@ -3671,7 +4090,7 @@ module Aws::Lightsail
|
|
3671
4090
|
# resp.disk.created_at #=> Time
|
3672
4091
|
# resp.disk.location.availability_zone #=> String
|
3673
4092
|
# resp.disk.location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
3674
|
-
# resp.disk.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord"
|
4093
|
+
# resp.disk.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord", "Alarm", "ContactMethod"
|
3675
4094
|
# resp.disk.tags #=> Array
|
3676
4095
|
# resp.disk.tags[0].key #=> String
|
3677
4096
|
# resp.disk.tags[0].value #=> String
|
@@ -3722,7 +4141,7 @@ module Aws::Lightsail
|
|
3722
4141
|
# resp.disk_snapshot.created_at #=> Time
|
3723
4142
|
# resp.disk_snapshot.location.availability_zone #=> String
|
3724
4143
|
# resp.disk_snapshot.location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
3725
|
-
# resp.disk_snapshot.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord"
|
4144
|
+
# resp.disk_snapshot.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord", "Alarm", "ContactMethod"
|
3726
4145
|
# resp.disk_snapshot.tags #=> Array
|
3727
4146
|
# resp.disk_snapshot.tags[0].key #=> String
|
3728
4147
|
# resp.disk_snapshot.tags[0].value #=> String
|
@@ -3747,13 +4166,12 @@ module Aws::Lightsail
|
|
3747
4166
|
# Returns information about all block storage disk snapshots in your AWS
|
3748
4167
|
# account and region.
|
3749
4168
|
#
|
3750
|
-
# If you are describing a long list of disk snapshots, you can paginate
|
3751
|
-
# the output to make the list more manageable. You can use the pageToken
|
3752
|
-
# and nextPageToken values to retrieve the next items in the list.
|
3753
|
-
#
|
3754
4169
|
# @option params [String] :page_token
|
3755
|
-
#
|
3756
|
-
#
|
4170
|
+
# The token to advance to the next page of results from your request.
|
4171
|
+
#
|
4172
|
+
# To get a page token, perform an initial `GetDiskSnapshots` request. If
|
4173
|
+
# your results are paginated, the response will return a next page token
|
4174
|
+
# that you can specify as the page token in a subsequent request.
|
3757
4175
|
#
|
3758
4176
|
# @return [Types::GetDiskSnapshotsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3759
4177
|
#
|
@@ -3775,7 +4193,7 @@ module Aws::Lightsail
|
|
3775
4193
|
# resp.disk_snapshots[0].created_at #=> Time
|
3776
4194
|
# resp.disk_snapshots[0].location.availability_zone #=> String
|
3777
4195
|
# resp.disk_snapshots[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
3778
|
-
# resp.disk_snapshots[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord"
|
4196
|
+
# resp.disk_snapshots[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord", "Alarm", "ContactMethod"
|
3779
4197
|
# resp.disk_snapshots[0].tags #=> Array
|
3780
4198
|
# resp.disk_snapshots[0].tags[0].key #=> String
|
3781
4199
|
# resp.disk_snapshots[0].tags[0].value #=> String
|
@@ -3801,13 +4219,12 @@ module Aws::Lightsail
|
|
3801
4219
|
# Returns information about all block storage disks in your AWS account
|
3802
4220
|
# and region.
|
3803
4221
|
#
|
3804
|
-
# If you are describing a long list of disks, you can paginate the
|
3805
|
-
# output to make the list more manageable. You can use the pageToken and
|
3806
|
-
# nextPageToken values to retrieve the next items in the list.
|
3807
|
-
#
|
3808
4222
|
# @option params [String] :page_token
|
3809
|
-
#
|
3810
|
-
#
|
4223
|
+
# The token to advance to the next page of results from your request.
|
4224
|
+
#
|
4225
|
+
# To get a page token, perform an initial `GetDisks` request. If your
|
4226
|
+
# results are paginated, the response will return a next page token that
|
4227
|
+
# you can specify as the page token in a subsequent request.
|
3811
4228
|
#
|
3812
4229
|
# @return [Types::GetDisksResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3813
4230
|
#
|
@@ -3829,7 +4246,7 @@ module Aws::Lightsail
|
|
3829
4246
|
# resp.disks[0].created_at #=> Time
|
3830
4247
|
# resp.disks[0].location.availability_zone #=> String
|
3831
4248
|
# resp.disks[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
3832
|
-
# resp.disks[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord"
|
4249
|
+
# resp.disks[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord", "Alarm", "ContactMethod"
|
3833
4250
|
# resp.disks[0].tags #=> Array
|
3834
4251
|
# resp.disks[0].tags[0].key #=> String
|
3835
4252
|
# resp.disks[0].tags[0].value #=> String
|
@@ -3881,7 +4298,7 @@ module Aws::Lightsail
|
|
3881
4298
|
# resp.domain.created_at #=> Time
|
3882
4299
|
# resp.domain.location.availability_zone #=> String
|
3883
4300
|
# resp.domain.location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
3884
|
-
# resp.domain.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord"
|
4301
|
+
# resp.domain.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord", "Alarm", "ContactMethod"
|
3885
4302
|
# resp.domain.tags #=> Array
|
3886
4303
|
# resp.domain.tags[0].key #=> String
|
3887
4304
|
# resp.domain.tags[0].value #=> String
|
@@ -3906,8 +4323,11 @@ module Aws::Lightsail
|
|
3906
4323
|
# Returns a list of all domains in the user's account.
|
3907
4324
|
#
|
3908
4325
|
# @option params [String] :page_token
|
3909
|
-
#
|
3910
|
-
#
|
4326
|
+
# The token to advance to the next page of results from your request.
|
4327
|
+
#
|
4328
|
+
# To get a page token, perform an initial `GetDomains` request. If your
|
4329
|
+
# results are paginated, the response will return a next page token that
|
4330
|
+
# you can specify as the page token in a subsequent request.
|
3911
4331
|
#
|
3912
4332
|
# @return [Types::GetDomainsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3913
4333
|
#
|
@@ -3929,7 +4349,7 @@ module Aws::Lightsail
|
|
3929
4349
|
# resp.domains[0].created_at #=> Time
|
3930
4350
|
# resp.domains[0].location.availability_zone #=> String
|
3931
4351
|
# resp.domains[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
3932
|
-
# resp.domains[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord"
|
4352
|
+
# resp.domains[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord", "Alarm", "ContactMethod"
|
3933
4353
|
# resp.domains[0].tags #=> Array
|
3934
4354
|
# resp.domains[0].tags[0].key #=> String
|
3935
4355
|
# resp.domains[0].tags[0].value #=> String
|
@@ -3960,8 +4380,12 @@ module Aws::Lightsail
|
|
3960
4380
|
# stack` operation.
|
3961
4381
|
#
|
3962
4382
|
# @option params [String] :page_token
|
3963
|
-
#
|
3964
|
-
#
|
4383
|
+
# The token to advance to the next page of results from your request.
|
4384
|
+
#
|
4385
|
+
# To get a page token, perform an initial `GetExportSnapshotRecords`
|
4386
|
+
# request. If your results are paginated, the response will return a
|
4387
|
+
# next page token that you can specify as the page token in a subsequent
|
4388
|
+
# request.
|
3965
4389
|
#
|
3966
4390
|
# @return [Types::GetExportSnapshotRecordsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3967
4391
|
#
|
@@ -3982,7 +4406,7 @@ module Aws::Lightsail
|
|
3982
4406
|
# resp.export_snapshot_records[0].created_at #=> Time
|
3983
4407
|
# resp.export_snapshot_records[0].location.availability_zone #=> String
|
3984
4408
|
# resp.export_snapshot_records[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
3985
|
-
# resp.export_snapshot_records[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord"
|
4409
|
+
# resp.export_snapshot_records[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord", "Alarm", "ContactMethod"
|
3986
4410
|
# resp.export_snapshot_records[0].state #=> String, one of "Started", "Succeeded", "Failed"
|
3987
4411
|
# resp.export_snapshot_records[0].source_info.resource_type #=> String, one of "InstanceSnapshot", "DiskSnapshot"
|
3988
4412
|
# resp.export_snapshot_records[0].source_info.created_at #=> Time
|
@@ -4035,7 +4459,7 @@ module Aws::Lightsail
|
|
4035
4459
|
# resp.instance.created_at #=> Time
|
4036
4460
|
# resp.instance.location.availability_zone #=> String
|
4037
4461
|
# resp.instance.location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
4038
|
-
# resp.instance.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord"
|
4462
|
+
# resp.instance.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord", "Alarm", "ContactMethod"
|
4039
4463
|
# resp.instance.tags #=> Array
|
4040
4464
|
# resp.instance.tags[0].key #=> String
|
4041
4465
|
# resp.instance.tags[0].value #=> String
|
@@ -4059,7 +4483,7 @@ module Aws::Lightsail
|
|
4059
4483
|
# resp.instance.hardware.disks[0].created_at #=> Time
|
4060
4484
|
# resp.instance.hardware.disks[0].location.availability_zone #=> String
|
4061
4485
|
# resp.instance.hardware.disks[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
4062
|
-
# resp.instance.hardware.disks[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord"
|
4486
|
+
# resp.instance.hardware.disks[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord", "Alarm", "ContactMethod"
|
4063
4487
|
# resp.instance.hardware.disks[0].tags #=> Array
|
4064
4488
|
# resp.instance.hardware.disks[0].tags[0].key #=> String
|
4065
4489
|
# resp.instance.hardware.disks[0].tags[0].value #=> String
|
@@ -4082,11 +4506,15 @@ module Aws::Lightsail
|
|
4082
4506
|
# resp.instance.networking.ports #=> Array
|
4083
4507
|
# resp.instance.networking.ports[0].from_port #=> Integer
|
4084
4508
|
# resp.instance.networking.ports[0].to_port #=> Integer
|
4085
|
-
# resp.instance.networking.ports[0].protocol #=> String, one of "tcp", "all", "udp"
|
4509
|
+
# resp.instance.networking.ports[0].protocol #=> String, one of "tcp", "all", "udp", "icmp"
|
4086
4510
|
# resp.instance.networking.ports[0].access_from #=> String
|
4087
4511
|
# resp.instance.networking.ports[0].access_type #=> String, one of "Public", "Private"
|
4088
4512
|
# resp.instance.networking.ports[0].common_name #=> String
|
4089
4513
|
# resp.instance.networking.ports[0].access_direction #=> String, one of "inbound", "outbound"
|
4514
|
+
# resp.instance.networking.ports[0].cidrs #=> Array
|
4515
|
+
# resp.instance.networking.ports[0].cidrs[0] #=> String
|
4516
|
+
# resp.instance.networking.ports[0].cidr_list_aliases #=> Array
|
4517
|
+
# resp.instance.networking.ports[0].cidr_list_aliases[0] #=> String
|
4090
4518
|
# resp.instance.state.code #=> Integer
|
4091
4519
|
# resp.instance.state.name #=> String
|
4092
4520
|
# resp.instance.username #=> String
|
@@ -4167,24 +4595,121 @@ module Aws::Lightsail
|
|
4167
4595
|
# The name of the instance for which you want to get metrics data.
|
4168
4596
|
#
|
4169
4597
|
# @option params [required, String] :metric_name
|
4170
|
-
# The metric
|
4598
|
+
# The metric for which you want to return information.
|
4171
4599
|
#
|
4172
|
-
#
|
4173
|
-
#
|
4600
|
+
# Valid instance metric names are listed below, along with the most
|
4601
|
+
# useful `statistics` to include in your request, and the published
|
4602
|
+
# `unit` value.
|
4174
4603
|
#
|
4175
|
-
#
|
4176
|
-
#
|
4604
|
+
# * <b> <code>CPUUtilization</code> </b> - The percentage of allocated
|
4605
|
+
# compute units that are currently in use on the instance. This metric
|
4606
|
+
# identifies the processing power to run the applications on the
|
4607
|
+
# instance. Tools in your operating system can show a lower percentage
|
4608
|
+
# than Lightsail when the instance is not allocated a full processor
|
4609
|
+
# core.
|
4177
4610
|
#
|
4178
|
-
#
|
4179
|
-
#
|
4611
|
+
# `Statistics`\: The most useful statistics are `Maximum` and
|
4612
|
+
# `Average`.
|
4180
4613
|
#
|
4181
|
-
#
|
4182
|
-
# The unit. The list of valid values is below.
|
4614
|
+
# `Unit`\: The published unit is `Percent`.
|
4183
4615
|
#
|
4184
|
-
#
|
4185
|
-
#
|
4616
|
+
# * <b> <code>NetworkIn</code> </b> - The number of bytes received on
|
4617
|
+
# all network interfaces by the instance. This metric identifies the
|
4618
|
+
# volume of incoming network traffic to the instance. The number
|
4619
|
+
# reported is the number of bytes received during the period. Because
|
4620
|
+
# this metric is reported in 5-minute intervals, divide the reported
|
4621
|
+
# number by 300 to find Bytes/second.
|
4186
4622
|
#
|
4187
|
-
#
|
4623
|
+
# `Statistics`\: The most useful statistic is `Sum`.
|
4624
|
+
#
|
4625
|
+
# `Unit`\: The published unit is `Bytes`.
|
4626
|
+
#
|
4627
|
+
# * <b> <code>NetworkOut</code> </b> - The number of bytes sent out on
|
4628
|
+
# all network interfaces by the instance. This metric identifies the
|
4629
|
+
# volume of outgoing network traffic from the instance. The number
|
4630
|
+
# reported is the number of bytes sent during the period. Because this
|
4631
|
+
# metric is reported in 5-minute intervals, divide the reported number
|
4632
|
+
# by 300 to find Bytes/second.
|
4633
|
+
#
|
4634
|
+
# `Statistics`\: The most useful statistic is `Sum`.
|
4635
|
+
#
|
4636
|
+
# `Unit`\: The published unit is `Bytes`.
|
4637
|
+
#
|
4638
|
+
# * <b> <code>StatusCheckFailed</code> </b> - Reports whether the
|
4639
|
+
# instance passed or failed both the instance status check and the
|
4640
|
+
# system status check. This metric can be either 0 (passed) or 1
|
4641
|
+
# (failed). This metric data is available in 1-minute (60 seconds)
|
4642
|
+
# granularity.
|
4643
|
+
#
|
4644
|
+
# `Statistics`\: The most useful statistic is `Sum`.
|
4645
|
+
#
|
4646
|
+
# `Unit`\: The published unit is `Count`.
|
4647
|
+
#
|
4648
|
+
# * <b> <code>StatusCheckFailed_Instance</code> </b> - Reports whether
|
4649
|
+
# the instance passed or failed the instance status check. This metric
|
4650
|
+
# can be either 0 (passed) or 1 (failed). This metric data is
|
4651
|
+
# available in 1-minute (60 seconds) granularity.
|
4652
|
+
#
|
4653
|
+
# `Statistics`\: The most useful statistic is `Sum`.
|
4654
|
+
#
|
4655
|
+
# `Unit`\: The published unit is `Count`.
|
4656
|
+
#
|
4657
|
+
# * <b> <code>StatusCheckFailed_System</code> </b> - Reports whether the
|
4658
|
+
# instance passed or failed the system status check. This metric can
|
4659
|
+
# be either 0 (passed) or 1 (failed). This metric data is available in
|
4660
|
+
# 1-minute (60 seconds) granularity.
|
4661
|
+
#
|
4662
|
+
# `Statistics`\: The most useful statistic is `Sum`.
|
4663
|
+
#
|
4664
|
+
# `Unit`\: The published unit is `Count`.
|
4665
|
+
#
|
4666
|
+
# @option params [required, Integer] :period
|
4667
|
+
# The granularity, in seconds, of the returned data points.
|
4668
|
+
#
|
4669
|
+
# The `StatusCheckFailed`, `StatusCheckFailed_Instance`, and
|
4670
|
+
# `StatusCheckFailed_System` instance metric data is available in
|
4671
|
+
# 1-minute (60 seconds) granularity. All other instance metric data is
|
4672
|
+
# available in 5-minute (300 seconds) granularity.
|
4673
|
+
#
|
4674
|
+
# @option params [required, Time,DateTime,Date,Integer,String] :start_time
|
4675
|
+
# The start time of the time period.
|
4676
|
+
#
|
4677
|
+
# @option params [required, Time,DateTime,Date,Integer,String] :end_time
|
4678
|
+
# The end time of the time period.
|
4679
|
+
#
|
4680
|
+
# @option params [required, String] :unit
|
4681
|
+
# The unit for the metric data request. Valid units depend on the metric
|
4682
|
+
# data being requested. For the valid units to specify with each
|
4683
|
+
# available metric, see the `metricName` parameter.
|
4684
|
+
#
|
4685
|
+
# @option params [required, Array<String>] :statistics
|
4686
|
+
# The statistic for the metric.
|
4687
|
+
#
|
4688
|
+
# The following statistics are available:
|
4689
|
+
#
|
4690
|
+
# * `Minimum` - The lowest value observed during the specified period.
|
4691
|
+
# Use this value to determine low volumes of activity for your
|
4692
|
+
# application.
|
4693
|
+
#
|
4694
|
+
# * `Maximum` - The highest value observed during the specified period.
|
4695
|
+
# Use this value to determine high volumes of activity for your
|
4696
|
+
# application.
|
4697
|
+
#
|
4698
|
+
# * `Sum` - All values submitted for the matching metric added together.
|
4699
|
+
# You can use this statistic to determine the total volume of a
|
4700
|
+
# metric.
|
4701
|
+
#
|
4702
|
+
# * `Average` - The value of Sum / SampleCount during the specified
|
4703
|
+
# period. By comparing this statistic with the Minimum and Maximum
|
4704
|
+
# values, you can determine the full scope of a metric and how close
|
4705
|
+
# the average use is to the Minimum and Maximum values. This
|
4706
|
+
# comparison helps you to know when to increase or decrease your
|
4707
|
+
# resources.
|
4708
|
+
#
|
4709
|
+
# * `SampleCount` - The count, or number, of data points used for the
|
4710
|
+
# statistical calculation.
|
4711
|
+
#
|
4712
|
+
# @return [Types::GetInstanceMetricDataResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4188
4713
|
#
|
4189
4714
|
# * {Types::GetInstanceMetricDataResult#metric_name #metric_name} => String
|
4190
4715
|
# * {Types::GetInstanceMetricDataResult#metric_data #metric_data} => Array<Types::MetricDatapoint>
|
@@ -4222,11 +4747,12 @@ module Aws::Lightsail
|
|
4222
4747
|
req.send_request(options)
|
4223
4748
|
end
|
4224
4749
|
|
4225
|
-
# Returns the port states for a specific
|
4226
|
-
#
|
4750
|
+
# Returns the firewall port states for a specific Amazon Lightsail
|
4751
|
+
# instance, the IP addresses allowed to connect to the instance through
|
4752
|
+
# the ports, and the protocol.
|
4227
4753
|
#
|
4228
4754
|
# @option params [required, String] :instance_name
|
4229
|
-
# The name of the instance.
|
4755
|
+
# The name of the instance for which to return firewall port states.
|
4230
4756
|
#
|
4231
4757
|
# @return [Types::GetInstancePortStatesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4232
4758
|
#
|
@@ -4243,8 +4769,12 @@ module Aws::Lightsail
|
|
4243
4769
|
# resp.port_states #=> Array
|
4244
4770
|
# resp.port_states[0].from_port #=> Integer
|
4245
4771
|
# resp.port_states[0].to_port #=> Integer
|
4246
|
-
# resp.port_states[0].protocol #=> String, one of "tcp", "all", "udp"
|
4772
|
+
# resp.port_states[0].protocol #=> String, one of "tcp", "all", "udp", "icmp"
|
4247
4773
|
# resp.port_states[0].state #=> String, one of "open", "closed"
|
4774
|
+
# resp.port_states[0].cidrs #=> Array
|
4775
|
+
# resp.port_states[0].cidrs[0] #=> String
|
4776
|
+
# resp.port_states[0].cidr_list_aliases #=> Array
|
4777
|
+
# resp.port_states[0].cidr_list_aliases[0] #=> String
|
4248
4778
|
#
|
4249
4779
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstancePortStates AWS API Documentation
|
4250
4780
|
#
|
@@ -4278,7 +4808,7 @@ module Aws::Lightsail
|
|
4278
4808
|
# resp.instance_snapshot.created_at #=> Time
|
4279
4809
|
# resp.instance_snapshot.location.availability_zone #=> String
|
4280
4810
|
# resp.instance_snapshot.location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
4281
|
-
# resp.instance_snapshot.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord"
|
4811
|
+
# resp.instance_snapshot.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord", "Alarm", "ContactMethod"
|
4282
4812
|
# resp.instance_snapshot.tags #=> Array
|
4283
4813
|
# resp.instance_snapshot.tags[0].key #=> String
|
4284
4814
|
# resp.instance_snapshot.tags[0].value #=> String
|
@@ -4291,7 +4821,7 @@ module Aws::Lightsail
|
|
4291
4821
|
# resp.instance_snapshot.from_attached_disks[0].created_at #=> Time
|
4292
4822
|
# resp.instance_snapshot.from_attached_disks[0].location.availability_zone #=> String
|
4293
4823
|
# resp.instance_snapshot.from_attached_disks[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
4294
|
-
# resp.instance_snapshot.from_attached_disks[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord"
|
4824
|
+
# resp.instance_snapshot.from_attached_disks[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord", "Alarm", "ContactMethod"
|
4295
4825
|
# resp.instance_snapshot.from_attached_disks[0].tags #=> Array
|
4296
4826
|
# resp.instance_snapshot.from_attached_disks[0].tags[0].key #=> String
|
4297
4827
|
# resp.instance_snapshot.from_attached_disks[0].tags[0].value #=> String
|
@@ -4328,8 +4858,12 @@ module Aws::Lightsail
|
|
4328
4858
|
# Returns all instance snapshots for the user's account.
|
4329
4859
|
#
|
4330
4860
|
# @option params [String] :page_token
|
4331
|
-
#
|
4332
|
-
#
|
4861
|
+
# The token to advance to the next page of results from your request.
|
4862
|
+
#
|
4863
|
+
# To get a page token, perform an initial `GetInstanceSnapshots`
|
4864
|
+
# request. If your results are paginated, the response will return a
|
4865
|
+
# next page token that you can specify as the page token in a subsequent
|
4866
|
+
# request.
|
4333
4867
|
#
|
4334
4868
|
# @return [Types::GetInstanceSnapshotsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4335
4869
|
#
|
@@ -4351,7 +4885,7 @@ module Aws::Lightsail
|
|
4351
4885
|
# resp.instance_snapshots[0].created_at #=> Time
|
4352
4886
|
# resp.instance_snapshots[0].location.availability_zone #=> String
|
4353
4887
|
# resp.instance_snapshots[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
4354
|
-
# resp.instance_snapshots[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord"
|
4888
|
+
# resp.instance_snapshots[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord", "Alarm", "ContactMethod"
|
4355
4889
|
# resp.instance_snapshots[0].tags #=> Array
|
4356
4890
|
# resp.instance_snapshots[0].tags[0].key #=> String
|
4357
4891
|
# resp.instance_snapshots[0].tags[0].value #=> String
|
@@ -4364,7 +4898,7 @@ module Aws::Lightsail
|
|
4364
4898
|
# resp.instance_snapshots[0].from_attached_disks[0].created_at #=> Time
|
4365
4899
|
# resp.instance_snapshots[0].from_attached_disks[0].location.availability_zone #=> String
|
4366
4900
|
# resp.instance_snapshots[0].from_attached_disks[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
4367
|
-
# resp.instance_snapshots[0].from_attached_disks[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord"
|
4901
|
+
# resp.instance_snapshots[0].from_attached_disks[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord", "Alarm", "ContactMethod"
|
4368
4902
|
# resp.instance_snapshots[0].from_attached_disks[0].tags #=> Array
|
4369
4903
|
# resp.instance_snapshots[0].from_attached_disks[0].tags[0].key #=> String
|
4370
4904
|
# resp.instance_snapshots[0].from_attached_disks[0].tags[0].value #=> String
|
@@ -4433,8 +4967,11 @@ module Aws::Lightsail
|
|
4433
4967
|
# servers, or *instances*.
|
4434
4968
|
#
|
4435
4969
|
# @option params [String] :page_token
|
4436
|
-
#
|
4437
|
-
#
|
4970
|
+
# The token to advance to the next page of results from your request.
|
4971
|
+
#
|
4972
|
+
# To get a page token, perform an initial `GetInstances` request. If
|
4973
|
+
# your results are paginated, the response will return a next page token
|
4974
|
+
# that you can specify as the page token in a subsequent request.
|
4438
4975
|
#
|
4439
4976
|
# @return [Types::GetInstancesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4440
4977
|
#
|
@@ -4456,7 +4993,7 @@ module Aws::Lightsail
|
|
4456
4993
|
# resp.instances[0].created_at #=> Time
|
4457
4994
|
# resp.instances[0].location.availability_zone #=> String
|
4458
4995
|
# resp.instances[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
4459
|
-
# resp.instances[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord"
|
4996
|
+
# resp.instances[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord", "Alarm", "ContactMethod"
|
4460
4997
|
# resp.instances[0].tags #=> Array
|
4461
4998
|
# resp.instances[0].tags[0].key #=> String
|
4462
4999
|
# resp.instances[0].tags[0].value #=> String
|
@@ -4480,7 +5017,7 @@ module Aws::Lightsail
|
|
4480
5017
|
# resp.instances[0].hardware.disks[0].created_at #=> Time
|
4481
5018
|
# resp.instances[0].hardware.disks[0].location.availability_zone #=> String
|
4482
5019
|
# resp.instances[0].hardware.disks[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
4483
|
-
# resp.instances[0].hardware.disks[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord"
|
5020
|
+
# resp.instances[0].hardware.disks[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord", "Alarm", "ContactMethod"
|
4484
5021
|
# resp.instances[0].hardware.disks[0].tags #=> Array
|
4485
5022
|
# resp.instances[0].hardware.disks[0].tags[0].key #=> String
|
4486
5023
|
# resp.instances[0].hardware.disks[0].tags[0].value #=> String
|
@@ -4503,11 +5040,15 @@ module Aws::Lightsail
|
|
4503
5040
|
# resp.instances[0].networking.ports #=> Array
|
4504
5041
|
# resp.instances[0].networking.ports[0].from_port #=> Integer
|
4505
5042
|
# resp.instances[0].networking.ports[0].to_port #=> Integer
|
4506
|
-
# resp.instances[0].networking.ports[0].protocol #=> String, one of "tcp", "all", "udp"
|
5043
|
+
# resp.instances[0].networking.ports[0].protocol #=> String, one of "tcp", "all", "udp", "icmp"
|
4507
5044
|
# resp.instances[0].networking.ports[0].access_from #=> String
|
4508
5045
|
# resp.instances[0].networking.ports[0].access_type #=> String, one of "Public", "Private"
|
4509
5046
|
# resp.instances[0].networking.ports[0].common_name #=> String
|
4510
5047
|
# resp.instances[0].networking.ports[0].access_direction #=> String, one of "inbound", "outbound"
|
5048
|
+
# resp.instances[0].networking.ports[0].cidrs #=> Array
|
5049
|
+
# resp.instances[0].networking.ports[0].cidrs[0] #=> String
|
5050
|
+
# resp.instances[0].networking.ports[0].cidr_list_aliases #=> Array
|
5051
|
+
# resp.instances[0].networking.ports[0].cidr_list_aliases[0] #=> String
|
4511
5052
|
# resp.instances[0].state.code #=> Integer
|
4512
5053
|
# resp.instances[0].state.name #=> String
|
4513
5054
|
# resp.instances[0].username #=> String
|
@@ -4546,7 +5087,7 @@ module Aws::Lightsail
|
|
4546
5087
|
# resp.key_pair.created_at #=> Time
|
4547
5088
|
# resp.key_pair.location.availability_zone #=> String
|
4548
5089
|
# resp.key_pair.location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
4549
|
-
# resp.key_pair.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord"
|
5090
|
+
# resp.key_pair.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord", "Alarm", "ContactMethod"
|
4550
5091
|
# resp.key_pair.tags #=> Array
|
4551
5092
|
# resp.key_pair.tags[0].key #=> String
|
4552
5093
|
# resp.key_pair.tags[0].value #=> String
|
@@ -4564,8 +5105,11 @@ module Aws::Lightsail
|
|
4564
5105
|
# Returns information about all key pairs in the user's account.
|
4565
5106
|
#
|
4566
5107
|
# @option params [String] :page_token
|
4567
|
-
#
|
4568
|
-
#
|
5108
|
+
# The token to advance to the next page of results from your request.
|
5109
|
+
#
|
5110
|
+
# To get a page token, perform an initial `GetKeyPairs` request. If your
|
5111
|
+
# results are paginated, the response will return a next page token that
|
5112
|
+
# you can specify as the page token in a subsequent request.
|
4569
5113
|
#
|
4570
5114
|
# @return [Types::GetKeyPairsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4571
5115
|
#
|
@@ -4587,7 +5131,7 @@ module Aws::Lightsail
|
|
4587
5131
|
# resp.key_pairs[0].created_at #=> Time
|
4588
5132
|
# resp.key_pairs[0].location.availability_zone #=> String
|
4589
5133
|
# resp.key_pairs[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
4590
|
-
# resp.key_pairs[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord"
|
5134
|
+
# resp.key_pairs[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord", "Alarm", "ContactMethod"
|
4591
5135
|
# resp.key_pairs[0].tags #=> Array
|
4592
5136
|
# resp.key_pairs[0].tags[0].key #=> String
|
4593
5137
|
# resp.key_pairs[0].tags[0].value #=> String
|
@@ -4626,7 +5170,7 @@ module Aws::Lightsail
|
|
4626
5170
|
# resp.load_balancer.created_at #=> Time
|
4627
5171
|
# resp.load_balancer.location.availability_zone #=> String
|
4628
5172
|
# resp.load_balancer.location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
4629
|
-
# resp.load_balancer.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord"
|
5173
|
+
# resp.load_balancer.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord", "Alarm", "ContactMethod"
|
4630
5174
|
# resp.load_balancer.tags #=> Array
|
4631
5175
|
# resp.load_balancer.tags[0].key #=> String
|
4632
5176
|
# resp.load_balancer.tags[0].value #=> String
|
@@ -4663,88 +5207,105 @@ module Aws::Lightsail
|
|
4663
5207
|
# The name of the load balancer.
|
4664
5208
|
#
|
4665
5209
|
# @option params [required, String] :metric_name
|
4666
|
-
# The metric
|
4667
|
-
#
|
4668
|
-
#
|
5210
|
+
# The metric for which you want to return information.
|
5211
|
+
#
|
5212
|
+
# Valid load balancer metric names are listed below, along with the most
|
5213
|
+
# useful `statistics` to include in your request, and the published
|
5214
|
+
# `unit` value.
|
4669
5215
|
#
|
4670
5216
|
# * <b> <code>ClientTLSNegotiationErrorCount</code> </b> - The number of
|
4671
5217
|
# TLS connections initiated by the client that did not establish a
|
4672
|
-
# session with the load balancer
|
4673
|
-
# of ciphers or
|
5218
|
+
# session with the load balancer due to a TLS error generated by the
|
5219
|
+
# load balancer. Possible causes include a mismatch of ciphers or
|
5220
|
+
# protocols.
|
4674
5221
|
#
|
4675
5222
|
# `Statistics`\: The most useful statistic is `Sum`.
|
4676
5223
|
#
|
5224
|
+
# `Unit`\: The published unit is `Count`.
|
5225
|
+
#
|
4677
5226
|
# * <b> <code>HealthyHostCount</code> </b> - The number of target
|
4678
5227
|
# instances that are considered healthy.
|
4679
5228
|
#
|
4680
5229
|
# `Statistics`\: The most useful statistic are `Average`, `Minimum`,
|
4681
5230
|
# and `Maximum`.
|
4682
5231
|
#
|
4683
|
-
#
|
4684
|
-
# instances that are considered unhealthy.
|
5232
|
+
# `Unit`\: The published unit is `Count`.
|
4685
5233
|
#
|
4686
|
-
#
|
4687
|
-
#
|
4688
|
-
#
|
4689
|
-
# * <b> <code>HTTPCode_LB_4XX_Count</code> </b> - The number of HTTP 4XX
|
4690
|
-
# client error codes that originate from the load balancer. Client
|
4691
|
-
# errors are generated when requests are malformed or incomplete.
|
4692
|
-
# These requests have not been received by the target instance. This
|
4693
|
-
# count does not include any response codes generated by the target
|
4694
|
-
# instances.
|
5234
|
+
# * <b> <code>HTTPCode_Instance_2XX_Count</code> </b> - The number of
|
5235
|
+
# HTTP 2XX response codes generated by the target instances. This does
|
5236
|
+
# not include any response codes generated by the load balancer.
|
4695
5237
|
#
|
4696
5238
|
# `Statistics`\: The most useful statistic is `Sum`. Note that
|
4697
5239
|
# `Minimum`, `Maximum`, and `Average` all return `1`.
|
4698
5240
|
#
|
4699
|
-
#
|
4700
|
-
#
|
4701
|
-
#
|
4702
|
-
# instances.
|
5241
|
+
# `Unit`\: The published unit is `Count`.
|
5242
|
+
#
|
5243
|
+
# * <b> <code>HTTPCode_Instance_3XX_Count</code> </b> - The number of
|
5244
|
+
# HTTP 3XX response codes generated by the target instances. This does
|
5245
|
+
# not include any response codes generated by the load balancer.
|
4703
5246
|
#
|
4704
5247
|
# `Statistics`\: The most useful statistic is `Sum`. Note that
|
4705
|
-
# `Minimum`, `Maximum`, and `Average` all return `1`. Note that
|
4706
5248
|
# `Minimum`, `Maximum`, and `Average` all return `1`.
|
4707
5249
|
#
|
4708
|
-
#
|
4709
|
-
#
|
4710
|
-
#
|
5250
|
+
# `Unit`\: The published unit is `Count`.
|
5251
|
+
#
|
5252
|
+
# * <b> <code>HTTPCode_Instance_4XX_Count</code> </b> - The number of
|
5253
|
+
# HTTP 4XX response codes generated by the target instances. This does
|
5254
|
+
# not include any response codes generated by the load balancer.
|
4711
5255
|
#
|
4712
5256
|
# `Statistics`\: The most useful statistic is `Sum`. Note that
|
4713
5257
|
# `Minimum`, `Maximum`, and `Average` all return `1`.
|
4714
5258
|
#
|
4715
|
-
#
|
4716
|
-
#
|
4717
|
-
#
|
5259
|
+
# `Unit`\: The published unit is `Count`.
|
5260
|
+
#
|
5261
|
+
# * <b> <code>HTTPCode_Instance_5XX_Count</code> </b> - The number of
|
5262
|
+
# HTTP 5XX response codes generated by the target instances. This does
|
5263
|
+
# not include any response codes generated by the load balancer.
|
4718
5264
|
#
|
4719
5265
|
# `Statistics`\: The most useful statistic is `Sum`. Note that
|
4720
5266
|
# `Minimum`, `Maximum`, and `Average` all return `1`.
|
4721
5267
|
#
|
4722
|
-
#
|
4723
|
-
#
|
4724
|
-
#
|
5268
|
+
# `Unit`\: The published unit is `Count`.
|
5269
|
+
#
|
5270
|
+
# * <b> <code>HTTPCode_LB_4XX_Count</code> </b> - The number of HTTP 4XX
|
5271
|
+
# client error codes that originated from the load balancer. Client
|
5272
|
+
# errors are generated when requests are malformed or incomplete.
|
5273
|
+
# These requests were not received by the target instance. This count
|
5274
|
+
# does not include response codes generated by the target instances.
|
4725
5275
|
#
|
4726
5276
|
# `Statistics`\: The most useful statistic is `Sum`. Note that
|
4727
5277
|
# `Minimum`, `Maximum`, and `Average` all return `1`.
|
4728
5278
|
#
|
4729
|
-
#
|
4730
|
-
#
|
4731
|
-
#
|
5279
|
+
# `Unit`\: The published unit is `Count`.
|
5280
|
+
#
|
5281
|
+
# * <b> <code>HTTPCode_LB_5XX_Count</code> </b> - The number of HTTP 5XX
|
5282
|
+
# server error codes that originated from the load balancer. This does
|
5283
|
+
# not include any response codes generated by the target instance.
|
5284
|
+
# This metric is reported if there are no healthy instances attached
|
5285
|
+
# to the load balancer, or if the request rate exceeds the capacity of
|
5286
|
+
# the instances (spillover) or the load balancer.
|
4732
5287
|
#
|
4733
5288
|
# `Statistics`\: The most useful statistic is `Sum`. Note that
|
4734
5289
|
# `Minimum`, `Maximum`, and `Average` all return `1`.
|
4735
5290
|
#
|
5291
|
+
# `Unit`\: The published unit is `Count`.
|
5292
|
+
#
|
4736
5293
|
# * <b> <code>InstanceResponseTime</code> </b> - The time elapsed, in
|
4737
5294
|
# seconds, after the request leaves the load balancer until a response
|
4738
5295
|
# from the target instance is received.
|
4739
5296
|
#
|
4740
5297
|
# `Statistics`\: The most useful statistic is `Average`.
|
4741
5298
|
#
|
5299
|
+
# `Unit`\: The published unit is `Seconds`.
|
5300
|
+
#
|
4742
5301
|
# * <b> <code>RejectedConnectionCount</code> </b> - The number of
|
4743
5302
|
# connections that were rejected because the load balancer had reached
|
4744
5303
|
# its maximum number of connections.
|
4745
5304
|
#
|
4746
5305
|
# `Statistics`\: The most useful statistic is `Sum`.
|
4747
5306
|
#
|
5307
|
+
# `Unit`\: The published unit is `Count`.
|
5308
|
+
#
|
4748
5309
|
# * <b> <code>RequestCount</code> </b> - The number of requests
|
4749
5310
|
# processed over IPv4. This count includes only the requests with a
|
4750
5311
|
# response generated by a target instance of the load balancer.
|
@@ -4752,6 +5313,16 @@ module Aws::Lightsail
|
|
4752
5313
|
# `Statistics`\: The most useful statistic is `Sum`. Note that
|
4753
5314
|
# `Minimum`, `Maximum`, and `Average` all return `1`.
|
4754
5315
|
#
|
5316
|
+
# `Unit`\: The published unit is `Count`.
|
5317
|
+
#
|
5318
|
+
# * <b> <code>UnhealthyHostCount</code> </b> - The number of target
|
5319
|
+
# instances that are considered unhealthy.
|
5320
|
+
#
|
5321
|
+
# `Statistics`\: The most useful statistic are `Average`, `Minimum`,
|
5322
|
+
# and `Maximum`.
|
5323
|
+
#
|
5324
|
+
# `Unit`\: The published unit is `Count`.
|
5325
|
+
#
|
4755
5326
|
# @option params [required, Integer] :period
|
4756
5327
|
# The granularity, in seconds, of the returned data points.
|
4757
5328
|
#
|
@@ -4762,33 +5333,36 @@ module Aws::Lightsail
|
|
4762
5333
|
# The end time of the period.
|
4763
5334
|
#
|
4764
5335
|
# @option params [required, String] :unit
|
4765
|
-
# The unit for the
|
5336
|
+
# The unit for the metric data request. Valid units depend on the metric
|
5337
|
+
# data being required. For the valid units with each available metric,
|
5338
|
+
# see the `metricName` parameter.
|
4766
5339
|
#
|
4767
5340
|
# @option params [required, Array<String>] :statistics
|
4768
|
-
#
|
4769
|
-
# values are listed below.
|
5341
|
+
# The statistic for the metric.
|
4770
5342
|
#
|
4771
|
-
#
|
4772
|
-
# points used for the statistical calculation.
|
5343
|
+
# The following statistics are available:
|
4773
5344
|
#
|
4774
|
-
# *
|
4775
|
-
#
|
4776
|
-
#
|
4777
|
-
# and how close the average use is to the Minimum and Maximum. This
|
4778
|
-
# comparison helps you to know when to increase or decrease your
|
4779
|
-
# resources as needed.
|
5345
|
+
# * `Minimum` - The lowest value observed during the specified period.
|
5346
|
+
# Use this value to determine low volumes of activity for your
|
5347
|
+
# application.
|
4780
5348
|
#
|
4781
|
-
# *
|
4782
|
-
#
|
4783
|
-
#
|
5349
|
+
# * `Maximum` - The highest value observed during the specified period.
|
5350
|
+
# Use this value to determine high volumes of activity for your
|
5351
|
+
# application.
|
4784
5352
|
#
|
4785
|
-
# *
|
4786
|
-
#
|
4787
|
-
#
|
5353
|
+
# * `Sum` - All values submitted for the matching metric added together.
|
5354
|
+
# You can use this statistic to determine the total volume of a
|
5355
|
+
# metric.
|
4788
5356
|
#
|
4789
|
-
# *
|
4790
|
-
#
|
4791
|
-
#
|
5357
|
+
# * `Average` - The value of Sum / SampleCount during the specified
|
5358
|
+
# period. By comparing this statistic with the Minimum and Maximum
|
5359
|
+
# values, you can determine the full scope of a metric and how close
|
5360
|
+
# the average use is to the Minimum and Maximum values. This
|
5361
|
+
# comparison helps you to know when to increase or decrease your
|
5362
|
+
# resources.
|
5363
|
+
#
|
5364
|
+
# * `SampleCount` - The count, or number, of data points used for the
|
5365
|
+
# statistical calculation.
|
4792
5366
|
#
|
4793
5367
|
# @return [Types::GetLoadBalancerMetricDataResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4794
5368
|
#
|
@@ -4860,7 +5434,7 @@ module Aws::Lightsail
|
|
4860
5434
|
# resp.tls_certificates[0].created_at #=> Time
|
4861
5435
|
# resp.tls_certificates[0].location.availability_zone #=> String
|
4862
5436
|
# resp.tls_certificates[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
4863
|
-
# resp.tls_certificates[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord"
|
5437
|
+
# resp.tls_certificates[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord", "Alarm", "ContactMethod"
|
4864
5438
|
# resp.tls_certificates[0].tags #=> Array
|
4865
5439
|
# resp.tls_certificates[0].tags[0].key #=> String
|
4866
5440
|
# resp.tls_certificates[0].tags[0].value #=> String
|
@@ -4903,13 +5477,12 @@ module Aws::Lightsail
|
|
4903
5477
|
|
4904
5478
|
# Returns information about all load balancers in an account.
|
4905
5479
|
#
|
4906
|
-
# If you are describing a long list of load balancers, you can paginate
|
4907
|
-
# the output to make the list more manageable. You can use the pageToken
|
4908
|
-
# and nextPageToken values to retrieve the next items in the list.
|
4909
|
-
#
|
4910
5480
|
# @option params [String] :page_token
|
4911
|
-
#
|
4912
|
-
#
|
5481
|
+
# The token to advance to the next page of results from your request.
|
5482
|
+
#
|
5483
|
+
# To get a page token, perform an initial `GetLoadBalancers` request. If
|
5484
|
+
# your results are paginated, the response will return a next page token
|
5485
|
+
# that you can specify as the page token in a subsequent request.
|
4913
5486
|
#
|
4914
5487
|
# @return [Types::GetLoadBalancersResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4915
5488
|
#
|
@@ -4931,7 +5504,7 @@ module Aws::Lightsail
|
|
4931
5504
|
# resp.load_balancers[0].created_at #=> Time
|
4932
5505
|
# resp.load_balancers[0].location.availability_zone #=> String
|
4933
5506
|
# resp.load_balancers[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
4934
|
-
# resp.load_balancers[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord"
|
5507
|
+
# resp.load_balancers[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord", "Alarm", "ContactMethod"
|
4935
5508
|
# resp.load_balancers[0].tags #=> Array
|
4936
5509
|
# resp.load_balancers[0].tags[0].key #=> String
|
4937
5510
|
# resp.load_balancers[0].tags[0].value #=> String
|
@@ -4983,13 +5556,13 @@ module Aws::Lightsail
|
|
4983
5556
|
#
|
4984
5557
|
# resp.operation.id #=> String
|
4985
5558
|
# resp.operation.resource_name #=> String
|
4986
|
-
# resp.operation.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord"
|
5559
|
+
# resp.operation.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord", "Alarm", "ContactMethod"
|
4987
5560
|
# resp.operation.created_at #=> Time
|
4988
5561
|
# resp.operation.location.availability_zone #=> String
|
4989
5562
|
# resp.operation.location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
4990
5563
|
# resp.operation.is_terminal #=> Boolean
|
4991
5564
|
# resp.operation.operation_details #=> String
|
4992
|
-
# resp.operation.operation_type #=> String, one of "DeleteKnownHostKeys", "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot", "CreateRelationalDatabase", "UpdateRelationalDatabase", "DeleteRelationalDatabase", "CreateRelationalDatabaseFromSnapshot", "CreateRelationalDatabaseSnapshot", "DeleteRelationalDatabaseSnapshot", "UpdateRelationalDatabaseParameters", "StartRelationalDatabase", "RebootRelationalDatabase", "StopRelationalDatabase", "EnableAddOn", "DisableAddOn"
|
5565
|
+
# resp.operation.operation_type #=> String, one of "DeleteKnownHostKeys", "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot", "CreateRelationalDatabase", "UpdateRelationalDatabase", "DeleteRelationalDatabase", "CreateRelationalDatabaseFromSnapshot", "CreateRelationalDatabaseSnapshot", "DeleteRelationalDatabaseSnapshot", "UpdateRelationalDatabaseParameters", "StartRelationalDatabase", "RebootRelationalDatabase", "StopRelationalDatabase", "EnableAddOn", "DisableAddOn", "PutAlarm", "GetAlarms", "DeleteAlarm", "TestAlarm", "CreateContactMethod", "GetContactMethods", "SendContactMethodVerification", "DeleteContactMethod"
|
4993
5566
|
# resp.operation.status #=> String, one of "NotStarted", "Started", "Failed", "Completed", "Succeeded"
|
4994
5567
|
# resp.operation.status_changed_at #=> Time
|
4995
5568
|
# resp.operation.error_code #=> String
|
@@ -5012,8 +5585,11 @@ module Aws::Lightsail
|
|
5012
5585
|
# request.
|
5013
5586
|
#
|
5014
5587
|
# @option params [String] :page_token
|
5015
|
-
#
|
5016
|
-
#
|
5588
|
+
# The token to advance to the next page of results from your request.
|
5589
|
+
#
|
5590
|
+
# To get a page token, perform an initial `GetOperations` request. If
|
5591
|
+
# your results are paginated, the response will return a next page token
|
5592
|
+
# that you can specify as the page token in a subsequent request.
|
5017
5593
|
#
|
5018
5594
|
# @return [Types::GetOperationsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
5019
5595
|
#
|
@@ -5031,13 +5607,13 @@ module Aws::Lightsail
|
|
5031
5607
|
# resp.operations #=> Array
|
5032
5608
|
# resp.operations[0].id #=> String
|
5033
5609
|
# resp.operations[0].resource_name #=> String
|
5034
|
-
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord"
|
5610
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord", "Alarm", "ContactMethod"
|
5035
5611
|
# resp.operations[0].created_at #=> Time
|
5036
5612
|
# resp.operations[0].location.availability_zone #=> String
|
5037
5613
|
# resp.operations[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
5038
5614
|
# resp.operations[0].is_terminal #=> Boolean
|
5039
5615
|
# resp.operations[0].operation_details #=> String
|
5040
|
-
# resp.operations[0].operation_type #=> String, one of "DeleteKnownHostKeys", "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot", "CreateRelationalDatabase", "UpdateRelationalDatabase", "DeleteRelationalDatabase", "CreateRelationalDatabaseFromSnapshot", "CreateRelationalDatabaseSnapshot", "DeleteRelationalDatabaseSnapshot", "UpdateRelationalDatabaseParameters", "StartRelationalDatabase", "RebootRelationalDatabase", "StopRelationalDatabase", "EnableAddOn", "DisableAddOn"
|
5616
|
+
# resp.operations[0].operation_type #=> String, one of "DeleteKnownHostKeys", "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot", "CreateRelationalDatabase", "UpdateRelationalDatabase", "DeleteRelationalDatabase", "CreateRelationalDatabaseFromSnapshot", "CreateRelationalDatabaseSnapshot", "DeleteRelationalDatabaseSnapshot", "UpdateRelationalDatabaseParameters", "StartRelationalDatabase", "RebootRelationalDatabase", "StopRelationalDatabase", "EnableAddOn", "DisableAddOn", "PutAlarm", "GetAlarms", "DeleteAlarm", "TestAlarm", "CreateContactMethod", "GetContactMethods", "SendContactMethodVerification", "DeleteContactMethod"
|
5041
5617
|
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed", "Succeeded"
|
5042
5618
|
# resp.operations[0].status_changed_at #=> Time
|
5043
5619
|
# resp.operations[0].error_code #=> String
|
@@ -5060,8 +5636,12 @@ module Aws::Lightsail
|
|
5060
5636
|
# The name of the resource for which you are requesting information.
|
5061
5637
|
#
|
5062
5638
|
# @option params [String] :page_token
|
5063
|
-
#
|
5064
|
-
#
|
5639
|
+
# The token to advance to the next page of results from your request.
|
5640
|
+
#
|
5641
|
+
# To get a page token, perform an initial `GetOperationsForResource`
|
5642
|
+
# request. If your results are paginated, the response will return a
|
5643
|
+
# next page token that you can specify as the page token in a subsequent
|
5644
|
+
# request.
|
5065
5645
|
#
|
5066
5646
|
# @return [Types::GetOperationsForResourceResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
5067
5647
|
#
|
@@ -5081,13 +5661,13 @@ module Aws::Lightsail
|
|
5081
5661
|
# resp.operations #=> Array
|
5082
5662
|
# resp.operations[0].id #=> String
|
5083
5663
|
# resp.operations[0].resource_name #=> String
|
5084
|
-
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord"
|
5664
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord", "Alarm", "ContactMethod"
|
5085
5665
|
# resp.operations[0].created_at #=> Time
|
5086
5666
|
# resp.operations[0].location.availability_zone #=> String
|
5087
5667
|
# resp.operations[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
5088
5668
|
# resp.operations[0].is_terminal #=> Boolean
|
5089
5669
|
# resp.operations[0].operation_details #=> String
|
5090
|
-
# resp.operations[0].operation_type #=> String, one of "DeleteKnownHostKeys", "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot", "CreateRelationalDatabase", "UpdateRelationalDatabase", "DeleteRelationalDatabase", "CreateRelationalDatabaseFromSnapshot", "CreateRelationalDatabaseSnapshot", "DeleteRelationalDatabaseSnapshot", "UpdateRelationalDatabaseParameters", "StartRelationalDatabase", "RebootRelationalDatabase", "StopRelationalDatabase", "EnableAddOn", "DisableAddOn"
|
5670
|
+
# resp.operations[0].operation_type #=> String, one of "DeleteKnownHostKeys", "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot", "CreateRelationalDatabase", "UpdateRelationalDatabase", "DeleteRelationalDatabase", "CreateRelationalDatabaseFromSnapshot", "CreateRelationalDatabaseSnapshot", "DeleteRelationalDatabaseSnapshot", "UpdateRelationalDatabaseParameters", "StartRelationalDatabase", "RebootRelationalDatabase", "StopRelationalDatabase", "EnableAddOn", "DisableAddOn", "PutAlarm", "GetAlarms", "DeleteAlarm", "TestAlarm", "CreateContactMethod", "GetContactMethods", "SendContactMethodVerification", "DeleteContactMethod"
|
5091
5671
|
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed", "Succeeded"
|
5092
5672
|
# resp.operations[0].status_changed_at #=> Time
|
5093
5673
|
# resp.operations[0].error_code #=> String
|
@@ -5175,7 +5755,7 @@ module Aws::Lightsail
|
|
5175
5755
|
# resp.relational_database.created_at #=> Time
|
5176
5756
|
# resp.relational_database.location.availability_zone #=> String
|
5177
5757
|
# resp.relational_database.location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
5178
|
-
# resp.relational_database.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord"
|
5758
|
+
# resp.relational_database.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord", "Alarm", "ContactMethod"
|
5179
5759
|
# resp.relational_database.tags #=> Array
|
5180
5760
|
# resp.relational_database.tags[0].key #=> String
|
5181
5761
|
# resp.relational_database.tags[0].value #=> String
|
@@ -5205,6 +5785,7 @@ module Aws::Lightsail
|
|
5205
5785
|
# resp.relational_database.pending_maintenance_actions[0].action #=> String
|
5206
5786
|
# resp.relational_database.pending_maintenance_actions[0].description #=> String
|
5207
5787
|
# resp.relational_database.pending_maintenance_actions[0].current_apply_date #=> Time
|
5788
|
+
# resp.relational_database.ca_certificate_identifier #=> String
|
5208
5789
|
#
|
5209
5790
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetRelationalDatabase AWS API Documentation
|
5210
5791
|
#
|
@@ -5222,8 +5803,12 @@ module Aws::Lightsail
|
|
5222
5803
|
# specific database engine.
|
5223
5804
|
#
|
5224
5805
|
# @option params [String] :page_token
|
5225
|
-
#
|
5226
|
-
#
|
5806
|
+
# The token to advance to the next page of results from your request.
|
5807
|
+
#
|
5808
|
+
# To get a page token, perform an initial
|
5809
|
+
# `GetRelationalDatabaseBlueprints` request. If your results are
|
5810
|
+
# paginated, the response will return a next page token that you can
|
5811
|
+
# specify as the page token in a subsequent request.
|
5227
5812
|
#
|
5228
5813
|
# @return [Types::GetRelationalDatabaseBlueprintsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
5229
5814
|
#
|
@@ -5263,8 +5848,12 @@ module Aws::Lightsail
|
|
5263
5848
|
# performance specifications.
|
5264
5849
|
#
|
5265
5850
|
# @option params [String] :page_token
|
5266
|
-
#
|
5267
|
-
#
|
5851
|
+
# The token to advance to the next page of results from your request.
|
5852
|
+
#
|
5853
|
+
# To get a page token, perform an initial `GetRelationalDatabaseBundles`
|
5854
|
+
# request. If your results are paginated, the response will return a
|
5855
|
+
# next page token that you can specify as the page token in a subsequent
|
5856
|
+
# request.
|
5268
5857
|
#
|
5269
5858
|
# @return [Types::GetRelationalDatabaseBundlesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
5270
5859
|
#
|
@@ -5314,8 +5903,12 @@ module Aws::Lightsail
|
|
5314
5903
|
# The minimum is 1 and the maximum is 14 days (20160 minutes).
|
5315
5904
|
#
|
5316
5905
|
# @option params [String] :page_token
|
5317
|
-
#
|
5318
|
-
#
|
5906
|
+
# The token to advance to the next page of results from your request.
|
5907
|
+
#
|
5908
|
+
# To get a page token, perform an initial `GetRelationalDatabaseEvents`
|
5909
|
+
# request. If your results are paginated, the response will return a
|
5910
|
+
# next page token that you can specify as the page token in a subsequent
|
5911
|
+
# request.
|
5319
5912
|
#
|
5320
5913
|
# @return [Types::GetRelationalDatabaseEventsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
5321
5914
|
#
|
@@ -5395,8 +5988,14 @@ module Aws::Lightsail
|
|
5395
5988
|
# </note>
|
5396
5989
|
#
|
5397
5990
|
# @option params [String] :page_token
|
5398
|
-
#
|
5399
|
-
#
|
5991
|
+
# The token to advance to the next or previous page of results from your
|
5992
|
+
# request.
|
5993
|
+
#
|
5994
|
+
# To get a page token, perform an initial
|
5995
|
+
# `GetRelationalDatabaseLogEvents` request. If your results are
|
5996
|
+
# paginated, the response will return a next forward token and/or next
|
5997
|
+
# backward token that you can specify as the page token in a subsequent
|
5998
|
+
# request.
|
5400
5999
|
#
|
5401
6000
|
# @return [Types::GetRelationalDatabaseLogEventsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
5402
6001
|
#
|
@@ -5516,11 +6115,66 @@ module Aws::Lightsail
|
|
5516
6115
|
# The name of your database from which to get metric data.
|
5517
6116
|
#
|
5518
6117
|
# @option params [required, String] :metric_name
|
5519
|
-
# The
|
6118
|
+
# The metric for which you want to return information.
|
6119
|
+
#
|
6120
|
+
# Valid relational database metric names are listed below, along with
|
6121
|
+
# the most useful `statistics` to include in your request, and the
|
6122
|
+
# published `unit` value. All relational database metric data is
|
6123
|
+
# available in 1-minute (60 seconds) granularity.
|
6124
|
+
#
|
6125
|
+
# * <b> <code>CPUUtilization</code> </b> - The percentage of CPU
|
6126
|
+
# utilization currently in use on the database.
|
6127
|
+
#
|
6128
|
+
# `Statistics`\: The most useful statistics are `Maximum` and
|
6129
|
+
# `Average`.
|
6130
|
+
#
|
6131
|
+
# `Unit`\: The published unit is `Percent`.
|
6132
|
+
#
|
6133
|
+
# * <b> <code>DatabaseConnections</code> </b> - The number of database
|
6134
|
+
# connections in use.
|
6135
|
+
#
|
6136
|
+
# `Statistics`\: The most useful statistics are `Maximum` and `Sum`.
|
6137
|
+
#
|
6138
|
+
# `Unit`\: The published unit is `Count`.
|
6139
|
+
#
|
6140
|
+
# * <b> <code>DiskQueueDepth</code> </b> - The number of outstanding IOs
|
6141
|
+
# (read/write requests) that are waiting to access the disk.
|
6142
|
+
#
|
6143
|
+
# `Statistics`\: The most useful statistic is `Sum`.
|
6144
|
+
#
|
6145
|
+
# `Unit`\: The published unit is `Count`.
|
6146
|
+
#
|
6147
|
+
# * <b> <code>FreeStorageSpace</code> </b> - The amount of available
|
6148
|
+
# storage space.
|
6149
|
+
#
|
6150
|
+
# `Statistics`\: The most useful statistic is `Sum`.
|
6151
|
+
#
|
6152
|
+
# `Unit`\: The published unit is `Bytes`.
|
6153
|
+
#
|
6154
|
+
# * <b> <code>NetworkReceiveThroughput</code> </b> - The incoming
|
6155
|
+
# (Receive) network traffic on the database, including both customer
|
6156
|
+
# database traffic and AWS traffic used for monitoring and
|
6157
|
+
# replication.
|
6158
|
+
#
|
6159
|
+
# `Statistics`\: The most useful statistic is `Average`.
|
6160
|
+
#
|
6161
|
+
# `Unit`\: The published unit is `Bytes/Second`.
|
6162
|
+
#
|
6163
|
+
# * <b> <code>NetworkTransmitThroughput</code> </b> - The outgoing
|
6164
|
+
# (Transmit) network traffic on the database, including both customer
|
6165
|
+
# database traffic and AWS traffic used for monitoring and
|
6166
|
+
# replication.
|
6167
|
+
#
|
6168
|
+
# `Statistics`\: The most useful statistic is `Average`.
|
6169
|
+
#
|
6170
|
+
# `Unit`\: The published unit is `Bytes/Second`.
|
5520
6171
|
#
|
5521
6172
|
# @option params [required, Integer] :period
|
5522
6173
|
# The granularity, in seconds, of the returned data points.
|
5523
6174
|
#
|
6175
|
+
# All relational database metric data is available in 1-minute (60
|
6176
|
+
# seconds) granularity.
|
6177
|
+
#
|
5524
6178
|
# @option params [required, Time,DateTime,Date,Integer,String] :start_time
|
5525
6179
|
# The start of the time interval from which to get metric data.
|
5526
6180
|
#
|
@@ -5546,10 +6200,36 @@ module Aws::Lightsail
|
|
5546
6200
|
# PM UTC, then you input `1538424000` as the end time.
|
5547
6201
|
#
|
5548
6202
|
# @option params [required, String] :unit
|
5549
|
-
# The unit for the metric data request.
|
6203
|
+
# The unit for the metric data request. Valid units depend on the metric
|
6204
|
+
# data being required. For the valid units with each available metric,
|
6205
|
+
# see the `metricName` parameter.
|
5550
6206
|
#
|
5551
6207
|
# @option params [required, Array<String>] :statistics
|
5552
|
-
# The
|
6208
|
+
# The statistic for the metric.
|
6209
|
+
#
|
6210
|
+
# The following statistics are available:
|
6211
|
+
#
|
6212
|
+
# * `Minimum` - The lowest value observed during the specified period.
|
6213
|
+
# Use this value to determine low volumes of activity for your
|
6214
|
+
# application.
|
6215
|
+
#
|
6216
|
+
# * `Maximum` - The highest value observed during the specified period.
|
6217
|
+
# Use this value to determine high volumes of activity for your
|
6218
|
+
# application.
|
6219
|
+
#
|
6220
|
+
# * `Sum` - All values submitted for the matching metric added together.
|
6221
|
+
# You can use this statistic to determine the total volume of a
|
6222
|
+
# metric.
|
6223
|
+
#
|
6224
|
+
# * `Average` - The value of Sum / SampleCount during the specified
|
6225
|
+
# period. By comparing this statistic with the Minimum and Maximum
|
6226
|
+
# values, you can determine the full scope of a metric and how close
|
6227
|
+
# the average use is to the Minimum and Maximum values. This
|
6228
|
+
# comparison helps you to know when to increase or decrease your
|
6229
|
+
# resources.
|
6230
|
+
#
|
6231
|
+
# * `SampleCount` - The count, or number, of data points used for the
|
6232
|
+
# statistical calculation.
|
5553
6233
|
#
|
5554
6234
|
# @return [Types::GetRelationalDatabaseMetricDataResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
5555
6235
|
#
|
@@ -5602,8 +6282,12 @@ module Aws::Lightsail
|
|
5602
6282
|
# The name of your database for which to get parameters.
|
5603
6283
|
#
|
5604
6284
|
# @option params [String] :page_token
|
5605
|
-
#
|
5606
|
-
#
|
6285
|
+
# The token to advance to the next page of results from your request.
|
6286
|
+
#
|
6287
|
+
# To get a page token, perform an initial
|
6288
|
+
# `GetRelationalDatabaseParameters` request. If your results are
|
6289
|
+
# paginated, the response will return a next page token that you can
|
6290
|
+
# specify as the page token in a subsequent request.
|
5607
6291
|
#
|
5608
6292
|
# @return [Types::GetRelationalDatabaseParametersResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
5609
6293
|
#
|
@@ -5663,7 +6347,7 @@ module Aws::Lightsail
|
|
5663
6347
|
# resp.relational_database_snapshot.created_at #=> Time
|
5664
6348
|
# resp.relational_database_snapshot.location.availability_zone #=> String
|
5665
6349
|
# resp.relational_database_snapshot.location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
5666
|
-
# resp.relational_database_snapshot.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord"
|
6350
|
+
# resp.relational_database_snapshot.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord", "Alarm", "ContactMethod"
|
5667
6351
|
# resp.relational_database_snapshot.tags #=> Array
|
5668
6352
|
# resp.relational_database_snapshot.tags[0].key #=> String
|
5669
6353
|
# resp.relational_database_snapshot.tags[0].value #=> String
|
@@ -5689,8 +6373,12 @@ module Aws::Lightsail
|
|
5689
6373
|
# Lightsail.
|
5690
6374
|
#
|
5691
6375
|
# @option params [String] :page_token
|
5692
|
-
#
|
5693
|
-
#
|
6376
|
+
# The token to advance to the next page of results from your request.
|
6377
|
+
#
|
6378
|
+
# To get a page token, perform an initial
|
6379
|
+
# `GetRelationalDatabaseSnapshots` request. If your results are
|
6380
|
+
# paginated, the response will return a next page token that you can
|
6381
|
+
# specify as the page token in a subsequent request.
|
5694
6382
|
#
|
5695
6383
|
# @return [Types::GetRelationalDatabaseSnapshotsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
5696
6384
|
#
|
@@ -5712,7 +6400,7 @@ module Aws::Lightsail
|
|
5712
6400
|
# resp.relational_database_snapshots[0].created_at #=> Time
|
5713
6401
|
# resp.relational_database_snapshots[0].location.availability_zone #=> String
|
5714
6402
|
# resp.relational_database_snapshots[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
5715
|
-
# resp.relational_database_snapshots[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord"
|
6403
|
+
# resp.relational_database_snapshots[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord", "Alarm", "ContactMethod"
|
5716
6404
|
# resp.relational_database_snapshots[0].tags #=> Array
|
5717
6405
|
# resp.relational_database_snapshots[0].tags[0].key #=> String
|
5718
6406
|
# resp.relational_database_snapshots[0].tags[0].value #=> String
|
@@ -5738,8 +6426,12 @@ module Aws::Lightsail
|
|
5738
6426
|
# Returns information about all of your databases in Amazon Lightsail.
|
5739
6427
|
#
|
5740
6428
|
# @option params [String] :page_token
|
5741
|
-
#
|
5742
|
-
#
|
6429
|
+
# The token to advance to the next page of results from your request.
|
6430
|
+
#
|
6431
|
+
# To get a page token, perform an initial `GetRelationalDatabases`
|
6432
|
+
# request. If your results are paginated, the response will return a
|
6433
|
+
# next page token that you can specify as the page token in a subsequent
|
6434
|
+
# request.
|
5743
6435
|
#
|
5744
6436
|
# @return [Types::GetRelationalDatabasesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
5745
6437
|
#
|
@@ -5761,7 +6453,7 @@ module Aws::Lightsail
|
|
5761
6453
|
# resp.relational_databases[0].created_at #=> Time
|
5762
6454
|
# resp.relational_databases[0].location.availability_zone #=> String
|
5763
6455
|
# resp.relational_databases[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
5764
|
-
# resp.relational_databases[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord"
|
6456
|
+
# resp.relational_databases[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord", "Alarm", "ContactMethod"
|
5765
6457
|
# resp.relational_databases[0].tags #=> Array
|
5766
6458
|
# resp.relational_databases[0].tags[0].key #=> String
|
5767
6459
|
# resp.relational_databases[0].tags[0].value #=> String
|
@@ -5791,6 +6483,7 @@ module Aws::Lightsail
|
|
5791
6483
|
# resp.relational_databases[0].pending_maintenance_actions[0].action #=> String
|
5792
6484
|
# resp.relational_databases[0].pending_maintenance_actions[0].description #=> String
|
5793
6485
|
# resp.relational_databases[0].pending_maintenance_actions[0].current_apply_date #=> Time
|
6486
|
+
# resp.relational_databases[0].ca_certificate_identifier #=> String
|
5794
6487
|
# resp.next_page_token #=> String
|
5795
6488
|
#
|
5796
6489
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetRelationalDatabases AWS API Documentation
|
@@ -5825,7 +6518,7 @@ module Aws::Lightsail
|
|
5825
6518
|
# resp.static_ip.created_at #=> Time
|
5826
6519
|
# resp.static_ip.location.availability_zone #=> String
|
5827
6520
|
# resp.static_ip.location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
5828
|
-
# resp.static_ip.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord"
|
6521
|
+
# resp.static_ip.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord", "Alarm", "ContactMethod"
|
5829
6522
|
# resp.static_ip.ip_address #=> String
|
5830
6523
|
# resp.static_ip.attached_to #=> String
|
5831
6524
|
# resp.static_ip.is_attached #=> Boolean
|
@@ -5842,8 +6535,11 @@ module Aws::Lightsail
|
|
5842
6535
|
# Returns information about all static IPs in the user's account.
|
5843
6536
|
#
|
5844
6537
|
# @option params [String] :page_token
|
5845
|
-
#
|
5846
|
-
#
|
6538
|
+
# The token to advance to the next page of results from your request.
|
6539
|
+
#
|
6540
|
+
# To get a page token, perform an initial `GetStaticIps` request. If
|
6541
|
+
# your results are paginated, the response will return a next page token
|
6542
|
+
# that you can specify as the page token in a subsequent request.
|
5847
6543
|
#
|
5848
6544
|
# @return [Types::GetStaticIpsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
5849
6545
|
#
|
@@ -5865,7 +6561,7 @@ module Aws::Lightsail
|
|
5865
6561
|
# resp.static_ips[0].created_at #=> Time
|
5866
6562
|
# resp.static_ips[0].location.availability_zone #=> String
|
5867
6563
|
# resp.static_ips[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
5868
|
-
# resp.static_ips[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord"
|
6564
|
+
# resp.static_ips[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord", "Alarm", "ContactMethod"
|
5869
6565
|
# resp.static_ips[0].ip_address #=> String
|
5870
6566
|
# resp.static_ips[0].attached_to #=> String
|
5871
6567
|
# resp.static_ips[0].is_attached #=> Boolean
|
@@ -5903,13 +6599,13 @@ module Aws::Lightsail
|
|
5903
6599
|
#
|
5904
6600
|
# resp.operation.id #=> String
|
5905
6601
|
# resp.operation.resource_name #=> String
|
5906
|
-
# resp.operation.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord"
|
6602
|
+
# resp.operation.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord", "Alarm", "ContactMethod"
|
5907
6603
|
# resp.operation.created_at #=> Time
|
5908
6604
|
# resp.operation.location.availability_zone #=> String
|
5909
6605
|
# resp.operation.location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
5910
6606
|
# resp.operation.is_terminal #=> Boolean
|
5911
6607
|
# resp.operation.operation_details #=> String
|
5912
|
-
# resp.operation.operation_type #=> String, one of "DeleteKnownHostKeys", "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot", "CreateRelationalDatabase", "UpdateRelationalDatabase", "DeleteRelationalDatabase", "CreateRelationalDatabaseFromSnapshot", "CreateRelationalDatabaseSnapshot", "DeleteRelationalDatabaseSnapshot", "UpdateRelationalDatabaseParameters", "StartRelationalDatabase", "RebootRelationalDatabase", "StopRelationalDatabase", "EnableAddOn", "DisableAddOn"
|
6608
|
+
# resp.operation.operation_type #=> String, one of "DeleteKnownHostKeys", "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot", "CreateRelationalDatabase", "UpdateRelationalDatabase", "DeleteRelationalDatabase", "CreateRelationalDatabaseFromSnapshot", "CreateRelationalDatabaseSnapshot", "DeleteRelationalDatabaseSnapshot", "UpdateRelationalDatabaseParameters", "StartRelationalDatabase", "RebootRelationalDatabase", "StopRelationalDatabase", "EnableAddOn", "DisableAddOn", "PutAlarm", "GetAlarms", "DeleteAlarm", "TestAlarm", "CreateContactMethod", "GetContactMethods", "SendContactMethodVerification", "DeleteContactMethod"
|
5913
6609
|
# resp.operation.status #=> String, one of "NotStarted", "Started", "Failed", "Completed", "Succeeded"
|
5914
6610
|
# resp.operation.status_changed_at #=> Time
|
5915
6611
|
# resp.operation.error_code #=> String
|
@@ -5944,11 +6640,13 @@ module Aws::Lightsail
|
|
5944
6640
|
req.send_request(options)
|
5945
6641
|
end
|
5946
6642
|
|
5947
|
-
#
|
6643
|
+
# Opens ports for a specific Amazon Lightsail instance, and specifies
|
6644
|
+
# the IP addresses allowed to connect to the instance through the ports,
|
6645
|
+
# and the protocol.
|
5948
6646
|
#
|
5949
|
-
# The `
|
5950
|
-
#
|
5951
|
-
# `
|
6647
|
+
# The `OpenInstancePublicPorts` action supports tag-based access control
|
6648
|
+
# via resource tags applied to the resource identified by
|
6649
|
+
# `instanceName`. For more information, see the [Lightsail Dev
|
5952
6650
|
# Guide][1].
|
5953
6651
|
#
|
5954
6652
|
#
|
@@ -5956,11 +6654,10 @@ module Aws::Lightsail
|
|
5956
6654
|
# [1]: https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-controlling-access-using-tags
|
5957
6655
|
#
|
5958
6656
|
# @option params [required, Types::PortInfo] :port_info
|
5959
|
-
# An
|
5960
|
-
# mappings.
|
6657
|
+
# An object to describe the ports to open for the specified instance.
|
5961
6658
|
#
|
5962
6659
|
# @option params [required, String] :instance_name
|
5963
|
-
# The name of the instance for which
|
6660
|
+
# The name of the instance for which to open ports.
|
5964
6661
|
#
|
5965
6662
|
# @return [Types::OpenInstancePublicPortsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
5966
6663
|
#
|
@@ -5972,7 +6669,9 @@ module Aws::Lightsail
|
|
5972
6669
|
# port_info: { # required
|
5973
6670
|
# from_port: 1,
|
5974
6671
|
# to_port: 1,
|
5975
|
-
# protocol: "tcp", # accepts tcp, all, udp
|
6672
|
+
# protocol: "tcp", # accepts tcp, all, udp, icmp
|
6673
|
+
# cidrs: ["string"],
|
6674
|
+
# cidr_list_aliases: ["string"],
|
5976
6675
|
# },
|
5977
6676
|
# instance_name: "ResourceName", # required
|
5978
6677
|
# })
|
@@ -5981,13 +6680,13 @@ module Aws::Lightsail
|
|
5981
6680
|
#
|
5982
6681
|
# resp.operation.id #=> String
|
5983
6682
|
# resp.operation.resource_name #=> String
|
5984
|
-
# resp.operation.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord"
|
6683
|
+
# resp.operation.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord", "Alarm", "ContactMethod"
|
5985
6684
|
# resp.operation.created_at #=> Time
|
5986
6685
|
# resp.operation.location.availability_zone #=> String
|
5987
6686
|
# resp.operation.location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
5988
6687
|
# resp.operation.is_terminal #=> Boolean
|
5989
6688
|
# resp.operation.operation_details #=> String
|
5990
|
-
# resp.operation.operation_type #=> String, one of "DeleteKnownHostKeys", "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot", "CreateRelationalDatabase", "UpdateRelationalDatabase", "DeleteRelationalDatabase", "CreateRelationalDatabaseFromSnapshot", "CreateRelationalDatabaseSnapshot", "DeleteRelationalDatabaseSnapshot", "UpdateRelationalDatabaseParameters", "StartRelationalDatabase", "RebootRelationalDatabase", "StopRelationalDatabase", "EnableAddOn", "DisableAddOn"
|
6689
|
+
# resp.operation.operation_type #=> String, one of "DeleteKnownHostKeys", "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot", "CreateRelationalDatabase", "UpdateRelationalDatabase", "DeleteRelationalDatabase", "CreateRelationalDatabaseFromSnapshot", "CreateRelationalDatabaseSnapshot", "DeleteRelationalDatabaseSnapshot", "UpdateRelationalDatabaseParameters", "StartRelationalDatabase", "RebootRelationalDatabase", "StopRelationalDatabase", "EnableAddOn", "DisableAddOn", "PutAlarm", "GetAlarms", "DeleteAlarm", "TestAlarm", "CreateContactMethod", "GetContactMethods", "SendContactMethodVerification", "DeleteContactMethod"
|
5991
6690
|
# resp.operation.status #=> String, one of "NotStarted", "Started", "Failed", "Completed", "Succeeded"
|
5992
6691
|
# resp.operation.status_changed_at #=> Time
|
5993
6692
|
# resp.operation.error_code #=> String
|
@@ -6012,13 +6711,13 @@ module Aws::Lightsail
|
|
6012
6711
|
#
|
6013
6712
|
# resp.operation.id #=> String
|
6014
6713
|
# resp.operation.resource_name #=> String
|
6015
|
-
# resp.operation.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord"
|
6714
|
+
# resp.operation.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord", "Alarm", "ContactMethod"
|
6016
6715
|
# resp.operation.created_at #=> Time
|
6017
6716
|
# resp.operation.location.availability_zone #=> String
|
6018
6717
|
# resp.operation.location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
6019
6718
|
# resp.operation.is_terminal #=> Boolean
|
6020
6719
|
# resp.operation.operation_details #=> String
|
6021
|
-
# resp.operation.operation_type #=> String, one of "DeleteKnownHostKeys", "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot", "CreateRelationalDatabase", "UpdateRelationalDatabase", "DeleteRelationalDatabase", "CreateRelationalDatabaseFromSnapshot", "CreateRelationalDatabaseSnapshot", "DeleteRelationalDatabaseSnapshot", "UpdateRelationalDatabaseParameters", "StartRelationalDatabase", "RebootRelationalDatabase", "StopRelationalDatabase", "EnableAddOn", "DisableAddOn"
|
6720
|
+
# resp.operation.operation_type #=> String, one of "DeleteKnownHostKeys", "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot", "CreateRelationalDatabase", "UpdateRelationalDatabase", "DeleteRelationalDatabase", "CreateRelationalDatabaseFromSnapshot", "CreateRelationalDatabaseSnapshot", "DeleteRelationalDatabaseSnapshot", "UpdateRelationalDatabaseParameters", "StartRelationalDatabase", "RebootRelationalDatabase", "StopRelationalDatabase", "EnableAddOn", "DisableAddOn", "PutAlarm", "GetAlarms", "DeleteAlarm", "TestAlarm", "CreateContactMethod", "GetContactMethods", "SendContactMethodVerification", "DeleteContactMethod"
|
6022
6721
|
# resp.operation.status #=> String, one of "NotStarted", "Started", "Failed", "Completed", "Succeeded"
|
6023
6722
|
# resp.operation.status_changed_at #=> Time
|
6024
6723
|
# resp.operation.error_code #=> String
|
@@ -6033,13 +6732,217 @@ module Aws::Lightsail
|
|
6033
6732
|
req.send_request(options)
|
6034
6733
|
end
|
6035
6734
|
|
6036
|
-
#
|
6037
|
-
#
|
6038
|
-
# request.
|
6735
|
+
# Creates or updates an alarm, and associates it with the specified
|
6736
|
+
# metric.
|
6039
6737
|
#
|
6040
|
-
#
|
6041
|
-
#
|
6042
|
-
#
|
6738
|
+
# An alarm is used to monitor a single metric for one of your resources.
|
6739
|
+
# When a metric condition is met, the alarm can notify you by email, SMS
|
6740
|
+
# text message, and a banner displayed on the Amazon Lightsail console.
|
6741
|
+
# For more information, see [Alarms in Amazon Lightsail][1].
|
6742
|
+
#
|
6743
|
+
# When this action creates an alarm, the alarm state is immediately set
|
6744
|
+
# to `INSUFFICIENT_DATA`. The alarm is then evaluated and its state is
|
6745
|
+
# set appropriately. Any actions associated with the new state are then
|
6746
|
+
# executed.
|
6747
|
+
#
|
6748
|
+
# When you update an existing alarm, its state is left unchanged, but
|
6749
|
+
# the update completely overwrites the previous configuration of the
|
6750
|
+
# alarm. The alarm is then evaluated with the updated configuration.
|
6751
|
+
#
|
6752
|
+
#
|
6753
|
+
#
|
6754
|
+
# [1]: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-alarms
|
6755
|
+
#
|
6756
|
+
# @option params [required, String] :alarm_name
|
6757
|
+
# The name for the alarm. Specify the name of an existing alarm to
|
6758
|
+
# update, and overwrite the previous configuration of the alarm.
|
6759
|
+
#
|
6760
|
+
# @option params [required, String] :metric_name
|
6761
|
+
# The name of the metric to associate with the alarm.
|
6762
|
+
#
|
6763
|
+
# You can configure up to two alarms per metric.
|
6764
|
+
#
|
6765
|
+
# The following metrics are available for each resource type:
|
6766
|
+
#
|
6767
|
+
# * **Instances**\: `CPUUtilization`, `NetworkIn`, `NetworkOut`,
|
6768
|
+
# `StatusCheckFailed`, `StatusCheckFailed_Instance`, and
|
6769
|
+
# `StatusCheckFailed_System`.
|
6770
|
+
#
|
6771
|
+
# * **Load balancers**\: `ClientTLSNegotiationErrorCount`,
|
6772
|
+
# `HealthyHostCount`, `UnhealthyHostCount`, `HTTPCode_LB_4XX_Count`,
|
6773
|
+
# `HTTPCode_LB_5XX_Count`, `HTTPCode_Instance_2XX_Count`,
|
6774
|
+
# `HTTPCode_Instance_3XX_Count`, `HTTPCode_Instance_4XX_Count`,
|
6775
|
+
# `HTTPCode_Instance_5XX_Count`, `InstanceResponseTime`,
|
6776
|
+
# `RejectedConnectionCount`, and `RequestCount`.
|
6777
|
+
#
|
6778
|
+
# * **Relational databases**\: `CPUUtilization`, `DatabaseConnections`,
|
6779
|
+
# `DiskQueueDepth`, `FreeStorageSpace`, `NetworkReceiveThroughput`,
|
6780
|
+
# and `NetworkTransmitThroughput`.
|
6781
|
+
#
|
6782
|
+
# @option params [required, String] :monitored_resource_name
|
6783
|
+
# The name of the Lightsail resource that will be monitored.
|
6784
|
+
#
|
6785
|
+
# Instances, load balancers, and relational databases are the only
|
6786
|
+
# Lightsail resources that can currently be monitored by alarms.
|
6787
|
+
#
|
6788
|
+
# @option params [required, String] :comparison_operator
|
6789
|
+
# The arithmetic operation to use when comparing the specified statistic
|
6790
|
+
# to the threshold. The specified statistic value is used as the first
|
6791
|
+
# operand.
|
6792
|
+
#
|
6793
|
+
# @option params [required, Float] :threshold
|
6794
|
+
# The value against which the specified statistic is compared.
|
6795
|
+
#
|
6796
|
+
# @option params [required, Integer] :evaluation_periods
|
6797
|
+
# The number of most recent periods over which data is compared to the
|
6798
|
+
# specified threshold. If you are setting an "M out of N" alarm, this
|
6799
|
+
# value (`evaluationPeriods`) is the N.
|
6800
|
+
#
|
6801
|
+
# If you are setting an alarm that requires that a number of consecutive
|
6802
|
+
# data points be breaching to trigger the alarm, this value specifies
|
6803
|
+
# the rolling period of time in which data points are evaluated.
|
6804
|
+
#
|
6805
|
+
# Each evaluation period is five minutes long. For example, specify an
|
6806
|
+
# evaluation period of 24 to evaluate a metric over a rolling period of
|
6807
|
+
# two hours.
|
6808
|
+
#
|
6809
|
+
# You can specify a minimum valuation period of 1 (5 minutes), and a
|
6810
|
+
# maximum evaluation period of 288 (24 hours).
|
6811
|
+
#
|
6812
|
+
# @option params [Integer] :datapoints_to_alarm
|
6813
|
+
# The number of data points that must be not within the specified
|
6814
|
+
# threshold to trigger the alarm. If you are setting an "M out of N"
|
6815
|
+
# alarm, this value (`datapointsToAlarm`) is the M.
|
6816
|
+
#
|
6817
|
+
# @option params [String] :treat_missing_data
|
6818
|
+
# Sets how this alarm will handle missing data points.
|
6819
|
+
#
|
6820
|
+
# An alarm can treat missing data in the following ways:
|
6821
|
+
#
|
6822
|
+
# * `breaching` - Assume the missing data is not within the threshold.
|
6823
|
+
# Missing data counts towards the number of times the metric is not
|
6824
|
+
# within the threshold.
|
6825
|
+
#
|
6826
|
+
# * `notBreaching` - Assume the missing data is within the threshold.
|
6827
|
+
# Missing data does not count towards the number of times the metric
|
6828
|
+
# is not within the threshold.
|
6829
|
+
#
|
6830
|
+
# * `ignore` - Ignore the missing data. Maintains the current alarm
|
6831
|
+
# state.
|
6832
|
+
#
|
6833
|
+
# * `missing` - Missing data is treated as missing.
|
6834
|
+
#
|
6835
|
+
# If `treatMissingData` is not specified, the default behavior of
|
6836
|
+
# `missing` is used.
|
6837
|
+
#
|
6838
|
+
# @option params [Array<String>] :contact_protocols
|
6839
|
+
# The contact protocols to use for the alarm, such as `Email`, `SMS`
|
6840
|
+
# (text messaging), or both.
|
6841
|
+
#
|
6842
|
+
# A notification is sent via the specified contact protocol if
|
6843
|
+
# notifications are enabled for the alarm, and when the alarm is
|
6844
|
+
# triggered.
|
6845
|
+
#
|
6846
|
+
# A notification is not sent if a contact protocol is not specified, if
|
6847
|
+
# the specified contact protocol is not configured in the AWS Region, or
|
6848
|
+
# if notifications are not enabled for the alarm using the
|
6849
|
+
# `notificationEnabled` paramater.
|
6850
|
+
#
|
6851
|
+
# Use the `CreateContactMethod` action to configure a contact protocol
|
6852
|
+
# in an AWS Region.
|
6853
|
+
#
|
6854
|
+
# @option params [Array<String>] :notification_triggers
|
6855
|
+
# The alarm states that trigger a notification.
|
6856
|
+
#
|
6857
|
+
# An alarm has the following possible states:
|
6858
|
+
#
|
6859
|
+
# * `ALARM` - The metric is outside of the defined threshold.
|
6860
|
+
#
|
6861
|
+
# * `INSUFFICIENT_DATA` - The alarm has just started, the metric is not
|
6862
|
+
# available, or not enough data is available for the metric to
|
6863
|
+
# determine the alarm state.
|
6864
|
+
#
|
6865
|
+
# * `OK` - The metric is within the defined threshold.
|
6866
|
+
#
|
6867
|
+
# When you specify a notification trigger, the `ALARM` state must be
|
6868
|
+
# specified. The `INSUFFICIENT_DATA` and `OK` states can be specified in
|
6869
|
+
# addition to the `ALARM` state.
|
6870
|
+
#
|
6871
|
+
# * If you specify `OK` as an alarm trigger, a notification is sent when
|
6872
|
+
# the alarm switches from an `ALARM` or `INSUFFICIENT_DATA` alarm
|
6873
|
+
# state to an `OK` state. This can be thought of as an *all clear*
|
6874
|
+
# alarm notification.
|
6875
|
+
#
|
6876
|
+
# * If you specify `INSUFFICIENT_DATA` as the alarm trigger, a
|
6877
|
+
# notification is sent when the alarm switches from an `OK` or `ALARM`
|
6878
|
+
# alarm state to an `INSUFFICIENT_DATA` state.
|
6879
|
+
#
|
6880
|
+
# The notification trigger defaults to `ALARM` if you don't specify
|
6881
|
+
# this parameter.
|
6882
|
+
#
|
6883
|
+
# @option params [Boolean] :notification_enabled
|
6884
|
+
# Indicates whether the alarm is enabled.
|
6885
|
+
#
|
6886
|
+
# Notifications are enabled by default if you don't specify this
|
6887
|
+
# parameter.
|
6888
|
+
#
|
6889
|
+
# @return [Types::PutAlarmResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
6890
|
+
#
|
6891
|
+
# * {Types::PutAlarmResult#operations #operations} => Array<Types::Operation>
|
6892
|
+
#
|
6893
|
+
# @example Request syntax with placeholder values
|
6894
|
+
#
|
6895
|
+
# resp = client.put_alarm({
|
6896
|
+
# alarm_name: "ResourceName", # required
|
6897
|
+
# metric_name: "CPUUtilization", # required, accepts CPUUtilization, NetworkIn, NetworkOut, StatusCheckFailed, StatusCheckFailed_Instance, StatusCheckFailed_System, ClientTLSNegotiationErrorCount, HealthyHostCount, UnhealthyHostCount, HTTPCode_LB_4XX_Count, HTTPCode_LB_5XX_Count, HTTPCode_Instance_2XX_Count, HTTPCode_Instance_3XX_Count, HTTPCode_Instance_4XX_Count, HTTPCode_Instance_5XX_Count, InstanceResponseTime, RejectedConnectionCount, RequestCount, DatabaseConnections, DiskQueueDepth, FreeStorageSpace, NetworkReceiveThroughput, NetworkTransmitThroughput
|
6898
|
+
# monitored_resource_name: "ResourceName", # required
|
6899
|
+
# comparison_operator: "GreaterThanOrEqualToThreshold", # required, accepts GreaterThanOrEqualToThreshold, GreaterThanThreshold, LessThanThreshold, LessThanOrEqualToThreshold
|
6900
|
+
# threshold: 1.0, # required
|
6901
|
+
# evaluation_periods: 1, # required
|
6902
|
+
# datapoints_to_alarm: 1,
|
6903
|
+
# treat_missing_data: "breaching", # accepts breaching, notBreaching, ignore, missing
|
6904
|
+
# contact_protocols: ["Email"], # accepts Email, SMS
|
6905
|
+
# notification_triggers: ["OK"], # accepts OK, ALARM, INSUFFICIENT_DATA
|
6906
|
+
# notification_enabled: false,
|
6907
|
+
# })
|
6908
|
+
#
|
6909
|
+
# @example Response structure
|
6910
|
+
#
|
6911
|
+
# resp.operations #=> Array
|
6912
|
+
# resp.operations[0].id #=> String
|
6913
|
+
# resp.operations[0].resource_name #=> String
|
6914
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord", "Alarm", "ContactMethod"
|
6915
|
+
# resp.operations[0].created_at #=> Time
|
6916
|
+
# resp.operations[0].location.availability_zone #=> String
|
6917
|
+
# resp.operations[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
6918
|
+
# resp.operations[0].is_terminal #=> Boolean
|
6919
|
+
# resp.operations[0].operation_details #=> String
|
6920
|
+
# resp.operations[0].operation_type #=> String, one of "DeleteKnownHostKeys", "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot", "CreateRelationalDatabase", "UpdateRelationalDatabase", "DeleteRelationalDatabase", "CreateRelationalDatabaseFromSnapshot", "CreateRelationalDatabaseSnapshot", "DeleteRelationalDatabaseSnapshot", "UpdateRelationalDatabaseParameters", "StartRelationalDatabase", "RebootRelationalDatabase", "StopRelationalDatabase", "EnableAddOn", "DisableAddOn", "PutAlarm", "GetAlarms", "DeleteAlarm", "TestAlarm", "CreateContactMethod", "GetContactMethods", "SendContactMethodVerification", "DeleteContactMethod"
|
6921
|
+
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed", "Succeeded"
|
6922
|
+
# resp.operations[0].status_changed_at #=> Time
|
6923
|
+
# resp.operations[0].error_code #=> String
|
6924
|
+
# resp.operations[0].error_details #=> String
|
6925
|
+
#
|
6926
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/PutAlarm AWS API Documentation
|
6927
|
+
#
|
6928
|
+
# @overload put_alarm(params = {})
|
6929
|
+
# @param [Hash] params ({})
|
6930
|
+
def put_alarm(params = {}, options = {})
|
6931
|
+
req = build_request(:put_alarm, params)
|
6932
|
+
req.send_request(options)
|
6933
|
+
end
|
6934
|
+
|
6935
|
+
# Opens ports for a specific Amazon Lightsail instance, and specifies
|
6936
|
+
# the IP addresses allowed to connect to the instance through the ports,
|
6937
|
+
# and the protocol. This action also closes all currently open ports
|
6938
|
+
# that are not included in the request. Include all of the ports and the
|
6939
|
+
# protocols you want to open in your `PutInstancePublicPorts`request. Or
|
6940
|
+
# use the `OpenInstancePublicPorts` action to open ports without closing
|
6941
|
+
# currently open ports.
|
6942
|
+
#
|
6943
|
+
# The `PutInstancePublicPorts` action supports tag-based access control
|
6944
|
+
# via resource tags applied to the resource identified by
|
6945
|
+
# `instanceName`. For more information, see the [Lightsail Dev
|
6043
6946
|
# Guide][1].
|
6044
6947
|
#
|
6045
6948
|
#
|
@@ -6047,10 +6950,11 @@ module Aws::Lightsail
|
|
6047
6950
|
# [1]: https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-controlling-access-using-tags
|
6048
6951
|
#
|
6049
6952
|
# @option params [required, Array<Types::PortInfo>] :port_infos
|
6050
|
-
#
|
6953
|
+
# An array of objects to describe the ports to open for the specified
|
6954
|
+
# instance.
|
6051
6955
|
#
|
6052
6956
|
# @option params [required, String] :instance_name
|
6053
|
-
# The
|
6957
|
+
# The name of the instance for which to open ports.
|
6054
6958
|
#
|
6055
6959
|
# @return [Types::PutInstancePublicPortsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
6056
6960
|
#
|
@@ -6063,7 +6967,9 @@ module Aws::Lightsail
|
|
6063
6967
|
# {
|
6064
6968
|
# from_port: 1,
|
6065
6969
|
# to_port: 1,
|
6066
|
-
# protocol: "tcp", # accepts tcp, all, udp
|
6970
|
+
# protocol: "tcp", # accepts tcp, all, udp, icmp
|
6971
|
+
# cidrs: ["string"],
|
6972
|
+
# cidr_list_aliases: ["string"],
|
6067
6973
|
# },
|
6068
6974
|
# ],
|
6069
6975
|
# instance_name: "ResourceName", # required
|
@@ -6073,13 +6979,13 @@ module Aws::Lightsail
|
|
6073
6979
|
#
|
6074
6980
|
# resp.operation.id #=> String
|
6075
6981
|
# resp.operation.resource_name #=> String
|
6076
|
-
# resp.operation.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord"
|
6982
|
+
# resp.operation.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord", "Alarm", "ContactMethod"
|
6077
6983
|
# resp.operation.created_at #=> Time
|
6078
6984
|
# resp.operation.location.availability_zone #=> String
|
6079
6985
|
# resp.operation.location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
6080
6986
|
# resp.operation.is_terminal #=> Boolean
|
6081
6987
|
# resp.operation.operation_details #=> String
|
6082
|
-
# resp.operation.operation_type #=> String, one of "DeleteKnownHostKeys", "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot", "CreateRelationalDatabase", "UpdateRelationalDatabase", "DeleteRelationalDatabase", "CreateRelationalDatabaseFromSnapshot", "CreateRelationalDatabaseSnapshot", "DeleteRelationalDatabaseSnapshot", "UpdateRelationalDatabaseParameters", "StartRelationalDatabase", "RebootRelationalDatabase", "StopRelationalDatabase", "EnableAddOn", "DisableAddOn"
|
6988
|
+
# resp.operation.operation_type #=> String, one of "DeleteKnownHostKeys", "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot", "CreateRelationalDatabase", "UpdateRelationalDatabase", "DeleteRelationalDatabase", "CreateRelationalDatabaseFromSnapshot", "CreateRelationalDatabaseSnapshot", "DeleteRelationalDatabaseSnapshot", "UpdateRelationalDatabaseParameters", "StartRelationalDatabase", "RebootRelationalDatabase", "StopRelationalDatabase", "EnableAddOn", "DisableAddOn", "PutAlarm", "GetAlarms", "DeleteAlarm", "TestAlarm", "CreateContactMethod", "GetContactMethods", "SendContactMethodVerification", "DeleteContactMethod"
|
6083
6989
|
# resp.operation.status #=> String, one of "NotStarted", "Started", "Failed", "Completed", "Succeeded"
|
6084
6990
|
# resp.operation.status_changed_at #=> Time
|
6085
6991
|
# resp.operation.error_code #=> String
|
@@ -6122,13 +7028,13 @@ module Aws::Lightsail
|
|
6122
7028
|
# resp.operations #=> Array
|
6123
7029
|
# resp.operations[0].id #=> String
|
6124
7030
|
# resp.operations[0].resource_name #=> String
|
6125
|
-
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord"
|
7031
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord", "Alarm", "ContactMethod"
|
6126
7032
|
# resp.operations[0].created_at #=> Time
|
6127
7033
|
# resp.operations[0].location.availability_zone #=> String
|
6128
7034
|
# resp.operations[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
6129
7035
|
# resp.operations[0].is_terminal #=> Boolean
|
6130
7036
|
# resp.operations[0].operation_details #=> String
|
6131
|
-
# resp.operations[0].operation_type #=> String, one of "DeleteKnownHostKeys", "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot", "CreateRelationalDatabase", "UpdateRelationalDatabase", "DeleteRelationalDatabase", "CreateRelationalDatabaseFromSnapshot", "CreateRelationalDatabaseSnapshot", "DeleteRelationalDatabaseSnapshot", "UpdateRelationalDatabaseParameters", "StartRelationalDatabase", "RebootRelationalDatabase", "StopRelationalDatabase", "EnableAddOn", "DisableAddOn"
|
7037
|
+
# resp.operations[0].operation_type #=> String, one of "DeleteKnownHostKeys", "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot", "CreateRelationalDatabase", "UpdateRelationalDatabase", "DeleteRelationalDatabase", "CreateRelationalDatabaseFromSnapshot", "CreateRelationalDatabaseSnapshot", "DeleteRelationalDatabaseSnapshot", "UpdateRelationalDatabaseParameters", "StartRelationalDatabase", "RebootRelationalDatabase", "StopRelationalDatabase", "EnableAddOn", "DisableAddOn", "PutAlarm", "GetAlarms", "DeleteAlarm", "TestAlarm", "CreateContactMethod", "GetContactMethods", "SendContactMethodVerification", "DeleteContactMethod"
|
6132
7038
|
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed", "Succeeded"
|
6133
7039
|
# resp.operations[0].status_changed_at #=> Time
|
6134
7040
|
# resp.operations[0].error_code #=> String
|
@@ -6172,13 +7078,13 @@ module Aws::Lightsail
|
|
6172
7078
|
# resp.operations #=> Array
|
6173
7079
|
# resp.operations[0].id #=> String
|
6174
7080
|
# resp.operations[0].resource_name #=> String
|
6175
|
-
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord"
|
7081
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord", "Alarm", "ContactMethod"
|
6176
7082
|
# resp.operations[0].created_at #=> Time
|
6177
7083
|
# resp.operations[0].location.availability_zone #=> String
|
6178
7084
|
# resp.operations[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
6179
7085
|
# resp.operations[0].is_terminal #=> Boolean
|
6180
7086
|
# resp.operations[0].operation_details #=> String
|
6181
|
-
# resp.operations[0].operation_type #=> String, one of "DeleteKnownHostKeys", "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot", "CreateRelationalDatabase", "UpdateRelationalDatabase", "DeleteRelationalDatabase", "CreateRelationalDatabaseFromSnapshot", "CreateRelationalDatabaseSnapshot", "DeleteRelationalDatabaseSnapshot", "UpdateRelationalDatabaseParameters", "StartRelationalDatabase", "RebootRelationalDatabase", "StopRelationalDatabase", "EnableAddOn", "DisableAddOn"
|
7087
|
+
# resp.operations[0].operation_type #=> String, one of "DeleteKnownHostKeys", "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot", "CreateRelationalDatabase", "UpdateRelationalDatabase", "DeleteRelationalDatabase", "CreateRelationalDatabaseFromSnapshot", "CreateRelationalDatabaseSnapshot", "DeleteRelationalDatabaseSnapshot", "UpdateRelationalDatabaseParameters", "StartRelationalDatabase", "RebootRelationalDatabase", "StopRelationalDatabase", "EnableAddOn", "DisableAddOn", "PutAlarm", "GetAlarms", "DeleteAlarm", "TestAlarm", "CreateContactMethod", "GetContactMethods", "SendContactMethodVerification", "DeleteContactMethod"
|
6182
7088
|
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed", "Succeeded"
|
6183
7089
|
# resp.operations[0].status_changed_at #=> Time
|
6184
7090
|
# resp.operations[0].error_code #=> String
|
@@ -6213,13 +7119,13 @@ module Aws::Lightsail
|
|
6213
7119
|
# resp.operations #=> Array
|
6214
7120
|
# resp.operations[0].id #=> String
|
6215
7121
|
# resp.operations[0].resource_name #=> String
|
6216
|
-
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord"
|
7122
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord", "Alarm", "ContactMethod"
|
6217
7123
|
# resp.operations[0].created_at #=> Time
|
6218
7124
|
# resp.operations[0].location.availability_zone #=> String
|
6219
7125
|
# resp.operations[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
6220
7126
|
# resp.operations[0].is_terminal #=> Boolean
|
6221
7127
|
# resp.operations[0].operation_details #=> String
|
6222
|
-
# resp.operations[0].operation_type #=> String, one of "DeleteKnownHostKeys", "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot", "CreateRelationalDatabase", "UpdateRelationalDatabase", "DeleteRelationalDatabase", "CreateRelationalDatabaseFromSnapshot", "CreateRelationalDatabaseSnapshot", "DeleteRelationalDatabaseSnapshot", "UpdateRelationalDatabaseParameters", "StartRelationalDatabase", "RebootRelationalDatabase", "StopRelationalDatabase", "EnableAddOn", "DisableAddOn"
|
7128
|
+
# resp.operations[0].operation_type #=> String, one of "DeleteKnownHostKeys", "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot", "CreateRelationalDatabase", "UpdateRelationalDatabase", "DeleteRelationalDatabase", "CreateRelationalDatabaseFromSnapshot", "CreateRelationalDatabaseSnapshot", "DeleteRelationalDatabaseSnapshot", "UpdateRelationalDatabaseParameters", "StartRelationalDatabase", "RebootRelationalDatabase", "StopRelationalDatabase", "EnableAddOn", "DisableAddOn", "PutAlarm", "GetAlarms", "DeleteAlarm", "TestAlarm", "CreateContactMethod", "GetContactMethods", "SendContactMethodVerification", "DeleteContactMethod"
|
6223
7129
|
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed", "Succeeded"
|
6224
7130
|
# resp.operations[0].status_changed_at #=> Time
|
6225
7131
|
# resp.operations[0].error_code #=> String
|
@@ -6234,6 +7140,68 @@ module Aws::Lightsail
|
|
6234
7140
|
req.send_request(options)
|
6235
7141
|
end
|
6236
7142
|
|
7143
|
+
# Sends a verification request to an email contact method to ensure
|
7144
|
+
# it's owned by the requester. SMS contact methods don't need to be
|
7145
|
+
# verified.
|
7146
|
+
#
|
7147
|
+
# A contact method is used to send you notifications about your Amazon
|
7148
|
+
# Lightsail resources. You can add one email address and one mobile
|
7149
|
+
# phone number contact method in each AWS Region. However, SMS text
|
7150
|
+
# messaging is not supported in some AWS Regions, and SMS text messages
|
7151
|
+
# cannot be sent to some countries/regions. For more information, see
|
7152
|
+
# [Notifications in Amazon Lightsail][1].
|
7153
|
+
#
|
7154
|
+
# A verification request is sent to the contact method when you
|
7155
|
+
# initially create it. Use this action to send another verification
|
7156
|
+
# request if a previous verification request was deleted, or has
|
7157
|
+
# expired.
|
7158
|
+
#
|
7159
|
+
# Notifications are not sent to an email contact method until after it
|
7160
|
+
# is verified, and confirmed as valid.
|
7161
|
+
#
|
7162
|
+
#
|
7163
|
+
#
|
7164
|
+
# [1]: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-notifications
|
7165
|
+
#
|
7166
|
+
# @option params [required, String] :protocol
|
7167
|
+
# The protocol to verify, such as `Email` or `SMS` (text messaging).
|
7168
|
+
#
|
7169
|
+
# @return [Types::SendContactMethodVerificationResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
7170
|
+
#
|
7171
|
+
# * {Types::SendContactMethodVerificationResult#operations #operations} => Array<Types::Operation>
|
7172
|
+
#
|
7173
|
+
# @example Request syntax with placeholder values
|
7174
|
+
#
|
7175
|
+
# resp = client.send_contact_method_verification({
|
7176
|
+
# protocol: "Email", # required, accepts Email
|
7177
|
+
# })
|
7178
|
+
#
|
7179
|
+
# @example Response structure
|
7180
|
+
#
|
7181
|
+
# resp.operations #=> Array
|
7182
|
+
# resp.operations[0].id #=> String
|
7183
|
+
# resp.operations[0].resource_name #=> String
|
7184
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord", "Alarm", "ContactMethod"
|
7185
|
+
# resp.operations[0].created_at #=> Time
|
7186
|
+
# resp.operations[0].location.availability_zone #=> String
|
7187
|
+
# resp.operations[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
7188
|
+
# resp.operations[0].is_terminal #=> Boolean
|
7189
|
+
# resp.operations[0].operation_details #=> String
|
7190
|
+
# resp.operations[0].operation_type #=> String, one of "DeleteKnownHostKeys", "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot", "CreateRelationalDatabase", "UpdateRelationalDatabase", "DeleteRelationalDatabase", "CreateRelationalDatabaseFromSnapshot", "CreateRelationalDatabaseSnapshot", "DeleteRelationalDatabaseSnapshot", "UpdateRelationalDatabaseParameters", "StartRelationalDatabase", "RebootRelationalDatabase", "StopRelationalDatabase", "EnableAddOn", "DisableAddOn", "PutAlarm", "GetAlarms", "DeleteAlarm", "TestAlarm", "CreateContactMethod", "GetContactMethods", "SendContactMethodVerification", "DeleteContactMethod"
|
7191
|
+
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed", "Succeeded"
|
7192
|
+
# resp.operations[0].status_changed_at #=> Time
|
7193
|
+
# resp.operations[0].error_code #=> String
|
7194
|
+
# resp.operations[0].error_details #=> String
|
7195
|
+
#
|
7196
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/SendContactMethodVerification AWS API Documentation
|
7197
|
+
#
|
7198
|
+
# @overload send_contact_method_verification(params = {})
|
7199
|
+
# @param [Hash] params ({})
|
7200
|
+
def send_contact_method_verification(params = {}, options = {})
|
7201
|
+
req = build_request(:send_contact_method_verification, params)
|
7202
|
+
req.send_request(options)
|
7203
|
+
end
|
7204
|
+
|
6237
7205
|
# Starts a specific Amazon Lightsail instance from a stopped state. To
|
6238
7206
|
# restart an instance, use the `reboot instance` operation.
|
6239
7207
|
#
|
@@ -6271,13 +7239,13 @@ module Aws::Lightsail
|
|
6271
7239
|
# resp.operations #=> Array
|
6272
7240
|
# resp.operations[0].id #=> String
|
6273
7241
|
# resp.operations[0].resource_name #=> String
|
6274
|
-
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord"
|
7242
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord", "Alarm", "ContactMethod"
|
6275
7243
|
# resp.operations[0].created_at #=> Time
|
6276
7244
|
# resp.operations[0].location.availability_zone #=> String
|
6277
7245
|
# resp.operations[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
6278
7246
|
# resp.operations[0].is_terminal #=> Boolean
|
6279
7247
|
# resp.operations[0].operation_details #=> String
|
6280
|
-
# resp.operations[0].operation_type #=> String, one of "DeleteKnownHostKeys", "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot", "CreateRelationalDatabase", "UpdateRelationalDatabase", "DeleteRelationalDatabase", "CreateRelationalDatabaseFromSnapshot", "CreateRelationalDatabaseSnapshot", "DeleteRelationalDatabaseSnapshot", "UpdateRelationalDatabaseParameters", "StartRelationalDatabase", "RebootRelationalDatabase", "StopRelationalDatabase", "EnableAddOn", "DisableAddOn"
|
7248
|
+
# resp.operations[0].operation_type #=> String, one of "DeleteKnownHostKeys", "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot", "CreateRelationalDatabase", "UpdateRelationalDatabase", "DeleteRelationalDatabase", "CreateRelationalDatabaseFromSnapshot", "CreateRelationalDatabaseSnapshot", "DeleteRelationalDatabaseSnapshot", "UpdateRelationalDatabaseParameters", "StartRelationalDatabase", "RebootRelationalDatabase", "StopRelationalDatabase", "EnableAddOn", "DisableAddOn", "PutAlarm", "GetAlarms", "DeleteAlarm", "TestAlarm", "CreateContactMethod", "GetContactMethods", "SendContactMethodVerification", "DeleteContactMethod"
|
6281
7249
|
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed", "Succeeded"
|
6282
7250
|
# resp.operations[0].status_changed_at #=> Time
|
6283
7251
|
# resp.operations[0].error_code #=> String
|
@@ -6322,13 +7290,13 @@ module Aws::Lightsail
|
|
6322
7290
|
# resp.operations #=> Array
|
6323
7291
|
# resp.operations[0].id #=> String
|
6324
7292
|
# resp.operations[0].resource_name #=> String
|
6325
|
-
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord"
|
7293
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord", "Alarm", "ContactMethod"
|
6326
7294
|
# resp.operations[0].created_at #=> Time
|
6327
7295
|
# resp.operations[0].location.availability_zone #=> String
|
6328
7296
|
# resp.operations[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
6329
7297
|
# resp.operations[0].is_terminal #=> Boolean
|
6330
7298
|
# resp.operations[0].operation_details #=> String
|
6331
|
-
# resp.operations[0].operation_type #=> String, one of "DeleteKnownHostKeys", "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot", "CreateRelationalDatabase", "UpdateRelationalDatabase", "DeleteRelationalDatabase", "CreateRelationalDatabaseFromSnapshot", "CreateRelationalDatabaseSnapshot", "DeleteRelationalDatabaseSnapshot", "UpdateRelationalDatabaseParameters", "StartRelationalDatabase", "RebootRelationalDatabase", "StopRelationalDatabase", "EnableAddOn", "DisableAddOn"
|
7299
|
+
# resp.operations[0].operation_type #=> String, one of "DeleteKnownHostKeys", "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot", "CreateRelationalDatabase", "UpdateRelationalDatabase", "DeleteRelationalDatabase", "CreateRelationalDatabaseFromSnapshot", "CreateRelationalDatabaseSnapshot", "DeleteRelationalDatabaseSnapshot", "UpdateRelationalDatabaseParameters", "StartRelationalDatabase", "RebootRelationalDatabase", "StopRelationalDatabase", "EnableAddOn", "DisableAddOn", "PutAlarm", "GetAlarms", "DeleteAlarm", "TestAlarm", "CreateContactMethod", "GetContactMethods", "SendContactMethodVerification", "DeleteContactMethod"
|
6332
7300
|
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed", "Succeeded"
|
6333
7301
|
# resp.operations[0].status_changed_at #=> Time
|
6334
7302
|
# resp.operations[0].error_code #=> String
|
@@ -6388,13 +7356,13 @@ module Aws::Lightsail
|
|
6388
7356
|
# resp.operations #=> Array
|
6389
7357
|
# resp.operations[0].id #=> String
|
6390
7358
|
# resp.operations[0].resource_name #=> String
|
6391
|
-
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord"
|
7359
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord", "Alarm", "ContactMethod"
|
6392
7360
|
# resp.operations[0].created_at #=> Time
|
6393
7361
|
# resp.operations[0].location.availability_zone #=> String
|
6394
7362
|
# resp.operations[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
6395
7363
|
# resp.operations[0].is_terminal #=> Boolean
|
6396
7364
|
# resp.operations[0].operation_details #=> String
|
6397
|
-
# resp.operations[0].operation_type #=> String, one of "DeleteKnownHostKeys", "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot", "CreateRelationalDatabase", "UpdateRelationalDatabase", "DeleteRelationalDatabase", "CreateRelationalDatabaseFromSnapshot", "CreateRelationalDatabaseSnapshot", "DeleteRelationalDatabaseSnapshot", "UpdateRelationalDatabaseParameters", "StartRelationalDatabase", "RebootRelationalDatabase", "StopRelationalDatabase", "EnableAddOn", "DisableAddOn"
|
7365
|
+
# resp.operations[0].operation_type #=> String, one of "DeleteKnownHostKeys", "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot", "CreateRelationalDatabase", "UpdateRelationalDatabase", "DeleteRelationalDatabase", "CreateRelationalDatabaseFromSnapshot", "CreateRelationalDatabaseSnapshot", "DeleteRelationalDatabaseSnapshot", "UpdateRelationalDatabaseParameters", "StartRelationalDatabase", "RebootRelationalDatabase", "StopRelationalDatabase", "EnableAddOn", "DisableAddOn", "PutAlarm", "GetAlarms", "DeleteAlarm", "TestAlarm", "CreateContactMethod", "GetContactMethods", "SendContactMethodVerification", "DeleteContactMethod"
|
6398
7366
|
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed", "Succeeded"
|
6399
7367
|
# resp.operations[0].status_changed_at #=> Time
|
6400
7368
|
# resp.operations[0].error_code #=> String
|
@@ -6444,13 +7412,13 @@ module Aws::Lightsail
|
|
6444
7412
|
# resp.operations #=> Array
|
6445
7413
|
# resp.operations[0].id #=> String
|
6446
7414
|
# resp.operations[0].resource_name #=> String
|
6447
|
-
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord"
|
7415
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord", "Alarm", "ContactMethod"
|
6448
7416
|
# resp.operations[0].created_at #=> Time
|
6449
7417
|
# resp.operations[0].location.availability_zone #=> String
|
6450
7418
|
# resp.operations[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
6451
7419
|
# resp.operations[0].is_terminal #=> Boolean
|
6452
7420
|
# resp.operations[0].operation_details #=> String
|
6453
|
-
# resp.operations[0].operation_type #=> String, one of "DeleteKnownHostKeys", "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot", "CreateRelationalDatabase", "UpdateRelationalDatabase", "DeleteRelationalDatabase", "CreateRelationalDatabaseFromSnapshot", "CreateRelationalDatabaseSnapshot", "DeleteRelationalDatabaseSnapshot", "UpdateRelationalDatabaseParameters", "StartRelationalDatabase", "RebootRelationalDatabase", "StopRelationalDatabase", "EnableAddOn", "DisableAddOn"
|
7421
|
+
# resp.operations[0].operation_type #=> String, one of "DeleteKnownHostKeys", "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot", "CreateRelationalDatabase", "UpdateRelationalDatabase", "DeleteRelationalDatabase", "CreateRelationalDatabaseFromSnapshot", "CreateRelationalDatabaseSnapshot", "DeleteRelationalDatabaseSnapshot", "UpdateRelationalDatabaseParameters", "StartRelationalDatabase", "RebootRelationalDatabase", "StopRelationalDatabase", "EnableAddOn", "DisableAddOn", "PutAlarm", "GetAlarms", "DeleteAlarm", "TestAlarm", "CreateContactMethod", "GetContactMethods", "SendContactMethodVerification", "DeleteContactMethod"
|
6454
7422
|
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed", "Succeeded"
|
6455
7423
|
# resp.operations[0].status_changed_at #=> Time
|
6456
7424
|
# resp.operations[0].error_code #=> String
|
@@ -6512,13 +7480,13 @@ module Aws::Lightsail
|
|
6512
7480
|
# resp.operations #=> Array
|
6513
7481
|
# resp.operations[0].id #=> String
|
6514
7482
|
# resp.operations[0].resource_name #=> String
|
6515
|
-
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord"
|
7483
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord", "Alarm", "ContactMethod"
|
6516
7484
|
# resp.operations[0].created_at #=> Time
|
6517
7485
|
# resp.operations[0].location.availability_zone #=> String
|
6518
7486
|
# resp.operations[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
6519
7487
|
# resp.operations[0].is_terminal #=> Boolean
|
6520
7488
|
# resp.operations[0].operation_details #=> String
|
6521
|
-
# resp.operations[0].operation_type #=> String, one of "DeleteKnownHostKeys", "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot", "CreateRelationalDatabase", "UpdateRelationalDatabase", "DeleteRelationalDatabase", "CreateRelationalDatabaseFromSnapshot", "CreateRelationalDatabaseSnapshot", "DeleteRelationalDatabaseSnapshot", "UpdateRelationalDatabaseParameters", "StartRelationalDatabase", "RebootRelationalDatabase", "StopRelationalDatabase", "EnableAddOn", "DisableAddOn"
|
7489
|
+
# resp.operations[0].operation_type #=> String, one of "DeleteKnownHostKeys", "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot", "CreateRelationalDatabase", "UpdateRelationalDatabase", "DeleteRelationalDatabase", "CreateRelationalDatabaseFromSnapshot", "CreateRelationalDatabaseSnapshot", "DeleteRelationalDatabaseSnapshot", "UpdateRelationalDatabaseParameters", "StartRelationalDatabase", "RebootRelationalDatabase", "StopRelationalDatabase", "EnableAddOn", "DisableAddOn", "PutAlarm", "GetAlarms", "DeleteAlarm", "TestAlarm", "CreateContactMethod", "GetContactMethods", "SendContactMethodVerification", "DeleteContactMethod"
|
6522
7490
|
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed", "Succeeded"
|
6523
7491
|
# resp.operations[0].status_changed_at #=> Time
|
6524
7492
|
# resp.operations[0].error_code #=> String
|
@@ -6533,6 +7501,73 @@ module Aws::Lightsail
|
|
6533
7501
|
req.send_request(options)
|
6534
7502
|
end
|
6535
7503
|
|
7504
|
+
# Tests an alarm by displaying a banner on the Amazon Lightsail console.
|
7505
|
+
# If a notification trigger is configured for the specified alarm, the
|
7506
|
+
# test also sends a notification to the notification protocol (`Email`
|
7507
|
+
# and/or `SMS`) configured for the alarm.
|
7508
|
+
#
|
7509
|
+
# An alarm is used to monitor a single metric for one of your resources.
|
7510
|
+
# When a metric condition is met, the alarm can notify you by email, SMS
|
7511
|
+
# text message, and a banner displayed on the Amazon Lightsail console.
|
7512
|
+
# For more information, see [Alarms in Amazon Lightsail][1].
|
7513
|
+
#
|
7514
|
+
#
|
7515
|
+
#
|
7516
|
+
# [1]: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-alarms
|
7517
|
+
#
|
7518
|
+
# @option params [required, String] :alarm_name
|
7519
|
+
# The name of the alarm to test.
|
7520
|
+
#
|
7521
|
+
# @option params [required, String] :state
|
7522
|
+
# The alarm state to test.
|
7523
|
+
#
|
7524
|
+
# An alarm has the following possible states that can be tested:
|
7525
|
+
#
|
7526
|
+
# * `ALARM` - The metric is outside of the defined threshold.
|
7527
|
+
#
|
7528
|
+
# * `INSUFFICIENT_DATA` - The alarm has just started, the metric is not
|
7529
|
+
# available, or not enough data is available for the metric to
|
7530
|
+
# determine the alarm state.
|
7531
|
+
#
|
7532
|
+
# * `OK` - The metric is within the defined threshold.
|
7533
|
+
#
|
7534
|
+
# @return [Types::TestAlarmResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
7535
|
+
#
|
7536
|
+
# * {Types::TestAlarmResult#operations #operations} => Array<Types::Operation>
|
7537
|
+
#
|
7538
|
+
# @example Request syntax with placeholder values
|
7539
|
+
#
|
7540
|
+
# resp = client.test_alarm({
|
7541
|
+
# alarm_name: "ResourceName", # required
|
7542
|
+
# state: "OK", # required, accepts OK, ALARM, INSUFFICIENT_DATA
|
7543
|
+
# })
|
7544
|
+
#
|
7545
|
+
# @example Response structure
|
7546
|
+
#
|
7547
|
+
# resp.operations #=> Array
|
7548
|
+
# resp.operations[0].id #=> String
|
7549
|
+
# resp.operations[0].resource_name #=> String
|
7550
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord", "Alarm", "ContactMethod"
|
7551
|
+
# resp.operations[0].created_at #=> Time
|
7552
|
+
# resp.operations[0].location.availability_zone #=> String
|
7553
|
+
# resp.operations[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
7554
|
+
# resp.operations[0].is_terminal #=> Boolean
|
7555
|
+
# resp.operations[0].operation_details #=> String
|
7556
|
+
# resp.operations[0].operation_type #=> String, one of "DeleteKnownHostKeys", "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot", "CreateRelationalDatabase", "UpdateRelationalDatabase", "DeleteRelationalDatabase", "CreateRelationalDatabaseFromSnapshot", "CreateRelationalDatabaseSnapshot", "DeleteRelationalDatabaseSnapshot", "UpdateRelationalDatabaseParameters", "StartRelationalDatabase", "RebootRelationalDatabase", "StopRelationalDatabase", "EnableAddOn", "DisableAddOn", "PutAlarm", "GetAlarms", "DeleteAlarm", "TestAlarm", "CreateContactMethod", "GetContactMethods", "SendContactMethodVerification", "DeleteContactMethod"
|
7557
|
+
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed", "Succeeded"
|
7558
|
+
# resp.operations[0].status_changed_at #=> Time
|
7559
|
+
# resp.operations[0].error_code #=> String
|
7560
|
+
# resp.operations[0].error_details #=> String
|
7561
|
+
#
|
7562
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/TestAlarm AWS API Documentation
|
7563
|
+
#
|
7564
|
+
# @overload test_alarm(params = {})
|
7565
|
+
# @param [Hash] params ({})
|
7566
|
+
def test_alarm(params = {}, options = {})
|
7567
|
+
req = build_request(:test_alarm, params)
|
7568
|
+
req.send_request(options)
|
7569
|
+
end
|
7570
|
+
|
6536
7571
|
# Attempts to unpeer the Lightsail VPC from the user's default VPC.
|
6537
7572
|
#
|
6538
7573
|
# @return [Types::UnpeerVpcResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
@@ -6543,13 +7578,13 @@ module Aws::Lightsail
|
|
6543
7578
|
#
|
6544
7579
|
# resp.operation.id #=> String
|
6545
7580
|
# resp.operation.resource_name #=> String
|
6546
|
-
# resp.operation.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord"
|
7581
|
+
# resp.operation.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord", "Alarm", "ContactMethod"
|
6547
7582
|
# resp.operation.created_at #=> Time
|
6548
7583
|
# resp.operation.location.availability_zone #=> String
|
6549
7584
|
# resp.operation.location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
6550
7585
|
# resp.operation.is_terminal #=> Boolean
|
6551
7586
|
# resp.operation.operation_details #=> String
|
6552
|
-
# resp.operation.operation_type #=> String, one of "DeleteKnownHostKeys", "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot", "CreateRelationalDatabase", "UpdateRelationalDatabase", "DeleteRelationalDatabase", "CreateRelationalDatabaseFromSnapshot", "CreateRelationalDatabaseSnapshot", "DeleteRelationalDatabaseSnapshot", "UpdateRelationalDatabaseParameters", "StartRelationalDatabase", "RebootRelationalDatabase", "StopRelationalDatabase", "EnableAddOn", "DisableAddOn"
|
7587
|
+
# resp.operation.operation_type #=> String, one of "DeleteKnownHostKeys", "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot", "CreateRelationalDatabase", "UpdateRelationalDatabase", "DeleteRelationalDatabase", "CreateRelationalDatabaseFromSnapshot", "CreateRelationalDatabaseSnapshot", "DeleteRelationalDatabaseSnapshot", "UpdateRelationalDatabaseParameters", "StartRelationalDatabase", "RebootRelationalDatabase", "StopRelationalDatabase", "EnableAddOn", "DisableAddOn", "PutAlarm", "GetAlarms", "DeleteAlarm", "TestAlarm", "CreateContactMethod", "GetContactMethods", "SendContactMethodVerification", "DeleteContactMethod"
|
6553
7588
|
# resp.operation.status #=> String, one of "NotStarted", "Started", "Failed", "Completed", "Succeeded"
|
6554
7589
|
# resp.operation.status_changed_at #=> Time
|
6555
7590
|
# resp.operation.error_code #=> String
|
@@ -6603,13 +7638,13 @@ module Aws::Lightsail
|
|
6603
7638
|
# resp.operations #=> Array
|
6604
7639
|
# resp.operations[0].id #=> String
|
6605
7640
|
# resp.operations[0].resource_name #=> String
|
6606
|
-
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord"
|
7641
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord", "Alarm", "ContactMethod"
|
6607
7642
|
# resp.operations[0].created_at #=> Time
|
6608
7643
|
# resp.operations[0].location.availability_zone #=> String
|
6609
7644
|
# resp.operations[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
6610
7645
|
# resp.operations[0].is_terminal #=> Boolean
|
6611
7646
|
# resp.operations[0].operation_details #=> String
|
6612
|
-
# resp.operations[0].operation_type #=> String, one of "DeleteKnownHostKeys", "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot", "CreateRelationalDatabase", "UpdateRelationalDatabase", "DeleteRelationalDatabase", "CreateRelationalDatabaseFromSnapshot", "CreateRelationalDatabaseSnapshot", "DeleteRelationalDatabaseSnapshot", "UpdateRelationalDatabaseParameters", "StartRelationalDatabase", "RebootRelationalDatabase", "StopRelationalDatabase", "EnableAddOn", "DisableAddOn"
|
7647
|
+
# resp.operations[0].operation_type #=> String, one of "DeleteKnownHostKeys", "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot", "CreateRelationalDatabase", "UpdateRelationalDatabase", "DeleteRelationalDatabase", "CreateRelationalDatabaseFromSnapshot", "CreateRelationalDatabaseSnapshot", "DeleteRelationalDatabaseSnapshot", "UpdateRelationalDatabaseParameters", "StartRelationalDatabase", "RebootRelationalDatabase", "StopRelationalDatabase", "EnableAddOn", "DisableAddOn", "PutAlarm", "GetAlarms", "DeleteAlarm", "TestAlarm", "CreateContactMethod", "GetContactMethods", "SendContactMethodVerification", "DeleteContactMethod"
|
6613
7648
|
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed", "Succeeded"
|
6614
7649
|
# resp.operations[0].status_changed_at #=> Time
|
6615
7650
|
# resp.operations[0].error_code #=> String
|
@@ -6666,13 +7701,13 @@ module Aws::Lightsail
|
|
6666
7701
|
# resp.operations #=> Array
|
6667
7702
|
# resp.operations[0].id #=> String
|
6668
7703
|
# resp.operations[0].resource_name #=> String
|
6669
|
-
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord"
|
7704
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord", "Alarm", "ContactMethod"
|
6670
7705
|
# resp.operations[0].created_at #=> Time
|
6671
7706
|
# resp.operations[0].location.availability_zone #=> String
|
6672
7707
|
# resp.operations[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
6673
7708
|
# resp.operations[0].is_terminal #=> Boolean
|
6674
7709
|
# resp.operations[0].operation_details #=> String
|
6675
|
-
# resp.operations[0].operation_type #=> String, one of "DeleteKnownHostKeys", "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot", "CreateRelationalDatabase", "UpdateRelationalDatabase", "DeleteRelationalDatabase", "CreateRelationalDatabaseFromSnapshot", "CreateRelationalDatabaseSnapshot", "DeleteRelationalDatabaseSnapshot", "UpdateRelationalDatabaseParameters", "StartRelationalDatabase", "RebootRelationalDatabase", "StopRelationalDatabase", "EnableAddOn", "DisableAddOn"
|
7710
|
+
# resp.operations[0].operation_type #=> String, one of "DeleteKnownHostKeys", "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot", "CreateRelationalDatabase", "UpdateRelationalDatabase", "DeleteRelationalDatabase", "CreateRelationalDatabaseFromSnapshot", "CreateRelationalDatabaseSnapshot", "DeleteRelationalDatabaseSnapshot", "UpdateRelationalDatabaseParameters", "StartRelationalDatabase", "RebootRelationalDatabase", "StopRelationalDatabase", "EnableAddOn", "DisableAddOn", "PutAlarm", "GetAlarms", "DeleteAlarm", "TestAlarm", "CreateContactMethod", "GetContactMethods", "SendContactMethodVerification", "DeleteContactMethod"
|
6676
7711
|
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed", "Succeeded"
|
6677
7712
|
# resp.operations[0].status_changed_at #=> Time
|
6678
7713
|
# resp.operations[0].error_code #=> String
|
@@ -6726,13 +7761,13 @@ module Aws::Lightsail
|
|
6726
7761
|
# resp.operations #=> Array
|
6727
7762
|
# resp.operations[0].id #=> String
|
6728
7763
|
# resp.operations[0].resource_name #=> String
|
6729
|
-
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord"
|
7764
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord", "Alarm", "ContactMethod"
|
6730
7765
|
# resp.operations[0].created_at #=> Time
|
6731
7766
|
# resp.operations[0].location.availability_zone #=> String
|
6732
7767
|
# resp.operations[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
6733
7768
|
# resp.operations[0].is_terminal #=> Boolean
|
6734
7769
|
# resp.operations[0].operation_details #=> String
|
6735
|
-
# resp.operations[0].operation_type #=> String, one of "DeleteKnownHostKeys", "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot", "CreateRelationalDatabase", "UpdateRelationalDatabase", "DeleteRelationalDatabase", "CreateRelationalDatabaseFromSnapshot", "CreateRelationalDatabaseSnapshot", "DeleteRelationalDatabaseSnapshot", "UpdateRelationalDatabaseParameters", "StartRelationalDatabase", "RebootRelationalDatabase", "StopRelationalDatabase", "EnableAddOn", "DisableAddOn"
|
7770
|
+
# resp.operations[0].operation_type #=> String, one of "DeleteKnownHostKeys", "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot", "CreateRelationalDatabase", "UpdateRelationalDatabase", "DeleteRelationalDatabase", "CreateRelationalDatabaseFromSnapshot", "CreateRelationalDatabaseSnapshot", "DeleteRelationalDatabaseSnapshot", "UpdateRelationalDatabaseParameters", "StartRelationalDatabase", "RebootRelationalDatabase", "StopRelationalDatabase", "EnableAddOn", "DisableAddOn", "PutAlarm", "GetAlarms", "DeleteAlarm", "TestAlarm", "CreateContactMethod", "GetContactMethods", "SendContactMethodVerification", "DeleteContactMethod"
|
6736
7771
|
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed", "Succeeded"
|
6737
7772
|
# resp.operations[0].status_changed_at #=> Time
|
6738
7773
|
# resp.operations[0].error_code #=> String
|
@@ -6845,6 +7880,10 @@ module Aws::Lightsail
|
|
6845
7880
|
#
|
6846
7881
|
# Default: `false`
|
6847
7882
|
#
|
7883
|
+
# @option params [String] :ca_certificate_identifier
|
7884
|
+
# Indicates the certificate that needs to be associated with the
|
7885
|
+
# database.
|
7886
|
+
#
|
6848
7887
|
# @return [Types::UpdateRelationalDatabaseResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
6849
7888
|
#
|
6850
7889
|
# * {Types::UpdateRelationalDatabaseResult#operations #operations} => Array<Types::Operation>
|
@@ -6861,6 +7900,7 @@ module Aws::Lightsail
|
|
6861
7900
|
# disable_backup_retention: false,
|
6862
7901
|
# publicly_accessible: false,
|
6863
7902
|
# apply_immediately: false,
|
7903
|
+
# ca_certificate_identifier: "string",
|
6864
7904
|
# })
|
6865
7905
|
#
|
6866
7906
|
# @example Response structure
|
@@ -6868,13 +7908,13 @@ module Aws::Lightsail
|
|
6868
7908
|
# resp.operations #=> Array
|
6869
7909
|
# resp.operations[0].id #=> String
|
6870
7910
|
# resp.operations[0].resource_name #=> String
|
6871
|
-
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord"
|
7911
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord", "Alarm", "ContactMethod"
|
6872
7912
|
# resp.operations[0].created_at #=> Time
|
6873
7913
|
# resp.operations[0].location.availability_zone #=> String
|
6874
7914
|
# resp.operations[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
6875
7915
|
# resp.operations[0].is_terminal #=> Boolean
|
6876
7916
|
# resp.operations[0].operation_details #=> String
|
6877
|
-
# resp.operations[0].operation_type #=> String, one of "DeleteKnownHostKeys", "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot", "CreateRelationalDatabase", "UpdateRelationalDatabase", "DeleteRelationalDatabase", "CreateRelationalDatabaseFromSnapshot", "CreateRelationalDatabaseSnapshot", "DeleteRelationalDatabaseSnapshot", "UpdateRelationalDatabaseParameters", "StartRelationalDatabase", "RebootRelationalDatabase", "StopRelationalDatabase", "EnableAddOn", "DisableAddOn"
|
7917
|
+
# resp.operations[0].operation_type #=> String, one of "DeleteKnownHostKeys", "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot", "CreateRelationalDatabase", "UpdateRelationalDatabase", "DeleteRelationalDatabase", "CreateRelationalDatabaseFromSnapshot", "CreateRelationalDatabaseSnapshot", "DeleteRelationalDatabaseSnapshot", "UpdateRelationalDatabaseParameters", "StartRelationalDatabase", "RebootRelationalDatabase", "StopRelationalDatabase", "EnableAddOn", "DisableAddOn", "PutAlarm", "GetAlarms", "DeleteAlarm", "TestAlarm", "CreateContactMethod", "GetContactMethods", "SendContactMethodVerification", "DeleteContactMethod"
|
6878
7918
|
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed", "Succeeded"
|
6879
7919
|
# resp.operations[0].status_changed_at #=> Time
|
6880
7920
|
# resp.operations[0].error_code #=> String
|
@@ -6894,7 +7934,7 @@ module Aws::Lightsail
|
|
6894
7934
|
#
|
6895
7935
|
# Parameter updates don't cause outages; therefore, their application
|
6896
7936
|
# is not subject to the preferred maintenance window. However, there are
|
6897
|
-
# two ways in which
|
7937
|
+
# two ways in which parameter updates are applied: `dynamic` or
|
6898
7938
|
# `pending-reboot`. Parameters marked with a `dynamic` apply type are
|
6899
7939
|
# applied immediately. Parameters marked with a `pending-reboot` apply
|
6900
7940
|
# type are applied only after the database is rebooted using the `reboot
|
@@ -6942,13 +7982,13 @@ module Aws::Lightsail
|
|
6942
7982
|
# resp.operations #=> Array
|
6943
7983
|
# resp.operations[0].id #=> String
|
6944
7984
|
# resp.operations[0].resource_name #=> String
|
6945
|
-
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord"
|
7985
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord", "Alarm", "ContactMethod"
|
6946
7986
|
# resp.operations[0].created_at #=> Time
|
6947
7987
|
# resp.operations[0].location.availability_zone #=> String
|
6948
7988
|
# resp.operations[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
6949
7989
|
# resp.operations[0].is_terminal #=> Boolean
|
6950
7990
|
# resp.operations[0].operation_details #=> String
|
6951
|
-
# resp.operations[0].operation_type #=> String, one of "DeleteKnownHostKeys", "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot", "CreateRelationalDatabase", "UpdateRelationalDatabase", "DeleteRelationalDatabase", "CreateRelationalDatabaseFromSnapshot", "CreateRelationalDatabaseSnapshot", "DeleteRelationalDatabaseSnapshot", "UpdateRelationalDatabaseParameters", "StartRelationalDatabase", "RebootRelationalDatabase", "StopRelationalDatabase", "EnableAddOn", "DisableAddOn"
|
7991
|
+
# resp.operations[0].operation_type #=> String, one of "DeleteKnownHostKeys", "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot", "CreateRelationalDatabase", "UpdateRelationalDatabase", "DeleteRelationalDatabase", "CreateRelationalDatabaseFromSnapshot", "CreateRelationalDatabaseSnapshot", "DeleteRelationalDatabaseSnapshot", "UpdateRelationalDatabaseParameters", "StartRelationalDatabase", "RebootRelationalDatabase", "StopRelationalDatabase", "EnableAddOn", "DisableAddOn", "PutAlarm", "GetAlarms", "DeleteAlarm", "TestAlarm", "CreateContactMethod", "GetContactMethods", "SendContactMethodVerification", "DeleteContactMethod"
|
6952
7992
|
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed", "Succeeded"
|
6953
7993
|
# resp.operations[0].status_changed_at #=> Time
|
6954
7994
|
# resp.operations[0].error_code #=> String
|
@@ -6976,7 +8016,7 @@ module Aws::Lightsail
|
|
6976
8016
|
params: params,
|
6977
8017
|
config: config)
|
6978
8018
|
context[:gem_name] = 'aws-sdk-lightsail'
|
6979
|
-
context[:gem_version] = '1.
|
8019
|
+
context[:gem_version] = '1.31.0'
|
6980
8020
|
Seahorse::Client::Request.new(handlers, context)
|
6981
8021
|
end
|
6982
8022
|
|