aws-sdk-lightsail 1.27.0 → 1.32.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 +1415 -329
- data/lib/aws-sdk-lightsail/client_api.rb +257 -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 +1895 -398
- 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: a4ba815a6cd4b7fa4ac80a89d936dc4d7b2a89761de4022b912a5bad6c9c226e
|
4
|
+
data.tar.gz: 665b408318dea8ef635da22a05f76330751bb5444a172d7e58f9f099c6dd3f0b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ec499837b6e002a38b02848edc749d46eaec0eff0e644cdfd3715df0a5ff21fa328ef643946d642f9d92a24f8945bba5530165f5236b2488b4cd44ebe301d48a
|
7
|
+
data.tar.gz: 5d8d3074bff9d5f5dc9e64b1ed781cdaadfa1720366120c8bdffaeb1cddcdbae5a2f59f437b9854d81b7672e226fa1777fdf26ef18bd201e1f0e00cbc93b6706
|
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.32.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
|
@@ -702,13 +758,13 @@ module Aws::Lightsail
|
|
702
758
|
# resp.operations #=> Array
|
703
759
|
# resp.operations[0].id #=> String
|
704
760
|
# resp.operations[0].resource_name #=> String
|
705
|
-
# 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"
|
706
762
|
# resp.operations[0].created_at #=> Time
|
707
763
|
# resp.operations[0].location.availability_zone #=> String
|
708
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"
|
709
765
|
# resp.operations[0].is_terminal #=> Boolean
|
710
766
|
# resp.operations[0].operation_details #=> String
|
711
|
-
# 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"
|
712
768
|
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed", "Succeeded"
|
713
769
|
# resp.operations[0].status_changed_at #=> Time
|
714
770
|
# resp.operations[0].error_code #=> String
|
@@ -762,13 +818,13 @@ module Aws::Lightsail
|
|
762
818
|
# resp.operations #=> Array
|
763
819
|
# resp.operations[0].id #=> String
|
764
820
|
# resp.operations[0].resource_name #=> String
|
765
|
-
# 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"
|
766
822
|
# resp.operations[0].created_at #=> Time
|
767
823
|
# resp.operations[0].location.availability_zone #=> String
|
768
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"
|
769
825
|
# resp.operations[0].is_terminal #=> Boolean
|
770
826
|
# resp.operations[0].operation_details #=> String
|
771
|
-
# 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"
|
772
828
|
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed", "Succeeded"
|
773
829
|
# resp.operations[0].status_changed_at #=> Time
|
774
830
|
# resp.operations[0].error_code #=> String
|
@@ -783,6 +839,103 @@ module Aws::Lightsail
|
|
783
839
|
req.send_request(options)
|
784
840
|
end
|
785
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
|
+
|
786
939
|
# Creates a block storage disk that can be attached to an Amazon
|
787
940
|
# Lightsail instance in the same Availability Zone (e.g., `us-east-2a`).
|
788
941
|
#
|
@@ -848,13 +1001,13 @@ module Aws::Lightsail
|
|
848
1001
|
# resp.operations #=> Array
|
849
1002
|
# resp.operations[0].id #=> String
|
850
1003
|
# resp.operations[0].resource_name #=> String
|
851
|
-
# 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"
|
852
1005
|
# resp.operations[0].created_at #=> Time
|
853
1006
|
# resp.operations[0].location.availability_zone #=> String
|
854
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"
|
855
1008
|
# resp.operations[0].is_terminal #=> Boolean
|
856
1009
|
# resp.operations[0].operation_details #=> String
|
857
|
-
# 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"
|
858
1011
|
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed", "Succeeded"
|
859
1012
|
# resp.operations[0].status_changed_at #=> Time
|
860
1013
|
# resp.operations[0].error_code #=> String
|
@@ -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
|
@@ -1650,13 +1803,13 @@ module Aws::Lightsail
|
|
1650
1803
|
# resp.operations #=> Array
|
1651
1804
|
# resp.operations[0].id #=> String
|
1652
1805
|
# resp.operations[0].resource_name #=> String
|
1653
|
-
# 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"
|
1654
1807
|
# resp.operations[0].created_at #=> Time
|
1655
1808
|
# resp.operations[0].location.availability_zone #=> String
|
1656
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"
|
1657
1810
|
# resp.operations[0].is_terminal #=> Boolean
|
1658
1811
|
# resp.operations[0].operation_details #=> String
|
1659
|
-
# 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"
|
1660
1813
|
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed", "Succeeded"
|
1661
1814
|
# resp.operations[0].status_changed_at #=> Time
|
1662
1815
|
# resp.operations[0].error_code #=> String
|
@@ -1716,7 +1869,7 @@ module Aws::Lightsail
|
|
1716
1869
|
# resp.key_pair.created_at #=> Time
|
1717
1870
|
# resp.key_pair.location.availability_zone #=> String
|
1718
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"
|
1719
|
-
# 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"
|
1720
1873
|
# resp.key_pair.tags #=> Array
|
1721
1874
|
# resp.key_pair.tags[0].key #=> String
|
1722
1875
|
# resp.key_pair.tags[0].value #=> String
|
@@ -1725,13 +1878,13 @@ module Aws::Lightsail
|
|
1725
1878
|
# resp.private_key_base_64 #=> String
|
1726
1879
|
# resp.operation.id #=> String
|
1727
1880
|
# resp.operation.resource_name #=> String
|
1728
|
-
# 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"
|
1729
1882
|
# resp.operation.created_at #=> Time
|
1730
1883
|
# resp.operation.location.availability_zone #=> String
|
1731
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"
|
1732
1885
|
# resp.operation.is_terminal #=> Boolean
|
1733
1886
|
# resp.operation.operation_details #=> String
|
1734
|
-
# 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"
|
1735
1888
|
# resp.operation.status #=> String, one of "NotStarted", "Started", "Failed", "Completed", "Succeeded"
|
1736
1889
|
# resp.operation.status_changed_at #=> Time
|
1737
1890
|
# resp.operation.error_code #=> String
|
@@ -1829,13 +1982,13 @@ module Aws::Lightsail
|
|
1829
1982
|
# resp.operations #=> Array
|
1830
1983
|
# resp.operations[0].id #=> String
|
1831
1984
|
# resp.operations[0].resource_name #=> String
|
1832
|
-
# 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"
|
1833
1986
|
# resp.operations[0].created_at #=> Time
|
1834
1987
|
# resp.operations[0].location.availability_zone #=> String
|
1835
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"
|
1836
1989
|
# resp.operations[0].is_terminal #=> Boolean
|
1837
1990
|
# resp.operations[0].operation_details #=> String
|
1838
|
-
# 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"
|
1839
1992
|
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed", "Succeeded"
|
1840
1993
|
# resp.operations[0].status_changed_at #=> Time
|
1841
1994
|
# resp.operations[0].error_code #=> String
|
@@ -1855,10 +2008,10 @@ module Aws::Lightsail
|
|
1855
2008
|
# TLS is just an updated, more secure version of Secure Socket Layer
|
1856
2009
|
# (SSL).
|
1857
2010
|
#
|
1858
|
-
# The `
|
1859
|
-
#
|
1860
|
-
#
|
1861
|
-
#
|
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].
|
1862
2015
|
#
|
1863
2016
|
#
|
1864
2017
|
#
|
@@ -1920,13 +2073,13 @@ module Aws::Lightsail
|
|
1920
2073
|
# resp.operations #=> Array
|
1921
2074
|
# resp.operations[0].id #=> String
|
1922
2075
|
# resp.operations[0].resource_name #=> String
|
1923
|
-
# 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"
|
1924
2077
|
# resp.operations[0].created_at #=> Time
|
1925
2078
|
# resp.operations[0].location.availability_zone #=> String
|
1926
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"
|
1927
2080
|
# resp.operations[0].is_terminal #=> Boolean
|
1928
2081
|
# resp.operations[0].operation_details #=> String
|
1929
|
-
# 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"
|
1930
2083
|
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed", "Succeeded"
|
1931
2084
|
# resp.operations[0].status_changed_at #=> Time
|
1932
2085
|
# resp.operations[0].error_code #=> String
|
@@ -2110,13 +2263,13 @@ module Aws::Lightsail
|
|
2110
2263
|
# resp.operations #=> Array
|
2111
2264
|
# resp.operations[0].id #=> String
|
2112
2265
|
# resp.operations[0].resource_name #=> String
|
2113
|
-
# 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"
|
2114
2267
|
# resp.operations[0].created_at #=> Time
|
2115
2268
|
# resp.operations[0].location.availability_zone #=> String
|
2116
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"
|
2117
2270
|
# resp.operations[0].is_terminal #=> Boolean
|
2118
2271
|
# resp.operations[0].operation_details #=> String
|
2119
|
-
# 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"
|
2120
2273
|
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed", "Succeeded"
|
2121
2274
|
# resp.operations[0].status_changed_at #=> Time
|
2122
2275
|
# resp.operations[0].error_code #=> String
|
@@ -2248,13 +2401,13 @@ module Aws::Lightsail
|
|
2248
2401
|
# resp.operations #=> Array
|
2249
2402
|
# resp.operations[0].id #=> String
|
2250
2403
|
# resp.operations[0].resource_name #=> String
|
2251
|
-
# 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"
|
2252
2405
|
# resp.operations[0].created_at #=> Time
|
2253
2406
|
# resp.operations[0].location.availability_zone #=> String
|
2254
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"
|
2255
2408
|
# resp.operations[0].is_terminal #=> Boolean
|
2256
2409
|
# resp.operations[0].operation_details #=> String
|
2257
|
-
# 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"
|
2258
2411
|
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed", "Succeeded"
|
2259
2412
|
# resp.operations[0].status_changed_at #=> Time
|
2260
2413
|
# resp.operations[0].error_code #=> String
|
@@ -2321,13 +2474,13 @@ module Aws::Lightsail
|
|
2321
2474
|
# resp.operations #=> Array
|
2322
2475
|
# resp.operations[0].id #=> String
|
2323
2476
|
# resp.operations[0].resource_name #=> String
|
2324
|
-
# 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"
|
2325
2478
|
# resp.operations[0].created_at #=> Time
|
2326
2479
|
# resp.operations[0].location.availability_zone #=> String
|
2327
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"
|
2328
2481
|
# resp.operations[0].is_terminal #=> Boolean
|
2329
2482
|
# resp.operations[0].operation_details #=> String
|
2330
|
-
# 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"
|
2331
2484
|
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed", "Succeeded"
|
2332
2485
|
# resp.operations[0].status_changed_at #=> Time
|
2333
2486
|
# resp.operations[0].error_code #=> String
|
@@ -2342,6 +2495,56 @@ module Aws::Lightsail
|
|
2342
2495
|
req.send_request(options)
|
2343
2496
|
end
|
2344
2497
|
|
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
|
+
|
2345
2548
|
# Deletes an automatic snapshot of an instance or disk. For more
|
2346
2549
|
# information, see the [Lightsail Dev Guide][1].
|
2347
2550
|
#
|
@@ -2374,13 +2577,13 @@ module Aws::Lightsail
|
|
2374
2577
|
# resp.operations #=> Array
|
2375
2578
|
# resp.operations[0].id #=> String
|
2376
2579
|
# resp.operations[0].resource_name #=> String
|
2377
|
-
# 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"
|
2378
2581
|
# resp.operations[0].created_at #=> Time
|
2379
2582
|
# resp.operations[0].location.availability_zone #=> String
|
2380
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"
|
2381
2584
|
# resp.operations[0].is_terminal #=> Boolean
|
2382
2585
|
# resp.operations[0].operation_details #=> String
|
2383
|
-
# 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"
|
2384
2587
|
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed", "Succeeded"
|
2385
2588
|
# resp.operations[0].status_changed_at #=> Time
|
2386
2589
|
# resp.operations[0].error_code #=> String
|
@@ -2395,6 +2598,65 @@ module Aws::Lightsail
|
|
2395
2598
|
req.send_request(options)
|
2396
2599
|
end
|
2397
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
|
+
|
2398
2660
|
# Deletes the specified block storage disk. The disk must be in the
|
2399
2661
|
# `available` state (not attached to a Lightsail instance).
|
2400
2662
|
#
|
@@ -2433,13 +2695,13 @@ module Aws::Lightsail
|
|
2433
2695
|
# resp.operations #=> Array
|
2434
2696
|
# resp.operations[0].id #=> String
|
2435
2697
|
# resp.operations[0].resource_name #=> String
|
2436
|
-
# 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"
|
2437
2699
|
# resp.operations[0].created_at #=> Time
|
2438
2700
|
# resp.operations[0].location.availability_zone #=> String
|
2439
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"
|
2440
2702
|
# resp.operations[0].is_terminal #=> Boolean
|
2441
2703
|
# resp.operations[0].operation_details #=> String
|
2442
|
-
# 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"
|
2443
2705
|
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed", "Succeeded"
|
2444
2706
|
# resp.operations[0].status_changed_at #=> Time
|
2445
2707
|
# resp.operations[0].error_code #=> String
|
@@ -2491,13 +2753,13 @@ module Aws::Lightsail
|
|
2491
2753
|
# resp.operations #=> Array
|
2492
2754
|
# resp.operations[0].id #=> String
|
2493
2755
|
# resp.operations[0].resource_name #=> String
|
2494
|
-
# 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"
|
2495
2757
|
# resp.operations[0].created_at #=> Time
|
2496
2758
|
# resp.operations[0].location.availability_zone #=> String
|
2497
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"
|
2498
2760
|
# resp.operations[0].is_terminal #=> Boolean
|
2499
2761
|
# resp.operations[0].operation_details #=> String
|
2500
|
-
# 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"
|
2501
2763
|
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed", "Succeeded"
|
2502
2764
|
# resp.operations[0].status_changed_at #=> Time
|
2503
2765
|
# resp.operations[0].error_code #=> String
|
@@ -2539,13 +2801,13 @@ module Aws::Lightsail
|
|
2539
2801
|
#
|
2540
2802
|
# resp.operation.id #=> String
|
2541
2803
|
# resp.operation.resource_name #=> String
|
2542
|
-
# 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"
|
2543
2805
|
# resp.operation.created_at #=> Time
|
2544
2806
|
# resp.operation.location.availability_zone #=> String
|
2545
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"
|
2546
2808
|
# resp.operation.is_terminal #=> Boolean
|
2547
2809
|
# resp.operation.operation_details #=> String
|
2548
|
-
# 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"
|
2549
2811
|
# resp.operation.status #=> String, one of "NotStarted", "Started", "Failed", "Completed", "Succeeded"
|
2550
2812
|
# resp.operation.status_changed_at #=> Time
|
2551
2813
|
# resp.operation.error_code #=> String
|
@@ -2601,13 +2863,13 @@ module Aws::Lightsail
|
|
2601
2863
|
#
|
2602
2864
|
# resp.operation.id #=> String
|
2603
2865
|
# resp.operation.resource_name #=> String
|
2604
|
-
# 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"
|
2605
2867
|
# resp.operation.created_at #=> Time
|
2606
2868
|
# resp.operation.location.availability_zone #=> String
|
2607
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"
|
2608
2870
|
# resp.operation.is_terminal #=> Boolean
|
2609
2871
|
# resp.operation.operation_details #=> String
|
2610
|
-
# 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"
|
2611
2873
|
# resp.operation.status #=> String, one of "NotStarted", "Started", "Failed", "Completed", "Succeeded"
|
2612
2874
|
# resp.operation.status_changed_at #=> Time
|
2613
2875
|
# resp.operation.error_code #=> String
|
@@ -2655,13 +2917,13 @@ module Aws::Lightsail
|
|
2655
2917
|
# resp.operations #=> Array
|
2656
2918
|
# resp.operations[0].id #=> String
|
2657
2919
|
# resp.operations[0].resource_name #=> String
|
2658
|
-
# 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"
|
2659
2921
|
# resp.operations[0].created_at #=> Time
|
2660
2922
|
# resp.operations[0].location.availability_zone #=> String
|
2661
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"
|
2662
2924
|
# resp.operations[0].is_terminal #=> Boolean
|
2663
2925
|
# resp.operations[0].operation_details #=> String
|
2664
|
-
# 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"
|
2665
2927
|
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed", "Succeeded"
|
2666
2928
|
# resp.operations[0].status_changed_at #=> Time
|
2667
2929
|
# resp.operations[0].error_code #=> String
|
@@ -2706,13 +2968,13 @@ module Aws::Lightsail
|
|
2706
2968
|
# resp.operations #=> Array
|
2707
2969
|
# resp.operations[0].id #=> String
|
2708
2970
|
# resp.operations[0].resource_name #=> String
|
2709
|
-
# 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"
|
2710
2972
|
# resp.operations[0].created_at #=> Time
|
2711
2973
|
# resp.operations[0].location.availability_zone #=> String
|
2712
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"
|
2713
2975
|
# resp.operations[0].is_terminal #=> Boolean
|
2714
2976
|
# resp.operations[0].operation_details #=> String
|
2715
|
-
# 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"
|
2716
2978
|
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed", "Succeeded"
|
2717
2979
|
# resp.operations[0].status_changed_at #=> Time
|
2718
2980
|
# resp.operations[0].error_code #=> String
|
@@ -2754,13 +3016,13 @@ module Aws::Lightsail
|
|
2754
3016
|
#
|
2755
3017
|
# resp.operation.id #=> String
|
2756
3018
|
# resp.operation.resource_name #=> String
|
2757
|
-
# 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"
|
2758
3020
|
# resp.operation.created_at #=> Time
|
2759
3021
|
# resp.operation.location.availability_zone #=> String
|
2760
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"
|
2761
3023
|
# resp.operation.is_terminal #=> Boolean
|
2762
3024
|
# resp.operation.operation_details #=> String
|
2763
|
-
# 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"
|
2764
3026
|
# resp.operation.status #=> String, one of "NotStarted", "Started", "Failed", "Completed", "Succeeded"
|
2765
3027
|
# resp.operation.status_changed_at #=> Time
|
2766
3028
|
# resp.operation.error_code #=> String
|
@@ -2809,13 +3071,13 @@ module Aws::Lightsail
|
|
2809
3071
|
# resp.operations #=> Array
|
2810
3072
|
# resp.operations[0].id #=> String
|
2811
3073
|
# resp.operations[0].resource_name #=> String
|
2812
|
-
# 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"
|
2813
3075
|
# resp.operations[0].created_at #=> Time
|
2814
3076
|
# resp.operations[0].location.availability_zone #=> String
|
2815
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"
|
2816
3078
|
# resp.operations[0].is_terminal #=> Boolean
|
2817
3079
|
# resp.operations[0].operation_details #=> String
|
2818
|
-
# 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"
|
2819
3081
|
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed", "Succeeded"
|
2820
3082
|
# resp.operations[0].status_changed_at #=> Time
|
2821
3083
|
# resp.operations[0].error_code #=> String
|
@@ -2861,13 +3123,13 @@ module Aws::Lightsail
|
|
2861
3123
|
# resp.operations #=> Array
|
2862
3124
|
# resp.operations[0].id #=> String
|
2863
3125
|
# resp.operations[0].resource_name #=> String
|
2864
|
-
# 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"
|
2865
3127
|
# resp.operations[0].created_at #=> Time
|
2866
3128
|
# resp.operations[0].location.availability_zone #=> String
|
2867
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"
|
2868
3130
|
# resp.operations[0].is_terminal #=> Boolean
|
2869
3131
|
# resp.operations[0].operation_details #=> String
|
2870
|
-
# 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"
|
2871
3133
|
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed", "Succeeded"
|
2872
3134
|
# resp.operations[0].status_changed_at #=> Time
|
2873
3135
|
# resp.operations[0].error_code #=> String
|
@@ -2885,10 +3147,10 @@ module Aws::Lightsail
|
|
2885
3147
|
# Deletes an SSL/TLS certificate associated with a Lightsail load
|
2886
3148
|
# balancer.
|
2887
3149
|
#
|
2888
|
-
# The `
|
2889
|
-
#
|
2890
|
-
#
|
2891
|
-
#
|
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].
|
2892
3154
|
#
|
2893
3155
|
#
|
2894
3156
|
#
|
@@ -2925,13 +3187,13 @@ module Aws::Lightsail
|
|
2925
3187
|
# resp.operations #=> Array
|
2926
3188
|
# resp.operations[0].id #=> String
|
2927
3189
|
# resp.operations[0].resource_name #=> String
|
2928
|
-
# 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"
|
2929
3191
|
# resp.operations[0].created_at #=> Time
|
2930
3192
|
# resp.operations[0].location.availability_zone #=> String
|
2931
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"
|
2932
3194
|
# resp.operations[0].is_terminal #=> Boolean
|
2933
3195
|
# resp.operations[0].operation_details #=> String
|
2934
|
-
# 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"
|
2935
3197
|
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed", "Succeeded"
|
2936
3198
|
# resp.operations[0].status_changed_at #=> Time
|
2937
3199
|
# resp.operations[0].error_code #=> String
|
@@ -3003,13 +3265,13 @@ module Aws::Lightsail
|
|
3003
3265
|
# resp.operations #=> Array
|
3004
3266
|
# resp.operations[0].id #=> String
|
3005
3267
|
# resp.operations[0].resource_name #=> String
|
3006
|
-
# 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"
|
3007
3269
|
# resp.operations[0].created_at #=> Time
|
3008
3270
|
# resp.operations[0].location.availability_zone #=> String
|
3009
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"
|
3010
3272
|
# resp.operations[0].is_terminal #=> Boolean
|
3011
3273
|
# resp.operations[0].operation_details #=> String
|
3012
|
-
# 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"
|
3013
3275
|
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed", "Succeeded"
|
3014
3276
|
# resp.operations[0].status_changed_at #=> Time
|
3015
3277
|
# resp.operations[0].error_code #=> String
|
@@ -3053,13 +3315,13 @@ module Aws::Lightsail
|
|
3053
3315
|
# resp.operations #=> Array
|
3054
3316
|
# resp.operations[0].id #=> String
|
3055
3317
|
# resp.operations[0].resource_name #=> String
|
3056
|
-
# 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"
|
3057
3319
|
# resp.operations[0].created_at #=> Time
|
3058
3320
|
# resp.operations[0].location.availability_zone #=> String
|
3059
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"
|
3060
3322
|
# resp.operations[0].is_terminal #=> Boolean
|
3061
3323
|
# resp.operations[0].operation_details #=> String
|
3062
|
-
# 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"
|
3063
3325
|
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed", "Succeeded"
|
3064
3326
|
# resp.operations[0].status_changed_at #=> Time
|
3065
3327
|
# resp.operations[0].error_code #=> String
|
@@ -3105,13 +3367,13 @@ module Aws::Lightsail
|
|
3105
3367
|
# resp.operations #=> Array
|
3106
3368
|
# resp.operations[0].id #=> String
|
3107
3369
|
# resp.operations[0].resource_name #=> String
|
3108
|
-
# 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"
|
3109
3371
|
# resp.operations[0].created_at #=> Time
|
3110
3372
|
# resp.operations[0].location.availability_zone #=> String
|
3111
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"
|
3112
3374
|
# resp.operations[0].is_terminal #=> Boolean
|
3113
3375
|
# resp.operations[0].operation_details #=> String
|
3114
|
-
# 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"
|
3115
3377
|
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed", "Succeeded"
|
3116
3378
|
# resp.operations[0].status_changed_at #=> Time
|
3117
3379
|
# resp.operations[0].error_code #=> String
|
@@ -3163,13 +3425,13 @@ module Aws::Lightsail
|
|
3163
3425
|
# resp.operations #=> Array
|
3164
3426
|
# resp.operations[0].id #=> String
|
3165
3427
|
# resp.operations[0].resource_name #=> String
|
3166
|
-
# 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"
|
3167
3429
|
# resp.operations[0].created_at #=> Time
|
3168
3430
|
# resp.operations[0].location.availability_zone #=> String
|
3169
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"
|
3170
3432
|
# resp.operations[0].is_terminal #=> Boolean
|
3171
3433
|
# resp.operations[0].operation_details #=> String
|
3172
|
-
# 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"
|
3173
3435
|
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed", "Succeeded"
|
3174
3436
|
# resp.operations[0].status_changed_at #=> Time
|
3175
3437
|
# resp.operations[0].error_code #=> String
|
@@ -3205,13 +3467,13 @@ module Aws::Lightsail
|
|
3205
3467
|
# resp.operations #=> Array
|
3206
3468
|
# resp.operations[0].id #=> String
|
3207
3469
|
# resp.operations[0].resource_name #=> String
|
3208
|
-
# 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"
|
3209
3471
|
# resp.operations[0].created_at #=> Time
|
3210
3472
|
# resp.operations[0].location.availability_zone #=> String
|
3211
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"
|
3212
3474
|
# resp.operations[0].is_terminal #=> Boolean
|
3213
3475
|
# resp.operations[0].operation_details #=> String
|
3214
|
-
# 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"
|
3215
3477
|
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed", "Succeeded"
|
3216
3478
|
# resp.operations[0].status_changed_at #=> Time
|
3217
3479
|
# resp.operations[0].error_code #=> String
|
@@ -3255,13 +3517,13 @@ module Aws::Lightsail
|
|
3255
3517
|
# resp.operations #=> Array
|
3256
3518
|
# resp.operations[0].id #=> String
|
3257
3519
|
# resp.operations[0].resource_name #=> String
|
3258
|
-
# 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"
|
3259
3521
|
# resp.operations[0].created_at #=> Time
|
3260
3522
|
# resp.operations[0].location.availability_zone #=> String
|
3261
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"
|
3262
3524
|
# resp.operations[0].is_terminal #=> Boolean
|
3263
3525
|
# resp.operations[0].operation_details #=> String
|
3264
|
-
# 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"
|
3265
3527
|
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed", "Succeeded"
|
3266
3528
|
# resp.operations[0].status_changed_at #=> Time
|
3267
3529
|
# resp.operations[0].error_code #=> String
|
@@ -3332,13 +3594,13 @@ module Aws::Lightsail
|
|
3332
3594
|
# resp.operations #=> Array
|
3333
3595
|
# resp.operations[0].id #=> String
|
3334
3596
|
# resp.operations[0].resource_name #=> String
|
3335
|
-
# 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"
|
3336
3598
|
# resp.operations[0].created_at #=> Time
|
3337
3599
|
# resp.operations[0].location.availability_zone #=> String
|
3338
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"
|
3339
3601
|
# resp.operations[0].is_terminal #=> Boolean
|
3340
3602
|
# resp.operations[0].operation_details #=> String
|
3341
|
-
# 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"
|
3342
3604
|
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed", "Succeeded"
|
3343
3605
|
# resp.operations[0].status_changed_at #=> Time
|
3344
3606
|
# resp.operations[0].error_code #=> String
|
@@ -3399,13 +3661,13 @@ module Aws::Lightsail
|
|
3399
3661
|
# resp.operations #=> Array
|
3400
3662
|
# resp.operations[0].id #=> String
|
3401
3663
|
# resp.operations[0].resource_name #=> String
|
3402
|
-
# 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"
|
3403
3665
|
# resp.operations[0].created_at #=> Time
|
3404
3666
|
# resp.operations[0].location.availability_zone #=> String
|
3405
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"
|
3406
3668
|
# resp.operations[0].is_terminal #=> Boolean
|
3407
3669
|
# resp.operations[0].operation_details #=> String
|
3408
|
-
# 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"
|
3409
3671
|
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed", "Succeeded"
|
3410
3672
|
# resp.operations[0].status_changed_at #=> Time
|
3411
3673
|
# resp.operations[0].error_code #=> String
|
@@ -3423,8 +3685,11 @@ module Aws::Lightsail
|
|
3423
3685
|
# Returns the names of all active (not deleted) resources.
|
3424
3686
|
#
|
3425
3687
|
# @option params [String] :page_token
|
3426
|
-
#
|
3427
|
-
#
|
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.
|
3428
3693
|
#
|
3429
3694
|
# @return [Types::GetActiveNamesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3430
3695
|
#
|
@@ -3452,6 +3717,90 @@ module Aws::Lightsail
|
|
3452
3717
|
req.send_request(options)
|
3453
3718
|
end
|
3454
3719
|
|
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", "BurstCapacityTime", "BurstCapacityPercentage"
|
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
|
+
|
3455
3804
|
# Returns the available automatic snapshots for an instance or disk. For
|
3456
3805
|
# more information, see the [Lightsail Dev Guide][1].
|
3457
3806
|
#
|
@@ -3478,7 +3827,7 @@ module Aws::Lightsail
|
|
3478
3827
|
# @example Response structure
|
3479
3828
|
#
|
3480
3829
|
# resp.resource_name #=> String
|
3481
|
-
# 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"
|
3482
3831
|
# resp.auto_snapshots #=> Array
|
3483
3832
|
# resp.auto_snapshots[0].date #=> String
|
3484
3833
|
# resp.auto_snapshots[0].created_at #=> Time
|
@@ -3515,8 +3864,11 @@ module Aws::Lightsail
|
|
3515
3864
|
# request.
|
3516
3865
|
#
|
3517
3866
|
# @option params [String] :page_token
|
3518
|
-
#
|
3519
|
-
#
|
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.
|
3520
3872
|
#
|
3521
3873
|
# @return [Types::GetBlueprintsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3522
3874
|
#
|
@@ -3564,8 +3916,11 @@ module Aws::Lightsail
|
|
3564
3916
|
# results in your request.
|
3565
3917
|
#
|
3566
3918
|
# @option params [String] :page_token
|
3567
|
-
#
|
3568
|
-
#
|
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.
|
3569
3924
|
#
|
3570
3925
|
# @return [Types::GetBundlesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3571
3926
|
#
|
@@ -3612,8 +3967,12 @@ module Aws::Lightsail
|
|
3612
3967
|
# instance from an exported Lightsail snapshot.
|
3613
3968
|
#
|
3614
3969
|
# @option params [String] :page_token
|
3615
|
-
#
|
3616
|
-
#
|
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.
|
3617
3976
|
#
|
3618
3977
|
# @return [Types::GetCloudFormationStackRecordsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3619
3978
|
#
|
@@ -3634,7 +3993,7 @@ module Aws::Lightsail
|
|
3634
3993
|
# resp.cloud_formation_stack_records[0].created_at #=> Time
|
3635
3994
|
# resp.cloud_formation_stack_records[0].location.availability_zone #=> String
|
3636
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"
|
3637
|
-
# 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"
|
3638
3997
|
# resp.cloud_formation_stack_records[0].state #=> String, one of "Started", "Succeeded", "Failed"
|
3639
3998
|
# resp.cloud_formation_stack_records[0].source_info #=> Array
|
3640
3999
|
# resp.cloud_formation_stack_records[0].source_info[0].resource_type #=> String, one of "ExportSnapshotRecord"
|
@@ -3653,6 +4012,61 @@ module Aws::Lightsail
|
|
3653
4012
|
req.send_request(options)
|
3654
4013
|
end
|
3655
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
|
+
|
3656
4070
|
# Returns information about a specific block storage disk.
|
3657
4071
|
#
|
3658
4072
|
# @option params [required, String] :disk_name
|
@@ -3676,7 +4090,7 @@ module Aws::Lightsail
|
|
3676
4090
|
# resp.disk.created_at #=> Time
|
3677
4091
|
# resp.disk.location.availability_zone #=> String
|
3678
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"
|
3679
|
-
# 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"
|
3680
4094
|
# resp.disk.tags #=> Array
|
3681
4095
|
# resp.disk.tags[0].key #=> String
|
3682
4096
|
# resp.disk.tags[0].value #=> String
|
@@ -3727,7 +4141,7 @@ module Aws::Lightsail
|
|
3727
4141
|
# resp.disk_snapshot.created_at #=> Time
|
3728
4142
|
# resp.disk_snapshot.location.availability_zone #=> String
|
3729
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"
|
3730
|
-
# 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"
|
3731
4145
|
# resp.disk_snapshot.tags #=> Array
|
3732
4146
|
# resp.disk_snapshot.tags[0].key #=> String
|
3733
4147
|
# resp.disk_snapshot.tags[0].value #=> String
|
@@ -3752,13 +4166,12 @@ module Aws::Lightsail
|
|
3752
4166
|
# Returns information about all block storage disk snapshots in your AWS
|
3753
4167
|
# account and region.
|
3754
4168
|
#
|
3755
|
-
# If you are describing a long list of disk snapshots, you can paginate
|
3756
|
-
# the output to make the list more manageable. You can use the pageToken
|
3757
|
-
# and nextPageToken values to retrieve the next items in the list.
|
3758
|
-
#
|
3759
4169
|
# @option params [String] :page_token
|
3760
|
-
#
|
3761
|
-
#
|
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.
|
3762
4175
|
#
|
3763
4176
|
# @return [Types::GetDiskSnapshotsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3764
4177
|
#
|
@@ -3780,7 +4193,7 @@ module Aws::Lightsail
|
|
3780
4193
|
# resp.disk_snapshots[0].created_at #=> Time
|
3781
4194
|
# resp.disk_snapshots[0].location.availability_zone #=> String
|
3782
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"
|
3783
|
-
# 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"
|
3784
4197
|
# resp.disk_snapshots[0].tags #=> Array
|
3785
4198
|
# resp.disk_snapshots[0].tags[0].key #=> String
|
3786
4199
|
# resp.disk_snapshots[0].tags[0].value #=> String
|
@@ -3806,13 +4219,12 @@ module Aws::Lightsail
|
|
3806
4219
|
# Returns information about all block storage disks in your AWS account
|
3807
4220
|
# and region.
|
3808
4221
|
#
|
3809
|
-
# If you are describing a long list of disks, you can paginate the
|
3810
|
-
# output to make the list more manageable. You can use the pageToken and
|
3811
|
-
# nextPageToken values to retrieve the next items in the list.
|
3812
|
-
#
|
3813
4222
|
# @option params [String] :page_token
|
3814
|
-
#
|
3815
|
-
#
|
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.
|
3816
4228
|
#
|
3817
4229
|
# @return [Types::GetDisksResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3818
4230
|
#
|
@@ -3834,7 +4246,7 @@ module Aws::Lightsail
|
|
3834
4246
|
# resp.disks[0].created_at #=> Time
|
3835
4247
|
# resp.disks[0].location.availability_zone #=> String
|
3836
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"
|
3837
|
-
# 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"
|
3838
4250
|
# resp.disks[0].tags #=> Array
|
3839
4251
|
# resp.disks[0].tags[0].key #=> String
|
3840
4252
|
# resp.disks[0].tags[0].value #=> String
|
@@ -3886,7 +4298,7 @@ module Aws::Lightsail
|
|
3886
4298
|
# resp.domain.created_at #=> Time
|
3887
4299
|
# resp.domain.location.availability_zone #=> String
|
3888
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"
|
3889
|
-
# 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"
|
3890
4302
|
# resp.domain.tags #=> Array
|
3891
4303
|
# resp.domain.tags[0].key #=> String
|
3892
4304
|
# resp.domain.tags[0].value #=> String
|
@@ -3911,8 +4323,11 @@ module Aws::Lightsail
|
|
3911
4323
|
# Returns a list of all domains in the user's account.
|
3912
4324
|
#
|
3913
4325
|
# @option params [String] :page_token
|
3914
|
-
#
|
3915
|
-
#
|
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.
|
3916
4331
|
#
|
3917
4332
|
# @return [Types::GetDomainsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3918
4333
|
#
|
@@ -3934,7 +4349,7 @@ module Aws::Lightsail
|
|
3934
4349
|
# resp.domains[0].created_at #=> Time
|
3935
4350
|
# resp.domains[0].location.availability_zone #=> String
|
3936
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"
|
3937
|
-
# 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"
|
3938
4353
|
# resp.domains[0].tags #=> Array
|
3939
4354
|
# resp.domains[0].tags[0].key #=> String
|
3940
4355
|
# resp.domains[0].tags[0].value #=> String
|
@@ -3965,8 +4380,12 @@ module Aws::Lightsail
|
|
3965
4380
|
# stack` operation.
|
3966
4381
|
#
|
3967
4382
|
# @option params [String] :page_token
|
3968
|
-
#
|
3969
|
-
#
|
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.
|
3970
4389
|
#
|
3971
4390
|
# @return [Types::GetExportSnapshotRecordsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3972
4391
|
#
|
@@ -3987,7 +4406,7 @@ module Aws::Lightsail
|
|
3987
4406
|
# resp.export_snapshot_records[0].created_at #=> Time
|
3988
4407
|
# resp.export_snapshot_records[0].location.availability_zone #=> String
|
3989
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"
|
3990
|
-
# 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"
|
3991
4410
|
# resp.export_snapshot_records[0].state #=> String, one of "Started", "Succeeded", "Failed"
|
3992
4411
|
# resp.export_snapshot_records[0].source_info.resource_type #=> String, one of "InstanceSnapshot", "DiskSnapshot"
|
3993
4412
|
# resp.export_snapshot_records[0].source_info.created_at #=> Time
|
@@ -4040,7 +4459,7 @@ module Aws::Lightsail
|
|
4040
4459
|
# resp.instance.created_at #=> Time
|
4041
4460
|
# resp.instance.location.availability_zone #=> String
|
4042
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"
|
4043
|
-
# 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"
|
4044
4463
|
# resp.instance.tags #=> Array
|
4045
4464
|
# resp.instance.tags[0].key #=> String
|
4046
4465
|
# resp.instance.tags[0].value #=> String
|
@@ -4064,7 +4483,7 @@ module Aws::Lightsail
|
|
4064
4483
|
# resp.instance.hardware.disks[0].created_at #=> Time
|
4065
4484
|
# resp.instance.hardware.disks[0].location.availability_zone #=> String
|
4066
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"
|
4067
|
-
# 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"
|
4068
4487
|
# resp.instance.hardware.disks[0].tags #=> Array
|
4069
4488
|
# resp.instance.hardware.disks[0].tags[0].key #=> String
|
4070
4489
|
# resp.instance.hardware.disks[0].tags[0].value #=> String
|
@@ -4087,11 +4506,15 @@ module Aws::Lightsail
|
|
4087
4506
|
# resp.instance.networking.ports #=> Array
|
4088
4507
|
# resp.instance.networking.ports[0].from_port #=> Integer
|
4089
4508
|
# resp.instance.networking.ports[0].to_port #=> Integer
|
4090
|
-
# 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"
|
4091
4510
|
# resp.instance.networking.ports[0].access_from #=> String
|
4092
4511
|
# resp.instance.networking.ports[0].access_type #=> String, one of "Public", "Private"
|
4093
4512
|
# resp.instance.networking.ports[0].common_name #=> String
|
4094
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
|
4095
4518
|
# resp.instance.state.code #=> Integer
|
4096
4519
|
# resp.instance.state.name #=> String
|
4097
4520
|
# resp.instance.username #=> String
|
@@ -4168,15 +4591,127 @@ module Aws::Lightsail
|
|
4168
4591
|
# Returns the data points for the specified Amazon Lightsail instance
|
4169
4592
|
# metric, given an instance name.
|
4170
4593
|
#
|
4594
|
+
# Metrics report the utilization of your resources, and the error counts
|
4595
|
+
# generated by them. Monitor and collect metric data regularly to
|
4596
|
+
# maintain the reliability, availability, and performance of your
|
4597
|
+
# resources.
|
4598
|
+
#
|
4171
4599
|
# @option params [required, String] :instance_name
|
4172
4600
|
# The name of the instance for which you want to get metrics data.
|
4173
4601
|
#
|
4174
4602
|
# @option params [required, String] :metric_name
|
4175
|
-
# The metric
|
4603
|
+
# The metric for which you want to return information.
|
4604
|
+
#
|
4605
|
+
# Valid instance metric names are listed below, along with the most
|
4606
|
+
# useful `statistics` to include in your request, and the published
|
4607
|
+
# `unit` value.
|
4608
|
+
#
|
4609
|
+
# * <b> <code>BurstCapacityPercentage</code> </b> - The percentage of
|
4610
|
+
# CPU performance available for your instance to burst above its
|
4611
|
+
# baseline. Your instance continously accrues and consumes burst
|
4612
|
+
# capacity. Burst capacity stops accruing when your instance's
|
4613
|
+
# `BurstCapacityPercentage` reaches 100%. For more information, see
|
4614
|
+
# [Viewing instance burst capacity in Amazon Lightsail][1].
|
4615
|
+
#
|
4616
|
+
# `Statistics`\: The most useful statistics are `Maximum` and
|
4617
|
+
# `Average`.
|
4618
|
+
#
|
4619
|
+
# `Unit`\: The published unit is `Percent`.
|
4620
|
+
#
|
4621
|
+
# * <b> <code>BurstCapacityTime</code> </b> - The available amount of
|
4622
|
+
# time for your instance to burst at 100% CPU utilization. Your
|
4623
|
+
# instance continously accrues and consumes burst capacity. Burst
|
4624
|
+
# capacity time stops accruing when your instance's
|
4625
|
+
# `BurstCapacityPercentage` metric reaches 100%.
|
4626
|
+
#
|
4627
|
+
# Burst capacity time is consumed at the full rate only when your
|
4628
|
+
# instance operates at 100% CPU utilization. For example, if your
|
4629
|
+
# instance operates at 50% CPU utilization in the burstable zone for a
|
4630
|
+
# 5-minute period, then it consumes CPU burst capacity minutes at a
|
4631
|
+
# 50% rate in that period. Your instance consumed 2 minutes and 30
|
4632
|
+
# seconds of CPU burst capacity minutes in the 5-minute period. For
|
4633
|
+
# more information, see [Viewing instance burst capacity in Amazon
|
4634
|
+
# Lightsail][1].
|
4635
|
+
#
|
4636
|
+
# `Statistics`\: The most useful statistics are `Maximum` and
|
4637
|
+
# `Average`.
|
4638
|
+
#
|
4639
|
+
# `Unit`\: The published unit is `Seconds`.
|
4640
|
+
#
|
4641
|
+
# * <b> <code>CPUUtilization</code> </b> - The percentage of allocated
|
4642
|
+
# compute units that are currently in use on the instance. This metric
|
4643
|
+
# identifies the processing power to run the applications on the
|
4644
|
+
# instance. Tools in your operating system can show a lower percentage
|
4645
|
+
# than Lightsail when the instance is not allocated a full processor
|
4646
|
+
# core.
|
4647
|
+
#
|
4648
|
+
# `Statistics`\: The most useful statistics are `Maximum` and
|
4649
|
+
# `Average`.
|
4650
|
+
#
|
4651
|
+
# `Unit`\: The published unit is `Percent`.
|
4652
|
+
#
|
4653
|
+
# * <b> <code>NetworkIn</code> </b> - The number of bytes received on
|
4654
|
+
# all network interfaces by the instance. This metric identifies the
|
4655
|
+
# volume of incoming network traffic to the instance. The number
|
4656
|
+
# reported is the number of bytes received during the period. Because
|
4657
|
+
# this metric is reported in 5-minute intervals, divide the reported
|
4658
|
+
# number by 300 to find Bytes/second.
|
4659
|
+
#
|
4660
|
+
# `Statistics`\: The most useful statistic is `Sum`.
|
4661
|
+
#
|
4662
|
+
# `Unit`\: The published unit is `Bytes`.
|
4663
|
+
#
|
4664
|
+
# * <b> <code>NetworkOut</code> </b> - The number of bytes sent out on
|
4665
|
+
# all network interfaces by the instance. This metric identifies the
|
4666
|
+
# volume of outgoing network traffic from the instance. The number
|
4667
|
+
# reported is the number of bytes sent during the period. Because this
|
4668
|
+
# metric is reported in 5-minute intervals, divide the reported number
|
4669
|
+
# by 300 to find Bytes/second.
|
4670
|
+
#
|
4671
|
+
# `Statistics`\: The most useful statistic is `Sum`.
|
4672
|
+
#
|
4673
|
+
# `Unit`\: The published unit is `Bytes`.
|
4674
|
+
#
|
4675
|
+
# * <b> <code>StatusCheckFailed</code> </b> - Reports whether the
|
4676
|
+
# instance passed or failed both the instance status check and the
|
4677
|
+
# system status check. This metric can be either 0 (passed) or 1
|
4678
|
+
# (failed). This metric data is available in 1-minute (60 seconds)
|
4679
|
+
# granularity.
|
4680
|
+
#
|
4681
|
+
# `Statistics`\: The most useful statistic is `Sum`.
|
4682
|
+
#
|
4683
|
+
# `Unit`\: The published unit is `Count`.
|
4684
|
+
#
|
4685
|
+
# * <b> <code>StatusCheckFailed_Instance</code> </b> - Reports whether
|
4686
|
+
# the instance passed or failed the instance status check. This metric
|
4687
|
+
# can be either 0 (passed) or 1 (failed). This metric data is
|
4688
|
+
# available in 1-minute (60 seconds) granularity.
|
4689
|
+
#
|
4690
|
+
# `Statistics`\: The most useful statistic is `Sum`.
|
4691
|
+
#
|
4692
|
+
# `Unit`\: The published unit is `Count`.
|
4693
|
+
#
|
4694
|
+
# * <b> <code>StatusCheckFailed_System</code> </b> - Reports whether the
|
4695
|
+
# instance passed or failed the system status check. This metric can
|
4696
|
+
# be either 0 (passed) or 1 (failed). This metric data is available in
|
4697
|
+
# 1-minute (60 seconds) granularity.
|
4698
|
+
#
|
4699
|
+
# `Statistics`\: The most useful statistic is `Sum`.
|
4700
|
+
#
|
4701
|
+
# `Unit`\: The published unit is `Count`.
|
4702
|
+
#
|
4703
|
+
#
|
4704
|
+
#
|
4705
|
+
# [1]: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-viewing-instance-burst-capacity
|
4176
4706
|
#
|
4177
4707
|
# @option params [required, Integer] :period
|
4178
4708
|
# The granularity, in seconds, of the returned data points.
|
4179
4709
|
#
|
4710
|
+
# The `StatusCheckFailed`, `StatusCheckFailed_Instance`, and
|
4711
|
+
# `StatusCheckFailed_System` instance metric data is available in
|
4712
|
+
# 1-minute (60 seconds) granularity. All other instance metric data is
|
4713
|
+
# available in 5-minute (300 seconds) granularity.
|
4714
|
+
#
|
4180
4715
|
# @option params [required, Time,DateTime,Date,Integer,String] :start_time
|
4181
4716
|
# The start time of the time period.
|
4182
4717
|
#
|
@@ -4184,10 +4719,36 @@ module Aws::Lightsail
|
|
4184
4719
|
# The end time of the time period.
|
4185
4720
|
#
|
4186
4721
|
# @option params [required, String] :unit
|
4187
|
-
# The unit.
|
4722
|
+
# The unit for the metric data request. Valid units depend on the metric
|
4723
|
+
# data being requested. For the valid units to specify with each
|
4724
|
+
# available metric, see the `metricName` parameter.
|
4188
4725
|
#
|
4189
4726
|
# @option params [required, Array<String>] :statistics
|
4190
|
-
# The
|
4727
|
+
# The statistic for the metric.
|
4728
|
+
#
|
4729
|
+
# The following statistics are available:
|
4730
|
+
#
|
4731
|
+
# * `Minimum` - The lowest value observed during the specified period.
|
4732
|
+
# Use this value to determine low volumes of activity for your
|
4733
|
+
# application.
|
4734
|
+
#
|
4735
|
+
# * `Maximum` - The highest value observed during the specified period.
|
4736
|
+
# Use this value to determine high volumes of activity for your
|
4737
|
+
# application.
|
4738
|
+
#
|
4739
|
+
# * `Sum` - All values submitted for the matching metric added together.
|
4740
|
+
# You can use this statistic to determine the total volume of a
|
4741
|
+
# metric.
|
4742
|
+
#
|
4743
|
+
# * `Average` - The value of Sum / SampleCount during the specified
|
4744
|
+
# period. By comparing this statistic with the Minimum and Maximum
|
4745
|
+
# values, you can determine the full scope of a metric and how close
|
4746
|
+
# the average use is to the Minimum and Maximum values. This
|
4747
|
+
# comparison helps you to know when to increase or decrease your
|
4748
|
+
# resources.
|
4749
|
+
#
|
4750
|
+
# * `SampleCount` - The count, or number, of data points used for the
|
4751
|
+
# statistical calculation.
|
4191
4752
|
#
|
4192
4753
|
# @return [Types::GetInstanceMetricDataResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4193
4754
|
#
|
@@ -4198,7 +4759,7 @@ module Aws::Lightsail
|
|
4198
4759
|
#
|
4199
4760
|
# resp = client.get_instance_metric_data({
|
4200
4761
|
# instance_name: "ResourceName", # required
|
4201
|
-
# metric_name: "CPUUtilization", # required, accepts CPUUtilization, NetworkIn, NetworkOut, StatusCheckFailed, StatusCheckFailed_Instance, StatusCheckFailed_System
|
4762
|
+
# metric_name: "CPUUtilization", # required, accepts CPUUtilization, NetworkIn, NetworkOut, StatusCheckFailed, StatusCheckFailed_Instance, StatusCheckFailed_System, BurstCapacityTime, BurstCapacityPercentage
|
4202
4763
|
# period: 1, # required
|
4203
4764
|
# start_time: Time.now, # required
|
4204
4765
|
# end_time: Time.now, # required
|
@@ -4208,7 +4769,7 @@ module Aws::Lightsail
|
|
4208
4769
|
#
|
4209
4770
|
# @example Response structure
|
4210
4771
|
#
|
4211
|
-
# resp.metric_name #=> String, one of "CPUUtilization", "NetworkIn", "NetworkOut", "StatusCheckFailed", "StatusCheckFailed_Instance", "StatusCheckFailed_System"
|
4772
|
+
# resp.metric_name #=> String, one of "CPUUtilization", "NetworkIn", "NetworkOut", "StatusCheckFailed", "StatusCheckFailed_Instance", "StatusCheckFailed_System", "BurstCapacityTime", "BurstCapacityPercentage"
|
4212
4773
|
# resp.metric_data #=> Array
|
4213
4774
|
# resp.metric_data[0].average #=> Float
|
4214
4775
|
# resp.metric_data[0].maximum #=> Float
|
@@ -4227,11 +4788,12 @@ module Aws::Lightsail
|
|
4227
4788
|
req.send_request(options)
|
4228
4789
|
end
|
4229
4790
|
|
4230
|
-
# Returns the port states for a specific
|
4231
|
-
#
|
4791
|
+
# Returns the firewall port states for a specific Amazon Lightsail
|
4792
|
+
# instance, the IP addresses allowed to connect to the instance through
|
4793
|
+
# the ports, and the protocol.
|
4232
4794
|
#
|
4233
4795
|
# @option params [required, String] :instance_name
|
4234
|
-
# The name of the instance.
|
4796
|
+
# The name of the instance for which to return firewall port states.
|
4235
4797
|
#
|
4236
4798
|
# @return [Types::GetInstancePortStatesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4237
4799
|
#
|
@@ -4248,8 +4810,12 @@ module Aws::Lightsail
|
|
4248
4810
|
# resp.port_states #=> Array
|
4249
4811
|
# resp.port_states[0].from_port #=> Integer
|
4250
4812
|
# resp.port_states[0].to_port #=> Integer
|
4251
|
-
# resp.port_states[0].protocol #=> String, one of "tcp", "all", "udp"
|
4813
|
+
# resp.port_states[0].protocol #=> String, one of "tcp", "all", "udp", "icmp"
|
4252
4814
|
# resp.port_states[0].state #=> String, one of "open", "closed"
|
4815
|
+
# resp.port_states[0].cidrs #=> Array
|
4816
|
+
# resp.port_states[0].cidrs[0] #=> String
|
4817
|
+
# resp.port_states[0].cidr_list_aliases #=> Array
|
4818
|
+
# resp.port_states[0].cidr_list_aliases[0] #=> String
|
4253
4819
|
#
|
4254
4820
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstancePortStates AWS API Documentation
|
4255
4821
|
#
|
@@ -4283,7 +4849,7 @@ module Aws::Lightsail
|
|
4283
4849
|
# resp.instance_snapshot.created_at #=> Time
|
4284
4850
|
# resp.instance_snapshot.location.availability_zone #=> String
|
4285
4851
|
# 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"
|
4286
|
-
# resp.instance_snapshot.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord"
|
4852
|
+
# resp.instance_snapshot.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord", "Alarm", "ContactMethod"
|
4287
4853
|
# resp.instance_snapshot.tags #=> Array
|
4288
4854
|
# resp.instance_snapshot.tags[0].key #=> String
|
4289
4855
|
# resp.instance_snapshot.tags[0].value #=> String
|
@@ -4296,7 +4862,7 @@ module Aws::Lightsail
|
|
4296
4862
|
# resp.instance_snapshot.from_attached_disks[0].created_at #=> Time
|
4297
4863
|
# resp.instance_snapshot.from_attached_disks[0].location.availability_zone #=> String
|
4298
4864
|
# 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"
|
4299
|
-
# 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"
|
4865
|
+
# 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"
|
4300
4866
|
# resp.instance_snapshot.from_attached_disks[0].tags #=> Array
|
4301
4867
|
# resp.instance_snapshot.from_attached_disks[0].tags[0].key #=> String
|
4302
4868
|
# resp.instance_snapshot.from_attached_disks[0].tags[0].value #=> String
|
@@ -4333,8 +4899,12 @@ module Aws::Lightsail
|
|
4333
4899
|
# Returns all instance snapshots for the user's account.
|
4334
4900
|
#
|
4335
4901
|
# @option params [String] :page_token
|
4336
|
-
#
|
4337
|
-
#
|
4902
|
+
# The token to advance to the next page of results from your request.
|
4903
|
+
#
|
4904
|
+
# To get a page token, perform an initial `GetInstanceSnapshots`
|
4905
|
+
# request. If your results are paginated, the response will return a
|
4906
|
+
# next page token that you can specify as the page token in a subsequent
|
4907
|
+
# request.
|
4338
4908
|
#
|
4339
4909
|
# @return [Types::GetInstanceSnapshotsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4340
4910
|
#
|
@@ -4356,7 +4926,7 @@ module Aws::Lightsail
|
|
4356
4926
|
# resp.instance_snapshots[0].created_at #=> Time
|
4357
4927
|
# resp.instance_snapshots[0].location.availability_zone #=> String
|
4358
4928
|
# 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"
|
4359
|
-
# resp.instance_snapshots[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord"
|
4929
|
+
# 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"
|
4360
4930
|
# resp.instance_snapshots[0].tags #=> Array
|
4361
4931
|
# resp.instance_snapshots[0].tags[0].key #=> String
|
4362
4932
|
# resp.instance_snapshots[0].tags[0].value #=> String
|
@@ -4369,7 +4939,7 @@ module Aws::Lightsail
|
|
4369
4939
|
# resp.instance_snapshots[0].from_attached_disks[0].created_at #=> Time
|
4370
4940
|
# resp.instance_snapshots[0].from_attached_disks[0].location.availability_zone #=> String
|
4371
4941
|
# 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"
|
4372
|
-
# 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"
|
4942
|
+
# 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"
|
4373
4943
|
# resp.instance_snapshots[0].from_attached_disks[0].tags #=> Array
|
4374
4944
|
# resp.instance_snapshots[0].from_attached_disks[0].tags[0].key #=> String
|
4375
4945
|
# resp.instance_snapshots[0].from_attached_disks[0].tags[0].value #=> String
|
@@ -4438,8 +5008,11 @@ module Aws::Lightsail
|
|
4438
5008
|
# servers, or *instances*.
|
4439
5009
|
#
|
4440
5010
|
# @option params [String] :page_token
|
4441
|
-
#
|
4442
|
-
#
|
5011
|
+
# The token to advance to the next page of results from your request.
|
5012
|
+
#
|
5013
|
+
# To get a page token, perform an initial `GetInstances` request. If
|
5014
|
+
# your results are paginated, the response will return a next page token
|
5015
|
+
# that you can specify as the page token in a subsequent request.
|
4443
5016
|
#
|
4444
5017
|
# @return [Types::GetInstancesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4445
5018
|
#
|
@@ -4461,7 +5034,7 @@ module Aws::Lightsail
|
|
4461
5034
|
# resp.instances[0].created_at #=> Time
|
4462
5035
|
# resp.instances[0].location.availability_zone #=> String
|
4463
5036
|
# 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"
|
4464
|
-
# resp.instances[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord"
|
5037
|
+
# resp.instances[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord", "Alarm", "ContactMethod"
|
4465
5038
|
# resp.instances[0].tags #=> Array
|
4466
5039
|
# resp.instances[0].tags[0].key #=> String
|
4467
5040
|
# resp.instances[0].tags[0].value #=> String
|
@@ -4485,7 +5058,7 @@ module Aws::Lightsail
|
|
4485
5058
|
# resp.instances[0].hardware.disks[0].created_at #=> Time
|
4486
5059
|
# resp.instances[0].hardware.disks[0].location.availability_zone #=> String
|
4487
5060
|
# 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"
|
4488
|
-
# 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"
|
5061
|
+
# 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"
|
4489
5062
|
# resp.instances[0].hardware.disks[0].tags #=> Array
|
4490
5063
|
# resp.instances[0].hardware.disks[0].tags[0].key #=> String
|
4491
5064
|
# resp.instances[0].hardware.disks[0].tags[0].value #=> String
|
@@ -4508,11 +5081,15 @@ module Aws::Lightsail
|
|
4508
5081
|
# resp.instances[0].networking.ports #=> Array
|
4509
5082
|
# resp.instances[0].networking.ports[0].from_port #=> Integer
|
4510
5083
|
# resp.instances[0].networking.ports[0].to_port #=> Integer
|
4511
|
-
# resp.instances[0].networking.ports[0].protocol #=> String, one of "tcp", "all", "udp"
|
5084
|
+
# resp.instances[0].networking.ports[0].protocol #=> String, one of "tcp", "all", "udp", "icmp"
|
4512
5085
|
# resp.instances[0].networking.ports[0].access_from #=> String
|
4513
5086
|
# resp.instances[0].networking.ports[0].access_type #=> String, one of "Public", "Private"
|
4514
5087
|
# resp.instances[0].networking.ports[0].common_name #=> String
|
4515
5088
|
# resp.instances[0].networking.ports[0].access_direction #=> String, one of "inbound", "outbound"
|
5089
|
+
# resp.instances[0].networking.ports[0].cidrs #=> Array
|
5090
|
+
# resp.instances[0].networking.ports[0].cidrs[0] #=> String
|
5091
|
+
# resp.instances[0].networking.ports[0].cidr_list_aliases #=> Array
|
5092
|
+
# resp.instances[0].networking.ports[0].cidr_list_aliases[0] #=> String
|
4516
5093
|
# resp.instances[0].state.code #=> Integer
|
4517
5094
|
# resp.instances[0].state.name #=> String
|
4518
5095
|
# resp.instances[0].username #=> String
|
@@ -4551,7 +5128,7 @@ module Aws::Lightsail
|
|
4551
5128
|
# resp.key_pair.created_at #=> Time
|
4552
5129
|
# resp.key_pair.location.availability_zone #=> String
|
4553
5130
|
# 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"
|
4554
|
-
# resp.key_pair.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord"
|
5131
|
+
# resp.key_pair.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord", "Alarm", "ContactMethod"
|
4555
5132
|
# resp.key_pair.tags #=> Array
|
4556
5133
|
# resp.key_pair.tags[0].key #=> String
|
4557
5134
|
# resp.key_pair.tags[0].value #=> String
|
@@ -4569,8 +5146,11 @@ module Aws::Lightsail
|
|
4569
5146
|
# Returns information about all key pairs in the user's account.
|
4570
5147
|
#
|
4571
5148
|
# @option params [String] :page_token
|
4572
|
-
#
|
4573
|
-
#
|
5149
|
+
# The token to advance to the next page of results from your request.
|
5150
|
+
#
|
5151
|
+
# To get a page token, perform an initial `GetKeyPairs` request. If your
|
5152
|
+
# results are paginated, the response will return a next page token that
|
5153
|
+
# you can specify as the page token in a subsequent request.
|
4574
5154
|
#
|
4575
5155
|
# @return [Types::GetKeyPairsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4576
5156
|
#
|
@@ -4592,7 +5172,7 @@ module Aws::Lightsail
|
|
4592
5172
|
# resp.key_pairs[0].created_at #=> Time
|
4593
5173
|
# resp.key_pairs[0].location.availability_zone #=> String
|
4594
5174
|
# 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"
|
4595
|
-
# resp.key_pairs[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord"
|
5175
|
+
# 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"
|
4596
5176
|
# resp.key_pairs[0].tags #=> Array
|
4597
5177
|
# resp.key_pairs[0].tags[0].key #=> String
|
4598
5178
|
# resp.key_pairs[0].tags[0].value #=> String
|
@@ -4631,7 +5211,7 @@ module Aws::Lightsail
|
|
4631
5211
|
# resp.load_balancer.created_at #=> Time
|
4632
5212
|
# resp.load_balancer.location.availability_zone #=> String
|
4633
5213
|
# 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"
|
4634
|
-
# resp.load_balancer.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord"
|
5214
|
+
# resp.load_balancer.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord", "Alarm", "ContactMethod"
|
4635
5215
|
# resp.load_balancer.tags #=> Array
|
4636
5216
|
# resp.load_balancer.tags[0].key #=> String
|
4637
5217
|
# resp.load_balancer.tags[0].value #=> String
|
@@ -4664,92 +5244,114 @@ module Aws::Lightsail
|
|
4664
5244
|
# Returns information about health metrics for your Lightsail load
|
4665
5245
|
# balancer.
|
4666
5246
|
#
|
5247
|
+
# Metrics report the utilization of your resources, and the error counts
|
5248
|
+
# generated by them. Monitor and collect metric data regularly to
|
5249
|
+
# maintain the reliability, availability, and performance of your
|
5250
|
+
# resources.
|
5251
|
+
#
|
4667
5252
|
# @option params [required, String] :load_balancer_name
|
4668
5253
|
# The name of the load balancer.
|
4669
5254
|
#
|
4670
5255
|
# @option params [required, String] :metric_name
|
4671
|
-
# The metric
|
4672
|
-
#
|
4673
|
-
#
|
5256
|
+
# The metric for which you want to return information.
|
5257
|
+
#
|
5258
|
+
# Valid load balancer metric names are listed below, along with the most
|
5259
|
+
# useful `statistics` to include in your request, and the published
|
5260
|
+
# `unit` value.
|
4674
5261
|
#
|
4675
5262
|
# * <b> <code>ClientTLSNegotiationErrorCount</code> </b> - The number of
|
4676
5263
|
# TLS connections initiated by the client that did not establish a
|
4677
|
-
# session with the load balancer
|
4678
|
-
# of ciphers or
|
5264
|
+
# session with the load balancer due to a TLS error generated by the
|
5265
|
+
# load balancer. Possible causes include a mismatch of ciphers or
|
5266
|
+
# protocols.
|
4679
5267
|
#
|
4680
5268
|
# `Statistics`\: The most useful statistic is `Sum`.
|
4681
5269
|
#
|
5270
|
+
# `Unit`\: The published unit is `Count`.
|
5271
|
+
#
|
4682
5272
|
# * <b> <code>HealthyHostCount</code> </b> - The number of target
|
4683
5273
|
# instances that are considered healthy.
|
4684
5274
|
#
|
4685
5275
|
# `Statistics`\: The most useful statistic are `Average`, `Minimum`,
|
4686
5276
|
# and `Maximum`.
|
4687
5277
|
#
|
4688
|
-
#
|
4689
|
-
# instances that are considered unhealthy.
|
4690
|
-
#
|
4691
|
-
# `Statistics`\: The most useful statistic are `Average`, `Minimum`,
|
4692
|
-
# and `Maximum`.
|
5278
|
+
# `Unit`\: The published unit is `Count`.
|
4693
5279
|
#
|
4694
|
-
# * <b> <code>
|
4695
|
-
#
|
4696
|
-
#
|
4697
|
-
# These requests have not been received by the target instance. This
|
4698
|
-
# count does not include any response codes generated by the target
|
4699
|
-
# instances.
|
5280
|
+
# * <b> <code>HTTPCode_Instance_2XX_Count</code> </b> - The number of
|
5281
|
+
# HTTP 2XX response codes generated by the target instances. This does
|
5282
|
+
# not include any response codes generated by the load balancer.
|
4700
5283
|
#
|
4701
5284
|
# `Statistics`\: The most useful statistic is `Sum`. Note that
|
4702
5285
|
# `Minimum`, `Maximum`, and `Average` all return `1`.
|
4703
5286
|
#
|
4704
|
-
#
|
4705
|
-
#
|
4706
|
-
#
|
4707
|
-
# instances.
|
5287
|
+
# `Unit`\: The published unit is `Count`.
|
5288
|
+
#
|
5289
|
+
# * <b> <code>HTTPCode_Instance_3XX_Count</code> </b> - The number of
|
5290
|
+
# HTTP 3XX response codes generated by the target instances. This does
|
5291
|
+
# not include any response codes generated by the load balancer.
|
4708
5292
|
#
|
4709
5293
|
# `Statistics`\: The most useful statistic is `Sum`. Note that
|
4710
|
-
# `Minimum`, `Maximum`, and `Average` all return `1`. Note that
|
4711
5294
|
# `Minimum`, `Maximum`, and `Average` all return `1`.
|
4712
5295
|
#
|
4713
|
-
#
|
4714
|
-
#
|
4715
|
-
#
|
5296
|
+
# `Unit`\: The published unit is `Count`.
|
5297
|
+
#
|
5298
|
+
# * <b> <code>HTTPCode_Instance_4XX_Count</code> </b> - The number of
|
5299
|
+
# HTTP 4XX response codes generated by the target instances. This does
|
5300
|
+
# not include any response codes generated by the load balancer.
|
4716
5301
|
#
|
4717
5302
|
# `Statistics`\: The most useful statistic is `Sum`. Note that
|
4718
5303
|
# `Minimum`, `Maximum`, and `Average` all return `1`.
|
4719
5304
|
#
|
4720
|
-
#
|
4721
|
-
#
|
4722
|
-
#
|
5305
|
+
# `Unit`\: The published unit is `Count`.
|
5306
|
+
#
|
5307
|
+
# * <b> <code>HTTPCode_Instance_5XX_Count</code> </b> - The number of
|
5308
|
+
# HTTP 5XX response codes generated by the target instances. This does
|
5309
|
+
# not include any response codes generated by the load balancer.
|
4723
5310
|
#
|
4724
5311
|
# `Statistics`\: The most useful statistic is `Sum`. Note that
|
4725
5312
|
# `Minimum`, `Maximum`, and `Average` all return `1`.
|
4726
5313
|
#
|
4727
|
-
#
|
4728
|
-
#
|
4729
|
-
#
|
5314
|
+
# `Unit`\: The published unit is `Count`.
|
5315
|
+
#
|
5316
|
+
# * <b> <code>HTTPCode_LB_4XX_Count</code> </b> - The number of HTTP 4XX
|
5317
|
+
# client error codes that originated from the load balancer. Client
|
5318
|
+
# errors are generated when requests are malformed or incomplete.
|
5319
|
+
# These requests were not received by the target instance. This count
|
5320
|
+
# does not include response codes generated by the target instances.
|
4730
5321
|
#
|
4731
5322
|
# `Statistics`\: The most useful statistic is `Sum`. Note that
|
4732
5323
|
# `Minimum`, `Maximum`, and `Average` all return `1`.
|
4733
5324
|
#
|
4734
|
-
#
|
4735
|
-
#
|
4736
|
-
#
|
5325
|
+
# `Unit`\: The published unit is `Count`.
|
5326
|
+
#
|
5327
|
+
# * <b> <code>HTTPCode_LB_5XX_Count</code> </b> - The number of HTTP 5XX
|
5328
|
+
# server error codes that originated from the load balancer. This does
|
5329
|
+
# not include any response codes generated by the target instance.
|
5330
|
+
# This metric is reported if there are no healthy instances attached
|
5331
|
+
# to the load balancer, or if the request rate exceeds the capacity of
|
5332
|
+
# the instances (spillover) or the load balancer.
|
4737
5333
|
#
|
4738
5334
|
# `Statistics`\: The most useful statistic is `Sum`. Note that
|
4739
5335
|
# `Minimum`, `Maximum`, and `Average` all return `1`.
|
4740
5336
|
#
|
5337
|
+
# `Unit`\: The published unit is `Count`.
|
5338
|
+
#
|
4741
5339
|
# * <b> <code>InstanceResponseTime</code> </b> - The time elapsed, in
|
4742
5340
|
# seconds, after the request leaves the load balancer until a response
|
4743
5341
|
# from the target instance is received.
|
4744
5342
|
#
|
4745
5343
|
# `Statistics`\: The most useful statistic is `Average`.
|
4746
5344
|
#
|
5345
|
+
# `Unit`\: The published unit is `Seconds`.
|
5346
|
+
#
|
4747
5347
|
# * <b> <code>RejectedConnectionCount</code> </b> - The number of
|
4748
5348
|
# connections that were rejected because the load balancer had reached
|
4749
5349
|
# its maximum number of connections.
|
4750
5350
|
#
|
4751
5351
|
# `Statistics`\: The most useful statistic is `Sum`.
|
4752
5352
|
#
|
5353
|
+
# `Unit`\: The published unit is `Count`.
|
5354
|
+
#
|
4753
5355
|
# * <b> <code>RequestCount</code> </b> - The number of requests
|
4754
5356
|
# processed over IPv4. This count includes only the requests with a
|
4755
5357
|
# response generated by a target instance of the load balancer.
|
@@ -4757,6 +5359,16 @@ module Aws::Lightsail
|
|
4757
5359
|
# `Statistics`\: The most useful statistic is `Sum`. Note that
|
4758
5360
|
# `Minimum`, `Maximum`, and `Average` all return `1`.
|
4759
5361
|
#
|
5362
|
+
# `Unit`\: The published unit is `Count`.
|
5363
|
+
#
|
5364
|
+
# * <b> <code>UnhealthyHostCount</code> </b> - The number of target
|
5365
|
+
# instances that are considered unhealthy.
|
5366
|
+
#
|
5367
|
+
# `Statistics`\: The most useful statistic are `Average`, `Minimum`,
|
5368
|
+
# and `Maximum`.
|
5369
|
+
#
|
5370
|
+
# `Unit`\: The published unit is `Count`.
|
5371
|
+
#
|
4760
5372
|
# @option params [required, Integer] :period
|
4761
5373
|
# The granularity, in seconds, of the returned data points.
|
4762
5374
|
#
|
@@ -4767,33 +5379,36 @@ module Aws::Lightsail
|
|
4767
5379
|
# The end time of the period.
|
4768
5380
|
#
|
4769
5381
|
# @option params [required, String] :unit
|
4770
|
-
# The unit for the
|
5382
|
+
# The unit for the metric data request. Valid units depend on the metric
|
5383
|
+
# data being requested. For the valid units with each available metric,
|
5384
|
+
# see the `metricName` parameter.
|
4771
5385
|
#
|
4772
5386
|
# @option params [required, Array<String>] :statistics
|
4773
|
-
#
|
4774
|
-
# values are listed below.
|
5387
|
+
# The statistic for the metric.
|
4775
5388
|
#
|
4776
|
-
#
|
4777
|
-
# points used for the statistical calculation.
|
5389
|
+
# The following statistics are available:
|
4778
5390
|
#
|
4779
|
-
# *
|
4780
|
-
#
|
4781
|
-
#
|
4782
|
-
#
|
4783
|
-
#
|
4784
|
-
#
|
5391
|
+
# * `Minimum` - The lowest value observed during the specified period.
|
5392
|
+
# Use this value to determine low volumes of activity for your
|
5393
|
+
# application.
|
5394
|
+
#
|
5395
|
+
# * `Maximum` - The highest value observed during the specified period.
|
5396
|
+
# Use this value to determine high volumes of activity for your
|
5397
|
+
# application.
|
4785
5398
|
#
|
4786
|
-
# *
|
4787
|
-
#
|
4788
|
-
#
|
5399
|
+
# * `Sum` - All values submitted for the matching metric added together.
|
5400
|
+
# You can use this statistic to determine the total volume of a
|
5401
|
+
# metric.
|
4789
5402
|
#
|
4790
|
-
# *
|
4791
|
-
#
|
4792
|
-
#
|
5403
|
+
# * `Average` - The value of Sum / SampleCount during the specified
|
5404
|
+
# period. By comparing this statistic with the Minimum and Maximum
|
5405
|
+
# values, you can determine the full scope of a metric and how close
|
5406
|
+
# the average use is to the Minimum and Maximum values. This
|
5407
|
+
# comparison helps you to know when to increase or decrease your
|
5408
|
+
# resources.
|
4793
5409
|
#
|
4794
|
-
# *
|
4795
|
-
#
|
4796
|
-
# volumes of activity for your application.
|
5410
|
+
# * `SampleCount` - The count, or number, of data points used for the
|
5411
|
+
# statistical calculation.
|
4797
5412
|
#
|
4798
5413
|
# @return [Types::GetLoadBalancerMetricDataResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4799
5414
|
#
|
@@ -4865,7 +5480,7 @@ module Aws::Lightsail
|
|
4865
5480
|
# resp.tls_certificates[0].created_at #=> Time
|
4866
5481
|
# resp.tls_certificates[0].location.availability_zone #=> String
|
4867
5482
|
# 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"
|
4868
|
-
# resp.tls_certificates[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord"
|
5483
|
+
# 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"
|
4869
5484
|
# resp.tls_certificates[0].tags #=> Array
|
4870
5485
|
# resp.tls_certificates[0].tags[0].key #=> String
|
4871
5486
|
# resp.tls_certificates[0].tags[0].value #=> String
|
@@ -4908,13 +5523,12 @@ module Aws::Lightsail
|
|
4908
5523
|
|
4909
5524
|
# Returns information about all load balancers in an account.
|
4910
5525
|
#
|
4911
|
-
# If you are describing a long list of load balancers, you can paginate
|
4912
|
-
# the output to make the list more manageable. You can use the pageToken
|
4913
|
-
# and nextPageToken values to retrieve the next items in the list.
|
4914
|
-
#
|
4915
5526
|
# @option params [String] :page_token
|
4916
|
-
#
|
4917
|
-
#
|
5527
|
+
# The token to advance to the next page of results from your request.
|
5528
|
+
#
|
5529
|
+
# To get a page token, perform an initial `GetLoadBalancers` request. If
|
5530
|
+
# your results are paginated, the response will return a next page token
|
5531
|
+
# that you can specify as the page token in a subsequent request.
|
4918
5532
|
#
|
4919
5533
|
# @return [Types::GetLoadBalancersResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4920
5534
|
#
|
@@ -4936,7 +5550,7 @@ module Aws::Lightsail
|
|
4936
5550
|
# resp.load_balancers[0].created_at #=> Time
|
4937
5551
|
# resp.load_balancers[0].location.availability_zone #=> String
|
4938
5552
|
# 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"
|
4939
|
-
# resp.load_balancers[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord"
|
5553
|
+
# 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"
|
4940
5554
|
# resp.load_balancers[0].tags #=> Array
|
4941
5555
|
# resp.load_balancers[0].tags[0].key #=> String
|
4942
5556
|
# resp.load_balancers[0].tags[0].value #=> String
|
@@ -4988,13 +5602,13 @@ module Aws::Lightsail
|
|
4988
5602
|
#
|
4989
5603
|
# resp.operation.id #=> String
|
4990
5604
|
# resp.operation.resource_name #=> String
|
4991
|
-
# resp.operation.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord"
|
5605
|
+
# resp.operation.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord", "Alarm", "ContactMethod"
|
4992
5606
|
# resp.operation.created_at #=> Time
|
4993
5607
|
# resp.operation.location.availability_zone #=> String
|
4994
5608
|
# 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"
|
4995
5609
|
# resp.operation.is_terminal #=> Boolean
|
4996
5610
|
# resp.operation.operation_details #=> String
|
4997
|
-
# 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"
|
5611
|
+
# 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"
|
4998
5612
|
# resp.operation.status #=> String, one of "NotStarted", "Started", "Failed", "Completed", "Succeeded"
|
4999
5613
|
# resp.operation.status_changed_at #=> Time
|
5000
5614
|
# resp.operation.error_code #=> String
|
@@ -5017,8 +5631,11 @@ module Aws::Lightsail
|
|
5017
5631
|
# request.
|
5018
5632
|
#
|
5019
5633
|
# @option params [String] :page_token
|
5020
|
-
#
|
5021
|
-
#
|
5634
|
+
# The token to advance to the next page of results from your request.
|
5635
|
+
#
|
5636
|
+
# To get a page token, perform an initial `GetOperations` request. If
|
5637
|
+
# your results are paginated, the response will return a next page token
|
5638
|
+
# that you can specify as the page token in a subsequent request.
|
5022
5639
|
#
|
5023
5640
|
# @return [Types::GetOperationsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
5024
5641
|
#
|
@@ -5036,13 +5653,13 @@ module Aws::Lightsail
|
|
5036
5653
|
# resp.operations #=> Array
|
5037
5654
|
# resp.operations[0].id #=> String
|
5038
5655
|
# resp.operations[0].resource_name #=> String
|
5039
|
-
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord"
|
5656
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord", "Alarm", "ContactMethod"
|
5040
5657
|
# resp.operations[0].created_at #=> Time
|
5041
5658
|
# resp.operations[0].location.availability_zone #=> String
|
5042
5659
|
# 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"
|
5043
5660
|
# resp.operations[0].is_terminal #=> Boolean
|
5044
5661
|
# resp.operations[0].operation_details #=> String
|
5045
|
-
# 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"
|
5662
|
+
# 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"
|
5046
5663
|
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed", "Succeeded"
|
5047
5664
|
# resp.operations[0].status_changed_at #=> Time
|
5048
5665
|
# resp.operations[0].error_code #=> String
|
@@ -5065,8 +5682,12 @@ module Aws::Lightsail
|
|
5065
5682
|
# The name of the resource for which you are requesting information.
|
5066
5683
|
#
|
5067
5684
|
# @option params [String] :page_token
|
5068
|
-
#
|
5069
|
-
#
|
5685
|
+
# The token to advance to the next page of results from your request.
|
5686
|
+
#
|
5687
|
+
# To get a page token, perform an initial `GetOperationsForResource`
|
5688
|
+
# request. If your results are paginated, the response will return a
|
5689
|
+
# next page token that you can specify as the page token in a subsequent
|
5690
|
+
# request.
|
5070
5691
|
#
|
5071
5692
|
# @return [Types::GetOperationsForResourceResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
5072
5693
|
#
|
@@ -5086,13 +5707,13 @@ module Aws::Lightsail
|
|
5086
5707
|
# resp.operations #=> Array
|
5087
5708
|
# resp.operations[0].id #=> String
|
5088
5709
|
# resp.operations[0].resource_name #=> String
|
5089
|
-
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord"
|
5710
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord", "Alarm", "ContactMethod"
|
5090
5711
|
# resp.operations[0].created_at #=> Time
|
5091
5712
|
# resp.operations[0].location.availability_zone #=> String
|
5092
5713
|
# 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"
|
5093
5714
|
# resp.operations[0].is_terminal #=> Boolean
|
5094
5715
|
# resp.operations[0].operation_details #=> String
|
5095
|
-
# 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"
|
5716
|
+
# 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"
|
5096
5717
|
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed", "Succeeded"
|
5097
5718
|
# resp.operations[0].status_changed_at #=> Time
|
5098
5719
|
# resp.operations[0].error_code #=> String
|
@@ -5180,7 +5801,7 @@ module Aws::Lightsail
|
|
5180
5801
|
# resp.relational_database.created_at #=> Time
|
5181
5802
|
# resp.relational_database.location.availability_zone #=> String
|
5182
5803
|
# 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"
|
5183
|
-
# resp.relational_database.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord"
|
5804
|
+
# resp.relational_database.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord", "Alarm", "ContactMethod"
|
5184
5805
|
# resp.relational_database.tags #=> Array
|
5185
5806
|
# resp.relational_database.tags[0].key #=> String
|
5186
5807
|
# resp.relational_database.tags[0].value #=> String
|
@@ -5228,8 +5849,12 @@ module Aws::Lightsail
|
|
5228
5849
|
# specific database engine.
|
5229
5850
|
#
|
5230
5851
|
# @option params [String] :page_token
|
5231
|
-
#
|
5232
|
-
#
|
5852
|
+
# The token to advance to the next page of results from your request.
|
5853
|
+
#
|
5854
|
+
# To get a page token, perform an initial
|
5855
|
+
# `GetRelationalDatabaseBlueprints` request. If your results are
|
5856
|
+
# paginated, the response will return a next page token that you can
|
5857
|
+
# specify as the page token in a subsequent request.
|
5233
5858
|
#
|
5234
5859
|
# @return [Types::GetRelationalDatabaseBlueprintsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
5235
5860
|
#
|
@@ -5269,8 +5894,12 @@ module Aws::Lightsail
|
|
5269
5894
|
# performance specifications.
|
5270
5895
|
#
|
5271
5896
|
# @option params [String] :page_token
|
5272
|
-
#
|
5273
|
-
#
|
5897
|
+
# The token to advance to the next page of results from your request.
|
5898
|
+
#
|
5899
|
+
# To get a page token, perform an initial `GetRelationalDatabaseBundles`
|
5900
|
+
# request. If your results are paginated, the response will return a
|
5901
|
+
# next page token that you can specify as the page token in a subsequent
|
5902
|
+
# request.
|
5274
5903
|
#
|
5275
5904
|
# @return [Types::GetRelationalDatabaseBundlesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
5276
5905
|
#
|
@@ -5320,8 +5949,12 @@ module Aws::Lightsail
|
|
5320
5949
|
# The minimum is 1 and the maximum is 14 days (20160 minutes).
|
5321
5950
|
#
|
5322
5951
|
# @option params [String] :page_token
|
5323
|
-
#
|
5324
|
-
#
|
5952
|
+
# The token to advance to the next page of results from your request.
|
5953
|
+
#
|
5954
|
+
# To get a page token, perform an initial `GetRelationalDatabaseEvents`
|
5955
|
+
# request. If your results are paginated, the response will return a
|
5956
|
+
# next page token that you can specify as the page token in a subsequent
|
5957
|
+
# request.
|
5325
5958
|
#
|
5326
5959
|
# @return [Types::GetRelationalDatabaseEventsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
5327
5960
|
#
|
@@ -5401,8 +6034,14 @@ module Aws::Lightsail
|
|
5401
6034
|
# </note>
|
5402
6035
|
#
|
5403
6036
|
# @option params [String] :page_token
|
5404
|
-
#
|
5405
|
-
#
|
6037
|
+
# The token to advance to the next or previous page of results from your
|
6038
|
+
# request.
|
6039
|
+
#
|
6040
|
+
# To get a page token, perform an initial
|
6041
|
+
# `GetRelationalDatabaseLogEvents` request. If your results are
|
6042
|
+
# paginated, the response will return a next forward token and/or next
|
6043
|
+
# backward token that you can specify as the page token in a subsequent
|
6044
|
+
# request.
|
5406
6045
|
#
|
5407
6046
|
# @return [Types::GetRelationalDatabaseLogEventsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
5408
6047
|
#
|
@@ -5518,15 +6157,75 @@ module Aws::Lightsail
|
|
5518
6157
|
# Returns the data points of the specified metric for a database in
|
5519
6158
|
# Amazon Lightsail.
|
5520
6159
|
#
|
6160
|
+
# Metrics report the utilization of your resources, and the error counts
|
6161
|
+
# generated by them. Monitor and collect metric data regularly to
|
6162
|
+
# maintain the reliability, availability, and performance of your
|
6163
|
+
# resources.
|
6164
|
+
#
|
5521
6165
|
# @option params [required, String] :relational_database_name
|
5522
6166
|
# The name of your database from which to get metric data.
|
5523
6167
|
#
|
5524
6168
|
# @option params [required, String] :metric_name
|
5525
|
-
# The
|
6169
|
+
# The metric for which you want to return information.
|
6170
|
+
#
|
6171
|
+
# Valid relational database metric names are listed below, along with
|
6172
|
+
# the most useful `statistics` to include in your request, and the
|
6173
|
+
# published `unit` value. All relational database metric data is
|
6174
|
+
# available in 1-minute (60 seconds) granularity.
|
6175
|
+
#
|
6176
|
+
# * <b> <code>CPUUtilization</code> </b> - The percentage of CPU
|
6177
|
+
# utilization currently in use on the database.
|
6178
|
+
#
|
6179
|
+
# `Statistics`\: The most useful statistics are `Maximum` and
|
6180
|
+
# `Average`.
|
6181
|
+
#
|
6182
|
+
# `Unit`\: The published unit is `Percent`.
|
6183
|
+
#
|
6184
|
+
# * <b> <code>DatabaseConnections</code> </b> - The number of database
|
6185
|
+
# connections in use.
|
6186
|
+
#
|
6187
|
+
# `Statistics`\: The most useful statistics are `Maximum` and `Sum`.
|
6188
|
+
#
|
6189
|
+
# `Unit`\: The published unit is `Count`.
|
6190
|
+
#
|
6191
|
+
# * <b> <code>DiskQueueDepth</code> </b> - The number of outstanding IOs
|
6192
|
+
# (read/write requests) that are waiting to access the disk.
|
6193
|
+
#
|
6194
|
+
# `Statistics`\: The most useful statistic is `Sum`.
|
6195
|
+
#
|
6196
|
+
# `Unit`\: The published unit is `Count`.
|
6197
|
+
#
|
6198
|
+
# * <b> <code>FreeStorageSpace</code> </b> - The amount of available
|
6199
|
+
# storage space.
|
6200
|
+
#
|
6201
|
+
# `Statistics`\: The most useful statistic is `Sum`.
|
6202
|
+
#
|
6203
|
+
# `Unit`\: The published unit is `Bytes`.
|
6204
|
+
#
|
6205
|
+
# * <b> <code>NetworkReceiveThroughput</code> </b> - The incoming
|
6206
|
+
# (Receive) network traffic on the database, including both customer
|
6207
|
+
# database traffic and AWS traffic used for monitoring and
|
6208
|
+
# replication.
|
6209
|
+
#
|
6210
|
+
# `Statistics`\: The most useful statistic is `Average`.
|
6211
|
+
#
|
6212
|
+
# `Unit`\: The published unit is `Bytes/Second`.
|
6213
|
+
#
|
6214
|
+
# * <b> <code>NetworkTransmitThroughput</code> </b> - The outgoing
|
6215
|
+
# (Transmit) network traffic on the database, including both customer
|
6216
|
+
# database traffic and AWS traffic used for monitoring and
|
6217
|
+
# replication.
|
6218
|
+
#
|
6219
|
+
# `Statistics`\: The most useful statistic is `Average`.
|
6220
|
+
#
|
6221
|
+
# `Unit`\: The published unit is `Bytes/Second`.
|
5526
6222
|
#
|
5527
6223
|
# @option params [required, Integer] :period
|
5528
6224
|
# The granularity, in seconds, of the returned data points.
|
5529
6225
|
#
|
6226
|
+
# All relational database metric data is available in 1-minute (60
|
6227
|
+
# seconds) granularity.
|
6228
|
+
#
|
5530
6229
|
# @option params [required, Time,DateTime,Date,Integer,String] :start_time
|
5531
6230
|
# The start of the time interval from which to get metric data.
|
5532
6231
|
#
|
@@ -5552,10 +6251,36 @@ module Aws::Lightsail
|
|
5552
6251
|
# PM UTC, then you input `1538424000` as the end time.
|
5553
6252
|
#
|
5554
6253
|
# @option params [required, String] :unit
|
5555
|
-
# The unit for the metric data request.
|
6254
|
+
# The unit for the metric data request. Valid units depend on the metric
|
6255
|
+
# data being requested. For the valid units with each available metric,
|
6256
|
+
# see the `metricName` parameter.
|
5556
6257
|
#
|
5557
6258
|
# @option params [required, Array<String>] :statistics
|
5558
|
-
# The
|
6259
|
+
# The statistic for the metric.
|
6260
|
+
#
|
6261
|
+
# The following statistics are available:
|
6262
|
+
#
|
6263
|
+
# * `Minimum` - The lowest value observed during the specified period.
|
6264
|
+
# Use this value to determine low volumes of activity for your
|
6265
|
+
# application.
|
6266
|
+
#
|
6267
|
+
# * `Maximum` - The highest value observed during the specified period.
|
6268
|
+
# Use this value to determine high volumes of activity for your
|
6269
|
+
# application.
|
6270
|
+
#
|
6271
|
+
# * `Sum` - All values submitted for the matching metric added together.
|
6272
|
+
# You can use this statistic to determine the total volume of a
|
6273
|
+
# metric.
|
6274
|
+
#
|
6275
|
+
# * `Average` - The value of Sum / SampleCount during the specified
|
6276
|
+
# period. By comparing this statistic with the Minimum and Maximum
|
6277
|
+
# values, you can determine the full scope of a metric and how close
|
6278
|
+
# the average use is to the Minimum and Maximum values. This
|
6279
|
+
# comparison helps you to know when to increase or decrease your
|
6280
|
+
# resources.
|
6281
|
+
#
|
6282
|
+
# * `SampleCount` - The count, or number, of data points used for the
|
6283
|
+
# statistical calculation.
|
5559
6284
|
#
|
5560
6285
|
# @return [Types::GetRelationalDatabaseMetricDataResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
5561
6286
|
#
|
@@ -5608,8 +6333,12 @@ module Aws::Lightsail
|
|
5608
6333
|
# The name of your database for which to get parameters.
|
5609
6334
|
#
|
5610
6335
|
# @option params [String] :page_token
|
5611
|
-
#
|
5612
|
-
#
|
6336
|
+
# The token to advance to the next page of results from your request.
|
6337
|
+
#
|
6338
|
+
# To get a page token, perform an initial
|
6339
|
+
# `GetRelationalDatabaseParameters` request. If your results are
|
6340
|
+
# paginated, the response will return a next page token that you can
|
6341
|
+
# specify as the page token in a subsequent request.
|
5613
6342
|
#
|
5614
6343
|
# @return [Types::GetRelationalDatabaseParametersResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
5615
6344
|
#
|
@@ -5669,7 +6398,7 @@ module Aws::Lightsail
|
|
5669
6398
|
# resp.relational_database_snapshot.created_at #=> Time
|
5670
6399
|
# resp.relational_database_snapshot.location.availability_zone #=> String
|
5671
6400
|
# 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"
|
5672
|
-
# resp.relational_database_snapshot.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord"
|
6401
|
+
# 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"
|
5673
6402
|
# resp.relational_database_snapshot.tags #=> Array
|
5674
6403
|
# resp.relational_database_snapshot.tags[0].key #=> String
|
5675
6404
|
# resp.relational_database_snapshot.tags[0].value #=> String
|
@@ -5695,8 +6424,12 @@ module Aws::Lightsail
|
|
5695
6424
|
# Lightsail.
|
5696
6425
|
#
|
5697
6426
|
# @option params [String] :page_token
|
5698
|
-
#
|
5699
|
-
#
|
6427
|
+
# The token to advance to the next page of results from your request.
|
6428
|
+
#
|
6429
|
+
# To get a page token, perform an initial
|
6430
|
+
# `GetRelationalDatabaseSnapshots` request. If your results are
|
6431
|
+
# paginated, the response will return a next page token that you can
|
6432
|
+
# specify as the page token in a subsequent request.
|
5700
6433
|
#
|
5701
6434
|
# @return [Types::GetRelationalDatabaseSnapshotsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
5702
6435
|
#
|
@@ -5718,7 +6451,7 @@ module Aws::Lightsail
|
|
5718
6451
|
# resp.relational_database_snapshots[0].created_at #=> Time
|
5719
6452
|
# resp.relational_database_snapshots[0].location.availability_zone #=> String
|
5720
6453
|
# 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"
|
5721
|
-
# resp.relational_database_snapshots[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord"
|
6454
|
+
# 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"
|
5722
6455
|
# resp.relational_database_snapshots[0].tags #=> Array
|
5723
6456
|
# resp.relational_database_snapshots[0].tags[0].key #=> String
|
5724
6457
|
# resp.relational_database_snapshots[0].tags[0].value #=> String
|
@@ -5744,8 +6477,12 @@ module Aws::Lightsail
|
|
5744
6477
|
# Returns information about all of your databases in Amazon Lightsail.
|
5745
6478
|
#
|
5746
6479
|
# @option params [String] :page_token
|
5747
|
-
#
|
5748
|
-
#
|
6480
|
+
# The token to advance to the next page of results from your request.
|
6481
|
+
#
|
6482
|
+
# To get a page token, perform an initial `GetRelationalDatabases`
|
6483
|
+
# request. If your results are paginated, the response will return a
|
6484
|
+
# next page token that you can specify as the page token in a subsequent
|
6485
|
+
# request.
|
5749
6486
|
#
|
5750
6487
|
# @return [Types::GetRelationalDatabasesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
5751
6488
|
#
|
@@ -5767,7 +6504,7 @@ module Aws::Lightsail
|
|
5767
6504
|
# resp.relational_databases[0].created_at #=> Time
|
5768
6505
|
# resp.relational_databases[0].location.availability_zone #=> String
|
5769
6506
|
# 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"
|
5770
|
-
# resp.relational_databases[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord"
|
6507
|
+
# 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"
|
5771
6508
|
# resp.relational_databases[0].tags #=> Array
|
5772
6509
|
# resp.relational_databases[0].tags[0].key #=> String
|
5773
6510
|
# resp.relational_databases[0].tags[0].value #=> String
|
@@ -5832,7 +6569,7 @@ module Aws::Lightsail
|
|
5832
6569
|
# resp.static_ip.created_at #=> Time
|
5833
6570
|
# resp.static_ip.location.availability_zone #=> String
|
5834
6571
|
# 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"
|
5835
|
-
# resp.static_ip.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord"
|
6572
|
+
# resp.static_ip.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord", "Alarm", "ContactMethod"
|
5836
6573
|
# resp.static_ip.ip_address #=> String
|
5837
6574
|
# resp.static_ip.attached_to #=> String
|
5838
6575
|
# resp.static_ip.is_attached #=> Boolean
|
@@ -5849,8 +6586,11 @@ module Aws::Lightsail
|
|
5849
6586
|
# Returns information about all static IPs in the user's account.
|
5850
6587
|
#
|
5851
6588
|
# @option params [String] :page_token
|
5852
|
-
#
|
5853
|
-
#
|
6589
|
+
# The token to advance to the next page of results from your request.
|
6590
|
+
#
|
6591
|
+
# To get a page token, perform an initial `GetStaticIps` request. If
|
6592
|
+
# your results are paginated, the response will return a next page token
|
6593
|
+
# that you can specify as the page token in a subsequent request.
|
5854
6594
|
#
|
5855
6595
|
# @return [Types::GetStaticIpsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
5856
6596
|
#
|
@@ -5872,7 +6612,7 @@ module Aws::Lightsail
|
|
5872
6612
|
# resp.static_ips[0].created_at #=> Time
|
5873
6613
|
# resp.static_ips[0].location.availability_zone #=> String
|
5874
6614
|
# 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"
|
5875
|
-
# resp.static_ips[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord"
|
6615
|
+
# 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"
|
5876
6616
|
# resp.static_ips[0].ip_address #=> String
|
5877
6617
|
# resp.static_ips[0].attached_to #=> String
|
5878
6618
|
# resp.static_ips[0].is_attached #=> Boolean
|
@@ -5910,13 +6650,13 @@ module Aws::Lightsail
|
|
5910
6650
|
#
|
5911
6651
|
# resp.operation.id #=> String
|
5912
6652
|
# resp.operation.resource_name #=> String
|
5913
|
-
# resp.operation.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord"
|
6653
|
+
# resp.operation.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord", "Alarm", "ContactMethod"
|
5914
6654
|
# resp.operation.created_at #=> Time
|
5915
6655
|
# resp.operation.location.availability_zone #=> String
|
5916
6656
|
# 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"
|
5917
6657
|
# resp.operation.is_terminal #=> Boolean
|
5918
6658
|
# resp.operation.operation_details #=> String
|
5919
|
-
# 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"
|
6659
|
+
# 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"
|
5920
6660
|
# resp.operation.status #=> String, one of "NotStarted", "Started", "Failed", "Completed", "Succeeded"
|
5921
6661
|
# resp.operation.status_changed_at #=> Time
|
5922
6662
|
# resp.operation.error_code #=> String
|
@@ -5951,11 +6691,13 @@ module Aws::Lightsail
|
|
5951
6691
|
req.send_request(options)
|
5952
6692
|
end
|
5953
6693
|
|
5954
|
-
#
|
6694
|
+
# Opens ports for a specific Amazon Lightsail instance, and specifies
|
6695
|
+
# the IP addresses allowed to connect to the instance through the ports,
|
6696
|
+
# and the protocol.
|
5955
6697
|
#
|
5956
|
-
# The `
|
5957
|
-
#
|
5958
|
-
# `
|
6698
|
+
# The `OpenInstancePublicPorts` action supports tag-based access control
|
6699
|
+
# via resource tags applied to the resource identified by
|
6700
|
+
# `instanceName`. For more information, see the [Lightsail Dev
|
5959
6701
|
# Guide][1].
|
5960
6702
|
#
|
5961
6703
|
#
|
@@ -5963,11 +6705,10 @@ module Aws::Lightsail
|
|
5963
6705
|
# [1]: https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-controlling-access-using-tags
|
5964
6706
|
#
|
5965
6707
|
# @option params [required, Types::PortInfo] :port_info
|
5966
|
-
# An
|
5967
|
-
# mappings.
|
6708
|
+
# An object to describe the ports to open for the specified instance.
|
5968
6709
|
#
|
5969
6710
|
# @option params [required, String] :instance_name
|
5970
|
-
# The name of the instance for which
|
6711
|
+
# The name of the instance for which to open ports.
|
5971
6712
|
#
|
5972
6713
|
# @return [Types::OpenInstancePublicPortsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
5973
6714
|
#
|
@@ -5979,7 +6720,9 @@ module Aws::Lightsail
|
|
5979
6720
|
# port_info: { # required
|
5980
6721
|
# from_port: 1,
|
5981
6722
|
# to_port: 1,
|
5982
|
-
# protocol: "tcp", # accepts tcp, all, udp
|
6723
|
+
# protocol: "tcp", # accepts tcp, all, udp, icmp
|
6724
|
+
# cidrs: ["string"],
|
6725
|
+
# cidr_list_aliases: ["string"],
|
5983
6726
|
# },
|
5984
6727
|
# instance_name: "ResourceName", # required
|
5985
6728
|
# })
|
@@ -5988,13 +6731,13 @@ module Aws::Lightsail
|
|
5988
6731
|
#
|
5989
6732
|
# resp.operation.id #=> String
|
5990
6733
|
# resp.operation.resource_name #=> String
|
5991
|
-
# resp.operation.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord"
|
6734
|
+
# resp.operation.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord", "Alarm", "ContactMethod"
|
5992
6735
|
# resp.operation.created_at #=> Time
|
5993
6736
|
# resp.operation.location.availability_zone #=> String
|
5994
6737
|
# 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"
|
5995
6738
|
# resp.operation.is_terminal #=> Boolean
|
5996
6739
|
# resp.operation.operation_details #=> String
|
5997
|
-
# 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"
|
6740
|
+
# 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"
|
5998
6741
|
# resp.operation.status #=> String, one of "NotStarted", "Started", "Failed", "Completed", "Succeeded"
|
5999
6742
|
# resp.operation.status_changed_at #=> Time
|
6000
6743
|
# resp.operation.error_code #=> String
|
@@ -6019,13 +6762,13 @@ module Aws::Lightsail
|
|
6019
6762
|
#
|
6020
6763
|
# resp.operation.id #=> String
|
6021
6764
|
# resp.operation.resource_name #=> String
|
6022
|
-
# resp.operation.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord"
|
6765
|
+
# resp.operation.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord", "Alarm", "ContactMethod"
|
6023
6766
|
# resp.operation.created_at #=> Time
|
6024
6767
|
# resp.operation.location.availability_zone #=> String
|
6025
6768
|
# 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"
|
6026
6769
|
# resp.operation.is_terminal #=> Boolean
|
6027
6770
|
# resp.operation.operation_details #=> String
|
6028
|
-
# 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"
|
6771
|
+
# 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"
|
6029
6772
|
# resp.operation.status #=> String, one of "NotStarted", "Started", "Failed", "Completed", "Succeeded"
|
6030
6773
|
# resp.operation.status_changed_at #=> Time
|
6031
6774
|
# resp.operation.error_code #=> String
|
@@ -6040,13 +6783,224 @@ module Aws::Lightsail
|
|
6040
6783
|
req.send_request(options)
|
6041
6784
|
end
|
6042
6785
|
|
6043
|
-
#
|
6044
|
-
#
|
6045
|
-
# request.
|
6786
|
+
# Creates or updates an alarm, and associates it with the specified
|
6787
|
+
# metric.
|
6046
6788
|
#
|
6047
|
-
#
|
6048
|
-
#
|
6049
|
-
#
|
6789
|
+
# An alarm is used to monitor a single metric for one of your resources.
|
6790
|
+
# When a metric condition is met, the alarm can notify you by email, SMS
|
6791
|
+
# text message, and a banner displayed on the Amazon Lightsail console.
|
6792
|
+
# For more information, see [Alarms in Amazon Lightsail][1].
|
6793
|
+
#
|
6794
|
+
# When this action creates an alarm, the alarm state is immediately set
|
6795
|
+
# to `INSUFFICIENT_DATA`. The alarm is then evaluated and its state is
|
6796
|
+
# set appropriately. Any actions associated with the new state are then
|
6797
|
+
# executed.
|
6798
|
+
#
|
6799
|
+
# When you update an existing alarm, its state is left unchanged, but
|
6800
|
+
# the update completely overwrites the previous configuration of the
|
6801
|
+
# alarm. The alarm is then evaluated with the updated configuration.
|
6802
|
+
#
|
6803
|
+
#
|
6804
|
+
#
|
6805
|
+
# [1]: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-alarms
|
6806
|
+
#
|
6807
|
+
# @option params [required, String] :alarm_name
|
6808
|
+
# The name for the alarm. Specify the name of an existing alarm to
|
6809
|
+
# update, and overwrite the previous configuration of the alarm.
|
6810
|
+
#
|
6811
|
+
# @option params [required, String] :metric_name
|
6812
|
+
# The name of the metric to associate with the alarm.
|
6813
|
+
#
|
6814
|
+
# You can configure up to two alarms per metric.
|
6815
|
+
#
|
6816
|
+
# The following metrics are available for each resource type:
|
6817
|
+
#
|
6818
|
+
# * **Instances**\: `BurstCapacityPercentage`, `BurstCapacityTime`,
|
6819
|
+
# `CPUUtilization`, `NetworkIn`, `NetworkOut`, `StatusCheckFailed`,
|
6820
|
+
# `StatusCheckFailed_Instance`, and `StatusCheckFailed_System`.
|
6821
|
+
#
|
6822
|
+
# * **Load balancers**\: `ClientTLSNegotiationErrorCount`,
|
6823
|
+
# `HealthyHostCount`, `UnhealthyHostCount`, `HTTPCode_LB_4XX_Count`,
|
6824
|
+
# `HTTPCode_LB_5XX_Count`, `HTTPCode_Instance_2XX_Count`,
|
6825
|
+
# `HTTPCode_Instance_3XX_Count`, `HTTPCode_Instance_4XX_Count`,
|
6826
|
+
# `HTTPCode_Instance_5XX_Count`, `InstanceResponseTime`,
|
6827
|
+
# `RejectedConnectionCount`, and `RequestCount`.
|
6828
|
+
#
|
6829
|
+
# * **Relational databases**\: `CPUUtilization`, `DatabaseConnections`,
|
6830
|
+
# `DiskQueueDepth`, `FreeStorageSpace`, `NetworkReceiveThroughput`,
|
6831
|
+
# and `NetworkTransmitThroughput`.
|
6832
|
+
#
|
6833
|
+
# For more information about these metrics, see [Metrics available in
|
6834
|
+
# Lightsail][1].
|
6835
|
+
#
|
6836
|
+
#
|
6837
|
+
#
|
6838
|
+
# [1]: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-resource-health-metrics#available-metrics
|
6839
|
+
#
|
6840
|
+
# @option params [required, String] :monitored_resource_name
|
6841
|
+
# The name of the Lightsail resource that will be monitored.
|
6842
|
+
#
|
6843
|
+
# Instances, load balancers, and relational databases are the only
|
6844
|
+
# Lightsail resources that can currently be monitored by alarms.
|
6845
|
+
#
|
6846
|
+
# @option params [required, String] :comparison_operator
|
6847
|
+
# The arithmetic operation to use when comparing the specified statistic
|
6848
|
+
# to the threshold. The specified statistic value is used as the first
|
6849
|
+
# operand.
|
6850
|
+
#
|
6851
|
+
# @option params [required, Float] :threshold
|
6852
|
+
# The value against which the specified statistic is compared.
|
6853
|
+
#
|
6854
|
+
# @option params [required, Integer] :evaluation_periods
|
6855
|
+
# The number of most recent periods over which data is compared to the
|
6856
|
+
# specified threshold. If you are setting an "M out of N" alarm, this
|
6857
|
+
# value (`evaluationPeriods`) is the N.
|
6858
|
+
#
|
6859
|
+
# If you are setting an alarm that requires that a number of consecutive
|
6860
|
+
# data points be breaching to trigger the alarm, this value specifies
|
6861
|
+
# the rolling period of time in which data points are evaluated.
|
6862
|
+
#
|
6863
|
+
# Each evaluation period is five minutes long. For example, specify an
|
6864
|
+
# evaluation period of 24 to evaluate a metric over a rolling period of
|
6865
|
+
# two hours.
|
6866
|
+
#
|
6867
|
+
# You can specify a minimum valuation period of 1 (5 minutes), and a
|
6868
|
+
# maximum evaluation period of 288 (24 hours).
|
6869
|
+
#
|
6870
|
+
# @option params [Integer] :datapoints_to_alarm
|
6871
|
+
# The number of data points that must be not within the specified
|
6872
|
+
# threshold to trigger the alarm. If you are setting an "M out of N"
|
6873
|
+
# alarm, this value (`datapointsToAlarm`) is the M.
|
6874
|
+
#
|
6875
|
+
# @option params [String] :treat_missing_data
|
6876
|
+
# Sets how this alarm will handle missing data points.
|
6877
|
+
#
|
6878
|
+
# An alarm can treat missing data in the following ways:
|
6879
|
+
#
|
6880
|
+
# * `breaching` - Assume the missing data is not within the threshold.
|
6881
|
+
# Missing data counts towards the number of times the metric is not
|
6882
|
+
# within the threshold.
|
6883
|
+
#
|
6884
|
+
# * `notBreaching` - Assume the missing data is within the threshold.
|
6885
|
+
# Missing data does not count towards the number of times the metric
|
6886
|
+
# is not within the threshold.
|
6887
|
+
#
|
6888
|
+
# * `ignore` - Ignore the missing data. Maintains the current alarm
|
6889
|
+
# state.
|
6890
|
+
#
|
6891
|
+
# * `missing` - Missing data is treated as missing.
|
6892
|
+
#
|
6893
|
+
# If `treatMissingData` is not specified, the default behavior of
|
6894
|
+
# `missing` is used.
|
6895
|
+
#
|
6896
|
+
# @option params [Array<String>] :contact_protocols
|
6897
|
+
# The contact protocols to use for the alarm, such as `Email`, `SMS`
|
6898
|
+
# (text messaging), or both.
|
6899
|
+
#
|
6900
|
+
# A notification is sent via the specified contact protocol if
|
6901
|
+
# notifications are enabled for the alarm, and when the alarm is
|
6902
|
+
# triggered.
|
6903
|
+
#
|
6904
|
+
# A notification is not sent if a contact protocol is not specified, if
|
6905
|
+
# the specified contact protocol is not configured in the AWS Region, or
|
6906
|
+
# if notifications are not enabled for the alarm using the
|
6907
|
+
# `notificationEnabled` paramater.
|
6908
|
+
#
|
6909
|
+
# Use the `CreateContactMethod` action to configure a contact protocol
|
6910
|
+
# in an AWS Region.
|
6911
|
+
#
|
6912
|
+
# @option params [Array<String>] :notification_triggers
|
6913
|
+
# The alarm states that trigger a notification.
|
6914
|
+
#
|
6915
|
+
# An alarm has the following possible states:
|
6916
|
+
#
|
6917
|
+
# * `ALARM` - The metric is outside of the defined threshold.
|
6918
|
+
#
|
6919
|
+
# * `INSUFFICIENT_DATA` - The alarm has just started, the metric is not
|
6920
|
+
# available, or not enough data is available for the metric to
|
6921
|
+
# determine the alarm state.
|
6922
|
+
#
|
6923
|
+
# * `OK` - The metric is within the defined threshold.
|
6924
|
+
#
|
6925
|
+
# When you specify a notification trigger, the `ALARM` state must be
|
6926
|
+
# specified. The `INSUFFICIENT_DATA` and `OK` states can be specified in
|
6927
|
+
# addition to the `ALARM` state.
|
6928
|
+
#
|
6929
|
+
# * If you specify `OK` as an alarm trigger, a notification is sent when
|
6930
|
+
# the alarm switches from an `ALARM` or `INSUFFICIENT_DATA` alarm
|
6931
|
+
# state to an `OK` state. This can be thought of as an *all clear*
|
6932
|
+
# alarm notification.
|
6933
|
+
#
|
6934
|
+
# * If you specify `INSUFFICIENT_DATA` as the alarm trigger, a
|
6935
|
+
# notification is sent when the alarm switches from an `OK` or `ALARM`
|
6936
|
+
# alarm state to an `INSUFFICIENT_DATA` state.
|
6937
|
+
#
|
6938
|
+
# The notification trigger defaults to `ALARM` if you don't specify
|
6939
|
+
# this parameter.
|
6940
|
+
#
|
6941
|
+
# @option params [Boolean] :notification_enabled
|
6942
|
+
# Indicates whether the alarm is enabled.
|
6943
|
+
#
|
6944
|
+
# Notifications are enabled by default if you don't specify this
|
6945
|
+
# parameter.
|
6946
|
+
#
|
6947
|
+
# @return [Types::PutAlarmResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
6948
|
+
#
|
6949
|
+
# * {Types::PutAlarmResult#operations #operations} => Array<Types::Operation>
|
6950
|
+
#
|
6951
|
+
# @example Request syntax with placeholder values
|
6952
|
+
#
|
6953
|
+
# resp = client.put_alarm({
|
6954
|
+
# alarm_name: "ResourceName", # required
|
6955
|
+
# 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, BurstCapacityTime, BurstCapacityPercentage
|
6956
|
+
# monitored_resource_name: "ResourceName", # required
|
6957
|
+
# comparison_operator: "GreaterThanOrEqualToThreshold", # required, accepts GreaterThanOrEqualToThreshold, GreaterThanThreshold, LessThanThreshold, LessThanOrEqualToThreshold
|
6958
|
+
# threshold: 1.0, # required
|
6959
|
+
# evaluation_periods: 1, # required
|
6960
|
+
# datapoints_to_alarm: 1,
|
6961
|
+
# treat_missing_data: "breaching", # accepts breaching, notBreaching, ignore, missing
|
6962
|
+
# contact_protocols: ["Email"], # accepts Email, SMS
|
6963
|
+
# notification_triggers: ["OK"], # accepts OK, ALARM, INSUFFICIENT_DATA
|
6964
|
+
# notification_enabled: false,
|
6965
|
+
# })
|
6966
|
+
#
|
6967
|
+
# @example Response structure
|
6968
|
+
#
|
6969
|
+
# resp.operations #=> Array
|
6970
|
+
# resp.operations[0].id #=> String
|
6971
|
+
# resp.operations[0].resource_name #=> String
|
6972
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord", "Alarm", "ContactMethod"
|
6973
|
+
# resp.operations[0].created_at #=> Time
|
6974
|
+
# resp.operations[0].location.availability_zone #=> String
|
6975
|
+
# 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"
|
6976
|
+
# resp.operations[0].is_terminal #=> Boolean
|
6977
|
+
# resp.operations[0].operation_details #=> String
|
6978
|
+
# 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"
|
6979
|
+
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed", "Succeeded"
|
6980
|
+
# resp.operations[0].status_changed_at #=> Time
|
6981
|
+
# resp.operations[0].error_code #=> String
|
6982
|
+
# resp.operations[0].error_details #=> String
|
6983
|
+
#
|
6984
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/PutAlarm AWS API Documentation
|
6985
|
+
#
|
6986
|
+
# @overload put_alarm(params = {})
|
6987
|
+
# @param [Hash] params ({})
|
6988
|
+
def put_alarm(params = {}, options = {})
|
6989
|
+
req = build_request(:put_alarm, params)
|
6990
|
+
req.send_request(options)
|
6991
|
+
end
|
6992
|
+
|
6993
|
+
# Opens ports for a specific Amazon Lightsail instance, and specifies
|
6994
|
+
# the IP addresses allowed to connect to the instance through the ports,
|
6995
|
+
# and the protocol. This action also closes all currently open ports
|
6996
|
+
# that are not included in the request. Include all of the ports and the
|
6997
|
+
# protocols you want to open in your `PutInstancePublicPorts`request. Or
|
6998
|
+
# use the `OpenInstancePublicPorts` action to open ports without closing
|
6999
|
+
# currently open ports.
|
7000
|
+
#
|
7001
|
+
# The `PutInstancePublicPorts` action supports tag-based access control
|
7002
|
+
# via resource tags applied to the resource identified by
|
7003
|
+
# `instanceName`. For more information, see the [Lightsail Dev
|
6050
7004
|
# Guide][1].
|
6051
7005
|
#
|
6052
7006
|
#
|
@@ -6054,10 +7008,11 @@ module Aws::Lightsail
|
|
6054
7008
|
# [1]: https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-controlling-access-using-tags
|
6055
7009
|
#
|
6056
7010
|
# @option params [required, Array<Types::PortInfo>] :port_infos
|
6057
|
-
#
|
7011
|
+
# An array of objects to describe the ports to open for the specified
|
7012
|
+
# instance.
|
6058
7013
|
#
|
6059
7014
|
# @option params [required, String] :instance_name
|
6060
|
-
# The
|
7015
|
+
# The name of the instance for which to open ports.
|
6061
7016
|
#
|
6062
7017
|
# @return [Types::PutInstancePublicPortsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
6063
7018
|
#
|
@@ -6070,7 +7025,9 @@ module Aws::Lightsail
|
|
6070
7025
|
# {
|
6071
7026
|
# from_port: 1,
|
6072
7027
|
# to_port: 1,
|
6073
|
-
# protocol: "tcp", # accepts tcp, all, udp
|
7028
|
+
# protocol: "tcp", # accepts tcp, all, udp, icmp
|
7029
|
+
# cidrs: ["string"],
|
7030
|
+
# cidr_list_aliases: ["string"],
|
6074
7031
|
# },
|
6075
7032
|
# ],
|
6076
7033
|
# instance_name: "ResourceName", # required
|
@@ -6080,13 +7037,13 @@ module Aws::Lightsail
|
|
6080
7037
|
#
|
6081
7038
|
# resp.operation.id #=> String
|
6082
7039
|
# resp.operation.resource_name #=> String
|
6083
|
-
# resp.operation.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord"
|
7040
|
+
# resp.operation.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord", "Alarm", "ContactMethod"
|
6084
7041
|
# resp.operation.created_at #=> Time
|
6085
7042
|
# resp.operation.location.availability_zone #=> String
|
6086
7043
|
# 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"
|
6087
7044
|
# resp.operation.is_terminal #=> Boolean
|
6088
7045
|
# resp.operation.operation_details #=> String
|
6089
|
-
# 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"
|
7046
|
+
# 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"
|
6090
7047
|
# resp.operation.status #=> String, one of "NotStarted", "Started", "Failed", "Completed", "Succeeded"
|
6091
7048
|
# resp.operation.status_changed_at #=> Time
|
6092
7049
|
# resp.operation.error_code #=> String
|
@@ -6129,13 +7086,13 @@ module Aws::Lightsail
|
|
6129
7086
|
# resp.operations #=> Array
|
6130
7087
|
# resp.operations[0].id #=> String
|
6131
7088
|
# resp.operations[0].resource_name #=> String
|
6132
|
-
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord"
|
7089
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord", "Alarm", "ContactMethod"
|
6133
7090
|
# resp.operations[0].created_at #=> Time
|
6134
7091
|
# resp.operations[0].location.availability_zone #=> String
|
6135
7092
|
# 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"
|
6136
7093
|
# resp.operations[0].is_terminal #=> Boolean
|
6137
7094
|
# resp.operations[0].operation_details #=> String
|
6138
|
-
# 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"
|
7095
|
+
# 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"
|
6139
7096
|
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed", "Succeeded"
|
6140
7097
|
# resp.operations[0].status_changed_at #=> Time
|
6141
7098
|
# resp.operations[0].error_code #=> String
|
@@ -6179,13 +7136,13 @@ module Aws::Lightsail
|
|
6179
7136
|
# resp.operations #=> Array
|
6180
7137
|
# resp.operations[0].id #=> String
|
6181
7138
|
# resp.operations[0].resource_name #=> String
|
6182
|
-
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord"
|
7139
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord", "Alarm", "ContactMethod"
|
6183
7140
|
# resp.operations[0].created_at #=> Time
|
6184
7141
|
# resp.operations[0].location.availability_zone #=> String
|
6185
7142
|
# 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"
|
6186
7143
|
# resp.operations[0].is_terminal #=> Boolean
|
6187
7144
|
# resp.operations[0].operation_details #=> String
|
6188
|
-
# 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"
|
7145
|
+
# 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"
|
6189
7146
|
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed", "Succeeded"
|
6190
7147
|
# resp.operations[0].status_changed_at #=> Time
|
6191
7148
|
# resp.operations[0].error_code #=> String
|
@@ -6220,13 +7177,13 @@ module Aws::Lightsail
|
|
6220
7177
|
# resp.operations #=> Array
|
6221
7178
|
# resp.operations[0].id #=> String
|
6222
7179
|
# resp.operations[0].resource_name #=> String
|
6223
|
-
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord"
|
7180
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord", "Alarm", "ContactMethod"
|
6224
7181
|
# resp.operations[0].created_at #=> Time
|
6225
7182
|
# resp.operations[0].location.availability_zone #=> String
|
6226
7183
|
# 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"
|
6227
7184
|
# resp.operations[0].is_terminal #=> Boolean
|
6228
7185
|
# resp.operations[0].operation_details #=> String
|
6229
|
-
# 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"
|
7186
|
+
# 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"
|
6230
7187
|
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed", "Succeeded"
|
6231
7188
|
# resp.operations[0].status_changed_at #=> Time
|
6232
7189
|
# resp.operations[0].error_code #=> String
|
@@ -6241,6 +7198,68 @@ module Aws::Lightsail
|
|
6241
7198
|
req.send_request(options)
|
6242
7199
|
end
|
6243
7200
|
|
7201
|
+
# Sends a verification request to an email contact method to ensure
|
7202
|
+
# it's owned by the requester. SMS contact methods don't need to be
|
7203
|
+
# verified.
|
7204
|
+
#
|
7205
|
+
# A contact method is used to send you notifications about your Amazon
|
7206
|
+
# Lightsail resources. You can add one email address and one mobile
|
7207
|
+
# phone number contact method in each AWS Region. However, SMS text
|
7208
|
+
# messaging is not supported in some AWS Regions, and SMS text messages
|
7209
|
+
# cannot be sent to some countries/regions. For more information, see
|
7210
|
+
# [Notifications in Amazon Lightsail][1].
|
7211
|
+
#
|
7212
|
+
# A verification request is sent to the contact method when you
|
7213
|
+
# initially create it. Use this action to send another verification
|
7214
|
+
# request if a previous verification request was deleted, or has
|
7215
|
+
# expired.
|
7216
|
+
#
|
7217
|
+
# Notifications are not sent to an email contact method until after it
|
7218
|
+
# is verified, and confirmed as valid.
|
7219
|
+
#
|
7220
|
+
#
|
7221
|
+
#
|
7222
|
+
# [1]: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-notifications
|
7223
|
+
#
|
7224
|
+
# @option params [required, String] :protocol
|
7225
|
+
# The protocol to verify, such as `Email` or `SMS` (text messaging).
|
7226
|
+
#
|
7227
|
+
# @return [Types::SendContactMethodVerificationResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
7228
|
+
#
|
7229
|
+
# * {Types::SendContactMethodVerificationResult#operations #operations} => Array<Types::Operation>
|
7230
|
+
#
|
7231
|
+
# @example Request syntax with placeholder values
|
7232
|
+
#
|
7233
|
+
# resp = client.send_contact_method_verification({
|
7234
|
+
# protocol: "Email", # required, accepts Email
|
7235
|
+
# })
|
7236
|
+
#
|
7237
|
+
# @example Response structure
|
7238
|
+
#
|
7239
|
+
# resp.operations #=> Array
|
7240
|
+
# resp.operations[0].id #=> String
|
7241
|
+
# resp.operations[0].resource_name #=> String
|
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"
|
7243
|
+
# resp.operations[0].created_at #=> Time
|
7244
|
+
# resp.operations[0].location.availability_zone #=> String
|
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"
|
7246
|
+
# resp.operations[0].is_terminal #=> Boolean
|
7247
|
+
# resp.operations[0].operation_details #=> String
|
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"
|
7249
|
+
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed", "Succeeded"
|
7250
|
+
# resp.operations[0].status_changed_at #=> Time
|
7251
|
+
# resp.operations[0].error_code #=> String
|
7252
|
+
# resp.operations[0].error_details #=> String
|
7253
|
+
#
|
7254
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/SendContactMethodVerification AWS API Documentation
|
7255
|
+
#
|
7256
|
+
# @overload send_contact_method_verification(params = {})
|
7257
|
+
# @param [Hash] params ({})
|
7258
|
+
def send_contact_method_verification(params = {}, options = {})
|
7259
|
+
req = build_request(:send_contact_method_verification, params)
|
7260
|
+
req.send_request(options)
|
7261
|
+
end
|
7262
|
+
|
6244
7263
|
# Starts a specific Amazon Lightsail instance from a stopped state. To
|
6245
7264
|
# restart an instance, use the `reboot instance` operation.
|
6246
7265
|
#
|
@@ -6278,13 +7297,13 @@ module Aws::Lightsail
|
|
6278
7297
|
# resp.operations #=> Array
|
6279
7298
|
# resp.operations[0].id #=> String
|
6280
7299
|
# resp.operations[0].resource_name #=> String
|
6281
|
-
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord"
|
7300
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord", "Alarm", "ContactMethod"
|
6282
7301
|
# resp.operations[0].created_at #=> Time
|
6283
7302
|
# resp.operations[0].location.availability_zone #=> String
|
6284
7303
|
# 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"
|
6285
7304
|
# resp.operations[0].is_terminal #=> Boolean
|
6286
7305
|
# resp.operations[0].operation_details #=> String
|
6287
|
-
# 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"
|
7306
|
+
# 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"
|
6288
7307
|
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed", "Succeeded"
|
6289
7308
|
# resp.operations[0].status_changed_at #=> Time
|
6290
7309
|
# resp.operations[0].error_code #=> String
|
@@ -6329,13 +7348,13 @@ module Aws::Lightsail
|
|
6329
7348
|
# resp.operations #=> Array
|
6330
7349
|
# resp.operations[0].id #=> String
|
6331
7350
|
# resp.operations[0].resource_name #=> String
|
6332
|
-
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord"
|
7351
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord", "Alarm", "ContactMethod"
|
6333
7352
|
# resp.operations[0].created_at #=> Time
|
6334
7353
|
# resp.operations[0].location.availability_zone #=> String
|
6335
7354
|
# 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"
|
6336
7355
|
# resp.operations[0].is_terminal #=> Boolean
|
6337
7356
|
# resp.operations[0].operation_details #=> String
|
6338
|
-
# 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"
|
7357
|
+
# 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"
|
6339
7358
|
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed", "Succeeded"
|
6340
7359
|
# resp.operations[0].status_changed_at #=> Time
|
6341
7360
|
# resp.operations[0].error_code #=> String
|
@@ -6395,13 +7414,13 @@ module Aws::Lightsail
|
|
6395
7414
|
# resp.operations #=> Array
|
6396
7415
|
# resp.operations[0].id #=> String
|
6397
7416
|
# resp.operations[0].resource_name #=> String
|
6398
|
-
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord"
|
7417
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord", "Alarm", "ContactMethod"
|
6399
7418
|
# resp.operations[0].created_at #=> Time
|
6400
7419
|
# resp.operations[0].location.availability_zone #=> String
|
6401
7420
|
# 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"
|
6402
7421
|
# resp.operations[0].is_terminal #=> Boolean
|
6403
7422
|
# resp.operations[0].operation_details #=> String
|
6404
|
-
# 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"
|
7423
|
+
# 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"
|
6405
7424
|
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed", "Succeeded"
|
6406
7425
|
# resp.operations[0].status_changed_at #=> Time
|
6407
7426
|
# resp.operations[0].error_code #=> String
|
@@ -6451,13 +7470,13 @@ module Aws::Lightsail
|
|
6451
7470
|
# resp.operations #=> Array
|
6452
7471
|
# resp.operations[0].id #=> String
|
6453
7472
|
# resp.operations[0].resource_name #=> String
|
6454
|
-
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord"
|
7473
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord", "Alarm", "ContactMethod"
|
6455
7474
|
# resp.operations[0].created_at #=> Time
|
6456
7475
|
# resp.operations[0].location.availability_zone #=> String
|
6457
7476
|
# 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"
|
6458
7477
|
# resp.operations[0].is_terminal #=> Boolean
|
6459
7478
|
# resp.operations[0].operation_details #=> String
|
6460
|
-
# 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"
|
7479
|
+
# 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"
|
6461
7480
|
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed", "Succeeded"
|
6462
7481
|
# resp.operations[0].status_changed_at #=> Time
|
6463
7482
|
# resp.operations[0].error_code #=> String
|
@@ -6519,13 +7538,13 @@ module Aws::Lightsail
|
|
6519
7538
|
# resp.operations #=> Array
|
6520
7539
|
# resp.operations[0].id #=> String
|
6521
7540
|
# resp.operations[0].resource_name #=> String
|
6522
|
-
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord"
|
7541
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord", "Alarm", "ContactMethod"
|
6523
7542
|
# resp.operations[0].created_at #=> Time
|
6524
7543
|
# resp.operations[0].location.availability_zone #=> String
|
6525
7544
|
# 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"
|
6526
7545
|
# resp.operations[0].is_terminal #=> Boolean
|
6527
7546
|
# resp.operations[0].operation_details #=> String
|
6528
|
-
# 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"
|
7547
|
+
# 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"
|
6529
7548
|
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed", "Succeeded"
|
6530
7549
|
# resp.operations[0].status_changed_at #=> Time
|
6531
7550
|
# resp.operations[0].error_code #=> String
|
@@ -6540,6 +7559,73 @@ module Aws::Lightsail
|
|
6540
7559
|
req.send_request(options)
|
6541
7560
|
end
|
6542
7561
|
|
7562
|
+
# Tests an alarm by displaying a banner on the Amazon Lightsail console.
|
7563
|
+
# If a notification trigger is configured for the specified alarm, the
|
7564
|
+
# test also sends a notification to the notification protocol (`Email`
|
7565
|
+
# and/or `SMS`) configured for the alarm.
|
7566
|
+
#
|
7567
|
+
# An alarm is used to monitor a single metric for one of your resources.
|
7568
|
+
# When a metric condition is met, the alarm can notify you by email, SMS
|
7569
|
+
# text message, and a banner displayed on the Amazon Lightsail console.
|
7570
|
+
# For more information, see [Alarms in Amazon Lightsail][1].
|
7571
|
+
#
|
7572
|
+
#
|
7573
|
+
#
|
7574
|
+
# [1]: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-alarms
|
7575
|
+
#
|
7576
|
+
# @option params [required, String] :alarm_name
|
7577
|
+
# The name of the alarm to test.
|
7578
|
+
#
|
7579
|
+
# @option params [required, String] :state
|
7580
|
+
# The alarm state to test.
|
7581
|
+
#
|
7582
|
+
# An alarm has the following possible states that can be tested:
|
7583
|
+
#
|
7584
|
+
# * `ALARM` - The metric is outside of the defined threshold.
|
7585
|
+
#
|
7586
|
+
# * `INSUFFICIENT_DATA` - The alarm has just started, the metric is not
|
7587
|
+
# available, or not enough data is available for the metric to
|
7588
|
+
# determine the alarm state.
|
7589
|
+
#
|
7590
|
+
# * `OK` - The metric is within the defined threshold.
|
7591
|
+
#
|
7592
|
+
# @return [Types::TestAlarmResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
7593
|
+
#
|
7594
|
+
# * {Types::TestAlarmResult#operations #operations} => Array<Types::Operation>
|
7595
|
+
#
|
7596
|
+
# @example Request syntax with placeholder values
|
7597
|
+
#
|
7598
|
+
# resp = client.test_alarm({
|
7599
|
+
# alarm_name: "ResourceName", # required
|
7600
|
+
# state: "OK", # required, accepts OK, ALARM, INSUFFICIENT_DATA
|
7601
|
+
# })
|
7602
|
+
#
|
7603
|
+
# @example Response structure
|
7604
|
+
#
|
7605
|
+
# resp.operations #=> Array
|
7606
|
+
# resp.operations[0].id #=> String
|
7607
|
+
# resp.operations[0].resource_name #=> String
|
7608
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord", "Alarm", "ContactMethod"
|
7609
|
+
# resp.operations[0].created_at #=> Time
|
7610
|
+
# resp.operations[0].location.availability_zone #=> String
|
7611
|
+
# 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"
|
7612
|
+
# resp.operations[0].is_terminal #=> Boolean
|
7613
|
+
# resp.operations[0].operation_details #=> String
|
7614
|
+
# 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"
|
7615
|
+
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed", "Succeeded"
|
7616
|
+
# resp.operations[0].status_changed_at #=> Time
|
7617
|
+
# resp.operations[0].error_code #=> String
|
7618
|
+
# resp.operations[0].error_details #=> String
|
7619
|
+
#
|
7620
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/TestAlarm AWS API Documentation
|
7621
|
+
#
|
7622
|
+
# @overload test_alarm(params = {})
|
7623
|
+
# @param [Hash] params ({})
|
7624
|
+
def test_alarm(params = {}, options = {})
|
7625
|
+
req = build_request(:test_alarm, params)
|
7626
|
+
req.send_request(options)
|
7627
|
+
end
|
7628
|
+
|
6543
7629
|
# Attempts to unpeer the Lightsail VPC from the user's default VPC.
|
6544
7630
|
#
|
6545
7631
|
# @return [Types::UnpeerVpcResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
@@ -6550,13 +7636,13 @@ module Aws::Lightsail
|
|
6550
7636
|
#
|
6551
7637
|
# resp.operation.id #=> String
|
6552
7638
|
# resp.operation.resource_name #=> String
|
6553
|
-
# resp.operation.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord"
|
7639
|
+
# resp.operation.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord", "Alarm", "ContactMethod"
|
6554
7640
|
# resp.operation.created_at #=> Time
|
6555
7641
|
# resp.operation.location.availability_zone #=> String
|
6556
7642
|
# 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"
|
6557
7643
|
# resp.operation.is_terminal #=> Boolean
|
6558
7644
|
# resp.operation.operation_details #=> String
|
6559
|
-
# 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"
|
7645
|
+
# 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"
|
6560
7646
|
# resp.operation.status #=> String, one of "NotStarted", "Started", "Failed", "Completed", "Succeeded"
|
6561
7647
|
# resp.operation.status_changed_at #=> Time
|
6562
7648
|
# resp.operation.error_code #=> String
|
@@ -6610,13 +7696,13 @@ module Aws::Lightsail
|
|
6610
7696
|
# resp.operations #=> Array
|
6611
7697
|
# resp.operations[0].id #=> String
|
6612
7698
|
# resp.operations[0].resource_name #=> String
|
6613
|
-
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord"
|
7699
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord", "Alarm", "ContactMethod"
|
6614
7700
|
# resp.operations[0].created_at #=> Time
|
6615
7701
|
# resp.operations[0].location.availability_zone #=> String
|
6616
7702
|
# 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"
|
6617
7703
|
# resp.operations[0].is_terminal #=> Boolean
|
6618
7704
|
# resp.operations[0].operation_details #=> String
|
6619
|
-
# 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"
|
7705
|
+
# 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"
|
6620
7706
|
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed", "Succeeded"
|
6621
7707
|
# resp.operations[0].status_changed_at #=> Time
|
6622
7708
|
# resp.operations[0].error_code #=> String
|
@@ -6673,13 +7759,13 @@ module Aws::Lightsail
|
|
6673
7759
|
# resp.operations #=> Array
|
6674
7760
|
# resp.operations[0].id #=> String
|
6675
7761
|
# resp.operations[0].resource_name #=> String
|
6676
|
-
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord"
|
7762
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord", "Alarm", "ContactMethod"
|
6677
7763
|
# resp.operations[0].created_at #=> Time
|
6678
7764
|
# resp.operations[0].location.availability_zone #=> String
|
6679
7765
|
# 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"
|
6680
7766
|
# resp.operations[0].is_terminal #=> Boolean
|
6681
7767
|
# resp.operations[0].operation_details #=> String
|
6682
|
-
# 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"
|
7768
|
+
# 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"
|
6683
7769
|
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed", "Succeeded"
|
6684
7770
|
# resp.operations[0].status_changed_at #=> Time
|
6685
7771
|
# resp.operations[0].error_code #=> String
|
@@ -6733,13 +7819,13 @@ module Aws::Lightsail
|
|
6733
7819
|
# resp.operations #=> Array
|
6734
7820
|
# resp.operations[0].id #=> String
|
6735
7821
|
# resp.operations[0].resource_name #=> String
|
6736
|
-
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord"
|
7822
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord", "Alarm", "ContactMethod"
|
6737
7823
|
# resp.operations[0].created_at #=> Time
|
6738
7824
|
# resp.operations[0].location.availability_zone #=> String
|
6739
7825
|
# 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"
|
6740
7826
|
# resp.operations[0].is_terminal #=> Boolean
|
6741
7827
|
# resp.operations[0].operation_details #=> String
|
6742
|
-
# 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"
|
7828
|
+
# 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"
|
6743
7829
|
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed", "Succeeded"
|
6744
7830
|
# resp.operations[0].status_changed_at #=> Time
|
6745
7831
|
# resp.operations[0].error_code #=> String
|
@@ -6880,13 +7966,13 @@ module Aws::Lightsail
|
|
6880
7966
|
# resp.operations #=> Array
|
6881
7967
|
# resp.operations[0].id #=> String
|
6882
7968
|
# resp.operations[0].resource_name #=> String
|
6883
|
-
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord"
|
7969
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord", "Alarm", "ContactMethod"
|
6884
7970
|
# resp.operations[0].created_at #=> Time
|
6885
7971
|
# resp.operations[0].location.availability_zone #=> String
|
6886
7972
|
# 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"
|
6887
7973
|
# resp.operations[0].is_terminal #=> Boolean
|
6888
7974
|
# resp.operations[0].operation_details #=> String
|
6889
|
-
# 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"
|
7975
|
+
# 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"
|
6890
7976
|
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed", "Succeeded"
|
6891
7977
|
# resp.operations[0].status_changed_at #=> Time
|
6892
7978
|
# resp.operations[0].error_code #=> String
|
@@ -6954,13 +8040,13 @@ module Aws::Lightsail
|
|
6954
8040
|
# resp.operations #=> Array
|
6955
8041
|
# resp.operations[0].id #=> String
|
6956
8042
|
# resp.operations[0].resource_name #=> String
|
6957
|
-
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord"
|
8043
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord", "Alarm", "ContactMethod"
|
6958
8044
|
# resp.operations[0].created_at #=> Time
|
6959
8045
|
# resp.operations[0].location.availability_zone #=> String
|
6960
8046
|
# 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"
|
6961
8047
|
# resp.operations[0].is_terminal #=> Boolean
|
6962
8048
|
# resp.operations[0].operation_details #=> String
|
6963
|
-
# 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"
|
8049
|
+
# 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"
|
6964
8050
|
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed", "Succeeded"
|
6965
8051
|
# resp.operations[0].status_changed_at #=> Time
|
6966
8052
|
# resp.operations[0].error_code #=> String
|
@@ -6988,7 +8074,7 @@ module Aws::Lightsail
|
|
6988
8074
|
params: params,
|
6989
8075
|
config: config)
|
6990
8076
|
context[:gem_name] = 'aws-sdk-lightsail'
|
6991
|
-
context[:gem_version] = '1.
|
8077
|
+
context[:gem_version] = '1.32.0'
|
6992
8078
|
Seahorse::Client::Request.new(handlers, context)
|
6993
8079
|
end
|
6994
8080
|
|