aws-sdk-lightsail 1.33.1 → 1.38.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-lightsail.rb +5 -2
- data/lib/aws-sdk-lightsail/client.rb +1378 -215
- data/lib/aws-sdk-lightsail/client_api.rb +508 -0
- data/lib/aws-sdk-lightsail/errors.rb +2 -0
- data/lib/aws-sdk-lightsail/resource.rb +2 -0
- data/lib/aws-sdk-lightsail/types.rb +2432 -172
- metadata +2 -2
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -30,6 +32,7 @@ module Aws::Lightsail
|
|
30
32
|
:docs,
|
31
33
|
:message,
|
32
34
|
:tip)
|
35
|
+
SENSITIVE = []
|
33
36
|
include Aws::Structure
|
34
37
|
end
|
35
38
|
|
@@ -55,6 +58,7 @@ module Aws::Lightsail
|
|
55
58
|
:docs,
|
56
59
|
:message,
|
57
60
|
:tip)
|
61
|
+
SENSITIVE = []
|
58
62
|
include Aws::Structure
|
59
63
|
end
|
60
64
|
|
@@ -95,6 +99,7 @@ module Aws::Lightsail
|
|
95
99
|
:status,
|
96
100
|
:snapshot_time_of_day,
|
97
101
|
:next_snapshot_time_of_day)
|
102
|
+
SENSITIVE = []
|
98
103
|
include Aws::Structure
|
99
104
|
end
|
100
105
|
|
@@ -134,6 +139,7 @@ module Aws::Lightsail
|
|
134
139
|
class AddOnRequest < Struct.new(
|
135
140
|
:add_on_type,
|
136
141
|
:auto_snapshot_add_on_request)
|
142
|
+
SENSITIVE = []
|
137
143
|
include Aws::Structure
|
138
144
|
end
|
139
145
|
|
@@ -305,6 +311,7 @@ module Aws::Lightsail
|
|
305
311
|
:contact_protocols,
|
306
312
|
:notification_triggers,
|
307
313
|
:notification_enabled)
|
314
|
+
SENSITIVE = []
|
308
315
|
include Aws::Structure
|
309
316
|
end
|
310
317
|
|
@@ -323,6 +330,7 @@ module Aws::Lightsail
|
|
323
330
|
#
|
324
331
|
class AllocateStaticIpRequest < Struct.new(
|
325
332
|
:static_ip_name)
|
333
|
+
SENSITIVE = []
|
326
334
|
include Aws::Structure
|
327
335
|
end
|
328
336
|
|
@@ -336,6 +344,64 @@ module Aws::Lightsail
|
|
336
344
|
#
|
337
345
|
class AllocateStaticIpResult < Struct.new(
|
338
346
|
:operations)
|
347
|
+
SENSITIVE = []
|
348
|
+
include Aws::Structure
|
349
|
+
end
|
350
|
+
|
351
|
+
# @note When making an API call, you may pass AttachCertificateToDistributionRequest
|
352
|
+
# data as a hash:
|
353
|
+
#
|
354
|
+
# {
|
355
|
+
# distribution_name: "ResourceName", # required
|
356
|
+
# certificate_name: "ResourceName", # required
|
357
|
+
# }
|
358
|
+
#
|
359
|
+
# @!attribute [rw] distribution_name
|
360
|
+
# The name of the distribution that the certificate will be attached
|
361
|
+
# to.
|
362
|
+
#
|
363
|
+
# Use the `GetDistributions` action to get a list of distribution
|
364
|
+
# names that you can specify.
|
365
|
+
# @return [String]
|
366
|
+
#
|
367
|
+
# @!attribute [rw] certificate_name
|
368
|
+
# The name of the certificate to attach to a distribution.
|
369
|
+
#
|
370
|
+
# Only certificates with a status of `ISSUED` can be attached to a
|
371
|
+
# distribution.
|
372
|
+
#
|
373
|
+
# Use the `GetCertificates` action to get a list of certificate names
|
374
|
+
# that you can specify.
|
375
|
+
#
|
376
|
+
# <note markdown="1"> This is the name of the certificate resource type and is used only
|
377
|
+
# to reference the certificate in other API actions. It can be
|
378
|
+
# different than the domain name of the certificate. For example, your
|
379
|
+
# certificate name might be `WordPress-Blog-Certificate` and the
|
380
|
+
# domain name of the certificate might be `example.com`.
|
381
|
+
#
|
382
|
+
# </note>
|
383
|
+
# @return [String]
|
384
|
+
#
|
385
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/AttachCertificateToDistributionRequest AWS API Documentation
|
386
|
+
#
|
387
|
+
class AttachCertificateToDistributionRequest < Struct.new(
|
388
|
+
:distribution_name,
|
389
|
+
:certificate_name)
|
390
|
+
SENSITIVE = []
|
391
|
+
include Aws::Structure
|
392
|
+
end
|
393
|
+
|
394
|
+
# @!attribute [rw] operation
|
395
|
+
# An object that describes the result of the action, such as the
|
396
|
+
# status of the request, the timestamp of the request, and the
|
397
|
+
# resources affected by the request.
|
398
|
+
# @return [Types::Operation]
|
399
|
+
#
|
400
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/AttachCertificateToDistributionResult AWS API Documentation
|
401
|
+
#
|
402
|
+
class AttachCertificateToDistributionResult < Struct.new(
|
403
|
+
:operation)
|
404
|
+
SENSITIVE = []
|
339
405
|
include Aws::Structure
|
340
406
|
end
|
341
407
|
|
@@ -367,6 +433,7 @@ module Aws::Lightsail
|
|
367
433
|
:disk_name,
|
368
434
|
:instance_name,
|
369
435
|
:disk_path)
|
436
|
+
SENSITIVE = []
|
370
437
|
include Aws::Structure
|
371
438
|
end
|
372
439
|
|
@@ -380,6 +447,7 @@ module Aws::Lightsail
|
|
380
447
|
#
|
381
448
|
class AttachDiskResult < Struct.new(
|
382
449
|
:operations)
|
450
|
+
SENSITIVE = []
|
383
451
|
include Aws::Structure
|
384
452
|
end
|
385
453
|
|
@@ -412,6 +480,7 @@ module Aws::Lightsail
|
|
412
480
|
class AttachInstancesToLoadBalancerRequest < Struct.new(
|
413
481
|
:load_balancer_name,
|
414
482
|
:instance_names)
|
483
|
+
SENSITIVE = []
|
415
484
|
include Aws::Structure
|
416
485
|
end
|
417
486
|
|
@@ -425,6 +494,7 @@ module Aws::Lightsail
|
|
425
494
|
#
|
426
495
|
class AttachInstancesToLoadBalancerResult < Struct.new(
|
427
496
|
:operations)
|
497
|
+
SENSITIVE = []
|
428
498
|
include Aws::Structure
|
429
499
|
end
|
430
500
|
|
@@ -450,6 +520,7 @@ module Aws::Lightsail
|
|
450
520
|
class AttachLoadBalancerTlsCertificateRequest < Struct.new(
|
451
521
|
:load_balancer_name,
|
452
522
|
:certificate_name)
|
523
|
+
SENSITIVE = []
|
453
524
|
include Aws::Structure
|
454
525
|
end
|
455
526
|
|
@@ -467,6 +538,7 @@ module Aws::Lightsail
|
|
467
538
|
#
|
468
539
|
class AttachLoadBalancerTlsCertificateResult < Struct.new(
|
469
540
|
:operations)
|
541
|
+
SENSITIVE = []
|
470
542
|
include Aws::Structure
|
471
543
|
end
|
472
544
|
|
@@ -491,6 +563,7 @@ module Aws::Lightsail
|
|
491
563
|
class AttachStaticIpRequest < Struct.new(
|
492
564
|
:static_ip_name,
|
493
565
|
:instance_name)
|
566
|
+
SENSITIVE = []
|
494
567
|
include Aws::Structure
|
495
568
|
end
|
496
569
|
|
@@ -504,6 +577,7 @@ module Aws::Lightsail
|
|
504
577
|
#
|
505
578
|
class AttachStaticIpResult < Struct.new(
|
506
579
|
:operations)
|
580
|
+
SENSITIVE = []
|
507
581
|
include Aws::Structure
|
508
582
|
end
|
509
583
|
|
@@ -523,6 +597,7 @@ module Aws::Lightsail
|
|
523
597
|
class AttachedDisk < Struct.new(
|
524
598
|
:path,
|
525
599
|
:size_in_gb)
|
600
|
+
SENSITIVE = []
|
526
601
|
include Aws::Structure
|
527
602
|
end
|
528
603
|
|
@@ -585,6 +660,7 @@ module Aws::Lightsail
|
|
585
660
|
#
|
586
661
|
class AutoSnapshotAddOnRequest < Struct.new(
|
587
662
|
:snapshot_time_of_day)
|
663
|
+
SENSITIVE = []
|
588
664
|
include Aws::Structure
|
589
665
|
end
|
590
666
|
|
@@ -614,6 +690,7 @@ module Aws::Lightsail
|
|
614
690
|
:created_at,
|
615
691
|
:status,
|
616
692
|
:from_attached_disks)
|
693
|
+
SENSITIVE = []
|
617
694
|
include Aws::Structure
|
618
695
|
end
|
619
696
|
|
@@ -633,6 +710,7 @@ module Aws::Lightsail
|
|
633
710
|
class AvailabilityZone < Struct.new(
|
634
711
|
:zone_name,
|
635
712
|
:state)
|
713
|
+
SENSITIVE = []
|
636
714
|
include Aws::Structure
|
637
715
|
end
|
638
716
|
|
@@ -711,6 +789,7 @@ module Aws::Lightsail
|
|
711
789
|
:product_url,
|
712
790
|
:license_url,
|
713
791
|
:platform)
|
792
|
+
SENSITIVE = []
|
714
793
|
include Aws::Structure
|
715
794
|
end
|
716
795
|
|
@@ -783,6 +862,493 @@ module Aws::Lightsail
|
|
783
862
|
:ram_size_in_gb,
|
784
863
|
:transfer_per_month_in_gb,
|
785
864
|
:supported_platforms)
|
865
|
+
SENSITIVE = []
|
866
|
+
include Aws::Structure
|
867
|
+
end
|
868
|
+
|
869
|
+
# Describes the default cache behavior of an Amazon Lightsail content
|
870
|
+
# delivery network (CDN) distribution.
|
871
|
+
#
|
872
|
+
# @note When making an API call, you may pass CacheBehavior
|
873
|
+
# data as a hash:
|
874
|
+
#
|
875
|
+
# {
|
876
|
+
# behavior: "dont-cache", # accepts dont-cache, cache
|
877
|
+
# }
|
878
|
+
#
|
879
|
+
# @!attribute [rw] behavior
|
880
|
+
# The cache behavior of the distribution.
|
881
|
+
#
|
882
|
+
# The following cache behaviors can be specified:
|
883
|
+
#
|
884
|
+
# * <b> <code>cache</code> </b> - This option is best for static
|
885
|
+
# sites. When specified, your distribution caches and serves your
|
886
|
+
# entire website as static content. This behavior is ideal for
|
887
|
+
# websites with static content that doesn't change depending on who
|
888
|
+
# views it, or for websites that don't use cookies, headers, or
|
889
|
+
# query strings to personalize content.
|
890
|
+
#
|
891
|
+
# * <b> <code>dont-cache</code> </b> - This option is best for sites
|
892
|
+
# that serve a mix of static and dynamic content. When specified,
|
893
|
+
# your distribution caches and serve only the content that is
|
894
|
+
# specified in the distribution's `CacheBehaviorPerPath` parameter.
|
895
|
+
# This behavior is ideal for websites or web applications that use
|
896
|
+
# cookies, headers, and query strings to personalize content for
|
897
|
+
# individual users.
|
898
|
+
# @return [String]
|
899
|
+
#
|
900
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CacheBehavior AWS API Documentation
|
901
|
+
#
|
902
|
+
class CacheBehavior < Struct.new(
|
903
|
+
:behavior)
|
904
|
+
SENSITIVE = []
|
905
|
+
include Aws::Structure
|
906
|
+
end
|
907
|
+
|
908
|
+
# Describes the per-path cache behavior of an Amazon Lightsail content
|
909
|
+
# delivery network (CDN) distribution.
|
910
|
+
#
|
911
|
+
# A per-path cache behavior is used to override, or add an exception to,
|
912
|
+
# the default cache behavior of a distribution. For example, if the
|
913
|
+
# `cacheBehavior` is set to `cache`, then a per-path cache behavior can
|
914
|
+
# be used to specify a directory, file, or file type that your
|
915
|
+
# distribution will cache. Alternately, if the distribution's
|
916
|
+
# `cacheBehavior` is `dont-cache`, then a per-path cache behavior can be
|
917
|
+
# used to specify a directory, file, or file type that your distribution
|
918
|
+
# will not cache.
|
919
|
+
#
|
920
|
+
# if the cacheBehavior's behavior is set to 'cache', then
|
921
|
+
#
|
922
|
+
# @note When making an API call, you may pass CacheBehaviorPerPath
|
923
|
+
# data as a hash:
|
924
|
+
#
|
925
|
+
# {
|
926
|
+
# path: "string",
|
927
|
+
# behavior: "dont-cache", # accepts dont-cache, cache
|
928
|
+
# }
|
929
|
+
#
|
930
|
+
# @!attribute [rw] path
|
931
|
+
# The path to a directory or file to cached, or not cache. Use an
|
932
|
+
# asterisk symbol to specify wildcard directories
|
933
|
+
# (`path/to/assets/*`), and file types (`*.html, *jpg, *js`).
|
934
|
+
# Directories and file paths are case-sensitive.
|
935
|
+
#
|
936
|
+
# Examples:
|
937
|
+
#
|
938
|
+
# * Specify the following to cache all files in the document root of
|
939
|
+
# an Apache web server running on a Lightsail instance.
|
940
|
+
#
|
941
|
+
# `var/www/html/`
|
942
|
+
#
|
943
|
+
# * Specify the following file to cache only the index page in the
|
944
|
+
# document root of an Apache web server.
|
945
|
+
#
|
946
|
+
# `var/www/html/index.html`
|
947
|
+
#
|
948
|
+
# * Specify the following to cache only the .html files in the
|
949
|
+
# document root of an Apache web server.
|
950
|
+
#
|
951
|
+
# `var/www/html/*.html`
|
952
|
+
#
|
953
|
+
# * Specify the following to cache only the .jpg, .png, and .gif files
|
954
|
+
# in the images sub-directory of the document root of an Apache web
|
955
|
+
# server.
|
956
|
+
#
|
957
|
+
# `var/www/html/images/*.jpg`
|
958
|
+
#
|
959
|
+
# `var/www/html/images/*.png`
|
960
|
+
#
|
961
|
+
# `var/www/html/images/*.gif`
|
962
|
+
#
|
963
|
+
# Specify the following to cache all files in the images
|
964
|
+
# sub-directory of the document root of an Apache web server.
|
965
|
+
#
|
966
|
+
# `var/www/html/images/`
|
967
|
+
# @return [String]
|
968
|
+
#
|
969
|
+
# @!attribute [rw] behavior
|
970
|
+
# The cache behavior for the specified path.
|
971
|
+
#
|
972
|
+
# You can specify one of the following per-path cache behaviors:
|
973
|
+
#
|
974
|
+
# * <b> <code>cache</code> </b> - This behavior caches the specified
|
975
|
+
# path.
|
976
|
+
#
|
977
|
+
# * <b> <code>dont-cache</code> </b> - This behavior doesn't cache
|
978
|
+
# the specified path.
|
979
|
+
# @return [String]
|
980
|
+
#
|
981
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CacheBehaviorPerPath AWS API Documentation
|
982
|
+
#
|
983
|
+
class CacheBehaviorPerPath < Struct.new(
|
984
|
+
:path,
|
985
|
+
:behavior)
|
986
|
+
SENSITIVE = []
|
987
|
+
include Aws::Structure
|
988
|
+
end
|
989
|
+
|
990
|
+
# Describes the cache settings of an Amazon Lightsail content delivery
|
991
|
+
# network (CDN) distribution.
|
992
|
+
#
|
993
|
+
# These settings apply only to your distribution's `cacheBehaviors`
|
994
|
+
# (including the `defaultCacheBehavior`) that have a `behavior` of
|
995
|
+
# `cache`.
|
996
|
+
#
|
997
|
+
# @note When making an API call, you may pass CacheSettings
|
998
|
+
# data as a hash:
|
999
|
+
#
|
1000
|
+
# {
|
1001
|
+
# default_ttl: 1,
|
1002
|
+
# minimum_ttl: 1,
|
1003
|
+
# maximum_ttl: 1,
|
1004
|
+
# allowed_http_methods: "NonEmptyString",
|
1005
|
+
# cached_http_methods: "NonEmptyString",
|
1006
|
+
# forwarded_cookies: {
|
1007
|
+
# option: "none", # accepts none, allow-list, all
|
1008
|
+
# cookies_allow_list: ["string"],
|
1009
|
+
# },
|
1010
|
+
# forwarded_headers: {
|
1011
|
+
# option: "none", # accepts none, allow-list, all
|
1012
|
+
# headers_allow_list: ["Accept"], # accepts Accept, Accept-Charset, Accept-Datetime, Accept-Encoding, Accept-Language, Authorization, CloudFront-Forwarded-Proto, CloudFront-Is-Desktop-Viewer, CloudFront-Is-Mobile-Viewer, CloudFront-Is-SmartTV-Viewer, CloudFront-Is-Tablet-Viewer, CloudFront-Viewer-Country, Host, Origin, Referer
|
1013
|
+
# },
|
1014
|
+
# forwarded_query_strings: {
|
1015
|
+
# option: false,
|
1016
|
+
# query_strings_allow_list: ["string"],
|
1017
|
+
# },
|
1018
|
+
# }
|
1019
|
+
#
|
1020
|
+
# @!attribute [rw] default_ttl
|
1021
|
+
# The default amount of time that objects stay in the distribution's
|
1022
|
+
# cache before the distribution forwards another request to the origin
|
1023
|
+
# to determine whether the content has been updated.
|
1024
|
+
#
|
1025
|
+
# <note markdown="1"> The value specified applies only when the origin does not add HTTP
|
1026
|
+
# headers such as `Cache-Control max-age`, `Cache-Control s-maxage`,
|
1027
|
+
# and `Expires` to objects.
|
1028
|
+
#
|
1029
|
+
# </note>
|
1030
|
+
# @return [Integer]
|
1031
|
+
#
|
1032
|
+
# @!attribute [rw] minimum_ttl
|
1033
|
+
# The minimum amount of time that objects stay in the distribution's
|
1034
|
+
# cache before the distribution forwards another request to the origin
|
1035
|
+
# to determine whether the object has been updated.
|
1036
|
+
#
|
1037
|
+
# A value of `0` must be specified for `minimumTTL` if the
|
1038
|
+
# distribution is configured to forward all headers to the origin.
|
1039
|
+
# @return [Integer]
|
1040
|
+
#
|
1041
|
+
# @!attribute [rw] maximum_ttl
|
1042
|
+
# The maximum amount of time that objects stay in the distribution's
|
1043
|
+
# cache before the distribution forwards another request to the origin
|
1044
|
+
# to determine whether the object has been updated.
|
1045
|
+
#
|
1046
|
+
# The value specified applies only when the origin adds HTTP headers
|
1047
|
+
# such as `Cache-Control max-age`, `Cache-Control s-maxage`, and
|
1048
|
+
# `Expires` to objects.
|
1049
|
+
# @return [Integer]
|
1050
|
+
#
|
1051
|
+
# @!attribute [rw] allowed_http_methods
|
1052
|
+
# The HTTP methods that are processed and forwarded to the
|
1053
|
+
# distribution's origin.
|
1054
|
+
#
|
1055
|
+
# You can specify the following options:
|
1056
|
+
#
|
1057
|
+
# * `GET,HEAD` - The distribution forwards the `GET` and `HEAD`
|
1058
|
+
# methods.
|
1059
|
+
#
|
1060
|
+
# * `GET,HEAD,OPTIONS` - The distribution forwards the `GET`, `HEAD`,
|
1061
|
+
# and `OPTIONS` methods.
|
1062
|
+
#
|
1063
|
+
# * `GET,HEAD,OPTIONS,PUT,PATCH,POST,DELETE` - The distribution
|
1064
|
+
# forwards the `GET`, `HEAD`, `OPTIONS`, `PUT`, `PATCH`, `POST`, and
|
1065
|
+
# `DELETE` methods.
|
1066
|
+
#
|
1067
|
+
# If you specify the third option, you might need to restrict access
|
1068
|
+
# to your distribution's origin so users can't perform operations
|
1069
|
+
# that you don't want them to. For example, you might not want users
|
1070
|
+
# to have permission to delete objects from your origin.
|
1071
|
+
# @return [String]
|
1072
|
+
#
|
1073
|
+
# @!attribute [rw] cached_http_methods
|
1074
|
+
# The HTTP method responses that are cached by your distribution.
|
1075
|
+
#
|
1076
|
+
# You can specify the following options:
|
1077
|
+
#
|
1078
|
+
# * `GET,HEAD` - The distribution caches responses to the `GET` and
|
1079
|
+
# `HEAD` methods.
|
1080
|
+
#
|
1081
|
+
# * `GET,HEAD,OPTIONS` - The distribution caches responses to the
|
1082
|
+
# `GET`, `HEAD`, and `OPTIONS` methods.
|
1083
|
+
# @return [String]
|
1084
|
+
#
|
1085
|
+
# @!attribute [rw] forwarded_cookies
|
1086
|
+
# An object that describes the cookies that are forwarded to the
|
1087
|
+
# origin. Your content is cached based on the cookies that are
|
1088
|
+
# forwarded.
|
1089
|
+
# @return [Types::CookieObject]
|
1090
|
+
#
|
1091
|
+
# @!attribute [rw] forwarded_headers
|
1092
|
+
# An object that describes the headers that are forwarded to the
|
1093
|
+
# origin. Your content is cached based on the headers that are
|
1094
|
+
# forwarded.
|
1095
|
+
# @return [Types::HeaderObject]
|
1096
|
+
#
|
1097
|
+
# @!attribute [rw] forwarded_query_strings
|
1098
|
+
# An object that describes the query strings that are forwarded to the
|
1099
|
+
# origin. Your content is cached based on the query strings that are
|
1100
|
+
# forwarded.
|
1101
|
+
# @return [Types::QueryStringObject]
|
1102
|
+
#
|
1103
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CacheSettings AWS API Documentation
|
1104
|
+
#
|
1105
|
+
class CacheSettings < Struct.new(
|
1106
|
+
:default_ttl,
|
1107
|
+
:minimum_ttl,
|
1108
|
+
:maximum_ttl,
|
1109
|
+
:allowed_http_methods,
|
1110
|
+
:cached_http_methods,
|
1111
|
+
:forwarded_cookies,
|
1112
|
+
:forwarded_headers,
|
1113
|
+
:forwarded_query_strings)
|
1114
|
+
SENSITIVE = []
|
1115
|
+
include Aws::Structure
|
1116
|
+
end
|
1117
|
+
|
1118
|
+
# Describes the full details of an Amazon Lightsail SSL/TLS certificate.
|
1119
|
+
#
|
1120
|
+
# <note markdown="1"> To get a summary of a certificate, use the `GetCertificates` action
|
1121
|
+
# and ommit `includeCertificateDetails` from your request. The response
|
1122
|
+
# will include only the certificate Amazon Resource Name (ARN),
|
1123
|
+
# certificate name, domain name, and tags.
|
1124
|
+
#
|
1125
|
+
# </note>
|
1126
|
+
#
|
1127
|
+
# @!attribute [rw] arn
|
1128
|
+
# The Amazon Resource Name (ARN) of the certificate.
|
1129
|
+
# @return [String]
|
1130
|
+
#
|
1131
|
+
# @!attribute [rw] name
|
1132
|
+
# The name of the certificate (e.g., `my-certificate`).
|
1133
|
+
# @return [String]
|
1134
|
+
#
|
1135
|
+
# @!attribute [rw] domain_name
|
1136
|
+
# The domain name of the certificate.
|
1137
|
+
# @return [String]
|
1138
|
+
#
|
1139
|
+
# @!attribute [rw] status
|
1140
|
+
# The validation status of the certificate.
|
1141
|
+
# @return [String]
|
1142
|
+
#
|
1143
|
+
# @!attribute [rw] serial_number
|
1144
|
+
# The serial number of the certificate.
|
1145
|
+
# @return [String]
|
1146
|
+
#
|
1147
|
+
# @!attribute [rw] subject_alternative_names
|
1148
|
+
# An array of strings that specify the alternate domains (e.g.,
|
1149
|
+
# `example2.com`) and subdomains (e.g., `blog.example.com`) of the
|
1150
|
+
# certificate.
|
1151
|
+
# @return [Array<String>]
|
1152
|
+
#
|
1153
|
+
# @!attribute [rw] domain_validation_records
|
1154
|
+
# An array of objects that describe the domain validation records of
|
1155
|
+
# the certificate.
|
1156
|
+
# @return [Array<Types::DomainValidationRecord>]
|
1157
|
+
#
|
1158
|
+
# @!attribute [rw] request_failure_reason
|
1159
|
+
# The validation failure reason, if any, of the certificate.
|
1160
|
+
#
|
1161
|
+
# The following failure reasons are possible:
|
1162
|
+
#
|
1163
|
+
# * <b> <code>NO_AVAILABLE_CONTACTS</code> </b> - This failure applies
|
1164
|
+
# to email validation, which is not available for Lightsail
|
1165
|
+
# certificates.
|
1166
|
+
#
|
1167
|
+
# * <b> <code>ADDITIONAL_VERIFICATION_REQUIRED</code> </b> - Lightsail
|
1168
|
+
# requires additional information to process this certificate
|
1169
|
+
# request. This can happen as a fraud-protection measure, such as
|
1170
|
+
# when the domain ranks within the Alexa top 1000 websites. To
|
1171
|
+
# provide the required information, use the [AWS Support Center][1]
|
1172
|
+
# to contact AWS Support.
|
1173
|
+
#
|
1174
|
+
# <note markdown="1"> You cannot request a certificate for Amazon-owned domain names
|
1175
|
+
# such as those ending in amazonaws.com, cloudfront.net, or
|
1176
|
+
# elasticbeanstalk.com.
|
1177
|
+
#
|
1178
|
+
# </note>
|
1179
|
+
#
|
1180
|
+
# * <b> <code>DOMAIN_NOT_ALLOWED</code> </b> - One or more of the
|
1181
|
+
# domain names in the certificate request was reported as an unsafe
|
1182
|
+
# domain by [VirusTotal][2]. To correct the problem, search for your
|
1183
|
+
# domain name on the [VirusTotal][2] website. If your domain is
|
1184
|
+
# reported as suspicious, see [Google Help for Hacked Websites][3]
|
1185
|
+
# to learn what you can do.
|
1186
|
+
#
|
1187
|
+
# If you believe that the result is a false positive, notify the
|
1188
|
+
# organization that is reporting the domain. VirusTotal is an
|
1189
|
+
# aggregate of several antivirus and URL scanners and cannot remove
|
1190
|
+
# your domain from a block list itself. After you correct the
|
1191
|
+
# problem and the VirusTotal registry has been updated, request a
|
1192
|
+
# new certificate.
|
1193
|
+
#
|
1194
|
+
# If you see this error and your domain is not included in the
|
1195
|
+
# VirusTotal list, visit the [AWS Support Center][1] and create a
|
1196
|
+
# case.
|
1197
|
+
#
|
1198
|
+
# * <b> <code>INVALID_PUBLIC_DOMAIN</code> </b> - One or more of the
|
1199
|
+
# domain names in the certificate request is not valid. Typically,
|
1200
|
+
# this is because a domain name in the request is not a valid
|
1201
|
+
# top-level domain. Try to request a certificate again, correcting
|
1202
|
+
# any spelling errors or typos that were in the failed request, and
|
1203
|
+
# ensure that all domain names in the request are for valid
|
1204
|
+
# top-level domains. For example, you cannot request a certificate
|
1205
|
+
# for `example.invalidpublicdomain` because `invalidpublicdomain` is
|
1206
|
+
# not a valid top-level domain.
|
1207
|
+
#
|
1208
|
+
# * <b> <code>OTHER</code> </b> - Typically, this failure occurs when
|
1209
|
+
# there is a typographical error in one or more of the domain names
|
1210
|
+
# in the certificate request. Try to request a certificate again,
|
1211
|
+
# correcting any spelling errors or typos that were in the failed
|
1212
|
+
# request.
|
1213
|
+
#
|
1214
|
+
#
|
1215
|
+
#
|
1216
|
+
# [1]: https://console.aws.amazon.com/support/home
|
1217
|
+
# [2]: https://www.virustotal.com/gui/home/url
|
1218
|
+
# [3]: https://www.google.com/webmasters/hacked/?hl=en
|
1219
|
+
# @return [String]
|
1220
|
+
#
|
1221
|
+
# @!attribute [rw] in_use_resource_count
|
1222
|
+
# The number of Lightsail resources that the certificate is attached
|
1223
|
+
# to.
|
1224
|
+
# @return [Integer]
|
1225
|
+
#
|
1226
|
+
# @!attribute [rw] key_algorithm
|
1227
|
+
# The algorithm used to generate the key pair (the public and private
|
1228
|
+
# key) of the certificate.
|
1229
|
+
# @return [String]
|
1230
|
+
#
|
1231
|
+
# @!attribute [rw] created_at
|
1232
|
+
# The timestamp when the certificate was created.
|
1233
|
+
# @return [Time]
|
1234
|
+
#
|
1235
|
+
# @!attribute [rw] issued_at
|
1236
|
+
# The timestamp when the certificate was issued.
|
1237
|
+
# @return [Time]
|
1238
|
+
#
|
1239
|
+
# @!attribute [rw] issuer_ca
|
1240
|
+
# The certificate authority that issued the certificate.
|
1241
|
+
# @return [String]
|
1242
|
+
#
|
1243
|
+
# @!attribute [rw] not_before
|
1244
|
+
# The timestamp when the certificate is first valid.
|
1245
|
+
# @return [Time]
|
1246
|
+
#
|
1247
|
+
# @!attribute [rw] not_after
|
1248
|
+
# The timestamp when the certificate expires.
|
1249
|
+
# @return [Time]
|
1250
|
+
#
|
1251
|
+
# @!attribute [rw] eligible_to_renew
|
1252
|
+
# The renewal eligibility of the certificate.
|
1253
|
+
# @return [String]
|
1254
|
+
#
|
1255
|
+
# @!attribute [rw] renewal_summary
|
1256
|
+
# An object that describes the status of the certificate renewal
|
1257
|
+
# managed by Lightsail.
|
1258
|
+
# @return [Types::RenewalSummary]
|
1259
|
+
#
|
1260
|
+
# @!attribute [rw] revoked_at
|
1261
|
+
# The timestamp when the certificate was revoked. This value is
|
1262
|
+
# present only when the certificate status is `REVOKED`.
|
1263
|
+
# @return [Time]
|
1264
|
+
#
|
1265
|
+
# @!attribute [rw] revocation_reason
|
1266
|
+
# The reason the certificate was revoked. This value is present only
|
1267
|
+
# when the certificate status is `REVOKED`.
|
1268
|
+
# @return [String]
|
1269
|
+
#
|
1270
|
+
# @!attribute [rw] tags
|
1271
|
+
# The tag keys and optional values for the resource. For more
|
1272
|
+
# information about tags in Lightsail, see the [Lightsail Dev
|
1273
|
+
# Guide][1].
|
1274
|
+
#
|
1275
|
+
#
|
1276
|
+
#
|
1277
|
+
# [1]: https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-tags
|
1278
|
+
# @return [Array<Types::Tag>]
|
1279
|
+
#
|
1280
|
+
# @!attribute [rw] support_code
|
1281
|
+
# The support code. Include this code in your email to support when
|
1282
|
+
# you have questions about your Lightsail certificate. This code
|
1283
|
+
# enables our support team to look up your Lightsail information more
|
1284
|
+
# easily.
|
1285
|
+
# @return [String]
|
1286
|
+
#
|
1287
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/Certificate AWS API Documentation
|
1288
|
+
#
|
1289
|
+
class Certificate < Struct.new(
|
1290
|
+
:arn,
|
1291
|
+
:name,
|
1292
|
+
:domain_name,
|
1293
|
+
:status,
|
1294
|
+
:serial_number,
|
1295
|
+
:subject_alternative_names,
|
1296
|
+
:domain_validation_records,
|
1297
|
+
:request_failure_reason,
|
1298
|
+
:in_use_resource_count,
|
1299
|
+
:key_algorithm,
|
1300
|
+
:created_at,
|
1301
|
+
:issued_at,
|
1302
|
+
:issuer_ca,
|
1303
|
+
:not_before,
|
1304
|
+
:not_after,
|
1305
|
+
:eligible_to_renew,
|
1306
|
+
:renewal_summary,
|
1307
|
+
:revoked_at,
|
1308
|
+
:revocation_reason,
|
1309
|
+
:tags,
|
1310
|
+
:support_code)
|
1311
|
+
SENSITIVE = []
|
1312
|
+
include Aws::Structure
|
1313
|
+
end
|
1314
|
+
|
1315
|
+
# Describes an Amazon Lightsail SSL/TLS certificate.
|
1316
|
+
#
|
1317
|
+
# @!attribute [rw] certificate_arn
|
1318
|
+
# The Amazon Resource Name (ARN) of the certificate.
|
1319
|
+
# @return [String]
|
1320
|
+
#
|
1321
|
+
# @!attribute [rw] certificate_name
|
1322
|
+
# The name of the certificate.
|
1323
|
+
# @return [String]
|
1324
|
+
#
|
1325
|
+
# @!attribute [rw] domain_name
|
1326
|
+
# The domain name of the certificate.
|
1327
|
+
# @return [String]
|
1328
|
+
#
|
1329
|
+
# @!attribute [rw] certificate_detail
|
1330
|
+
# An object that describes a certificate in detail.
|
1331
|
+
# @return [Types::Certificate]
|
1332
|
+
#
|
1333
|
+
# @!attribute [rw] tags
|
1334
|
+
# The tag keys and optional values for the resource. For more
|
1335
|
+
# information about tags in Lightsail, see the [Lightsail Dev
|
1336
|
+
# Guide][1].
|
1337
|
+
#
|
1338
|
+
#
|
1339
|
+
#
|
1340
|
+
# [1]: https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-tags
|
1341
|
+
# @return [Array<Types::Tag>]
|
1342
|
+
#
|
1343
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CertificateSummary AWS API Documentation
|
1344
|
+
#
|
1345
|
+
class CertificateSummary < Struct.new(
|
1346
|
+
:certificate_arn,
|
1347
|
+
:certificate_name,
|
1348
|
+
:domain_name,
|
1349
|
+
:certificate_detail,
|
1350
|
+
:tags)
|
1351
|
+
SENSITIVE = []
|
786
1352
|
include Aws::Structure
|
787
1353
|
end
|
788
1354
|
|
@@ -813,6 +1379,7 @@ module Aws::Lightsail
|
|
813
1379
|
class CloseInstancePublicPortsRequest < Struct.new(
|
814
1380
|
:port_info,
|
815
1381
|
:instance_name)
|
1382
|
+
SENSITIVE = []
|
816
1383
|
include Aws::Structure
|
817
1384
|
end
|
818
1385
|
|
@@ -826,6 +1393,7 @@ module Aws::Lightsail
|
|
826
1393
|
#
|
827
1394
|
class CloseInstancePublicPortsResult < Struct.new(
|
828
1395
|
:operation)
|
1396
|
+
SENSITIVE = []
|
829
1397
|
include Aws::Structure
|
830
1398
|
end
|
831
1399
|
|
@@ -884,6 +1452,7 @@ module Aws::Lightsail
|
|
884
1452
|
:state,
|
885
1453
|
:source_info,
|
886
1454
|
:destination_info)
|
1455
|
+
SENSITIVE = []
|
887
1456
|
include Aws::Structure
|
888
1457
|
end
|
889
1458
|
|
@@ -908,6 +1477,7 @@ module Aws::Lightsail
|
|
908
1477
|
:resource_type,
|
909
1478
|
:name,
|
910
1479
|
:arn)
|
1480
|
+
SENSITIVE = []
|
911
1481
|
include Aws::Structure
|
912
1482
|
end
|
913
1483
|
|
@@ -983,6 +1553,41 @@ module Aws::Lightsail
|
|
983
1553
|
:location,
|
984
1554
|
:resource_type,
|
985
1555
|
:support_code)
|
1556
|
+
SENSITIVE = []
|
1557
|
+
include Aws::Structure
|
1558
|
+
end
|
1559
|
+
|
1560
|
+
# Describes whether an Amazon Lightsail content delivery network (CDN)
|
1561
|
+
# distribution forwards cookies to the origin and, if so, which ones.
|
1562
|
+
#
|
1563
|
+
# For the cookies that you specify, your distribution caches separate
|
1564
|
+
# versions of the specified content based on the cookie values in viewer
|
1565
|
+
# requests.
|
1566
|
+
#
|
1567
|
+
# @note When making an API call, you may pass CookieObject
|
1568
|
+
# data as a hash:
|
1569
|
+
#
|
1570
|
+
# {
|
1571
|
+
# option: "none", # accepts none, allow-list, all
|
1572
|
+
# cookies_allow_list: ["string"],
|
1573
|
+
# }
|
1574
|
+
#
|
1575
|
+
# @!attribute [rw] option
|
1576
|
+
# Specifies which cookies to forward to the distribution's origin for
|
1577
|
+
# a cache behavior: `all`, `none`, or `allow-list` to forward only the
|
1578
|
+
# cookies specified in the `cookiesAllowList` parameter.
|
1579
|
+
# @return [String]
|
1580
|
+
#
|
1581
|
+
# @!attribute [rw] cookies_allow_list
|
1582
|
+
# The specific cookies to forward to your distribution's origin.
|
1583
|
+
# @return [Array<String>]
|
1584
|
+
#
|
1585
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CookieObject AWS API Documentation
|
1586
|
+
#
|
1587
|
+
class CookieObject < Struct.new(
|
1588
|
+
:option,
|
1589
|
+
:cookies_allow_list)
|
1590
|
+
SENSITIVE = []
|
986
1591
|
include Aws::Structure
|
987
1592
|
end
|
988
1593
|
|
@@ -1086,6 +1691,7 @@ module Aws::Lightsail
|
|
1086
1691
|
:use_latest_restorable_auto_snapshot,
|
1087
1692
|
:target_snapshot_name,
|
1088
1693
|
:source_region)
|
1694
|
+
SENSITIVE = []
|
1089
1695
|
include Aws::Structure
|
1090
1696
|
end
|
1091
1697
|
|
@@ -1099,14 +1705,86 @@ module Aws::Lightsail
|
|
1099
1705
|
#
|
1100
1706
|
class CopySnapshotResult < Struct.new(
|
1101
1707
|
:operations)
|
1708
|
+
SENSITIVE = []
|
1102
1709
|
include Aws::Structure
|
1103
1710
|
end
|
1104
1711
|
|
1105
|
-
# @note When making an API call, you may pass
|
1712
|
+
# @note When making an API call, you may pass CreateCertificateRequest
|
1106
1713
|
# data as a hash:
|
1107
1714
|
#
|
1108
1715
|
# {
|
1109
|
-
#
|
1716
|
+
# certificate_name: "CertificateName", # required
|
1717
|
+
# domain_name: "DomainName", # required
|
1718
|
+
# subject_alternative_names: ["DomainName"],
|
1719
|
+
# tags: [
|
1720
|
+
# {
|
1721
|
+
# key: "TagKey",
|
1722
|
+
# value: "TagValue",
|
1723
|
+
# },
|
1724
|
+
# ],
|
1725
|
+
# }
|
1726
|
+
#
|
1727
|
+
# @!attribute [rw] certificate_name
|
1728
|
+
# The name for the certificate.
|
1729
|
+
# @return [String]
|
1730
|
+
#
|
1731
|
+
# @!attribute [rw] domain_name
|
1732
|
+
# The domain name (e.g., `example.com`) for the certificate.
|
1733
|
+
# @return [String]
|
1734
|
+
#
|
1735
|
+
# @!attribute [rw] subject_alternative_names
|
1736
|
+
# An array of strings that specify the alternate domains (e.g.,
|
1737
|
+
# `example2.com`) and subdomains (e.g., `blog.example.com`) for the
|
1738
|
+
# certificate.
|
1739
|
+
#
|
1740
|
+
# You can specify a maximum of nine alternate domains (in addition to
|
1741
|
+
# the primary domain name).
|
1742
|
+
#
|
1743
|
+
# Wildcard domain entries (e.g., `*.example.com`) are not supported.
|
1744
|
+
# @return [Array<String>]
|
1745
|
+
#
|
1746
|
+
# @!attribute [rw] tags
|
1747
|
+
# The tag keys and optional values to add to the certificate during
|
1748
|
+
# create.
|
1749
|
+
#
|
1750
|
+
# Use the `TagResource` action to tag a resource after it's created.
|
1751
|
+
# @return [Array<Types::Tag>]
|
1752
|
+
#
|
1753
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateCertificateRequest AWS API Documentation
|
1754
|
+
#
|
1755
|
+
class CreateCertificateRequest < Struct.new(
|
1756
|
+
:certificate_name,
|
1757
|
+
:domain_name,
|
1758
|
+
:subject_alternative_names,
|
1759
|
+
:tags)
|
1760
|
+
SENSITIVE = []
|
1761
|
+
include Aws::Structure
|
1762
|
+
end
|
1763
|
+
|
1764
|
+
# @!attribute [rw] certificate
|
1765
|
+
# An object that describes the certificate created.
|
1766
|
+
# @return [Types::CertificateSummary]
|
1767
|
+
#
|
1768
|
+
# @!attribute [rw] operations
|
1769
|
+
# An array of objects that describe the result of the action, such as
|
1770
|
+
# the status of the request, the timestamp of the request, and the
|
1771
|
+
# resources affected by the request.
|
1772
|
+
# @return [Array<Types::Operation>]
|
1773
|
+
#
|
1774
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateCertificateResult AWS API Documentation
|
1775
|
+
#
|
1776
|
+
class CreateCertificateResult < Struct.new(
|
1777
|
+
:certificate,
|
1778
|
+
:operations)
|
1779
|
+
SENSITIVE = []
|
1780
|
+
include Aws::Structure
|
1781
|
+
end
|
1782
|
+
|
1783
|
+
# @note When making an API call, you may pass CreateCloudFormationStackRequest
|
1784
|
+
# data as a hash:
|
1785
|
+
#
|
1786
|
+
# {
|
1787
|
+
# instances: [ # required
|
1110
1788
|
# {
|
1111
1789
|
# source_name: "ResourceName", # required
|
1112
1790
|
# instance_type: "NonEmptyString", # required
|
@@ -1128,6 +1806,7 @@ module Aws::Lightsail
|
|
1128
1806
|
#
|
1129
1807
|
class CreateCloudFormationStackRequest < Struct.new(
|
1130
1808
|
:instances)
|
1809
|
+
SENSITIVE = []
|
1131
1810
|
include Aws::Structure
|
1132
1811
|
end
|
1133
1812
|
|
@@ -1141,6 +1820,7 @@ module Aws::Lightsail
|
|
1141
1820
|
#
|
1142
1821
|
class CreateCloudFormationStackResult < Struct.new(
|
1143
1822
|
:operations)
|
1823
|
+
SENSITIVE = []
|
1144
1824
|
include Aws::Structure
|
1145
1825
|
end
|
1146
1826
|
|
@@ -1206,6 +1886,7 @@ module Aws::Lightsail
|
|
1206
1886
|
class CreateContactMethodRequest < Struct.new(
|
1207
1887
|
:protocol,
|
1208
1888
|
:contact_endpoint)
|
1889
|
+
SENSITIVE = []
|
1209
1890
|
include Aws::Structure
|
1210
1891
|
end
|
1211
1892
|
|
@@ -1219,6 +1900,7 @@ module Aws::Lightsail
|
|
1219
1900
|
#
|
1220
1901
|
class CreateContactMethodResult < Struct.new(
|
1221
1902
|
:operations)
|
1903
|
+
SENSITIVE = []
|
1222
1904
|
include Aws::Structure
|
1223
1905
|
end
|
1224
1906
|
|
@@ -1283,8 +1965,7 @@ module Aws::Lightsail
|
|
1283
1965
|
# The tag keys and optional values to add to the resource during
|
1284
1966
|
# create.
|
1285
1967
|
#
|
1286
|
-
#
|
1287
|
-
# operation.
|
1968
|
+
# Use the `TagResource` action to tag a resource after it's created.
|
1288
1969
|
# @return [Array<Types::Tag>]
|
1289
1970
|
#
|
1290
1971
|
# @!attribute [rw] add_ons
|
@@ -1365,6 +2046,7 @@ module Aws::Lightsail
|
|
1365
2046
|
:source_disk_name,
|
1366
2047
|
:restore_date,
|
1367
2048
|
:use_latest_restorable_auto_snapshot)
|
2049
|
+
SENSITIVE = []
|
1368
2050
|
include Aws::Structure
|
1369
2051
|
end
|
1370
2052
|
|
@@ -1378,6 +2060,7 @@ module Aws::Lightsail
|
|
1378
2060
|
#
|
1379
2061
|
class CreateDiskFromSnapshotResult < Struct.new(
|
1380
2062
|
:operations)
|
2063
|
+
SENSITIVE = []
|
1381
2064
|
include Aws::Structure
|
1382
2065
|
end
|
1383
2066
|
|
@@ -1425,8 +2108,7 @@ module Aws::Lightsail
|
|
1425
2108
|
# The tag keys and optional values to add to the resource during
|
1426
2109
|
# create.
|
1427
2110
|
#
|
1428
|
-
#
|
1429
|
-
# operation.
|
2111
|
+
# Use the `TagResource` action to tag a resource after it's created.
|
1430
2112
|
# @return [Array<Types::Tag>]
|
1431
2113
|
#
|
1432
2114
|
# @!attribute [rw] add_ons
|
@@ -1442,6 +2124,7 @@ module Aws::Lightsail
|
|
1442
2124
|
:size_in_gb,
|
1443
2125
|
:tags,
|
1444
2126
|
:add_ons)
|
2127
|
+
SENSITIVE = []
|
1445
2128
|
include Aws::Structure
|
1446
2129
|
end
|
1447
2130
|
|
@@ -1455,6 +2138,7 @@ module Aws::Lightsail
|
|
1455
2138
|
#
|
1456
2139
|
class CreateDiskResult < Struct.new(
|
1457
2140
|
:operations)
|
2141
|
+
SENSITIVE = []
|
1458
2142
|
include Aws::Structure
|
1459
2143
|
end
|
1460
2144
|
|
@@ -1504,8 +2188,7 @@ module Aws::Lightsail
|
|
1504
2188
|
# The tag keys and optional values to add to the resource during
|
1505
2189
|
# create.
|
1506
2190
|
#
|
1507
|
-
#
|
1508
|
-
# operation.
|
2191
|
+
# Use the `TagResource` action to tag a resource after it's created.
|
1509
2192
|
# @return [Array<Types::Tag>]
|
1510
2193
|
#
|
1511
2194
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateDiskSnapshotRequest AWS API Documentation
|
@@ -1515,6 +2198,7 @@ module Aws::Lightsail
|
|
1515
2198
|
:disk_snapshot_name,
|
1516
2199
|
:instance_name,
|
1517
2200
|
:tags)
|
2201
|
+
SENSITIVE = []
|
1518
2202
|
include Aws::Structure
|
1519
2203
|
end
|
1520
2204
|
|
@@ -1528,6 +2212,131 @@ module Aws::Lightsail
|
|
1528
2212
|
#
|
1529
2213
|
class CreateDiskSnapshotResult < Struct.new(
|
1530
2214
|
:operations)
|
2215
|
+
SENSITIVE = []
|
2216
|
+
include Aws::Structure
|
2217
|
+
end
|
2218
|
+
|
2219
|
+
# @note When making an API call, you may pass CreateDistributionRequest
|
2220
|
+
# data as a hash:
|
2221
|
+
#
|
2222
|
+
# {
|
2223
|
+
# distribution_name: "ResourceName", # required
|
2224
|
+
# origin: { # required
|
2225
|
+
# name: "ResourceName",
|
2226
|
+
# region_name: "us-east-1", # accepts 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
|
2227
|
+
# protocol_policy: "http-only", # accepts http-only, https-only
|
2228
|
+
# },
|
2229
|
+
# default_cache_behavior: { # required
|
2230
|
+
# behavior: "dont-cache", # accepts dont-cache, cache
|
2231
|
+
# },
|
2232
|
+
# cache_behavior_settings: {
|
2233
|
+
# default_ttl: 1,
|
2234
|
+
# minimum_ttl: 1,
|
2235
|
+
# maximum_ttl: 1,
|
2236
|
+
# allowed_http_methods: "NonEmptyString",
|
2237
|
+
# cached_http_methods: "NonEmptyString",
|
2238
|
+
# forwarded_cookies: {
|
2239
|
+
# option: "none", # accepts none, allow-list, all
|
2240
|
+
# cookies_allow_list: ["string"],
|
2241
|
+
# },
|
2242
|
+
# forwarded_headers: {
|
2243
|
+
# option: "none", # accepts none, allow-list, all
|
2244
|
+
# headers_allow_list: ["Accept"], # accepts Accept, Accept-Charset, Accept-Datetime, Accept-Encoding, Accept-Language, Authorization, CloudFront-Forwarded-Proto, CloudFront-Is-Desktop-Viewer, CloudFront-Is-Mobile-Viewer, CloudFront-Is-SmartTV-Viewer, CloudFront-Is-Tablet-Viewer, CloudFront-Viewer-Country, Host, Origin, Referer
|
2245
|
+
# },
|
2246
|
+
# forwarded_query_strings: {
|
2247
|
+
# option: false,
|
2248
|
+
# query_strings_allow_list: ["string"],
|
2249
|
+
# },
|
2250
|
+
# },
|
2251
|
+
# cache_behaviors: [
|
2252
|
+
# {
|
2253
|
+
# path: "string",
|
2254
|
+
# behavior: "dont-cache", # accepts dont-cache, cache
|
2255
|
+
# },
|
2256
|
+
# ],
|
2257
|
+
# bundle_id: "string", # required
|
2258
|
+
# tags: [
|
2259
|
+
# {
|
2260
|
+
# key: "TagKey",
|
2261
|
+
# value: "TagValue",
|
2262
|
+
# },
|
2263
|
+
# ],
|
2264
|
+
# }
|
2265
|
+
#
|
2266
|
+
# @!attribute [rw] distribution_name
|
2267
|
+
# The name for the distribution.
|
2268
|
+
# @return [String]
|
2269
|
+
#
|
2270
|
+
# @!attribute [rw] origin
|
2271
|
+
# An object that describes the origin resource for the distribution,
|
2272
|
+
# such as a Lightsail instance or load balancer.
|
2273
|
+
#
|
2274
|
+
# The distribution pulls, caches, and serves content from the origin.
|
2275
|
+
# @return [Types::InputOrigin]
|
2276
|
+
#
|
2277
|
+
# @!attribute [rw] default_cache_behavior
|
2278
|
+
# An object that describes the default cache behavior for the
|
2279
|
+
# distribution.
|
2280
|
+
# @return [Types::CacheBehavior]
|
2281
|
+
#
|
2282
|
+
# @!attribute [rw] cache_behavior_settings
|
2283
|
+
# An object that describes the cache behavior settings for the
|
2284
|
+
# distribution.
|
2285
|
+
# @return [Types::CacheSettings]
|
2286
|
+
#
|
2287
|
+
# @!attribute [rw] cache_behaviors
|
2288
|
+
# An array of objects that describe the per-path cache behavior for
|
2289
|
+
# the distribution.
|
2290
|
+
# @return [Array<Types::CacheBehaviorPerPath>]
|
2291
|
+
#
|
2292
|
+
# @!attribute [rw] bundle_id
|
2293
|
+
# The bundle ID to use for the distribution.
|
2294
|
+
#
|
2295
|
+
# A distribution bundle describes the specifications of your
|
2296
|
+
# distribution, such as the monthly cost and monthly network transfer
|
2297
|
+
# quota.
|
2298
|
+
#
|
2299
|
+
# Use the `GetDistributionBundles` action to get a list of
|
2300
|
+
# distribution bundle IDs that you can specify.
|
2301
|
+
# @return [String]
|
2302
|
+
#
|
2303
|
+
# @!attribute [rw] tags
|
2304
|
+
# The tag keys and optional values to add to the distribution during
|
2305
|
+
# create.
|
2306
|
+
#
|
2307
|
+
# Use the `TagResource` action to tag a resource after it's created.
|
2308
|
+
# @return [Array<Types::Tag>]
|
2309
|
+
#
|
2310
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateDistributionRequest AWS API Documentation
|
2311
|
+
#
|
2312
|
+
class CreateDistributionRequest < Struct.new(
|
2313
|
+
:distribution_name,
|
2314
|
+
:origin,
|
2315
|
+
:default_cache_behavior,
|
2316
|
+
:cache_behavior_settings,
|
2317
|
+
:cache_behaviors,
|
2318
|
+
:bundle_id,
|
2319
|
+
:tags)
|
2320
|
+
SENSITIVE = []
|
2321
|
+
include Aws::Structure
|
2322
|
+
end
|
2323
|
+
|
2324
|
+
# @!attribute [rw] distribution
|
2325
|
+
# An object that describes the distribution created.
|
2326
|
+
# @return [Types::LightsailDistribution]
|
2327
|
+
#
|
2328
|
+
# @!attribute [rw] operation
|
2329
|
+
# An array of objects that describe the result of the action, such as
|
2330
|
+
# the status of the request, the timestamp of the request, and the
|
2331
|
+
# resources affected by the request.
|
2332
|
+
# @return [Types::Operation]
|
2333
|
+
#
|
2334
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateDistributionResult AWS API Documentation
|
2335
|
+
#
|
2336
|
+
class CreateDistributionResult < Struct.new(
|
2337
|
+
:distribution,
|
2338
|
+
:operation)
|
2339
|
+
SENSITIVE = []
|
1531
2340
|
include Aws::Structure
|
1532
2341
|
end
|
1533
2342
|
|
@@ -1563,6 +2372,7 @@ module Aws::Lightsail
|
|
1563
2372
|
class CreateDomainEntryRequest < Struct.new(
|
1564
2373
|
:domain_name,
|
1565
2374
|
:domain_entry)
|
2375
|
+
SENSITIVE = []
|
1566
2376
|
include Aws::Structure
|
1567
2377
|
end
|
1568
2378
|
|
@@ -1576,6 +2386,7 @@ module Aws::Lightsail
|
|
1576
2386
|
#
|
1577
2387
|
class CreateDomainEntryResult < Struct.new(
|
1578
2388
|
:operation)
|
2389
|
+
SENSITIVE = []
|
1579
2390
|
include Aws::Structure
|
1580
2391
|
end
|
1581
2392
|
|
@@ -1608,8 +2419,7 @@ module Aws::Lightsail
|
|
1608
2419
|
# The tag keys and optional values to add to the resource during
|
1609
2420
|
# create.
|
1610
2421
|
#
|
1611
|
-
#
|
1612
|
-
# operation.
|
2422
|
+
# Use the `TagResource` action to tag a resource after it's created.
|
1613
2423
|
# @return [Array<Types::Tag>]
|
1614
2424
|
#
|
1615
2425
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateDomainRequest AWS API Documentation
|
@@ -1617,6 +2427,7 @@ module Aws::Lightsail
|
|
1617
2427
|
class CreateDomainRequest < Struct.new(
|
1618
2428
|
:domain_name,
|
1619
2429
|
:tags)
|
2430
|
+
SENSITIVE = []
|
1620
2431
|
include Aws::Structure
|
1621
2432
|
end
|
1622
2433
|
|
@@ -1630,6 +2441,7 @@ module Aws::Lightsail
|
|
1630
2441
|
#
|
1631
2442
|
class CreateDomainResult < Struct.new(
|
1632
2443
|
:operation)
|
2444
|
+
SENSITIVE = []
|
1633
2445
|
include Aws::Structure
|
1634
2446
|
end
|
1635
2447
|
|
@@ -1659,8 +2471,7 @@ module Aws::Lightsail
|
|
1659
2471
|
# The tag keys and optional values to add to the resource during
|
1660
2472
|
# create.
|
1661
2473
|
#
|
1662
|
-
#
|
1663
|
-
# operation.
|
2474
|
+
# Use the `TagResource` action to tag a resource after it's created.
|
1664
2475
|
# @return [Array<Types::Tag>]
|
1665
2476
|
#
|
1666
2477
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateInstanceSnapshotRequest AWS API Documentation
|
@@ -1669,6 +2480,7 @@ module Aws::Lightsail
|
|
1669
2480
|
:instance_snapshot_name,
|
1670
2481
|
:instance_name,
|
1671
2482
|
:tags)
|
2483
|
+
SENSITIVE = []
|
1672
2484
|
include Aws::Structure
|
1673
2485
|
end
|
1674
2486
|
|
@@ -1682,6 +2494,7 @@ module Aws::Lightsail
|
|
1682
2494
|
#
|
1683
2495
|
class CreateInstanceSnapshotResult < Struct.new(
|
1684
2496
|
:operations)
|
2497
|
+
SENSITIVE = []
|
1685
2498
|
include Aws::Structure
|
1686
2499
|
end
|
1687
2500
|
|
@@ -1786,8 +2599,7 @@ module Aws::Lightsail
|
|
1786
2599
|
# The tag keys and optional values to add to the resource during
|
1787
2600
|
# create.
|
1788
2601
|
#
|
1789
|
-
#
|
1790
|
-
# operation.
|
2602
|
+
# Use the `TagResource` action to tag a resource after it's created.
|
1791
2603
|
# @return [Array<Types::Tag>]
|
1792
2604
|
#
|
1793
2605
|
# @!attribute [rw] add_ons
|
@@ -1871,6 +2683,7 @@ module Aws::Lightsail
|
|
1871
2683
|
:source_instance_name,
|
1872
2684
|
:restore_date,
|
1873
2685
|
:use_latest_restorable_auto_snapshot)
|
2686
|
+
SENSITIVE = []
|
1874
2687
|
include Aws::Structure
|
1875
2688
|
end
|
1876
2689
|
|
@@ -1884,6 +2697,7 @@ module Aws::Lightsail
|
|
1884
2697
|
#
|
1885
2698
|
class CreateInstancesFromSnapshotResult < Struct.new(
|
1886
2699
|
:operations)
|
2700
|
+
SENSITIVE = []
|
1887
2701
|
include Aws::Structure
|
1888
2702
|
end
|
1889
2703
|
|
@@ -1986,8 +2800,7 @@ module Aws::Lightsail
|
|
1986
2800
|
# The tag keys and optional values to add to the resource during
|
1987
2801
|
# create.
|
1988
2802
|
#
|
1989
|
-
#
|
1990
|
-
# operation.
|
2803
|
+
# Use the `TagResource` action to tag a resource after it's created.
|
1991
2804
|
# @return [Array<Types::Tag>]
|
1992
2805
|
#
|
1993
2806
|
# @!attribute [rw] add_ons
|
@@ -2007,6 +2820,7 @@ module Aws::Lightsail
|
|
2007
2820
|
:key_pair_name,
|
2008
2821
|
:tags,
|
2009
2822
|
:add_ons)
|
2823
|
+
SENSITIVE = []
|
2010
2824
|
include Aws::Structure
|
2011
2825
|
end
|
2012
2826
|
|
@@ -2020,6 +2834,7 @@ module Aws::Lightsail
|
|
2020
2834
|
#
|
2021
2835
|
class CreateInstancesResult < Struct.new(
|
2022
2836
|
:operations)
|
2837
|
+
SENSITIVE = []
|
2023
2838
|
include Aws::Structure
|
2024
2839
|
end
|
2025
2840
|
|
@@ -2044,8 +2859,7 @@ module Aws::Lightsail
|
|
2044
2859
|
# The tag keys and optional values to add to the resource during
|
2045
2860
|
# create.
|
2046
2861
|
#
|
2047
|
-
#
|
2048
|
-
# operation.
|
2862
|
+
# Use the `TagResource` action to tag a resource after it's created.
|
2049
2863
|
# @return [Array<Types::Tag>]
|
2050
2864
|
#
|
2051
2865
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateKeyPairRequest AWS API Documentation
|
@@ -2053,6 +2867,7 @@ module Aws::Lightsail
|
|
2053
2867
|
class CreateKeyPairRequest < Struct.new(
|
2054
2868
|
:key_pair_name,
|
2055
2869
|
:tags)
|
2870
|
+
SENSITIVE = []
|
2056
2871
|
include Aws::Structure
|
2057
2872
|
end
|
2058
2873
|
|
@@ -2082,6 +2897,7 @@ module Aws::Lightsail
|
|
2082
2897
|
:public_key_base_64,
|
2083
2898
|
:private_key_base_64,
|
2084
2899
|
:operation)
|
2900
|
+
SENSITIVE = []
|
2085
2901
|
include Aws::Structure
|
2086
2902
|
end
|
2087
2903
|
|
@@ -2146,8 +2962,7 @@ module Aws::Lightsail
|
|
2146
2962
|
# The tag keys and optional values to add to the resource during
|
2147
2963
|
# create.
|
2148
2964
|
#
|
2149
|
-
#
|
2150
|
-
# operation.
|
2965
|
+
# Use the `TagResource` action to tag a resource after it's created.
|
2151
2966
|
# @return [Array<Types::Tag>]
|
2152
2967
|
#
|
2153
2968
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateLoadBalancerRequest AWS API Documentation
|
@@ -2160,6 +2975,7 @@ module Aws::Lightsail
|
|
2160
2975
|
:certificate_domain_name,
|
2161
2976
|
:certificate_alternative_names,
|
2162
2977
|
:tags)
|
2978
|
+
SENSITIVE = []
|
2163
2979
|
include Aws::Structure
|
2164
2980
|
end
|
2165
2981
|
|
@@ -2173,6 +2989,7 @@ module Aws::Lightsail
|
|
2173
2989
|
#
|
2174
2990
|
class CreateLoadBalancerResult < Struct.new(
|
2175
2991
|
:operations)
|
2992
|
+
SENSITIVE = []
|
2176
2993
|
include Aws::Structure
|
2177
2994
|
end
|
2178
2995
|
|
@@ -2227,8 +3044,7 @@ module Aws::Lightsail
|
|
2227
3044
|
# The tag keys and optional values to add to the resource during
|
2228
3045
|
# create.
|
2229
3046
|
#
|
2230
|
-
#
|
2231
|
-
# operation.
|
3047
|
+
# Use the `TagResource` action to tag a resource after it's created.
|
2232
3048
|
# @return [Array<Types::Tag>]
|
2233
3049
|
#
|
2234
3050
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateLoadBalancerTlsCertificateRequest AWS API Documentation
|
@@ -2239,6 +3055,7 @@ module Aws::Lightsail
|
|
2239
3055
|
:certificate_domain_name,
|
2240
3056
|
:certificate_alternative_names,
|
2241
3057
|
:tags)
|
3058
|
+
SENSITIVE = []
|
2242
3059
|
include Aws::Structure
|
2243
3060
|
end
|
2244
3061
|
|
@@ -2252,6 +3069,7 @@ module Aws::Lightsail
|
|
2252
3069
|
#
|
2253
3070
|
class CreateLoadBalancerTlsCertificateResult < Struct.new(
|
2254
3071
|
:operations)
|
3072
|
+
SENSITIVE = []
|
2255
3073
|
include Aws::Structure
|
2256
3074
|
end
|
2257
3075
|
|
@@ -2354,8 +3172,7 @@ module Aws::Lightsail
|
|
2354
3172
|
# The tag keys and optional values to add to the resource during
|
2355
3173
|
# create.
|
2356
3174
|
#
|
2357
|
-
#
|
2358
|
-
# operation.
|
3175
|
+
# Use the `TagResource` action to tag a resource after it's created.
|
2359
3176
|
# @return [Array<Types::Tag>]
|
2360
3177
|
#
|
2361
3178
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateRelationalDatabaseFromSnapshotRequest AWS API Documentation
|
@@ -2370,6 +3187,7 @@ module Aws::Lightsail
|
|
2370
3187
|
:restore_time,
|
2371
3188
|
:use_latest_restorable_time,
|
2372
3189
|
:tags)
|
3190
|
+
SENSITIVE = []
|
2373
3191
|
include Aws::Structure
|
2374
3192
|
end
|
2375
3193
|
|
@@ -2383,6 +3201,7 @@ module Aws::Lightsail
|
|
2383
3201
|
#
|
2384
3202
|
class CreateRelationalDatabaseFromSnapshotResult < Struct.new(
|
2385
3203
|
:operations)
|
3204
|
+
SENSITIVE = []
|
2386
3205
|
include Aws::Structure
|
2387
3206
|
end
|
2388
3207
|
|
@@ -2545,8 +3364,7 @@ module Aws::Lightsail
|
|
2545
3364
|
# The tag keys and optional values to add to the resource during
|
2546
3365
|
# create.
|
2547
3366
|
#
|
2548
|
-
#
|
2549
|
-
# operation.
|
3367
|
+
# Use the `TagResource` action to tag a resource after it's created.
|
2550
3368
|
# @return [Array<Types::Tag>]
|
2551
3369
|
#
|
2552
3370
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateRelationalDatabaseRequest AWS API Documentation
|
@@ -2563,6 +3381,7 @@ module Aws::Lightsail
|
|
2563
3381
|
:preferred_maintenance_window,
|
2564
3382
|
:publicly_accessible,
|
2565
3383
|
:tags)
|
3384
|
+
SENSITIVE = [:master_user_password]
|
2566
3385
|
include Aws::Structure
|
2567
3386
|
end
|
2568
3387
|
|
@@ -2576,6 +3395,7 @@ module Aws::Lightsail
|
|
2576
3395
|
#
|
2577
3396
|
class CreateRelationalDatabaseResult < Struct.new(
|
2578
3397
|
:operations)
|
3398
|
+
SENSITIVE = []
|
2579
3399
|
include Aws::Structure
|
2580
3400
|
end
|
2581
3401
|
|
@@ -2611,8 +3431,7 @@ module Aws::Lightsail
|
|
2611
3431
|
# The tag keys and optional values to add to the resource during
|
2612
3432
|
# create.
|
2613
3433
|
#
|
2614
|
-
#
|
2615
|
-
# operation.
|
3434
|
+
# Use the `TagResource` action to tag a resource after it's created.
|
2616
3435
|
# @return [Array<Types::Tag>]
|
2617
3436
|
#
|
2618
3437
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateRelationalDatabaseSnapshotRequest AWS API Documentation
|
@@ -2621,6 +3440,7 @@ module Aws::Lightsail
|
|
2621
3440
|
:relational_database_name,
|
2622
3441
|
:relational_database_snapshot_name,
|
2623
3442
|
:tags)
|
3443
|
+
SENSITIVE = []
|
2624
3444
|
include Aws::Structure
|
2625
3445
|
end
|
2626
3446
|
|
@@ -2634,6 +3454,7 @@ module Aws::Lightsail
|
|
2634
3454
|
#
|
2635
3455
|
class CreateRelationalDatabaseSnapshotResult < Struct.new(
|
2636
3456
|
:operations)
|
3457
|
+
SENSITIVE = []
|
2637
3458
|
include Aws::Structure
|
2638
3459
|
end
|
2639
3460
|
|
@@ -2652,6 +3473,7 @@ module Aws::Lightsail
|
|
2652
3473
|
#
|
2653
3474
|
class DeleteAlarmRequest < Struct.new(
|
2654
3475
|
:alarm_name)
|
3476
|
+
SENSITIVE = []
|
2655
3477
|
include Aws::Structure
|
2656
3478
|
end
|
2657
3479
|
|
@@ -2665,6 +3487,7 @@ module Aws::Lightsail
|
|
2665
3487
|
#
|
2666
3488
|
class DeleteAlarmResult < Struct.new(
|
2667
3489
|
:operations)
|
3490
|
+
SENSITIVE = []
|
2668
3491
|
include Aws::Structure
|
2669
3492
|
end
|
2670
3493
|
|
@@ -2692,6 +3515,7 @@ module Aws::Lightsail
|
|
2692
3515
|
class DeleteAutoSnapshotRequest < Struct.new(
|
2693
3516
|
:resource_name,
|
2694
3517
|
:date)
|
3518
|
+
SENSITIVE = []
|
2695
3519
|
include Aws::Structure
|
2696
3520
|
end
|
2697
3521
|
|
@@ -2705,6 +3529,43 @@ module Aws::Lightsail
|
|
2705
3529
|
#
|
2706
3530
|
class DeleteAutoSnapshotResult < Struct.new(
|
2707
3531
|
:operations)
|
3532
|
+
SENSITIVE = []
|
3533
|
+
include Aws::Structure
|
3534
|
+
end
|
3535
|
+
|
3536
|
+
# @note When making an API call, you may pass DeleteCertificateRequest
|
3537
|
+
# data as a hash:
|
3538
|
+
#
|
3539
|
+
# {
|
3540
|
+
# certificate_name: "CertificateName", # required
|
3541
|
+
# }
|
3542
|
+
#
|
3543
|
+
# @!attribute [rw] certificate_name
|
3544
|
+
# The name of the certificate to delete.
|
3545
|
+
#
|
3546
|
+
# Use the `GetCertificates` action to get a list of certificate names
|
3547
|
+
# that you can specify.
|
3548
|
+
# @return [String]
|
3549
|
+
#
|
3550
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteCertificateRequest AWS API Documentation
|
3551
|
+
#
|
3552
|
+
class DeleteCertificateRequest < Struct.new(
|
3553
|
+
:certificate_name)
|
3554
|
+
SENSITIVE = []
|
3555
|
+
include Aws::Structure
|
3556
|
+
end
|
3557
|
+
|
3558
|
+
# @!attribute [rw] operations
|
3559
|
+
# An array of objects that describe the result of the action, such as
|
3560
|
+
# the status of the request, the timestamp of the request, and the
|
3561
|
+
# resources affected by the request.
|
3562
|
+
# @return [Array<Types::Operation>]
|
3563
|
+
#
|
3564
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteCertificateResult AWS API Documentation
|
3565
|
+
#
|
3566
|
+
class DeleteCertificateResult < Struct.new(
|
3567
|
+
:operations)
|
3568
|
+
SENSITIVE = []
|
2708
3569
|
include Aws::Structure
|
2709
3570
|
end
|
2710
3571
|
|
@@ -2730,6 +3591,7 @@ module Aws::Lightsail
|
|
2730
3591
|
#
|
2731
3592
|
class DeleteContactMethodRequest < Struct.new(
|
2732
3593
|
:protocol)
|
3594
|
+
SENSITIVE = []
|
2733
3595
|
include Aws::Structure
|
2734
3596
|
end
|
2735
3597
|
|
@@ -2743,6 +3605,7 @@ module Aws::Lightsail
|
|
2743
3605
|
#
|
2744
3606
|
class DeleteContactMethodResult < Struct.new(
|
2745
3607
|
:operations)
|
3608
|
+
SENSITIVE = []
|
2746
3609
|
include Aws::Structure
|
2747
3610
|
end
|
2748
3611
|
|
@@ -2768,6 +3631,7 @@ module Aws::Lightsail
|
|
2768
3631
|
class DeleteDiskRequest < Struct.new(
|
2769
3632
|
:disk_name,
|
2770
3633
|
:force_delete_add_ons)
|
3634
|
+
SENSITIVE = []
|
2771
3635
|
include Aws::Structure
|
2772
3636
|
end
|
2773
3637
|
|
@@ -2781,6 +3645,7 @@ module Aws::Lightsail
|
|
2781
3645
|
#
|
2782
3646
|
class DeleteDiskResult < Struct.new(
|
2783
3647
|
:operations)
|
3648
|
+
SENSITIVE = []
|
2784
3649
|
include Aws::Structure
|
2785
3650
|
end
|
2786
3651
|
|
@@ -2800,6 +3665,7 @@ module Aws::Lightsail
|
|
2800
3665
|
#
|
2801
3666
|
class DeleteDiskSnapshotRequest < Struct.new(
|
2802
3667
|
:disk_snapshot_name)
|
3668
|
+
SENSITIVE = []
|
2803
3669
|
include Aws::Structure
|
2804
3670
|
end
|
2805
3671
|
|
@@ -2813,6 +3679,43 @@ module Aws::Lightsail
|
|
2813
3679
|
#
|
2814
3680
|
class DeleteDiskSnapshotResult < Struct.new(
|
2815
3681
|
:operations)
|
3682
|
+
SENSITIVE = []
|
3683
|
+
include Aws::Structure
|
3684
|
+
end
|
3685
|
+
|
3686
|
+
# @note When making an API call, you may pass DeleteDistributionRequest
|
3687
|
+
# data as a hash:
|
3688
|
+
#
|
3689
|
+
# {
|
3690
|
+
# distribution_name: "ResourceName",
|
3691
|
+
# }
|
3692
|
+
#
|
3693
|
+
# @!attribute [rw] distribution_name
|
3694
|
+
# The name of the distribution to delete.
|
3695
|
+
#
|
3696
|
+
# Use the `GetDistributions` action to get a list of distribution
|
3697
|
+
# names that you can specify.
|
3698
|
+
# @return [String]
|
3699
|
+
#
|
3700
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteDistributionRequest AWS API Documentation
|
3701
|
+
#
|
3702
|
+
class DeleteDistributionRequest < Struct.new(
|
3703
|
+
:distribution_name)
|
3704
|
+
SENSITIVE = []
|
3705
|
+
include Aws::Structure
|
3706
|
+
end
|
3707
|
+
|
3708
|
+
# @!attribute [rw] operation
|
3709
|
+
# An object that describes the result of the action, such as the
|
3710
|
+
# status of the request, the timestamp of the request, and the
|
3711
|
+
# resources affected by the request.
|
3712
|
+
# @return [Types::Operation]
|
3713
|
+
#
|
3714
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteDistributionResult AWS API Documentation
|
3715
|
+
#
|
3716
|
+
class DeleteDistributionResult < Struct.new(
|
3717
|
+
:operation)
|
3718
|
+
SENSITIVE = []
|
2816
3719
|
include Aws::Structure
|
2817
3720
|
end
|
2818
3721
|
|
@@ -2847,6 +3750,7 @@ module Aws::Lightsail
|
|
2847
3750
|
class DeleteDomainEntryRequest < Struct.new(
|
2848
3751
|
:domain_name,
|
2849
3752
|
:domain_entry)
|
3753
|
+
SENSITIVE = []
|
2850
3754
|
include Aws::Structure
|
2851
3755
|
end
|
2852
3756
|
|
@@ -2860,6 +3764,7 @@ module Aws::Lightsail
|
|
2860
3764
|
#
|
2861
3765
|
class DeleteDomainEntryResult < Struct.new(
|
2862
3766
|
:operation)
|
3767
|
+
SENSITIVE = []
|
2863
3768
|
include Aws::Structure
|
2864
3769
|
end
|
2865
3770
|
|
@@ -2878,6 +3783,7 @@ module Aws::Lightsail
|
|
2878
3783
|
#
|
2879
3784
|
class DeleteDomainRequest < Struct.new(
|
2880
3785
|
:domain_name)
|
3786
|
+
SENSITIVE = []
|
2881
3787
|
include Aws::Structure
|
2882
3788
|
end
|
2883
3789
|
|
@@ -2891,6 +3797,7 @@ module Aws::Lightsail
|
|
2891
3797
|
#
|
2892
3798
|
class DeleteDomainResult < Struct.new(
|
2893
3799
|
:operation)
|
3800
|
+
SENSITIVE = []
|
2894
3801
|
include Aws::Structure
|
2895
3802
|
end
|
2896
3803
|
|
@@ -2916,6 +3823,7 @@ module Aws::Lightsail
|
|
2916
3823
|
class DeleteInstanceRequest < Struct.new(
|
2917
3824
|
:instance_name,
|
2918
3825
|
:force_delete_add_ons)
|
3826
|
+
SENSITIVE = []
|
2919
3827
|
include Aws::Structure
|
2920
3828
|
end
|
2921
3829
|
|
@@ -2929,6 +3837,7 @@ module Aws::Lightsail
|
|
2929
3837
|
#
|
2930
3838
|
class DeleteInstanceResult < Struct.new(
|
2931
3839
|
:operations)
|
3840
|
+
SENSITIVE = []
|
2932
3841
|
include Aws::Structure
|
2933
3842
|
end
|
2934
3843
|
|
@@ -2947,6 +3856,7 @@ module Aws::Lightsail
|
|
2947
3856
|
#
|
2948
3857
|
class DeleteInstanceSnapshotRequest < Struct.new(
|
2949
3858
|
:instance_snapshot_name)
|
3859
|
+
SENSITIVE = []
|
2950
3860
|
include Aws::Structure
|
2951
3861
|
end
|
2952
3862
|
|
@@ -2960,6 +3870,7 @@ module Aws::Lightsail
|
|
2960
3870
|
#
|
2961
3871
|
class DeleteInstanceSnapshotResult < Struct.new(
|
2962
3872
|
:operations)
|
3873
|
+
SENSITIVE = []
|
2963
3874
|
include Aws::Structure
|
2964
3875
|
end
|
2965
3876
|
|
@@ -2978,6 +3889,7 @@ module Aws::Lightsail
|
|
2978
3889
|
#
|
2979
3890
|
class DeleteKeyPairRequest < Struct.new(
|
2980
3891
|
:key_pair_name)
|
3892
|
+
SENSITIVE = []
|
2981
3893
|
include Aws::Structure
|
2982
3894
|
end
|
2983
3895
|
|
@@ -2991,6 +3903,7 @@ module Aws::Lightsail
|
|
2991
3903
|
#
|
2992
3904
|
class DeleteKeyPairResult < Struct.new(
|
2993
3905
|
:operation)
|
3906
|
+
SENSITIVE = []
|
2994
3907
|
include Aws::Structure
|
2995
3908
|
end
|
2996
3909
|
|
@@ -3010,6 +3923,7 @@ module Aws::Lightsail
|
|
3010
3923
|
#
|
3011
3924
|
class DeleteKnownHostKeysRequest < Struct.new(
|
3012
3925
|
:instance_name)
|
3926
|
+
SENSITIVE = []
|
3013
3927
|
include Aws::Structure
|
3014
3928
|
end
|
3015
3929
|
|
@@ -3023,6 +3937,7 @@ module Aws::Lightsail
|
|
3023
3937
|
#
|
3024
3938
|
class DeleteKnownHostKeysResult < Struct.new(
|
3025
3939
|
:operations)
|
3940
|
+
SENSITIVE = []
|
3026
3941
|
include Aws::Structure
|
3027
3942
|
end
|
3028
3943
|
|
@@ -3041,6 +3956,7 @@ module Aws::Lightsail
|
|
3041
3956
|
#
|
3042
3957
|
class DeleteLoadBalancerRequest < Struct.new(
|
3043
3958
|
:load_balancer_name)
|
3959
|
+
SENSITIVE = []
|
3044
3960
|
include Aws::Structure
|
3045
3961
|
end
|
3046
3962
|
|
@@ -3054,6 +3970,7 @@ module Aws::Lightsail
|
|
3054
3970
|
#
|
3055
3971
|
class DeleteLoadBalancerResult < Struct.new(
|
3056
3972
|
:operations)
|
3973
|
+
SENSITIVE = []
|
3057
3974
|
include Aws::Structure
|
3058
3975
|
end
|
3059
3976
|
|
@@ -3089,6 +4006,7 @@ module Aws::Lightsail
|
|
3089
4006
|
:load_balancer_name,
|
3090
4007
|
:certificate_name,
|
3091
4008
|
:force)
|
4009
|
+
SENSITIVE = []
|
3092
4010
|
include Aws::Structure
|
3093
4011
|
end
|
3094
4012
|
|
@@ -3102,6 +4020,7 @@ module Aws::Lightsail
|
|
3102
4020
|
#
|
3103
4021
|
class DeleteLoadBalancerTlsCertificateResult < Struct.new(
|
3104
4022
|
:operations)
|
4023
|
+
SENSITIVE = []
|
3105
4024
|
include Aws::Structure
|
3106
4025
|
end
|
3107
4026
|
|
@@ -3152,6 +4071,7 @@ module Aws::Lightsail
|
|
3152
4071
|
:relational_database_name,
|
3153
4072
|
:skip_final_snapshot,
|
3154
4073
|
:final_relational_database_snapshot_name)
|
4074
|
+
SENSITIVE = []
|
3155
4075
|
include Aws::Structure
|
3156
4076
|
end
|
3157
4077
|
|
@@ -3165,6 +4085,7 @@ module Aws::Lightsail
|
|
3165
4085
|
#
|
3166
4086
|
class DeleteRelationalDatabaseResult < Struct.new(
|
3167
4087
|
:operations)
|
4088
|
+
SENSITIVE = []
|
3168
4089
|
include Aws::Structure
|
3169
4090
|
end
|
3170
4091
|
|
@@ -3183,6 +4104,7 @@ module Aws::Lightsail
|
|
3183
4104
|
#
|
3184
4105
|
class DeleteRelationalDatabaseSnapshotRequest < Struct.new(
|
3185
4106
|
:relational_database_snapshot_name)
|
4107
|
+
SENSITIVE = []
|
3186
4108
|
include Aws::Structure
|
3187
4109
|
end
|
3188
4110
|
|
@@ -3196,6 +4118,7 @@ module Aws::Lightsail
|
|
3196
4118
|
#
|
3197
4119
|
class DeleteRelationalDatabaseSnapshotResult < Struct.new(
|
3198
4120
|
:operations)
|
4121
|
+
SENSITIVE = []
|
3199
4122
|
include Aws::Structure
|
3200
4123
|
end
|
3201
4124
|
|
@@ -3214,6 +4137,43 @@ module Aws::Lightsail
|
|
3214
4137
|
class DestinationInfo < Struct.new(
|
3215
4138
|
:id,
|
3216
4139
|
:service)
|
4140
|
+
SENSITIVE = []
|
4141
|
+
include Aws::Structure
|
4142
|
+
end
|
4143
|
+
|
4144
|
+
# @note When making an API call, you may pass DetachCertificateFromDistributionRequest
|
4145
|
+
# data as a hash:
|
4146
|
+
#
|
4147
|
+
# {
|
4148
|
+
# distribution_name: "ResourceName", # required
|
4149
|
+
# }
|
4150
|
+
#
|
4151
|
+
# @!attribute [rw] distribution_name
|
4152
|
+
# The name of the distribution from which to detach the certificate.
|
4153
|
+
#
|
4154
|
+
# Use the `GetDistributions` action to get a list of distribution
|
4155
|
+
# names that you can specify.
|
4156
|
+
# @return [String]
|
4157
|
+
#
|
4158
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DetachCertificateFromDistributionRequest AWS API Documentation
|
4159
|
+
#
|
4160
|
+
class DetachCertificateFromDistributionRequest < Struct.new(
|
4161
|
+
:distribution_name)
|
4162
|
+
SENSITIVE = []
|
4163
|
+
include Aws::Structure
|
4164
|
+
end
|
4165
|
+
|
4166
|
+
# @!attribute [rw] operation
|
4167
|
+
# An object that describes the result of the action, such as the
|
4168
|
+
# status of the request, the timestamp of the request, and the
|
4169
|
+
# resources affected by the request.
|
4170
|
+
# @return [Types::Operation]
|
4171
|
+
#
|
4172
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DetachCertificateFromDistributionResult AWS API Documentation
|
4173
|
+
#
|
4174
|
+
class DetachCertificateFromDistributionResult < Struct.new(
|
4175
|
+
:operation)
|
4176
|
+
SENSITIVE = []
|
3217
4177
|
include Aws::Structure
|
3218
4178
|
end
|
3219
4179
|
|
@@ -3233,6 +4193,7 @@ module Aws::Lightsail
|
|
3233
4193
|
#
|
3234
4194
|
class DetachDiskRequest < Struct.new(
|
3235
4195
|
:disk_name)
|
4196
|
+
SENSITIVE = []
|
3236
4197
|
include Aws::Structure
|
3237
4198
|
end
|
3238
4199
|
|
@@ -3246,6 +4207,7 @@ module Aws::Lightsail
|
|
3246
4207
|
#
|
3247
4208
|
class DetachDiskResult < Struct.new(
|
3248
4209
|
:operations)
|
4210
|
+
SENSITIVE = []
|
3249
4211
|
include Aws::Structure
|
3250
4212
|
end
|
3251
4213
|
|
@@ -3271,6 +4233,7 @@ module Aws::Lightsail
|
|
3271
4233
|
class DetachInstancesFromLoadBalancerRequest < Struct.new(
|
3272
4234
|
:load_balancer_name,
|
3273
4235
|
:instance_names)
|
4236
|
+
SENSITIVE = []
|
3274
4237
|
include Aws::Structure
|
3275
4238
|
end
|
3276
4239
|
|
@@ -3284,6 +4247,7 @@ module Aws::Lightsail
|
|
3284
4247
|
#
|
3285
4248
|
class DetachInstancesFromLoadBalancerResult < Struct.new(
|
3286
4249
|
:operations)
|
4250
|
+
SENSITIVE = []
|
3287
4251
|
include Aws::Structure
|
3288
4252
|
end
|
3289
4253
|
|
@@ -3302,6 +4266,7 @@ module Aws::Lightsail
|
|
3302
4266
|
#
|
3303
4267
|
class DetachStaticIpRequest < Struct.new(
|
3304
4268
|
:static_ip_name)
|
4269
|
+
SENSITIVE = []
|
3305
4270
|
include Aws::Structure
|
3306
4271
|
end
|
3307
4272
|
|
@@ -3315,6 +4280,7 @@ module Aws::Lightsail
|
|
3315
4280
|
#
|
3316
4281
|
class DetachStaticIpResult < Struct.new(
|
3317
4282
|
:operations)
|
4283
|
+
SENSITIVE = []
|
3318
4284
|
include Aws::Structure
|
3319
4285
|
end
|
3320
4286
|
|
@@ -3339,6 +4305,7 @@ module Aws::Lightsail
|
|
3339
4305
|
class DisableAddOnRequest < Struct.new(
|
3340
4306
|
:add_on_type,
|
3341
4307
|
:resource_name)
|
4308
|
+
SENSITIVE = []
|
3342
4309
|
include Aws::Structure
|
3343
4310
|
end
|
3344
4311
|
|
@@ -3352,6 +4319,7 @@ module Aws::Lightsail
|
|
3352
4319
|
#
|
3353
4320
|
class DisableAddOnResult < Struct.new(
|
3354
4321
|
:operations)
|
4322
|
+
SENSITIVE = []
|
3355
4323
|
include Aws::Structure
|
3356
4324
|
end
|
3357
4325
|
|
@@ -3467,6 +4435,7 @@ module Aws::Lightsail
|
|
3467
4435
|
:is_attached,
|
3468
4436
|
:attachment_state,
|
3469
4437
|
:gb_in_use)
|
4438
|
+
SENSITIVE = []
|
3470
4439
|
include Aws::Structure
|
3471
4440
|
end
|
3472
4441
|
|
@@ -3496,6 +4465,7 @@ module Aws::Lightsail
|
|
3496
4465
|
:path,
|
3497
4466
|
:size_in_gb,
|
3498
4467
|
:is_system_disk)
|
4468
|
+
SENSITIVE = []
|
3499
4469
|
include Aws::Structure
|
3500
4470
|
end
|
3501
4471
|
|
@@ -3523,6 +4493,7 @@ module Aws::Lightsail
|
|
3523
4493
|
class DiskMap < Struct.new(
|
3524
4494
|
:original_disk_path,
|
3525
4495
|
:new_disk_name)
|
4496
|
+
SENSITIVE = []
|
3526
4497
|
include Aws::Structure
|
3527
4498
|
end
|
3528
4499
|
|
@@ -3621,6 +4592,7 @@ module Aws::Lightsail
|
|
3621
4592
|
:from_instance_name,
|
3622
4593
|
:from_instance_arn,
|
3623
4594
|
:is_from_auto_snapshot)
|
4595
|
+
SENSITIVE = []
|
3624
4596
|
include Aws::Structure
|
3625
4597
|
end
|
3626
4598
|
|
@@ -3634,6 +4606,42 @@ module Aws::Lightsail
|
|
3634
4606
|
#
|
3635
4607
|
class DiskSnapshotInfo < Struct.new(
|
3636
4608
|
:size_in_gb)
|
4609
|
+
SENSITIVE = []
|
4610
|
+
include Aws::Structure
|
4611
|
+
end
|
4612
|
+
|
4613
|
+
# Describes the specifications of a distribution bundle.
|
4614
|
+
#
|
4615
|
+
# @!attribute [rw] bundle_id
|
4616
|
+
# The ID of the bundle.
|
4617
|
+
# @return [String]
|
4618
|
+
#
|
4619
|
+
# @!attribute [rw] name
|
4620
|
+
# The name of the distribution bundle.
|
4621
|
+
# @return [String]
|
4622
|
+
#
|
4623
|
+
# @!attribute [rw] price
|
4624
|
+
# The monthly price, in US dollars, of the bundle.
|
4625
|
+
# @return [Float]
|
4626
|
+
#
|
4627
|
+
# @!attribute [rw] transfer_per_month_in_gb
|
4628
|
+
# The monthly network transfer quota of the bundle.
|
4629
|
+
# @return [Integer]
|
4630
|
+
#
|
4631
|
+
# @!attribute [rw] is_active
|
4632
|
+
# Indicates whether the bundle is active, and can be specified for a
|
4633
|
+
# new distribution.
|
4634
|
+
# @return [Boolean]
|
4635
|
+
#
|
4636
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DistributionBundle AWS API Documentation
|
4637
|
+
#
|
4638
|
+
class DistributionBundle < Struct.new(
|
4639
|
+
:bundle_id,
|
4640
|
+
:name,
|
4641
|
+
:price,
|
4642
|
+
:transfer_per_month_in_gb,
|
4643
|
+
:is_active)
|
4644
|
+
SENSITIVE = []
|
3637
4645
|
include Aws::Structure
|
3638
4646
|
end
|
3639
4647
|
|
@@ -3694,6 +4702,7 @@ module Aws::Lightsail
|
|
3694
4702
|
:resource_type,
|
3695
4703
|
:tags,
|
3696
4704
|
:domain_entries)
|
4705
|
+
SENSITIVE = []
|
3697
4706
|
include Aws::Structure
|
3698
4707
|
end
|
3699
4708
|
|
@@ -3777,6 +4786,29 @@ module Aws::Lightsail
|
|
3777
4786
|
:is_alias,
|
3778
4787
|
:type,
|
3779
4788
|
:options)
|
4789
|
+
SENSITIVE = []
|
4790
|
+
include Aws::Structure
|
4791
|
+
end
|
4792
|
+
|
4793
|
+
# Describes the domain validation records of an Amazon Lightsail SSL/TLS
|
4794
|
+
# certificate.
|
4795
|
+
#
|
4796
|
+
# @!attribute [rw] domain_name
|
4797
|
+
# The domain name of the certificate validation record. For example,
|
4798
|
+
# `example.com` or `www.example.com`.
|
4799
|
+
# @return [String]
|
4800
|
+
#
|
4801
|
+
# @!attribute [rw] resource_record
|
4802
|
+
# An object that describes the DNS records to add to your domain's
|
4803
|
+
# DNS to validate it for the certificate.
|
4804
|
+
# @return [Types::ResourceRecord]
|
4805
|
+
#
|
4806
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DomainValidationRecord AWS API Documentation
|
4807
|
+
#
|
4808
|
+
class DomainValidationRecord < Struct.new(
|
4809
|
+
:domain_name,
|
4810
|
+
:resource_record)
|
4811
|
+
SENSITIVE = []
|
3780
4812
|
include Aws::Structure
|
3781
4813
|
end
|
3782
4814
|
|
@@ -3799,6 +4831,7 @@ module Aws::Lightsail
|
|
3799
4831
|
class DownloadDefaultKeyPairResult < Struct.new(
|
3800
4832
|
:public_key_base_64,
|
3801
4833
|
:private_key_base_64)
|
4834
|
+
SENSITIVE = []
|
3802
4835
|
include Aws::Structure
|
3803
4836
|
end
|
3804
4837
|
|
@@ -3829,6 +4862,7 @@ module Aws::Lightsail
|
|
3829
4862
|
class EnableAddOnRequest < Struct.new(
|
3830
4863
|
:resource_name,
|
3831
4864
|
:add_on_request)
|
4865
|
+
SENSITIVE = []
|
3832
4866
|
include Aws::Structure
|
3833
4867
|
end
|
3834
4868
|
|
@@ -3842,6 +4876,7 @@ module Aws::Lightsail
|
|
3842
4876
|
#
|
3843
4877
|
class EnableAddOnResult < Struct.new(
|
3844
4878
|
:operations)
|
4879
|
+
SENSITIVE = []
|
3845
4880
|
include Aws::Structure
|
3846
4881
|
end
|
3847
4882
|
|
@@ -3893,6 +4928,7 @@ module Aws::Lightsail
|
|
3893
4928
|
:state,
|
3894
4929
|
:source_info,
|
3895
4930
|
:destination_info)
|
4931
|
+
SENSITIVE = []
|
3896
4932
|
include Aws::Structure
|
3897
4933
|
end
|
3898
4934
|
|
@@ -3944,6 +4980,7 @@ module Aws::Lightsail
|
|
3944
4980
|
:from_resource_arn,
|
3945
4981
|
:instance_snapshot_info,
|
3946
4982
|
:disk_snapshot_info)
|
4983
|
+
SENSITIVE = []
|
3947
4984
|
include Aws::Structure
|
3948
4985
|
end
|
3949
4986
|
|
@@ -3963,6 +5000,7 @@ module Aws::Lightsail
|
|
3963
5000
|
#
|
3964
5001
|
class ExportSnapshotRequest < Struct.new(
|
3965
5002
|
:source_snapshot_name)
|
5003
|
+
SENSITIVE = []
|
3966
5004
|
include Aws::Structure
|
3967
5005
|
end
|
3968
5006
|
|
@@ -3976,6 +5014,7 @@ module Aws::Lightsail
|
|
3976
5014
|
#
|
3977
5015
|
class ExportSnapshotResult < Struct.new(
|
3978
5016
|
:operations)
|
5017
|
+
SENSITIVE = []
|
3979
5018
|
include Aws::Structure
|
3980
5019
|
end
|
3981
5020
|
|
@@ -3999,6 +5038,7 @@ module Aws::Lightsail
|
|
3999
5038
|
#
|
4000
5039
|
class GetActiveNamesRequest < Struct.new(
|
4001
5040
|
:page_token)
|
5041
|
+
SENSITIVE = []
|
4002
5042
|
include Aws::Structure
|
4003
5043
|
end
|
4004
5044
|
|
@@ -4022,6 +5062,7 @@ module Aws::Lightsail
|
|
4022
5062
|
class GetActiveNamesResult < Struct.new(
|
4023
5063
|
:active_names,
|
4024
5064
|
:next_page_token)
|
5065
|
+
SENSITIVE = []
|
4025
5066
|
include Aws::Structure
|
4026
5067
|
end
|
4027
5068
|
|
@@ -4061,6 +5102,7 @@ module Aws::Lightsail
|
|
4061
5102
|
:alarm_name,
|
4062
5103
|
:page_token,
|
4063
5104
|
:monitored_resource_name)
|
5105
|
+
SENSITIVE = []
|
4064
5106
|
include Aws::Structure
|
4065
5107
|
end
|
4066
5108
|
|
@@ -4083,6 +5125,7 @@ module Aws::Lightsail
|
|
4083
5125
|
class GetAlarmsResult < Struct.new(
|
4084
5126
|
:alarms,
|
4085
5127
|
:next_page_token)
|
5128
|
+
SENSITIVE = []
|
4086
5129
|
include Aws::Structure
|
4087
5130
|
end
|
4088
5131
|
|
@@ -4102,6 +5145,7 @@ module Aws::Lightsail
|
|
4102
5145
|
#
|
4103
5146
|
class GetAutoSnapshotsRequest < Struct.new(
|
4104
5147
|
:resource_name)
|
5148
|
+
SENSITIVE = []
|
4105
5149
|
include Aws::Structure
|
4106
5150
|
end
|
4107
5151
|
|
@@ -4124,6 +5168,7 @@ module Aws::Lightsail
|
|
4124
5168
|
:resource_name,
|
4125
5169
|
:resource_type,
|
4126
5170
|
:auto_snapshots)
|
5171
|
+
SENSITIVE = []
|
4127
5172
|
include Aws::Structure
|
4128
5173
|
end
|
4129
5174
|
|
@@ -4154,6 +5199,7 @@ module Aws::Lightsail
|
|
4154
5199
|
class GetBlueprintsRequest < Struct.new(
|
4155
5200
|
:include_inactive,
|
4156
5201
|
:page_token)
|
5202
|
+
SENSITIVE = []
|
4157
5203
|
include Aws::Structure
|
4158
5204
|
end
|
4159
5205
|
|
@@ -4178,6 +5224,7 @@ module Aws::Lightsail
|
|
4178
5224
|
class GetBlueprintsResult < Struct.new(
|
4179
5225
|
:blueprints,
|
4180
5226
|
:next_page_token)
|
5227
|
+
SENSITIVE = []
|
4181
5228
|
include Aws::Structure
|
4182
5229
|
end
|
4183
5230
|
|
@@ -4208,6 +5255,7 @@ module Aws::Lightsail
|
|
4208
5255
|
class GetBundlesRequest < Struct.new(
|
4209
5256
|
:include_inactive,
|
4210
5257
|
:page_token)
|
5258
|
+
SENSITIVE = []
|
4211
5259
|
include Aws::Structure
|
4212
5260
|
end
|
4213
5261
|
|
@@ -4232,6 +5280,64 @@ module Aws::Lightsail
|
|
4232
5280
|
class GetBundlesResult < Struct.new(
|
4233
5281
|
:bundles,
|
4234
5282
|
:next_page_token)
|
5283
|
+
SENSITIVE = []
|
5284
|
+
include Aws::Structure
|
5285
|
+
end
|
5286
|
+
|
5287
|
+
# @note When making an API call, you may pass GetCertificatesRequest
|
5288
|
+
# data as a hash:
|
5289
|
+
#
|
5290
|
+
# {
|
5291
|
+
# certificate_statuses: ["PENDING_VALIDATION"], # accepts PENDING_VALIDATION, ISSUED, INACTIVE, EXPIRED, VALIDATION_TIMED_OUT, REVOKED, FAILED
|
5292
|
+
# include_certificate_details: false,
|
5293
|
+
# certificate_name: "CertificateName",
|
5294
|
+
# }
|
5295
|
+
#
|
5296
|
+
# @!attribute [rw] certificate_statuses
|
5297
|
+
# The status of the certificates for which to return information.
|
5298
|
+
#
|
5299
|
+
# For example, specify `ISSUED` to return only certificates with an
|
5300
|
+
# `ISSUED` status.
|
5301
|
+
#
|
5302
|
+
# When omitted, the response includes all of your certificates in the
|
5303
|
+
# AWS region where the request is made, regardless of their current
|
5304
|
+
# status.
|
5305
|
+
# @return [Array<String>]
|
5306
|
+
#
|
5307
|
+
# @!attribute [rw] include_certificate_details
|
5308
|
+
# Indicates whether to include detailed information about the
|
5309
|
+
# certificates in the response.
|
5310
|
+
#
|
5311
|
+
# When omitted, the response includes only the certificate names,
|
5312
|
+
# Amazon Resource Names (ARNs), domain names, and tags.
|
5313
|
+
# @return [Boolean]
|
5314
|
+
#
|
5315
|
+
# @!attribute [rw] certificate_name
|
5316
|
+
# The name for the certificate for which to return information.
|
5317
|
+
#
|
5318
|
+
# When omitted, the response includes all of your certificates in the
|
5319
|
+
# AWS region where the request is made.
|
5320
|
+
# @return [String]
|
5321
|
+
#
|
5322
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetCertificatesRequest AWS API Documentation
|
5323
|
+
#
|
5324
|
+
class GetCertificatesRequest < Struct.new(
|
5325
|
+
:certificate_statuses,
|
5326
|
+
:include_certificate_details,
|
5327
|
+
:certificate_name)
|
5328
|
+
SENSITIVE = []
|
5329
|
+
include Aws::Structure
|
5330
|
+
end
|
5331
|
+
|
5332
|
+
# @!attribute [rw] certificates
|
5333
|
+
# An object that describes certificates.
|
5334
|
+
# @return [Array<Types::CertificateSummary>]
|
5335
|
+
#
|
5336
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetCertificatesResult AWS API Documentation
|
5337
|
+
#
|
5338
|
+
class GetCertificatesResult < Struct.new(
|
5339
|
+
:certificates)
|
5340
|
+
SENSITIVE = []
|
4235
5341
|
include Aws::Structure
|
4236
5342
|
end
|
4237
5343
|
|
@@ -4255,6 +5361,7 @@ module Aws::Lightsail
|
|
4255
5361
|
#
|
4256
5362
|
class GetCloudFormationStackRecordsRequest < Struct.new(
|
4257
5363
|
:page_token)
|
5364
|
+
SENSITIVE = []
|
4258
5365
|
include Aws::Structure
|
4259
5366
|
end
|
4260
5367
|
|
@@ -4278,6 +5385,7 @@ module Aws::Lightsail
|
|
4278
5385
|
class GetCloudFormationStackRecordsResult < Struct.new(
|
4279
5386
|
:cloud_formation_stack_records,
|
4280
5387
|
:next_page_token)
|
5388
|
+
SENSITIVE = []
|
4281
5389
|
include Aws::Structure
|
4282
5390
|
end
|
4283
5391
|
|
@@ -4298,169 +5406,491 @@ module Aws::Lightsail
|
|
4298
5406
|
#
|
4299
5407
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetContactMethodsRequest AWS API Documentation
|
4300
5408
|
#
|
4301
|
-
class GetContactMethodsRequest < Struct.new(
|
4302
|
-
:protocols)
|
4303
|
-
|
4304
|
-
|
4305
|
-
|
4306
|
-
|
4307
|
-
#
|
4308
|
-
#
|
5409
|
+
class GetContactMethodsRequest < Struct.new(
|
5410
|
+
:protocols)
|
5411
|
+
SENSITIVE = []
|
5412
|
+
include Aws::Structure
|
5413
|
+
end
|
5414
|
+
|
5415
|
+
# @!attribute [rw] contact_methods
|
5416
|
+
# An array of objects that describe the contact methods.
|
5417
|
+
# @return [Array<Types::ContactMethod>]
|
5418
|
+
#
|
5419
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetContactMethodsResult AWS API Documentation
|
5420
|
+
#
|
5421
|
+
class GetContactMethodsResult < Struct.new(
|
5422
|
+
:contact_methods)
|
5423
|
+
SENSITIVE = []
|
5424
|
+
include Aws::Structure
|
5425
|
+
end
|
5426
|
+
|
5427
|
+
# @note When making an API call, you may pass GetDiskRequest
|
5428
|
+
# data as a hash:
|
5429
|
+
#
|
5430
|
+
# {
|
5431
|
+
# disk_name: "ResourceName", # required
|
5432
|
+
# }
|
5433
|
+
#
|
5434
|
+
# @!attribute [rw] disk_name
|
5435
|
+
# The name of the disk (e.g., `my-disk`).
|
5436
|
+
# @return [String]
|
5437
|
+
#
|
5438
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetDiskRequest AWS API Documentation
|
5439
|
+
#
|
5440
|
+
class GetDiskRequest < Struct.new(
|
5441
|
+
:disk_name)
|
5442
|
+
SENSITIVE = []
|
5443
|
+
include Aws::Structure
|
5444
|
+
end
|
5445
|
+
|
5446
|
+
# @!attribute [rw] disk
|
5447
|
+
# An object containing information about the disk.
|
5448
|
+
# @return [Types::Disk]
|
5449
|
+
#
|
5450
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetDiskResult AWS API Documentation
|
5451
|
+
#
|
5452
|
+
class GetDiskResult < Struct.new(
|
5453
|
+
:disk)
|
5454
|
+
SENSITIVE = []
|
5455
|
+
include Aws::Structure
|
5456
|
+
end
|
5457
|
+
|
5458
|
+
# @note When making an API call, you may pass GetDiskSnapshotRequest
|
5459
|
+
# data as a hash:
|
5460
|
+
#
|
5461
|
+
# {
|
5462
|
+
# disk_snapshot_name: "ResourceName", # required
|
5463
|
+
# }
|
5464
|
+
#
|
5465
|
+
# @!attribute [rw] disk_snapshot_name
|
5466
|
+
# The name of the disk snapshot (e.g., `my-disk-snapshot`).
|
5467
|
+
# @return [String]
|
5468
|
+
#
|
5469
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetDiskSnapshotRequest AWS API Documentation
|
5470
|
+
#
|
5471
|
+
class GetDiskSnapshotRequest < Struct.new(
|
5472
|
+
:disk_snapshot_name)
|
5473
|
+
SENSITIVE = []
|
5474
|
+
include Aws::Structure
|
5475
|
+
end
|
5476
|
+
|
5477
|
+
# @!attribute [rw] disk_snapshot
|
5478
|
+
# An object containing information about the disk snapshot.
|
5479
|
+
# @return [Types::DiskSnapshot]
|
5480
|
+
#
|
5481
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetDiskSnapshotResult AWS API Documentation
|
5482
|
+
#
|
5483
|
+
class GetDiskSnapshotResult < Struct.new(
|
5484
|
+
:disk_snapshot)
|
5485
|
+
SENSITIVE = []
|
5486
|
+
include Aws::Structure
|
5487
|
+
end
|
5488
|
+
|
5489
|
+
# @note When making an API call, you may pass GetDiskSnapshotsRequest
|
5490
|
+
# data as a hash:
|
5491
|
+
#
|
5492
|
+
# {
|
5493
|
+
# page_token: "string",
|
5494
|
+
# }
|
5495
|
+
#
|
5496
|
+
# @!attribute [rw] page_token
|
5497
|
+
# The token to advance to the next page of results from your request.
|
5498
|
+
#
|
5499
|
+
# To get a page token, perform an initial `GetDiskSnapshots` request.
|
5500
|
+
# If your results are paginated, the response will return a next page
|
5501
|
+
# token that you can specify as the page token in a subsequent
|
5502
|
+
# request.
|
5503
|
+
# @return [String]
|
5504
|
+
#
|
5505
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetDiskSnapshotsRequest AWS API Documentation
|
5506
|
+
#
|
5507
|
+
class GetDiskSnapshotsRequest < Struct.new(
|
5508
|
+
:page_token)
|
5509
|
+
SENSITIVE = []
|
5510
|
+
include Aws::Structure
|
5511
|
+
end
|
5512
|
+
|
5513
|
+
# @!attribute [rw] disk_snapshots
|
5514
|
+
# An array of objects containing information about all block storage
|
5515
|
+
# disk snapshots.
|
5516
|
+
# @return [Array<Types::DiskSnapshot>]
|
5517
|
+
#
|
5518
|
+
# @!attribute [rw] next_page_token
|
5519
|
+
# The token to advance to the next page of resutls from your request.
|
5520
|
+
#
|
5521
|
+
# A next page token is not returned if there are no more results to
|
5522
|
+
# display.
|
5523
|
+
#
|
5524
|
+
# To get the next page of results, perform another `GetDiskSnapshots`
|
5525
|
+
# request and specify the next page token using the `pageToken`
|
5526
|
+
# parameter.
|
5527
|
+
# @return [String]
|
5528
|
+
#
|
5529
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetDiskSnapshotsResult AWS API Documentation
|
5530
|
+
#
|
5531
|
+
class GetDiskSnapshotsResult < Struct.new(
|
5532
|
+
:disk_snapshots,
|
5533
|
+
:next_page_token)
|
5534
|
+
SENSITIVE = []
|
5535
|
+
include Aws::Structure
|
5536
|
+
end
|
5537
|
+
|
5538
|
+
# @note When making an API call, you may pass GetDisksRequest
|
5539
|
+
# data as a hash:
|
5540
|
+
#
|
5541
|
+
# {
|
5542
|
+
# page_token: "string",
|
5543
|
+
# }
|
5544
|
+
#
|
5545
|
+
# @!attribute [rw] page_token
|
5546
|
+
# The token to advance to the next page of results from your request.
|
5547
|
+
#
|
5548
|
+
# To get a page token, perform an initial `GetDisks` request. If your
|
5549
|
+
# results are paginated, the response will return a next page token
|
5550
|
+
# that you can specify as the page token in a subsequent request.
|
5551
|
+
# @return [String]
|
5552
|
+
#
|
5553
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetDisksRequest AWS API Documentation
|
5554
|
+
#
|
5555
|
+
class GetDisksRequest < Struct.new(
|
5556
|
+
:page_token)
|
5557
|
+
SENSITIVE = []
|
5558
|
+
include Aws::Structure
|
5559
|
+
end
|
5560
|
+
|
5561
|
+
# @!attribute [rw] disks
|
5562
|
+
# An array of objects containing information about all block storage
|
5563
|
+
# disks.
|
5564
|
+
# @return [Array<Types::Disk>]
|
5565
|
+
#
|
5566
|
+
# @!attribute [rw] next_page_token
|
5567
|
+
# The token to advance to the next page of resutls from your request.
|
5568
|
+
#
|
5569
|
+
# A next page token is not returned if there are no more results to
|
5570
|
+
# display.
|
5571
|
+
#
|
5572
|
+
# To get the next page of results, perform another `GetDisks` request
|
5573
|
+
# and specify the next page token using the `pageToken` parameter.
|
5574
|
+
# @return [String]
|
5575
|
+
#
|
5576
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetDisksResult AWS API Documentation
|
5577
|
+
#
|
5578
|
+
class GetDisksResult < Struct.new(
|
5579
|
+
:disks,
|
5580
|
+
:next_page_token)
|
5581
|
+
SENSITIVE = []
|
5582
|
+
include Aws::Structure
|
5583
|
+
end
|
5584
|
+
|
5585
|
+
# @api private
|
5586
|
+
#
|
5587
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetDistributionBundlesRequest AWS API Documentation
|
5588
|
+
#
|
5589
|
+
class GetDistributionBundlesRequest < Aws::EmptyStructure; end
|
5590
|
+
|
5591
|
+
# @!attribute [rw] bundles
|
5592
|
+
# An object that describes a distribution bundle.
|
5593
|
+
# @return [Array<Types::DistributionBundle>]
|
5594
|
+
#
|
5595
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetDistributionBundlesResult AWS API Documentation
|
5596
|
+
#
|
5597
|
+
class GetDistributionBundlesResult < Struct.new(
|
5598
|
+
:bundles)
|
5599
|
+
SENSITIVE = []
|
5600
|
+
include Aws::Structure
|
5601
|
+
end
|
5602
|
+
|
5603
|
+
# @note When making an API call, you may pass GetDistributionLatestCacheResetRequest
|
5604
|
+
# data as a hash:
|
5605
|
+
#
|
5606
|
+
# {
|
5607
|
+
# distribution_name: "ResourceName",
|
5608
|
+
# }
|
5609
|
+
#
|
5610
|
+
# @!attribute [rw] distribution_name
|
5611
|
+
# The name of the distribution for which to return the timestamp of
|
5612
|
+
# the last cache reset.
|
5613
|
+
#
|
5614
|
+
# Use the `GetDistributions` action to get a list of distribution
|
5615
|
+
# names that you can specify.
|
5616
|
+
#
|
5617
|
+
# When omitted, the response includes the latest cache reset timestamp
|
5618
|
+
# of all your distributions.
|
5619
|
+
# @return [String]
|
5620
|
+
#
|
5621
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetDistributionLatestCacheResetRequest AWS API Documentation
|
5622
|
+
#
|
5623
|
+
class GetDistributionLatestCacheResetRequest < Struct.new(
|
5624
|
+
:distribution_name)
|
5625
|
+
SENSITIVE = []
|
5626
|
+
include Aws::Structure
|
5627
|
+
end
|
5628
|
+
|
5629
|
+
# @!attribute [rw] status
|
5630
|
+
# The status of the last cache reset.
|
5631
|
+
# @return [String]
|
5632
|
+
#
|
5633
|
+
# @!attribute [rw] create_time
|
5634
|
+
# The timestamp of the last cache reset (e.g., `1479734909.17`) in
|
5635
|
+
# Unix time format.
|
5636
|
+
# @return [Time]
|
5637
|
+
#
|
5638
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetDistributionLatestCacheResetResult AWS API Documentation
|
5639
|
+
#
|
5640
|
+
class GetDistributionLatestCacheResetResult < Struct.new(
|
5641
|
+
:status,
|
5642
|
+
:create_time)
|
5643
|
+
SENSITIVE = []
|
5644
|
+
include Aws::Structure
|
5645
|
+
end
|
5646
|
+
|
5647
|
+
# @note When making an API call, you may pass GetDistributionMetricDataRequest
|
5648
|
+
# data as a hash:
|
5649
|
+
#
|
5650
|
+
# {
|
5651
|
+
# distribution_name: "ResourceName", # required
|
5652
|
+
# metric_name: "Requests", # required, accepts Requests, BytesDownloaded, BytesUploaded, TotalErrorRate, Http4xxErrorRate, Http5xxErrorRate
|
5653
|
+
# start_time: Time.now, # required
|
5654
|
+
# end_time: Time.now, # required
|
5655
|
+
# period: 1, # required
|
5656
|
+
# unit: "Seconds", # required, accepts 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
|
5657
|
+
# statistics: ["Minimum"], # required, accepts Minimum, Maximum, Sum, Average, SampleCount
|
5658
|
+
# }
|
5659
|
+
#
|
5660
|
+
# @!attribute [rw] distribution_name
|
5661
|
+
# The name of the distribution for which to get metric data.
|
5662
|
+
#
|
5663
|
+
# Use the `GetDistributions` action to get a list of distribution
|
5664
|
+
# names that you can specify.
|
5665
|
+
# @return [String]
|
5666
|
+
#
|
5667
|
+
# @!attribute [rw] metric_name
|
5668
|
+
# The metric for which you want to return information.
|
5669
|
+
#
|
5670
|
+
# Valid distribution metric names are listed below, along with the
|
5671
|
+
# most useful `statistics` to include in your request, and the
|
5672
|
+
# published `unit` value.
|
5673
|
+
#
|
5674
|
+
# * <b> <code>Requests</code> </b> - The total number of viewer
|
5675
|
+
# requests received by your Lightsail distribution, for all HTTP
|
5676
|
+
# methods, and for both HTTP and HTTPS requests.
|
5677
|
+
#
|
5678
|
+
# `Statistics`\: The most useful statistic is `Sum`.
|
5679
|
+
#
|
5680
|
+
# `Unit`\: The published unit is `None`.
|
5681
|
+
#
|
5682
|
+
# * <b> <code>BytesDownloaded</code> </b> - The number of bytes
|
5683
|
+
# downloaded by viewers for GET, HEAD, and OPTIONS requests.
|
5684
|
+
#
|
5685
|
+
# `Statistics`\: The most useful statistic is `Sum`.
|
5686
|
+
#
|
5687
|
+
# `Unit`\: The published unit is `None`.
|
5688
|
+
#
|
5689
|
+
# * <b> <code>BytesUploaded </code> </b> - The number of bytes
|
5690
|
+
# uploaded to your origin by your Lightsail distribution, using POST
|
5691
|
+
# and PUT requests.
|
5692
|
+
#
|
5693
|
+
# `Statistics`\: The most useful statistic is `Sum`.
|
5694
|
+
#
|
5695
|
+
# `Unit`\: The published unit is `None`.
|
5696
|
+
#
|
5697
|
+
# * <b> <code>TotalErrorRate</code> </b> - The percentage of all
|
5698
|
+
# viewer requests for which the response's HTTP status code was 4xx
|
5699
|
+
# or 5xx.
|
5700
|
+
#
|
5701
|
+
# `Statistics`\: The most useful statistic is `Average`.
|
5702
|
+
#
|
5703
|
+
# `Unit`\: The published unit is `Percent`.
|
5704
|
+
#
|
5705
|
+
# * <b> <code>4xxErrorRate</code> </b> - The percentage of all viewer
|
5706
|
+
# requests for which the response's HTTP status cod was 4xx. In
|
5707
|
+
# these cases, the client or client viewer may have made an error.
|
5708
|
+
# For example, a status code of 404 (Not Found) means that the
|
5709
|
+
# client requested an object that could not be found.
|
5710
|
+
#
|
5711
|
+
# `Statistics`\: The most useful statistic is `Average`.
|
5712
|
+
#
|
5713
|
+
# `Unit`\: The published unit is `Percent`.
|
5714
|
+
#
|
5715
|
+
# * <b> <code>5xxErrorRate</code> </b> - The percentage of all viewer
|
5716
|
+
# requests for which the response's HTTP status code was 5xx. In
|
5717
|
+
# these cases, the origin server did not satisfy the requests. For
|
5718
|
+
# example, a status code of 503 (Service Unavailable) means that the
|
5719
|
+
# origin server is currently unavailable.
|
5720
|
+
#
|
5721
|
+
# `Statistics`\: The most useful statistic is `Average`.
|
5722
|
+
#
|
5723
|
+
# `Unit`\: The published unit is `Percent`.
|
5724
|
+
# @return [String]
|
5725
|
+
#
|
5726
|
+
# @!attribute [rw] start_time
|
5727
|
+
# The start of the time interval for which to get metric data.
|
5728
|
+
#
|
5729
|
+
# Constraints:
|
5730
|
+
#
|
5731
|
+
# * Specified in Coordinated Universal Time (UTC).
|
5732
|
+
#
|
5733
|
+
# * Specified in the Unix time format.
|
5734
|
+
#
|
5735
|
+
# For example, if you wish to use a start time of October 1, 2018,
|
5736
|
+
# at 8 PM UTC, specify `1538424000` as the start time.
|
5737
|
+
#
|
5738
|
+
# You can convert a human-friendly time to Unix time format using a
|
5739
|
+
# converter like [Epoch converter][1].
|
5740
|
+
#
|
5741
|
+
#
|
5742
|
+
#
|
5743
|
+
# [1]: https://www.epochconverter.com/
|
5744
|
+
# @return [Time]
|
5745
|
+
#
|
5746
|
+
# @!attribute [rw] end_time
|
5747
|
+
# The end of the time interval for which to get metric data.
|
5748
|
+
#
|
5749
|
+
# Constraints:
|
4309
5750
|
#
|
4310
|
-
#
|
5751
|
+
# * Specified in Coordinated Universal Time (UTC).
|
4311
5752
|
#
|
4312
|
-
|
4313
|
-
:contact_methods)
|
4314
|
-
include Aws::Structure
|
4315
|
-
end
|
4316
|
-
|
4317
|
-
# @note When making an API call, you may pass GetDiskRequest
|
4318
|
-
# data as a hash:
|
5753
|
+
# * Specified in the Unix time format.
|
4319
5754
|
#
|
4320
|
-
#
|
4321
|
-
#
|
4322
|
-
# }
|
5755
|
+
# For example, if you wish to use an end time of October 1, 2018, at
|
5756
|
+
# 9 PM UTC, specify `1538427600` as the end time.
|
4323
5757
|
#
|
4324
|
-
#
|
4325
|
-
#
|
4326
|
-
# @return [String]
|
5758
|
+
# You can convert a human-friendly time to Unix time format using a
|
5759
|
+
# converter like [Epoch converter][1].
|
4327
5760
|
#
|
4328
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetDiskRequest AWS API Documentation
|
4329
5761
|
#
|
4330
|
-
class GetDiskRequest < Struct.new(
|
4331
|
-
:disk_name)
|
4332
|
-
include Aws::Structure
|
4333
|
-
end
|
4334
|
-
|
4335
|
-
# @!attribute [rw] disk
|
4336
|
-
# An object containing information about the disk.
|
4337
|
-
# @return [Types::Disk]
|
4338
5762
|
#
|
4339
|
-
#
|
5763
|
+
# [1]: https://www.epochconverter.com/
|
5764
|
+
# @return [Time]
|
4340
5765
|
#
|
4341
|
-
|
4342
|
-
|
4343
|
-
|
4344
|
-
|
4345
|
-
|
4346
|
-
# @note When making an API call, you may pass GetDiskSnapshotRequest
|
4347
|
-
# data as a hash:
|
5766
|
+
# @!attribute [rw] period
|
5767
|
+
# The granularity, in seconds, for the metric data points that will be
|
5768
|
+
# returned.
|
5769
|
+
# @return [Integer]
|
4348
5770
|
#
|
4349
|
-
#
|
4350
|
-
#
|
4351
|
-
# }
|
5771
|
+
# @!attribute [rw] unit
|
5772
|
+
# The unit for the metric data request.
|
4352
5773
|
#
|
4353
|
-
#
|
4354
|
-
#
|
5774
|
+
# Valid units depend on the metric data being requested. For the valid
|
5775
|
+
# units with each available metric, see the `metricName` parameter.
|
4355
5776
|
# @return [String]
|
4356
5777
|
#
|
4357
|
-
#
|
5778
|
+
# @!attribute [rw] statistics
|
5779
|
+
# The statistic for the metric.
|
4358
5780
|
#
|
4359
|
-
|
4360
|
-
:disk_snapshot_name)
|
4361
|
-
include Aws::Structure
|
4362
|
-
end
|
4363
|
-
|
4364
|
-
# @!attribute [rw] disk_snapshot
|
4365
|
-
# An object containing information about the disk snapshot.
|
4366
|
-
# @return [Types::DiskSnapshot]
|
5781
|
+
# The following statistics are available:
|
4367
5782
|
#
|
4368
|
-
#
|
5783
|
+
# * `Minimum` - The lowest value observed during the specified period.
|
5784
|
+
# Use this value to determine low volumes of activity for your
|
5785
|
+
# application.
|
4369
5786
|
#
|
4370
|
-
|
4371
|
-
|
4372
|
-
|
4373
|
-
end
|
4374
|
-
|
4375
|
-
# @note When making an API call, you may pass GetDiskSnapshotsRequest
|
4376
|
-
# data as a hash:
|
5787
|
+
# * `Maximum` - The highest value observed during the specified
|
5788
|
+
# period. Use this value to determine high volumes of activity for
|
5789
|
+
# your application.
|
4377
5790
|
#
|
4378
|
-
#
|
4379
|
-
#
|
4380
|
-
#
|
5791
|
+
# * `Sum` - All values submitted for the matching metric added
|
5792
|
+
# together. You can use this statistic to determine the total volume
|
5793
|
+
# of a metric.
|
4381
5794
|
#
|
4382
|
-
#
|
4383
|
-
#
|
5795
|
+
# * `Average` - The value of Sum / SampleCount during the specified
|
5796
|
+
# period. By comparing this statistic with the Minimum and Maximum
|
5797
|
+
# values, you can determine the full scope of a metric and how close
|
5798
|
+
# the average use is to the Minimum and Maximum values. This
|
5799
|
+
# comparison helps you to know when to increase or decrease your
|
5800
|
+
# resources.
|
4384
5801
|
#
|
4385
|
-
#
|
4386
|
-
#
|
4387
|
-
#
|
4388
|
-
# request.
|
4389
|
-
# @return [String]
|
5802
|
+
# * `SampleCount` - The count, or number, of data points used for the
|
5803
|
+
# statistical calculation.
|
5804
|
+
# @return [Array<String>]
|
4390
5805
|
#
|
4391
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/
|
5806
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetDistributionMetricDataRequest AWS API Documentation
|
4392
5807
|
#
|
4393
|
-
class
|
4394
|
-
:
|
5808
|
+
class GetDistributionMetricDataRequest < Struct.new(
|
5809
|
+
:distribution_name,
|
5810
|
+
:metric_name,
|
5811
|
+
:start_time,
|
5812
|
+
:end_time,
|
5813
|
+
:period,
|
5814
|
+
:unit,
|
5815
|
+
:statistics)
|
5816
|
+
SENSITIVE = []
|
4395
5817
|
include Aws::Structure
|
4396
5818
|
end
|
4397
5819
|
|
4398
|
-
# @!attribute [rw]
|
4399
|
-
#
|
4400
|
-
# disk snapshots.
|
4401
|
-
# @return [Array<Types::DiskSnapshot>]
|
4402
|
-
#
|
4403
|
-
# @!attribute [rw] next_page_token
|
4404
|
-
# The token to advance to the next page of resutls from your request.
|
4405
|
-
#
|
4406
|
-
# A next page token is not returned if there are no more results to
|
4407
|
-
# display.
|
4408
|
-
#
|
4409
|
-
# To get the next page of results, perform another `GetDiskSnapshots`
|
4410
|
-
# request and specify the next page token using the `pageToken`
|
4411
|
-
# parameter.
|
5820
|
+
# @!attribute [rw] metric_name
|
5821
|
+
# The name of the metric returned.
|
4412
5822
|
# @return [String]
|
4413
5823
|
#
|
4414
|
-
#
|
5824
|
+
# @!attribute [rw] metric_data
|
5825
|
+
# An array of objects that describe the metric data returned.
|
5826
|
+
# @return [Array<Types::MetricDatapoint>]
|
4415
5827
|
#
|
4416
|
-
|
4417
|
-
|
4418
|
-
|
5828
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetDistributionMetricDataResult AWS API Documentation
|
5829
|
+
#
|
5830
|
+
class GetDistributionMetricDataResult < Struct.new(
|
5831
|
+
:metric_name,
|
5832
|
+
:metric_data)
|
5833
|
+
SENSITIVE = []
|
4419
5834
|
include Aws::Structure
|
4420
5835
|
end
|
4421
5836
|
|
4422
|
-
# @note When making an API call, you may pass
|
5837
|
+
# @note When making an API call, you may pass GetDistributionsRequest
|
4423
5838
|
# data as a hash:
|
4424
5839
|
#
|
4425
5840
|
# {
|
5841
|
+
# distribution_name: "ResourceName",
|
4426
5842
|
# page_token: "string",
|
4427
5843
|
# }
|
4428
5844
|
#
|
5845
|
+
# @!attribute [rw] distribution_name
|
5846
|
+
# The name of the distribution for which to return information.
|
5847
|
+
#
|
5848
|
+
# Use the `GetDistributions` action to get a list of distribution
|
5849
|
+
# names that you can specify.
|
5850
|
+
#
|
5851
|
+
# When omitted, the response includes all of your distributions in the
|
5852
|
+
# AWS Region where the request is made.
|
5853
|
+
# @return [String]
|
5854
|
+
#
|
4429
5855
|
# @!attribute [rw] page_token
|
4430
5856
|
# The token to advance to the next page of results from your request.
|
4431
5857
|
#
|
4432
|
-
# To get a page token, perform an initial `
|
4433
|
-
# results are paginated, the response will return a next page
|
4434
|
-
# that you can specify as the page token in a subsequent
|
5858
|
+
# To get a page token, perform an initial `GetDistributions` request.
|
5859
|
+
# If your results are paginated, the response will return a next page
|
5860
|
+
# token that you can specify as the page token in a subsequent
|
5861
|
+
# request.
|
4435
5862
|
# @return [String]
|
4436
5863
|
#
|
4437
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/
|
5864
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetDistributionsRequest AWS API Documentation
|
4438
5865
|
#
|
4439
|
-
class
|
5866
|
+
class GetDistributionsRequest < Struct.new(
|
5867
|
+
:distribution_name,
|
4440
5868
|
:page_token)
|
5869
|
+
SENSITIVE = []
|
4441
5870
|
include Aws::Structure
|
4442
5871
|
end
|
4443
5872
|
|
4444
|
-
# @!attribute [rw]
|
4445
|
-
# An array of objects
|
4446
|
-
#
|
4447
|
-
# @return [Array<Types::Disk>]
|
5873
|
+
# @!attribute [rw] distributions
|
5874
|
+
# An array of objects that describe your distributions.
|
5875
|
+
# @return [Array<Types::LightsailDistribution>]
|
4448
5876
|
#
|
4449
5877
|
# @!attribute [rw] next_page_token
|
4450
|
-
# The token to advance to the next page of
|
5878
|
+
# The token to advance to the next page of results from your request.
|
4451
5879
|
#
|
4452
5880
|
# A next page token is not returned if there are no more results to
|
4453
5881
|
# display.
|
4454
5882
|
#
|
4455
|
-
# To get the next page of results, perform another `
|
4456
|
-
# and specify the next page token using the `pageToken`
|
5883
|
+
# To get the next page of results, perform another `GetDistributions`
|
5884
|
+
# request and specify the next page token using the `pageToken`
|
5885
|
+
# parameter.
|
4457
5886
|
# @return [String]
|
4458
5887
|
#
|
4459
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/
|
5888
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetDistributionsResult AWS API Documentation
|
4460
5889
|
#
|
4461
|
-
class
|
4462
|
-
:
|
5890
|
+
class GetDistributionsResult < Struct.new(
|
5891
|
+
:distributions,
|
4463
5892
|
:next_page_token)
|
5893
|
+
SENSITIVE = []
|
4464
5894
|
include Aws::Structure
|
4465
5895
|
end
|
4466
5896
|
|
@@ -4479,6 +5909,7 @@ module Aws::Lightsail
|
|
4479
5909
|
#
|
4480
5910
|
class GetDomainRequest < Struct.new(
|
4481
5911
|
:domain_name)
|
5912
|
+
SENSITIVE = []
|
4482
5913
|
include Aws::Structure
|
4483
5914
|
end
|
4484
5915
|
|
@@ -4491,6 +5922,7 @@ module Aws::Lightsail
|
|
4491
5922
|
#
|
4492
5923
|
class GetDomainResult < Struct.new(
|
4493
5924
|
:domain)
|
5925
|
+
SENSITIVE = []
|
4494
5926
|
include Aws::Structure
|
4495
5927
|
end
|
4496
5928
|
|
@@ -4514,6 +5946,7 @@ module Aws::Lightsail
|
|
4514
5946
|
#
|
4515
5947
|
class GetDomainsRequest < Struct.new(
|
4516
5948
|
:page_token)
|
5949
|
+
SENSITIVE = []
|
4517
5950
|
include Aws::Structure
|
4518
5951
|
end
|
4519
5952
|
|
@@ -4538,6 +5971,7 @@ module Aws::Lightsail
|
|
4538
5971
|
class GetDomainsResult < Struct.new(
|
4539
5972
|
:domains,
|
4540
5973
|
:next_page_token)
|
5974
|
+
SENSITIVE = []
|
4541
5975
|
include Aws::Structure
|
4542
5976
|
end
|
4543
5977
|
|
@@ -4561,6 +5995,7 @@ module Aws::Lightsail
|
|
4561
5995
|
#
|
4562
5996
|
class GetExportSnapshotRecordsRequest < Struct.new(
|
4563
5997
|
:page_token)
|
5998
|
+
SENSITIVE = []
|
4564
5999
|
include Aws::Structure
|
4565
6000
|
end
|
4566
6001
|
|
@@ -4584,6 +6019,7 @@ module Aws::Lightsail
|
|
4584
6019
|
class GetExportSnapshotRecordsResult < Struct.new(
|
4585
6020
|
:export_snapshot_records,
|
4586
6021
|
:next_page_token)
|
6022
|
+
SENSITIVE = []
|
4587
6023
|
include Aws::Structure
|
4588
6024
|
end
|
4589
6025
|
|
@@ -4608,6 +6044,7 @@ module Aws::Lightsail
|
|
4608
6044
|
class GetInstanceAccessDetailsRequest < Struct.new(
|
4609
6045
|
:instance_name,
|
4610
6046
|
:protocol)
|
6047
|
+
SENSITIVE = []
|
4611
6048
|
include Aws::Structure
|
4612
6049
|
end
|
4613
6050
|
|
@@ -4620,6 +6057,7 @@ module Aws::Lightsail
|
|
4620
6057
|
#
|
4621
6058
|
class GetInstanceAccessDetailsResult < Struct.new(
|
4622
6059
|
:access_details)
|
6060
|
+
SENSITIVE = []
|
4623
6061
|
include Aws::Structure
|
4624
6062
|
end
|
4625
6063
|
|
@@ -4807,6 +6245,7 @@ module Aws::Lightsail
|
|
4807
6245
|
:end_time,
|
4808
6246
|
:unit,
|
4809
6247
|
:statistics)
|
6248
|
+
SENSITIVE = []
|
4810
6249
|
include Aws::Structure
|
4811
6250
|
end
|
4812
6251
|
|
@@ -4823,6 +6262,7 @@ module Aws::Lightsail
|
|
4823
6262
|
class GetInstanceMetricDataResult < Struct.new(
|
4824
6263
|
:metric_name,
|
4825
6264
|
:metric_data)
|
6265
|
+
SENSITIVE = []
|
4826
6266
|
include Aws::Structure
|
4827
6267
|
end
|
4828
6268
|
|
@@ -4841,6 +6281,7 @@ module Aws::Lightsail
|
|
4841
6281
|
#
|
4842
6282
|
class GetInstancePortStatesRequest < Struct.new(
|
4843
6283
|
:instance_name)
|
6284
|
+
SENSITIVE = []
|
4844
6285
|
include Aws::Structure
|
4845
6286
|
end
|
4846
6287
|
|
@@ -4853,6 +6294,7 @@ module Aws::Lightsail
|
|
4853
6294
|
#
|
4854
6295
|
class GetInstancePortStatesResult < Struct.new(
|
4855
6296
|
:port_states)
|
6297
|
+
SENSITIVE = []
|
4856
6298
|
include Aws::Structure
|
4857
6299
|
end
|
4858
6300
|
|
@@ -4871,6 +6313,7 @@ module Aws::Lightsail
|
|
4871
6313
|
#
|
4872
6314
|
class GetInstanceRequest < Struct.new(
|
4873
6315
|
:instance_name)
|
6316
|
+
SENSITIVE = []
|
4874
6317
|
include Aws::Structure
|
4875
6318
|
end
|
4876
6319
|
|
@@ -4883,6 +6326,7 @@ module Aws::Lightsail
|
|
4883
6326
|
#
|
4884
6327
|
class GetInstanceResult < Struct.new(
|
4885
6328
|
:instance)
|
6329
|
+
SENSITIVE = []
|
4886
6330
|
include Aws::Structure
|
4887
6331
|
end
|
4888
6332
|
|
@@ -4901,6 +6345,7 @@ module Aws::Lightsail
|
|
4901
6345
|
#
|
4902
6346
|
class GetInstanceSnapshotRequest < Struct.new(
|
4903
6347
|
:instance_snapshot_name)
|
6348
|
+
SENSITIVE = []
|
4904
6349
|
include Aws::Structure
|
4905
6350
|
end
|
4906
6351
|
|
@@ -4913,6 +6358,7 @@ module Aws::Lightsail
|
|
4913
6358
|
#
|
4914
6359
|
class GetInstanceSnapshotResult < Struct.new(
|
4915
6360
|
:instance_snapshot)
|
6361
|
+
SENSITIVE = []
|
4916
6362
|
include Aws::Structure
|
4917
6363
|
end
|
4918
6364
|
|
@@ -4936,6 +6382,7 @@ module Aws::Lightsail
|
|
4936
6382
|
#
|
4937
6383
|
class GetInstanceSnapshotsRequest < Struct.new(
|
4938
6384
|
:page_token)
|
6385
|
+
SENSITIVE = []
|
4939
6386
|
include Aws::Structure
|
4940
6387
|
end
|
4941
6388
|
|
@@ -4960,6 +6407,7 @@ module Aws::Lightsail
|
|
4960
6407
|
class GetInstanceSnapshotsResult < Struct.new(
|
4961
6408
|
:instance_snapshots,
|
4962
6409
|
:next_page_token)
|
6410
|
+
SENSITIVE = []
|
4963
6411
|
include Aws::Structure
|
4964
6412
|
end
|
4965
6413
|
|
@@ -4978,6 +6426,7 @@ module Aws::Lightsail
|
|
4978
6426
|
#
|
4979
6427
|
class GetInstanceStateRequest < Struct.new(
|
4980
6428
|
:instance_name)
|
6429
|
+
SENSITIVE = []
|
4981
6430
|
include Aws::Structure
|
4982
6431
|
end
|
4983
6432
|
|
@@ -4989,6 +6438,7 @@ module Aws::Lightsail
|
|
4989
6438
|
#
|
4990
6439
|
class GetInstanceStateResult < Struct.new(
|
4991
6440
|
:state)
|
6441
|
+
SENSITIVE = []
|
4992
6442
|
include Aws::Structure
|
4993
6443
|
end
|
4994
6444
|
|
@@ -5012,6 +6462,7 @@ module Aws::Lightsail
|
|
5012
6462
|
#
|
5013
6463
|
class GetInstancesRequest < Struct.new(
|
5014
6464
|
:page_token)
|
6465
|
+
SENSITIVE = []
|
5015
6466
|
include Aws::Structure
|
5016
6467
|
end
|
5017
6468
|
|
@@ -5036,6 +6487,7 @@ module Aws::Lightsail
|
|
5036
6487
|
class GetInstancesResult < Struct.new(
|
5037
6488
|
:instances,
|
5038
6489
|
:next_page_token)
|
6490
|
+
SENSITIVE = []
|
5039
6491
|
include Aws::Structure
|
5040
6492
|
end
|
5041
6493
|
|
@@ -5054,6 +6506,7 @@ module Aws::Lightsail
|
|
5054
6506
|
#
|
5055
6507
|
class GetKeyPairRequest < Struct.new(
|
5056
6508
|
:key_pair_name)
|
6509
|
+
SENSITIVE = []
|
5057
6510
|
include Aws::Structure
|
5058
6511
|
end
|
5059
6512
|
|
@@ -5066,6 +6519,7 @@ module Aws::Lightsail
|
|
5066
6519
|
#
|
5067
6520
|
class GetKeyPairResult < Struct.new(
|
5068
6521
|
:key_pair)
|
6522
|
+
SENSITIVE = []
|
5069
6523
|
include Aws::Structure
|
5070
6524
|
end
|
5071
6525
|
|
@@ -5089,6 +6543,7 @@ module Aws::Lightsail
|
|
5089
6543
|
#
|
5090
6544
|
class GetKeyPairsRequest < Struct.new(
|
5091
6545
|
:page_token)
|
6546
|
+
SENSITIVE = []
|
5092
6547
|
include Aws::Structure
|
5093
6548
|
end
|
5094
6549
|
|
@@ -5113,6 +6568,7 @@ module Aws::Lightsail
|
|
5113
6568
|
class GetKeyPairsResult < Struct.new(
|
5114
6569
|
:key_pairs,
|
5115
6570
|
:next_page_token)
|
6571
|
+
SENSITIVE = []
|
5116
6572
|
include Aws::Structure
|
5117
6573
|
end
|
5118
6574
|
|
@@ -5313,6 +6769,7 @@ module Aws::Lightsail
|
|
5313
6769
|
:end_time,
|
5314
6770
|
:unit,
|
5315
6771
|
:statistics)
|
6772
|
+
SENSITIVE = []
|
5316
6773
|
include Aws::Structure
|
5317
6774
|
end
|
5318
6775
|
|
@@ -5329,6 +6786,7 @@ module Aws::Lightsail
|
|
5329
6786
|
class GetLoadBalancerMetricDataResult < Struct.new(
|
5330
6787
|
:metric_name,
|
5331
6788
|
:metric_data)
|
6789
|
+
SENSITIVE = []
|
5332
6790
|
include Aws::Structure
|
5333
6791
|
end
|
5334
6792
|
|
@@ -5347,6 +6805,7 @@ module Aws::Lightsail
|
|
5347
6805
|
#
|
5348
6806
|
class GetLoadBalancerRequest < Struct.new(
|
5349
6807
|
:load_balancer_name)
|
6808
|
+
SENSITIVE = []
|
5350
6809
|
include Aws::Structure
|
5351
6810
|
end
|
5352
6811
|
|
@@ -5358,6 +6817,7 @@ module Aws::Lightsail
|
|
5358
6817
|
#
|
5359
6818
|
class GetLoadBalancerResult < Struct.new(
|
5360
6819
|
:load_balancer)
|
6820
|
+
SENSITIVE = []
|
5361
6821
|
include Aws::Structure
|
5362
6822
|
end
|
5363
6823
|
|
@@ -5377,6 +6837,7 @@ module Aws::Lightsail
|
|
5377
6837
|
#
|
5378
6838
|
class GetLoadBalancerTlsCertificatesRequest < Struct.new(
|
5379
6839
|
:load_balancer_name)
|
6840
|
+
SENSITIVE = []
|
5380
6841
|
include Aws::Structure
|
5381
6842
|
end
|
5382
6843
|
|
@@ -5389,6 +6850,7 @@ module Aws::Lightsail
|
|
5389
6850
|
#
|
5390
6851
|
class GetLoadBalancerTlsCertificatesResult < Struct.new(
|
5391
6852
|
:tls_certificates)
|
6853
|
+
SENSITIVE = []
|
5392
6854
|
include Aws::Structure
|
5393
6855
|
end
|
5394
6856
|
|
@@ -5412,6 +6874,7 @@ module Aws::Lightsail
|
|
5412
6874
|
#
|
5413
6875
|
class GetLoadBalancersRequest < Struct.new(
|
5414
6876
|
:page_token)
|
6877
|
+
SENSITIVE = []
|
5415
6878
|
include Aws::Structure
|
5416
6879
|
end
|
5417
6880
|
|
@@ -5435,6 +6898,7 @@ module Aws::Lightsail
|
|
5435
6898
|
class GetLoadBalancersResult < Struct.new(
|
5436
6899
|
:load_balancers,
|
5437
6900
|
:next_page_token)
|
6901
|
+
SENSITIVE = []
|
5438
6902
|
include Aws::Structure
|
5439
6903
|
end
|
5440
6904
|
|
@@ -5453,6 +6917,7 @@ module Aws::Lightsail
|
|
5453
6917
|
#
|
5454
6918
|
class GetOperationRequest < Struct.new(
|
5455
6919
|
:operation_id)
|
6920
|
+
SENSITIVE = []
|
5456
6921
|
include Aws::Structure
|
5457
6922
|
end
|
5458
6923
|
|
@@ -5466,6 +6931,7 @@ module Aws::Lightsail
|
|
5466
6931
|
#
|
5467
6932
|
class GetOperationResult < Struct.new(
|
5468
6933
|
:operation)
|
6934
|
+
SENSITIVE = []
|
5469
6935
|
include Aws::Structure
|
5470
6936
|
end
|
5471
6937
|
|
@@ -5495,6 +6961,7 @@ module Aws::Lightsail
|
|
5495
6961
|
class GetOperationsForResourceRequest < Struct.new(
|
5496
6962
|
:resource_name,
|
5497
6963
|
:page_token)
|
6964
|
+
SENSITIVE = []
|
5498
6965
|
include Aws::Structure
|
5499
6966
|
end
|
5500
6967
|
|
@@ -5531,6 +6998,7 @@ module Aws::Lightsail
|
|
5531
6998
|
:operations,
|
5532
6999
|
:next_page_count,
|
5533
7000
|
:next_page_token)
|
7001
|
+
SENSITIVE = []
|
5534
7002
|
include Aws::Structure
|
5535
7003
|
end
|
5536
7004
|
|
@@ -5554,6 +7022,7 @@ module Aws::Lightsail
|
|
5554
7022
|
#
|
5555
7023
|
class GetOperationsRequest < Struct.new(
|
5556
7024
|
:page_token)
|
7025
|
+
SENSITIVE = []
|
5557
7026
|
include Aws::Structure
|
5558
7027
|
end
|
5559
7028
|
|
@@ -5579,6 +7048,7 @@ module Aws::Lightsail
|
|
5579
7048
|
class GetOperationsResult < Struct.new(
|
5580
7049
|
:operations,
|
5581
7050
|
:next_page_token)
|
7051
|
+
SENSITIVE = []
|
5582
7052
|
include Aws::Structure
|
5583
7053
|
end
|
5584
7054
|
|
@@ -5607,6 +7077,7 @@ module Aws::Lightsail
|
|
5607
7077
|
class GetRegionsRequest < Struct.new(
|
5608
7078
|
:include_availability_zones,
|
5609
7079
|
:include_relational_database_availability_zones)
|
7080
|
+
SENSITIVE = []
|
5610
7081
|
include Aws::Structure
|
5611
7082
|
end
|
5612
7083
|
|
@@ -5619,6 +7090,7 @@ module Aws::Lightsail
|
|
5619
7090
|
#
|
5620
7091
|
class GetRegionsResult < Struct.new(
|
5621
7092
|
:regions)
|
7093
|
+
SENSITIVE = []
|
5622
7094
|
include Aws::Structure
|
5623
7095
|
end
|
5624
7096
|
|
@@ -5642,6 +7114,7 @@ module Aws::Lightsail
|
|
5642
7114
|
#
|
5643
7115
|
class GetRelationalDatabaseBlueprintsRequest < Struct.new(
|
5644
7116
|
:page_token)
|
7117
|
+
SENSITIVE = []
|
5645
7118
|
include Aws::Structure
|
5646
7119
|
end
|
5647
7120
|
|
@@ -5666,6 +7139,7 @@ module Aws::Lightsail
|
|
5666
7139
|
class GetRelationalDatabaseBlueprintsResult < Struct.new(
|
5667
7140
|
:blueprints,
|
5668
7141
|
:next_page_token)
|
7142
|
+
SENSITIVE = []
|
5669
7143
|
include Aws::Structure
|
5670
7144
|
end
|
5671
7145
|
|
@@ -5689,6 +7163,7 @@ module Aws::Lightsail
|
|
5689
7163
|
#
|
5690
7164
|
class GetRelationalDatabaseBundlesRequest < Struct.new(
|
5691
7165
|
:page_token)
|
7166
|
+
SENSITIVE = []
|
5692
7167
|
include Aws::Structure
|
5693
7168
|
end
|
5694
7169
|
|
@@ -5713,6 +7188,7 @@ module Aws::Lightsail
|
|
5713
7188
|
class GetRelationalDatabaseBundlesResult < Struct.new(
|
5714
7189
|
:bundles,
|
5715
7190
|
:next_page_token)
|
7191
|
+
SENSITIVE = []
|
5716
7192
|
include Aws::Structure
|
5717
7193
|
end
|
5718
7194
|
|
@@ -5753,6 +7229,7 @@ module Aws::Lightsail
|
|
5753
7229
|
:relational_database_name,
|
5754
7230
|
:duration_in_minutes,
|
5755
7231
|
:page_token)
|
7232
|
+
SENSITIVE = []
|
5756
7233
|
include Aws::Structure
|
5757
7234
|
end
|
5758
7235
|
|
@@ -5777,6 +7254,7 @@ module Aws::Lightsail
|
|
5777
7254
|
class GetRelationalDatabaseEventsResult < Struct.new(
|
5778
7255
|
:relational_database_events,
|
5779
7256
|
:next_page_token)
|
7257
|
+
SENSITIVE = []
|
5780
7258
|
include Aws::Structure
|
5781
7259
|
end
|
5782
7260
|
|
@@ -5861,6 +7339,7 @@ module Aws::Lightsail
|
|
5861
7339
|
:end_time,
|
5862
7340
|
:start_from_head,
|
5863
7341
|
:page_token)
|
7342
|
+
SENSITIVE = []
|
5864
7343
|
include Aws::Structure
|
5865
7344
|
end
|
5866
7345
|
|
@@ -5885,6 +7364,7 @@ module Aws::Lightsail
|
|
5885
7364
|
:resource_log_events,
|
5886
7365
|
:next_backward_token,
|
5887
7366
|
:next_forward_token)
|
7367
|
+
SENSITIVE = []
|
5888
7368
|
include Aws::Structure
|
5889
7369
|
end
|
5890
7370
|
|
@@ -5903,6 +7383,7 @@ module Aws::Lightsail
|
|
5903
7383
|
#
|
5904
7384
|
class GetRelationalDatabaseLogStreamsRequest < Struct.new(
|
5905
7385
|
:relational_database_name)
|
7386
|
+
SENSITIVE = []
|
5906
7387
|
include Aws::Structure
|
5907
7388
|
end
|
5908
7389
|
|
@@ -5915,6 +7396,7 @@ module Aws::Lightsail
|
|
5915
7396
|
#
|
5916
7397
|
class GetRelationalDatabaseLogStreamsResult < Struct.new(
|
5917
7398
|
:log_streams)
|
7399
|
+
SENSITIVE = []
|
5918
7400
|
include Aws::Structure
|
5919
7401
|
end
|
5920
7402
|
|
@@ -5947,6 +7429,7 @@ module Aws::Lightsail
|
|
5947
7429
|
class GetRelationalDatabaseMasterUserPasswordRequest < Struct.new(
|
5948
7430
|
:relational_database_name,
|
5949
7431
|
:password_version)
|
7432
|
+
SENSITIVE = []
|
5950
7433
|
include Aws::Structure
|
5951
7434
|
end
|
5952
7435
|
|
@@ -5964,6 +7447,7 @@ module Aws::Lightsail
|
|
5964
7447
|
class GetRelationalDatabaseMasterUserPasswordResult < Struct.new(
|
5965
7448
|
:master_user_password,
|
5966
7449
|
:created_at)
|
7450
|
+
SENSITIVE = [:master_user_password]
|
5967
7451
|
include Aws::Structure
|
5968
7452
|
end
|
5969
7453
|
|
@@ -6117,6 +7601,7 @@ module Aws::Lightsail
|
|
6117
7601
|
:end_time,
|
6118
7602
|
:unit,
|
6119
7603
|
:statistics)
|
7604
|
+
SENSITIVE = []
|
6120
7605
|
include Aws::Structure
|
6121
7606
|
end
|
6122
7607
|
|
@@ -6133,6 +7618,7 @@ module Aws::Lightsail
|
|
6133
7618
|
class GetRelationalDatabaseMetricDataResult < Struct.new(
|
6134
7619
|
:metric_name,
|
6135
7620
|
:metric_data)
|
7621
|
+
SENSITIVE = []
|
6136
7622
|
include Aws::Structure
|
6137
7623
|
end
|
6138
7624
|
|
@@ -6162,6 +7648,7 @@ module Aws::Lightsail
|
|
6162
7648
|
class GetRelationalDatabaseParametersRequest < Struct.new(
|
6163
7649
|
:relational_database_name,
|
6164
7650
|
:page_token)
|
7651
|
+
SENSITIVE = []
|
6165
7652
|
include Aws::Structure
|
6166
7653
|
end
|
6167
7654
|
|
@@ -6186,6 +7673,7 @@ module Aws::Lightsail
|
|
6186
7673
|
class GetRelationalDatabaseParametersResult < Struct.new(
|
6187
7674
|
:parameters,
|
6188
7675
|
:next_page_token)
|
7676
|
+
SENSITIVE = []
|
6189
7677
|
include Aws::Structure
|
6190
7678
|
end
|
6191
7679
|
|
@@ -6204,6 +7692,7 @@ module Aws::Lightsail
|
|
6204
7692
|
#
|
6205
7693
|
class GetRelationalDatabaseRequest < Struct.new(
|
6206
7694
|
:relational_database_name)
|
7695
|
+
SENSITIVE = []
|
6207
7696
|
include Aws::Structure
|
6208
7697
|
end
|
6209
7698
|
|
@@ -6215,6 +7704,7 @@ module Aws::Lightsail
|
|
6215
7704
|
#
|
6216
7705
|
class GetRelationalDatabaseResult < Struct.new(
|
6217
7706
|
:relational_database)
|
7707
|
+
SENSITIVE = []
|
6218
7708
|
include Aws::Structure
|
6219
7709
|
end
|
6220
7710
|
|
@@ -6233,6 +7723,7 @@ module Aws::Lightsail
|
|
6233
7723
|
#
|
6234
7724
|
class GetRelationalDatabaseSnapshotRequest < Struct.new(
|
6235
7725
|
:relational_database_snapshot_name)
|
7726
|
+
SENSITIVE = []
|
6236
7727
|
include Aws::Structure
|
6237
7728
|
end
|
6238
7729
|
|
@@ -6244,6 +7735,7 @@ module Aws::Lightsail
|
|
6244
7735
|
#
|
6245
7736
|
class GetRelationalDatabaseSnapshotResult < Struct.new(
|
6246
7737
|
:relational_database_snapshot)
|
7738
|
+
SENSITIVE = []
|
6247
7739
|
include Aws::Structure
|
6248
7740
|
end
|
6249
7741
|
|
@@ -6267,6 +7759,7 @@ module Aws::Lightsail
|
|
6267
7759
|
#
|
6268
7760
|
class GetRelationalDatabaseSnapshotsRequest < Struct.new(
|
6269
7761
|
:page_token)
|
7762
|
+
SENSITIVE = []
|
6270
7763
|
include Aws::Structure
|
6271
7764
|
end
|
6272
7765
|
|
@@ -6291,6 +7784,7 @@ module Aws::Lightsail
|
|
6291
7784
|
class GetRelationalDatabaseSnapshotsResult < Struct.new(
|
6292
7785
|
:relational_database_snapshots,
|
6293
7786
|
:next_page_token)
|
7787
|
+
SENSITIVE = []
|
6294
7788
|
include Aws::Structure
|
6295
7789
|
end
|
6296
7790
|
|
@@ -6314,6 +7808,7 @@ module Aws::Lightsail
|
|
6314
7808
|
#
|
6315
7809
|
class GetRelationalDatabasesRequest < Struct.new(
|
6316
7810
|
:page_token)
|
7811
|
+
SENSITIVE = []
|
6317
7812
|
include Aws::Structure
|
6318
7813
|
end
|
6319
7814
|
|
@@ -6338,6 +7833,7 @@ module Aws::Lightsail
|
|
6338
7833
|
class GetRelationalDatabasesResult < Struct.new(
|
6339
7834
|
:relational_databases,
|
6340
7835
|
:next_page_token)
|
7836
|
+
SENSITIVE = []
|
6341
7837
|
include Aws::Structure
|
6342
7838
|
end
|
6343
7839
|
|
@@ -6356,6 +7852,7 @@ module Aws::Lightsail
|
|
6356
7852
|
#
|
6357
7853
|
class GetStaticIpRequest < Struct.new(
|
6358
7854
|
:static_ip_name)
|
7855
|
+
SENSITIVE = []
|
6359
7856
|
include Aws::Structure
|
6360
7857
|
end
|
6361
7858
|
|
@@ -6368,6 +7865,7 @@ module Aws::Lightsail
|
|
6368
7865
|
#
|
6369
7866
|
class GetStaticIpResult < Struct.new(
|
6370
7867
|
:static_ip)
|
7868
|
+
SENSITIVE = []
|
6371
7869
|
include Aws::Structure
|
6372
7870
|
end
|
6373
7871
|
|
@@ -6391,6 +7889,7 @@ module Aws::Lightsail
|
|
6391
7889
|
#
|
6392
7890
|
class GetStaticIpsRequest < Struct.new(
|
6393
7891
|
:page_token)
|
7892
|
+
SENSITIVE = []
|
6394
7893
|
include Aws::Structure
|
6395
7894
|
end
|
6396
7895
|
|
@@ -6415,6 +7914,54 @@ module Aws::Lightsail
|
|
6415
7914
|
class GetStaticIpsResult < Struct.new(
|
6416
7915
|
:static_ips,
|
6417
7916
|
:next_page_token)
|
7917
|
+
SENSITIVE = []
|
7918
|
+
include Aws::Structure
|
7919
|
+
end
|
7920
|
+
|
7921
|
+
# Describes the request headers that a Lightsail distribution bases
|
7922
|
+
# caching on.
|
7923
|
+
#
|
7924
|
+
# For the headers that you specify, your distribution caches separate
|
7925
|
+
# versions of the specified content based on the header values in viewer
|
7926
|
+
# requests. For example, suppose viewer requests for `logo.jpg` contain
|
7927
|
+
# a custom `product` header that has a value of either `acme` or `apex`,
|
7928
|
+
# and you configure your distribution to cache your content based on
|
7929
|
+
# values in the `product` header. Your distribution forwards the
|
7930
|
+
# `product` header to the origin and caches the response from the origin
|
7931
|
+
# once for each header value.
|
7932
|
+
#
|
7933
|
+
# @note When making an API call, you may pass HeaderObject
|
7934
|
+
# data as a hash:
|
7935
|
+
#
|
7936
|
+
# {
|
7937
|
+
# option: "none", # accepts none, allow-list, all
|
7938
|
+
# headers_allow_list: ["Accept"], # accepts Accept, Accept-Charset, Accept-Datetime, Accept-Encoding, Accept-Language, Authorization, CloudFront-Forwarded-Proto, CloudFront-Is-Desktop-Viewer, CloudFront-Is-Mobile-Viewer, CloudFront-Is-SmartTV-Viewer, CloudFront-Is-Tablet-Viewer, CloudFront-Viewer-Country, Host, Origin, Referer
|
7939
|
+
# }
|
7940
|
+
#
|
7941
|
+
# @!attribute [rw] option
|
7942
|
+
# The headers that you want your distribution to forward to your
|
7943
|
+
# origin and base caching on.
|
7944
|
+
#
|
7945
|
+
# You can configure your distribution to do one of the following:
|
7946
|
+
#
|
7947
|
+
# * <b> <code>all</code> </b> - Forward all headers to your origin.
|
7948
|
+
#
|
7949
|
+
# * <b> <code>none</code> </b> - Forward only the default headers.
|
7950
|
+
#
|
7951
|
+
# * <b> <code>allow-list</code> </b> - Forward only the headers you
|
7952
|
+
# specify using the `headersAllowList` parameter.
|
7953
|
+
# @return [String]
|
7954
|
+
#
|
7955
|
+
# @!attribute [rw] headers_allow_list
|
7956
|
+
# The specific headers to forward to your distribution's origin.
|
7957
|
+
# @return [Array<String>]
|
7958
|
+
#
|
7959
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/HeaderObject AWS API Documentation
|
7960
|
+
#
|
7961
|
+
class HeaderObject < Struct.new(
|
7962
|
+
:option,
|
7963
|
+
:headers_allow_list)
|
7964
|
+
SENSITIVE = []
|
6418
7965
|
include Aws::Structure
|
6419
7966
|
end
|
6420
7967
|
|
@@ -6485,6 +8032,7 @@ module Aws::Lightsail
|
|
6485
8032
|
:fingerprint_sha256,
|
6486
8033
|
:not_valid_before,
|
6487
8034
|
:not_valid_after)
|
8035
|
+
SENSITIVE = []
|
6488
8036
|
include Aws::Structure
|
6489
8037
|
end
|
6490
8038
|
|
@@ -6510,6 +8058,7 @@ module Aws::Lightsail
|
|
6510
8058
|
class ImportKeyPairRequest < Struct.new(
|
6511
8059
|
:key_pair_name,
|
6512
8060
|
:public_key_base_64)
|
8061
|
+
SENSITIVE = []
|
6513
8062
|
include Aws::Structure
|
6514
8063
|
end
|
6515
8064
|
|
@@ -6523,6 +8072,46 @@ module Aws::Lightsail
|
|
6523
8072
|
#
|
6524
8073
|
class ImportKeyPairResult < Struct.new(
|
6525
8074
|
:operation)
|
8075
|
+
SENSITIVE = []
|
8076
|
+
include Aws::Structure
|
8077
|
+
end
|
8078
|
+
|
8079
|
+
# Describes the origin resource of an Amazon Lightsail content delivery
|
8080
|
+
# network (CDN) distribution.
|
8081
|
+
#
|
8082
|
+
# An origin can be a Lightsail instance or load balancer. A distribution
|
8083
|
+
# pulls content from an origin, caches it, and serves it to viewers via
|
8084
|
+
# a worldwide network of edge servers.
|
8085
|
+
#
|
8086
|
+
# @note When making an API call, you may pass InputOrigin
|
8087
|
+
# data as a hash:
|
8088
|
+
#
|
8089
|
+
# {
|
8090
|
+
# name: "ResourceName",
|
8091
|
+
# region_name: "us-east-1", # accepts 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
|
8092
|
+
# protocol_policy: "http-only", # accepts http-only, https-only
|
8093
|
+
# }
|
8094
|
+
#
|
8095
|
+
# @!attribute [rw] name
|
8096
|
+
# The name of the origin resource.
|
8097
|
+
# @return [String]
|
8098
|
+
#
|
8099
|
+
# @!attribute [rw] region_name
|
8100
|
+
# The AWS Region name of the origin resource.
|
8101
|
+
# @return [String]
|
8102
|
+
#
|
8103
|
+
# @!attribute [rw] protocol_policy
|
8104
|
+
# The protocol that your Amazon Lightsail distribution uses when
|
8105
|
+
# establishing a connection with your origin to pull content.
|
8106
|
+
# @return [String]
|
8107
|
+
#
|
8108
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/InputOrigin AWS API Documentation
|
8109
|
+
#
|
8110
|
+
class InputOrigin < Struct.new(
|
8111
|
+
:name,
|
8112
|
+
:region_name,
|
8113
|
+
:protocol_policy)
|
8114
|
+
SENSITIVE = []
|
6526
8115
|
include Aws::Structure
|
6527
8116
|
end
|
6528
8117
|
|
@@ -6546,7 +8135,8 @@ module Aws::Lightsail
|
|
6546
8135
|
# @return [String]
|
6547
8136
|
#
|
6548
8137
|
# @!attribute [rw] created_at
|
6549
|
-
# The timestamp when the instance was created (e.g., `1479734909.17`)
|
8138
|
+
# The timestamp when the instance was created (e.g., `1479734909.17`)
|
8139
|
+
# in Unix time format.
|
6550
8140
|
# @return [Time]
|
6551
8141
|
#
|
6552
8142
|
# @!attribute [rw] location
|
@@ -6646,6 +8236,7 @@ module Aws::Lightsail
|
|
6646
8236
|
:state,
|
6647
8237
|
:username,
|
6648
8238
|
:ssh_key_name)
|
8239
|
+
SENSITIVE = []
|
6649
8240
|
include Aws::Structure
|
6650
8241
|
end
|
6651
8242
|
|
@@ -6727,6 +8318,7 @@ module Aws::Lightsail
|
|
6727
8318
|
:instance_name,
|
6728
8319
|
:username,
|
6729
8320
|
:host_keys)
|
8321
|
+
SENSITIVE = []
|
6730
8322
|
include Aws::Structure
|
6731
8323
|
end
|
6732
8324
|
|
@@ -6807,6 +8399,7 @@ module Aws::Lightsail
|
|
6807
8399
|
:port_info_source,
|
6808
8400
|
:user_data,
|
6809
8401
|
:availability_zone)
|
8402
|
+
SENSITIVE = []
|
6810
8403
|
include Aws::Structure
|
6811
8404
|
end
|
6812
8405
|
|
@@ -6830,6 +8423,7 @@ module Aws::Lightsail
|
|
6830
8423
|
:cpu_count,
|
6831
8424
|
:disks,
|
6832
8425
|
:ram_size_in_gb)
|
8426
|
+
SENSITIVE = []
|
6833
8427
|
include Aws::Structure
|
6834
8428
|
end
|
6835
8429
|
|
@@ -6912,6 +8506,7 @@ module Aws::Lightsail
|
|
6912
8506
|
:instance_name,
|
6913
8507
|
:instance_health,
|
6914
8508
|
:instance_health_reason)
|
8509
|
+
SENSITIVE = []
|
6915
8510
|
include Aws::Structure
|
6916
8511
|
end
|
6917
8512
|
|
@@ -6932,6 +8527,7 @@ module Aws::Lightsail
|
|
6932
8527
|
class InstanceNetworking < Struct.new(
|
6933
8528
|
:monthly_transfer,
|
6934
8529
|
:ports)
|
8530
|
+
SENSITIVE = []
|
6935
8531
|
include Aws::Structure
|
6936
8532
|
end
|
6937
8533
|
|
@@ -7063,6 +8659,7 @@ module Aws::Lightsail
|
|
7063
8659
|
:access_direction,
|
7064
8660
|
:cidrs,
|
7065
8661
|
:cidr_list_aliases)
|
8662
|
+
SENSITIVE = []
|
7066
8663
|
include Aws::Structure
|
7067
8664
|
end
|
7068
8665
|
|
@@ -7178,6 +8775,7 @@ module Aws::Lightsail
|
|
7178
8775
|
:state,
|
7179
8776
|
:cidrs,
|
7180
8777
|
:cidr_list_aliases)
|
8778
|
+
SENSITIVE = []
|
7181
8779
|
include Aws::Structure
|
7182
8780
|
end
|
7183
8781
|
|
@@ -7285,6 +8883,7 @@ module Aws::Lightsail
|
|
7285
8883
|
:from_bundle_id,
|
7286
8884
|
:is_from_auto_snapshot,
|
7287
8885
|
:size_in_gb)
|
8886
|
+
SENSITIVE = []
|
7288
8887
|
include Aws::Structure
|
7289
8888
|
end
|
7290
8889
|
|
@@ -7311,6 +8910,7 @@ module Aws::Lightsail
|
|
7311
8910
|
:from_bundle_id,
|
7312
8911
|
:from_blueprint_id,
|
7313
8912
|
:from_disk_info)
|
8913
|
+
SENSITIVE = []
|
7314
8914
|
include Aws::Structure
|
7315
8915
|
end
|
7316
8916
|
|
@@ -7329,6 +8929,7 @@ module Aws::Lightsail
|
|
7329
8929
|
class InstanceState < Struct.new(
|
7330
8930
|
:code,
|
7331
8931
|
:name)
|
8932
|
+
SENSITIVE = []
|
7332
8933
|
include Aws::Structure
|
7333
8934
|
end
|
7334
8935
|
|
@@ -7360,6 +8961,7 @@ module Aws::Lightsail
|
|
7360
8961
|
:docs,
|
7361
8962
|
:message,
|
7362
8963
|
:tip)
|
8964
|
+
SENSITIVE = []
|
7363
8965
|
include Aws::Structure
|
7364
8966
|
end
|
7365
8967
|
|
@@ -7377,41 +8979,168 @@ module Aws::Lightsail
|
|
7377
8979
|
#
|
7378
8980
|
class IsVpcPeeredResult < Struct.new(
|
7379
8981
|
:is_peered)
|
8982
|
+
SENSITIVE = []
|
8983
|
+
include Aws::Structure
|
8984
|
+
end
|
8985
|
+
|
8986
|
+
# Describes the SSH key pair.
|
8987
|
+
#
|
8988
|
+
# @!attribute [rw] name
|
8989
|
+
# The friendly name of the SSH key pair.
|
8990
|
+
# @return [String]
|
8991
|
+
#
|
8992
|
+
# @!attribute [rw] arn
|
8993
|
+
# The Amazon Resource Name (ARN) of the key pair (e.g.,
|
8994
|
+
# `arn:aws:lightsail:us-east-2:123456789101:KeyPair/05859e3d-331d-48ba-9034-12345EXAMPLE`).
|
8995
|
+
# @return [String]
|
8996
|
+
#
|
8997
|
+
# @!attribute [rw] support_code
|
8998
|
+
# The support code. Include this code in your email to support when
|
8999
|
+
# you have questions about an instance or another resource in
|
9000
|
+
# Lightsail. This code enables our support team to look up your
|
9001
|
+
# Lightsail information more easily.
|
9002
|
+
# @return [String]
|
9003
|
+
#
|
9004
|
+
# @!attribute [rw] created_at
|
9005
|
+
# The timestamp when the key pair was created (e.g.,
|
9006
|
+
# `1479816991.349`).
|
9007
|
+
# @return [Time]
|
9008
|
+
#
|
9009
|
+
# @!attribute [rw] location
|
9010
|
+
# The region name and Availability Zone where the key pair was
|
9011
|
+
# created.
|
9012
|
+
# @return [Types::ResourceLocation]
|
9013
|
+
#
|
9014
|
+
# @!attribute [rw] resource_type
|
9015
|
+
# The resource type (usually `KeyPair`).
|
9016
|
+
# @return [String]
|
9017
|
+
#
|
9018
|
+
# @!attribute [rw] tags
|
9019
|
+
# The tag keys and optional values for the resource. For more
|
9020
|
+
# information about tags in Lightsail, see the [Lightsail Dev
|
9021
|
+
# Guide][1].
|
9022
|
+
#
|
9023
|
+
#
|
9024
|
+
#
|
9025
|
+
# [1]: https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-tags
|
9026
|
+
# @return [Array<Types::Tag>]
|
9027
|
+
#
|
9028
|
+
# @!attribute [rw] fingerprint
|
9029
|
+
# The RSA fingerprint of the key pair.
|
9030
|
+
# @return [String]
|
9031
|
+
#
|
9032
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/KeyPair AWS API Documentation
|
9033
|
+
#
|
9034
|
+
class KeyPair < Struct.new(
|
9035
|
+
:name,
|
9036
|
+
:arn,
|
9037
|
+
:support_code,
|
9038
|
+
:created_at,
|
9039
|
+
:location,
|
9040
|
+
:resource_type,
|
9041
|
+
:tags,
|
9042
|
+
:fingerprint)
|
9043
|
+
SENSITIVE = []
|
7380
9044
|
include Aws::Structure
|
7381
9045
|
end
|
7382
9046
|
|
7383
|
-
# Describes
|
9047
|
+
# Describes an Amazon Lightsail content delivery network (CDN)
|
9048
|
+
# distribution.
|
7384
9049
|
#
|
7385
9050
|
# @!attribute [rw] name
|
7386
|
-
# The
|
9051
|
+
# The name of the distribution.
|
7387
9052
|
# @return [String]
|
7388
9053
|
#
|
7389
9054
|
# @!attribute [rw] arn
|
7390
|
-
# The Amazon Resource Name (ARN) of the
|
7391
|
-
# `arn:aws:lightsail:us-east-2:123456789101:KeyPair/05859e3d-331d-48ba-9034-12345EXAMPLE`).
|
9055
|
+
# The Amazon Resource Name (ARN) of the distribution.
|
7392
9056
|
# @return [String]
|
7393
9057
|
#
|
7394
9058
|
# @!attribute [rw] support_code
|
7395
9059
|
# The support code. Include this code in your email to support when
|
7396
|
-
# you have questions about
|
7397
|
-
#
|
7398
|
-
#
|
9060
|
+
# you have questions about your Lightsail distribution. This code
|
9061
|
+
# enables our support team to look up your Lightsail information more
|
9062
|
+
# easily.
|
7399
9063
|
# @return [String]
|
7400
9064
|
#
|
7401
9065
|
# @!attribute [rw] created_at
|
7402
|
-
# The timestamp when the
|
7403
|
-
# `1479816991.349`).
|
9066
|
+
# The timestamp when the distribution was created.
|
7404
9067
|
# @return [Time]
|
7405
9068
|
#
|
7406
9069
|
# @!attribute [rw] location
|
7407
|
-
#
|
7408
|
-
#
|
9070
|
+
# An object that describes the location of the distribution, such as
|
9071
|
+
# the AWS Region and Availability Zone.
|
9072
|
+
#
|
9073
|
+
# <note markdown="1"> Lightsail distributions are global resources that can reference an
|
9074
|
+
# origin in any AWS Region, and distribute its content globally.
|
9075
|
+
# However, all distributions are located in the `us-east-1` Region.
|
9076
|
+
#
|
9077
|
+
# </note>
|
7409
9078
|
# @return [Types::ResourceLocation]
|
7410
9079
|
#
|
7411
9080
|
# @!attribute [rw] resource_type
|
7412
|
-
# The resource type (
|
9081
|
+
# The Lightsail resource type (e.g., `Distribution`).
|
9082
|
+
# @return [String]
|
9083
|
+
#
|
9084
|
+
# @!attribute [rw] alternative_domain_names
|
9085
|
+
# The alternate domain names of the distribution.
|
9086
|
+
# @return [Array<String>]
|
9087
|
+
#
|
9088
|
+
# @!attribute [rw] status
|
9089
|
+
# The status of the distribution.
|
9090
|
+
# @return [String]
|
9091
|
+
#
|
9092
|
+
# @!attribute [rw] is_enabled
|
9093
|
+
# Indicates whether the distribution is enabled.
|
9094
|
+
# @return [Boolean]
|
9095
|
+
#
|
9096
|
+
# @!attribute [rw] domain_name
|
9097
|
+
# The domain name of the distribution.
|
7413
9098
|
# @return [String]
|
7414
9099
|
#
|
9100
|
+
# @!attribute [rw] bundle_id
|
9101
|
+
# The ID of the bundle currently applied to the distribution.
|
9102
|
+
# @return [String]
|
9103
|
+
#
|
9104
|
+
# @!attribute [rw] certificate_name
|
9105
|
+
# The name of the SSL/TLS certificate attached to the distribution, if
|
9106
|
+
# any.
|
9107
|
+
# @return [String]
|
9108
|
+
#
|
9109
|
+
# @!attribute [rw] origin
|
9110
|
+
# An object that describes the origin resource of the distribution,
|
9111
|
+
# such as a Lightsail instance or load balancer.
|
9112
|
+
#
|
9113
|
+
# The distribution pulls, caches, and serves content from the origin.
|
9114
|
+
# @return [Types::Origin]
|
9115
|
+
#
|
9116
|
+
# @!attribute [rw] origin_public_dns
|
9117
|
+
# The public DNS of the origin.
|
9118
|
+
# @return [String]
|
9119
|
+
#
|
9120
|
+
# @!attribute [rw] default_cache_behavior
|
9121
|
+
# An object that describes the default cache behavior of the
|
9122
|
+
# distribution.
|
9123
|
+
# @return [Types::CacheBehavior]
|
9124
|
+
#
|
9125
|
+
# @!attribute [rw] cache_behavior_settings
|
9126
|
+
# An object that describes the cache behavior settings of the
|
9127
|
+
# distribution.
|
9128
|
+
# @return [Types::CacheSettings]
|
9129
|
+
#
|
9130
|
+
# @!attribute [rw] cache_behaviors
|
9131
|
+
# An array of objects that describe the per-path cache behavior of the
|
9132
|
+
# distribution.
|
9133
|
+
# @return [Array<Types::CacheBehaviorPerPath>]
|
9134
|
+
#
|
9135
|
+
# @!attribute [rw] able_to_update_bundle
|
9136
|
+
# Indicates whether the bundle that is currently applied to your
|
9137
|
+
# distribution, specified using the `distributionName` parameter, can
|
9138
|
+
# be changed to another bundle.
|
9139
|
+
#
|
9140
|
+
# Use the `UpdateDistributionBundle` action to change your
|
9141
|
+
# distribution's bundle.
|
9142
|
+
# @return [Boolean]
|
9143
|
+
#
|
7415
9144
|
# @!attribute [rw] tags
|
7416
9145
|
# The tag keys and optional values for the resource. For more
|
7417
9146
|
# information about tags in Lightsail, see the [Lightsail Dev
|
@@ -7422,21 +9151,29 @@ module Aws::Lightsail
|
|
7422
9151
|
# [1]: https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-tags
|
7423
9152
|
# @return [Array<Types::Tag>]
|
7424
9153
|
#
|
7425
|
-
#
|
7426
|
-
# The RSA fingerprint of the key pair.
|
7427
|
-
# @return [String]
|
7428
|
-
#
|
7429
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/KeyPair AWS API Documentation
|
9154
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/LightsailDistribution AWS API Documentation
|
7430
9155
|
#
|
7431
|
-
class
|
9156
|
+
class LightsailDistribution < Struct.new(
|
7432
9157
|
:name,
|
7433
9158
|
:arn,
|
7434
9159
|
:support_code,
|
7435
9160
|
:created_at,
|
7436
9161
|
:location,
|
7437
9162
|
:resource_type,
|
7438
|
-
:
|
7439
|
-
:
|
9163
|
+
:alternative_domain_names,
|
9164
|
+
:status,
|
9165
|
+
:is_enabled,
|
9166
|
+
:domain_name,
|
9167
|
+
:bundle_id,
|
9168
|
+
:certificate_name,
|
9169
|
+
:origin,
|
9170
|
+
:origin_public_dns,
|
9171
|
+
:default_cache_behavior,
|
9172
|
+
:cache_behavior_settings,
|
9173
|
+
:cache_behaviors,
|
9174
|
+
:able_to_update_bundle,
|
9175
|
+
:tags)
|
9176
|
+
SENSITIVE = []
|
7440
9177
|
include Aws::Structure
|
7441
9178
|
end
|
7442
9179
|
|
@@ -7548,6 +9285,7 @@ module Aws::Lightsail
|
|
7548
9285
|
:instance_health_summary,
|
7549
9286
|
:tls_certificate_summaries,
|
7550
9287
|
:configuration_options)
|
9288
|
+
SENSITIVE = []
|
7551
9289
|
include Aws::Structure
|
7552
9290
|
end
|
7553
9291
|
|
@@ -7642,7 +9380,66 @@ module Aws::Lightsail
|
|
7642
9380
|
# @return [Array<Types::LoadBalancerTlsCertificateDomainValidationRecord>]
|
7643
9381
|
#
|
7644
9382
|
# @!attribute [rw] failure_reason
|
7645
|
-
# The reason
|
9383
|
+
# The validation failure reason, if any, of the certificate.
|
9384
|
+
#
|
9385
|
+
# The following failure reasons are possible:
|
9386
|
+
#
|
9387
|
+
# * <b> <code>NO_AVAILABLE_CONTACTS</code> </b> - This failure applies
|
9388
|
+
# to email validation, which is not available for Lightsail
|
9389
|
+
# certificates.
|
9390
|
+
#
|
9391
|
+
# * <b> <code>ADDITIONAL_VERIFICATION_REQUIRED</code> </b> - Lightsail
|
9392
|
+
# requires additional information to process this certificate
|
9393
|
+
# request. This can happen as a fraud-protection measure, such as
|
9394
|
+
# when the domain ranks within the Alexa top 1000 websites. To
|
9395
|
+
# provide the required information, use the [AWS Support Center][1]
|
9396
|
+
# to contact AWS Support.
|
9397
|
+
#
|
9398
|
+
# <note markdown="1"> You cannot request a certificate for Amazon-owned domain names
|
9399
|
+
# such as those ending in amazonaws.com, cloudfront.net, or
|
9400
|
+
# elasticbeanstalk.com.
|
9401
|
+
#
|
9402
|
+
# </note>
|
9403
|
+
#
|
9404
|
+
# * <b> <code>DOMAIN_NOT_ALLOWED</code> </b> - One or more of the
|
9405
|
+
# domain names in the certificate request was reported as an unsafe
|
9406
|
+
# domain by [VirusTotal][2]. To correct the problem, search for your
|
9407
|
+
# domain name on the [VirusTotal][2] website. If your domain is
|
9408
|
+
# reported as suspicious, see [Google Help for Hacked Websites][3]
|
9409
|
+
# to learn what you can do.
|
9410
|
+
#
|
9411
|
+
# If you believe that the result is a false positive, notify the
|
9412
|
+
# organization that is reporting the domain. VirusTotal is an
|
9413
|
+
# aggregate of several antivirus and URL scanners and cannot remove
|
9414
|
+
# your domain from a block list itself. After you correct the
|
9415
|
+
# problem and the VirusTotal registry has been updated, request a
|
9416
|
+
# new certificate.
|
9417
|
+
#
|
9418
|
+
# If you see this error and your domain is not included in the
|
9419
|
+
# VirusTotal list, visit the [AWS Support Center][1] and create a
|
9420
|
+
# case.
|
9421
|
+
#
|
9422
|
+
# * <b> <code>INVALID_PUBLIC_DOMAIN</code> </b> - One or more of the
|
9423
|
+
# domain names in the certificate request is not valid. Typically,
|
9424
|
+
# this is because a domain name in the request is not a valid
|
9425
|
+
# top-level domain. Try to request a certificate again, correcting
|
9426
|
+
# any spelling errors or typos that were in the failed request, and
|
9427
|
+
# ensure that all domain names in the request are for valid
|
9428
|
+
# top-level domains. For example, you cannot request a certificate
|
9429
|
+
# for `example.invalidpublicdomain` because `invalidpublicdomain` is
|
9430
|
+
# not a valid top-level domain.
|
9431
|
+
#
|
9432
|
+
# * <b> <code>OTHER</code> </b> - Typically, this failure occurs when
|
9433
|
+
# there is a typographical error in one or more of the domain names
|
9434
|
+
# in the certificate request. Try to request a certificate again,
|
9435
|
+
# correcting any spelling errors or typos that were in the failed
|
9436
|
+
# request.
|
9437
|
+
#
|
9438
|
+
#
|
9439
|
+
#
|
9440
|
+
# [1]: https://console.aws.amazon.com/support/home
|
9441
|
+
# [2]: https://www.virustotal.com/gui/home/url
|
9442
|
+
# [3]: https://www.google.com/webmasters/hacked/?hl=en
|
7646
9443
|
# @return [String]
|
7647
9444
|
#
|
7648
9445
|
# @!attribute [rw] issued_at
|
@@ -7654,8 +9451,8 @@ module Aws::Lightsail
|
|
7654
9451
|
# @return [String]
|
7655
9452
|
#
|
7656
9453
|
# @!attribute [rw] key_algorithm
|
7657
|
-
# The algorithm
|
7658
|
-
#
|
9454
|
+
# The algorithm used to generate the key pair (the public and private
|
9455
|
+
# key).
|
7659
9456
|
# @return [String]
|
7660
9457
|
#
|
7661
9458
|
# @!attribute [rw] not_after
|
@@ -7667,16 +9464,18 @@ module Aws::Lightsail
|
|
7667
9464
|
# @return [Time]
|
7668
9465
|
#
|
7669
9466
|
# @!attribute [rw] renewal_summary
|
7670
|
-
# An object
|
7671
|
-
# managed
|
9467
|
+
# An object that describes the status of the certificate renewal
|
9468
|
+
# managed by Lightsail.
|
7672
9469
|
# @return [Types::LoadBalancerTlsCertificateRenewalSummary]
|
7673
9470
|
#
|
7674
9471
|
# @!attribute [rw] revocation_reason
|
7675
|
-
# The reason the certificate was revoked.
|
9472
|
+
# The reason the certificate was revoked. This value is present only
|
9473
|
+
# when the certificate status is `REVOKED`.
|
7676
9474
|
# @return [String]
|
7677
9475
|
#
|
7678
9476
|
# @!attribute [rw] revoked_at
|
7679
|
-
# The timestamp when the
|
9477
|
+
# The timestamp when the certificate was revoked. This value is
|
9478
|
+
# present only when the certificate status is `REVOKED`.
|
7680
9479
|
# @return [Time]
|
7681
9480
|
#
|
7682
9481
|
# @!attribute [rw] serial
|
@@ -7693,12 +9492,9 @@ module Aws::Lightsail
|
|
7693
9492
|
# @return [String]
|
7694
9493
|
#
|
7695
9494
|
# @!attribute [rw] subject_alternative_names
|
7696
|
-
#
|
7697
|
-
#
|
7698
|
-
#
|
7699
|
-
# include the canonical domain name (CNAME) of the certificate and
|
7700
|
-
# additional domain names that can be used to connect to the website,
|
7701
|
-
# such as `example.com`, `www.example.com`, or `m.example.com`.
|
9495
|
+
# An array of strings that specify the alternate domains (e.g.,
|
9496
|
+
# `example2.com`) and subdomains (e.g., `blog.example.com`) for the
|
9497
|
+
# certificate.
|
7702
9498
|
# @return [Array<String>]
|
7703
9499
|
#
|
7704
9500
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/LoadBalancerTlsCertificate AWS API Documentation
|
@@ -7729,6 +9525,7 @@ module Aws::Lightsail
|
|
7729
9525
|
:signature_algorithm,
|
7730
9526
|
:subject,
|
7731
9527
|
:subject_alternative_names)
|
9528
|
+
SENSITIVE = []
|
7732
9529
|
include Aws::Structure
|
7733
9530
|
end
|
7734
9531
|
|
@@ -7748,6 +9545,7 @@ module Aws::Lightsail
|
|
7748
9545
|
class LoadBalancerTlsCertificateDomainValidationOption < Struct.new(
|
7749
9546
|
:domain_name,
|
7750
9547
|
:validation_status)
|
9548
|
+
SENSITIVE = []
|
7751
9549
|
include Aws::Structure
|
7752
9550
|
end
|
7753
9551
|
|
@@ -7785,15 +9583,61 @@ module Aws::Lightsail
|
|
7785
9583
|
:value,
|
7786
9584
|
:validation_status,
|
7787
9585
|
:domain_name)
|
9586
|
+
SENSITIVE = []
|
7788
9587
|
include Aws::Structure
|
7789
9588
|
end
|
7790
9589
|
|
7791
9590
|
# Contains information about the status of Lightsail's managed renewal
|
7792
9591
|
# for the certificate.
|
7793
9592
|
#
|
9593
|
+
# The renewal status of the certificate.
|
9594
|
+
#
|
9595
|
+
# The following renewal status are possible:
|
9596
|
+
#
|
9597
|
+
# * <b> <code>PendingAutoRenewal</code> </b> - Lightsail is attempting
|
9598
|
+
# to automatically validate the domain names in the certificate. No
|
9599
|
+
# further action is required.
|
9600
|
+
#
|
9601
|
+
# * <b> <code>PendingValidation</code> </b> - Lightsail couldn't
|
9602
|
+
# automatically validate one or more domain names in the certificate.
|
9603
|
+
# You must take action to validate these domain names or the
|
9604
|
+
# certificate won't be renewed. If you used DNS validation, check to
|
9605
|
+
# make sure your certificate's domain validation records exist in
|
9606
|
+
# your domain's DNS, and that your certificate remains in use.
|
9607
|
+
#
|
9608
|
+
# * <b> <code>Success</code> </b> - All domain names in the certificate
|
9609
|
+
# are validated, and Lightsail renewed the certificate. No further
|
9610
|
+
# action is required.
|
9611
|
+
#
|
9612
|
+
# * <b> <code>Failed</code> </b> - One or more domain names were not
|
9613
|
+
# validated before the certificate expired, and Lightsail did not
|
9614
|
+
# renew the certificate. You can request a new certificate using the
|
9615
|
+
# `CreateCertificate` action.
|
9616
|
+
#
|
7794
9617
|
# @!attribute [rw] renewal_status
|
7795
|
-
# The status of
|
7796
|
-
#
|
9618
|
+
# The renewal status of the certificate.
|
9619
|
+
#
|
9620
|
+
# The following renewal status are possible:
|
9621
|
+
#
|
9622
|
+
# * <b> <code>PendingAutoRenewal</code> </b> - Lightsail is attempting
|
9623
|
+
# to automatically validate the domain names of the certificate. No
|
9624
|
+
# further action is required.
|
9625
|
+
#
|
9626
|
+
# * <b> <code>PendingValidation</code> </b> - Lightsail couldn't
|
9627
|
+
# automatically validate one or more domain names of the
|
9628
|
+
# certificate. You must take action to validate these domain names
|
9629
|
+
# or the certificate won't be renewed. Check to make sure your
|
9630
|
+
# certificate's domain validation records exist in your domain's
|
9631
|
+
# DNS, and that your certificate remains in use.
|
9632
|
+
#
|
9633
|
+
# * <b> <code>Success</code> </b> - All domain names in the
|
9634
|
+
# certificate are validated, and Lightsail renewed the certificate.
|
9635
|
+
# No further action is required.
|
9636
|
+
#
|
9637
|
+
# * <b> <code>Failed</code> </b> - One or more domain names were not
|
9638
|
+
# validated before the certificate expired, and Lightsail did not
|
9639
|
+
# renew the certificate. You can request a new certificate using the
|
9640
|
+
# `CreateCertificate` action.
|
7797
9641
|
# @return [String]
|
7798
9642
|
#
|
7799
9643
|
# @!attribute [rw] domain_validation_options
|
@@ -7808,6 +9652,7 @@ module Aws::Lightsail
|
|
7808
9652
|
class LoadBalancerTlsCertificateRenewalSummary < Struct.new(
|
7809
9653
|
:renewal_status,
|
7810
9654
|
:domain_validation_options)
|
9655
|
+
SENSITIVE = []
|
7811
9656
|
include Aws::Structure
|
7812
9657
|
end
|
7813
9658
|
|
@@ -7827,6 +9672,7 @@ module Aws::Lightsail
|
|
7827
9672
|
class LoadBalancerTlsCertificateSummary < Struct.new(
|
7828
9673
|
:name,
|
7829
9674
|
:is_attached)
|
9675
|
+
SENSITIVE = []
|
7830
9676
|
include Aws::Structure
|
7831
9677
|
end
|
7832
9678
|
|
@@ -7845,6 +9691,7 @@ module Aws::Lightsail
|
|
7845
9691
|
class LogEvent < Struct.new(
|
7846
9692
|
:created_at,
|
7847
9693
|
:message)
|
9694
|
+
SENSITIVE = []
|
7848
9695
|
include Aws::Structure
|
7849
9696
|
end
|
7850
9697
|
|
@@ -7888,6 +9735,7 @@ module Aws::Lightsail
|
|
7888
9735
|
:sum,
|
7889
9736
|
:timestamp,
|
7890
9737
|
:unit)
|
9738
|
+
SENSITIVE = []
|
7891
9739
|
include Aws::Structure
|
7892
9740
|
end
|
7893
9741
|
|
@@ -7921,6 +9769,7 @@ module Aws::Lightsail
|
|
7921
9769
|
:arn,
|
7922
9770
|
:name,
|
7923
9771
|
:resource_type)
|
9772
|
+
SENSITIVE = []
|
7924
9773
|
include Aws::Structure
|
7925
9774
|
end
|
7926
9775
|
|
@@ -7935,6 +9784,7 @@ module Aws::Lightsail
|
|
7935
9784
|
#
|
7936
9785
|
class MonthlyTransfer < Struct.new(
|
7937
9786
|
:gb_per_month_allocated)
|
9787
|
+
SENSITIVE = []
|
7938
9788
|
include Aws::Structure
|
7939
9789
|
end
|
7940
9790
|
|
@@ -7959,6 +9809,7 @@ module Aws::Lightsail
|
|
7959
9809
|
:docs,
|
7960
9810
|
:message,
|
7961
9811
|
:tip)
|
9812
|
+
SENSITIVE = []
|
7962
9813
|
include Aws::Structure
|
7963
9814
|
end
|
7964
9815
|
|
@@ -7989,6 +9840,7 @@ module Aws::Lightsail
|
|
7989
9840
|
class OpenInstancePublicPortsRequest < Struct.new(
|
7990
9841
|
:port_info,
|
7991
9842
|
:instance_name)
|
9843
|
+
SENSITIVE = []
|
7992
9844
|
include Aws::Structure
|
7993
9845
|
end
|
7994
9846
|
|
@@ -8002,6 +9854,7 @@ module Aws::Lightsail
|
|
8002
9854
|
#
|
8003
9855
|
class OpenInstancePublicPortsResult < Struct.new(
|
8004
9856
|
:operation)
|
9857
|
+
SENSITIVE = []
|
8005
9858
|
include Aws::Structure
|
8006
9859
|
end
|
8007
9860
|
|
@@ -8071,6 +9924,7 @@ module Aws::Lightsail
|
|
8071
9924
|
:status_changed_at,
|
8072
9925
|
:error_code,
|
8073
9926
|
:error_details)
|
9927
|
+
SENSITIVE = []
|
8074
9928
|
include Aws::Structure
|
8075
9929
|
end
|
8076
9930
|
|
@@ -8095,6 +9949,42 @@ module Aws::Lightsail
|
|
8095
9949
|
:docs,
|
8096
9950
|
:message,
|
8097
9951
|
:tip)
|
9952
|
+
SENSITIVE = []
|
9953
|
+
include Aws::Structure
|
9954
|
+
end
|
9955
|
+
|
9956
|
+
# Describes the origin resource of an Amazon Lightsail content delivery
|
9957
|
+
# network (CDN) distribution.
|
9958
|
+
#
|
9959
|
+
# An origin can be a Lightsail instance or load balancer. A distribution
|
9960
|
+
# pulls content from an origin, caches it, and serves it to viewers via
|
9961
|
+
# a worldwide network of edge servers.
|
9962
|
+
#
|
9963
|
+
# @!attribute [rw] name
|
9964
|
+
# The name of the origin resource.
|
9965
|
+
# @return [String]
|
9966
|
+
#
|
9967
|
+
# @!attribute [rw] resource_type
|
9968
|
+
# The resource type of the origin resource (e.g., *Instance*).
|
9969
|
+
# @return [String]
|
9970
|
+
#
|
9971
|
+
# @!attribute [rw] region_name
|
9972
|
+
# The AWS Region name of the origin resource.
|
9973
|
+
# @return [String]
|
9974
|
+
#
|
9975
|
+
# @!attribute [rw] protocol_policy
|
9976
|
+
# The protocol that your Amazon Lightsail distribution uses when
|
9977
|
+
# establishing a connection with your origin to pull content.
|
9978
|
+
# @return [String]
|
9979
|
+
#
|
9980
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/Origin AWS API Documentation
|
9981
|
+
#
|
9982
|
+
class Origin < Struct.new(
|
9983
|
+
:name,
|
9984
|
+
:resource_type,
|
9985
|
+
:region_name,
|
9986
|
+
:protocol_policy)
|
9987
|
+
SENSITIVE = []
|
8098
9988
|
include Aws::Structure
|
8099
9989
|
end
|
8100
9990
|
|
@@ -8136,6 +10026,7 @@ module Aws::Lightsail
|
|
8136
10026
|
class PasswordData < Struct.new(
|
8137
10027
|
:ciphertext,
|
8138
10028
|
:key_pair_name)
|
10029
|
+
SENSITIVE = []
|
8139
10030
|
include Aws::Structure
|
8140
10031
|
end
|
8141
10032
|
|
@@ -8155,6 +10046,7 @@ module Aws::Lightsail
|
|
8155
10046
|
#
|
8156
10047
|
class PeerVpcResult < Struct.new(
|
8157
10048
|
:operation)
|
10049
|
+
SENSITIVE = []
|
8158
10050
|
include Aws::Structure
|
8159
10051
|
end
|
8160
10052
|
|
@@ -8178,6 +10070,7 @@ module Aws::Lightsail
|
|
8178
10070
|
:action,
|
8179
10071
|
:description,
|
8180
10072
|
:current_apply_date)
|
10073
|
+
SENSITIVE = []
|
8181
10074
|
include Aws::Structure
|
8182
10075
|
end
|
8183
10076
|
|
@@ -8202,6 +10095,7 @@ module Aws::Lightsail
|
|
8202
10095
|
:master_user_password,
|
8203
10096
|
:engine_version,
|
8204
10097
|
:backup_retention_enabled)
|
10098
|
+
SENSITIVE = []
|
8205
10099
|
include Aws::Structure
|
8206
10100
|
end
|
8207
10101
|
|
@@ -8327,6 +10221,7 @@ module Aws::Lightsail
|
|
8327
10221
|
:protocol,
|
8328
10222
|
:cidrs,
|
8329
10223
|
:cidr_list_aliases)
|
10224
|
+
SENSITIVE = []
|
8330
10225
|
include Aws::Structure
|
8331
10226
|
end
|
8332
10227
|
|
@@ -8513,6 +10408,7 @@ module Aws::Lightsail
|
|
8513
10408
|
:contact_protocols,
|
8514
10409
|
:notification_triggers,
|
8515
10410
|
:notification_enabled)
|
10411
|
+
SENSITIVE = []
|
8516
10412
|
include Aws::Structure
|
8517
10413
|
end
|
8518
10414
|
|
@@ -8526,6 +10422,7 @@ module Aws::Lightsail
|
|
8526
10422
|
#
|
8527
10423
|
class PutAlarmResult < Struct.new(
|
8528
10424
|
:operations)
|
10425
|
+
SENSITIVE = []
|
8529
10426
|
include Aws::Structure
|
8530
10427
|
end
|
8531
10428
|
|
@@ -8559,6 +10456,7 @@ module Aws::Lightsail
|
|
8559
10456
|
class PutInstancePublicPortsRequest < Struct.new(
|
8560
10457
|
:port_infos,
|
8561
10458
|
:instance_name)
|
10459
|
+
SENSITIVE = []
|
8562
10460
|
include Aws::Structure
|
8563
10461
|
end
|
8564
10462
|
|
@@ -8572,6 +10470,48 @@ module Aws::Lightsail
|
|
8572
10470
|
#
|
8573
10471
|
class PutInstancePublicPortsResult < Struct.new(
|
8574
10472
|
:operation)
|
10473
|
+
SENSITIVE = []
|
10474
|
+
include Aws::Structure
|
10475
|
+
end
|
10476
|
+
|
10477
|
+
# Describes the query string parameters that an Amazon Lightsail content
|
10478
|
+
# delivery network (CDN) distribution to bases caching on.
|
10479
|
+
#
|
10480
|
+
# For the query strings that you specify, your distribution caches
|
10481
|
+
# separate versions of the specified content based on the query string
|
10482
|
+
# values in viewer requests.
|
10483
|
+
#
|
10484
|
+
# @note When making an API call, you may pass QueryStringObject
|
10485
|
+
# data as a hash:
|
10486
|
+
#
|
10487
|
+
# {
|
10488
|
+
# option: false,
|
10489
|
+
# query_strings_allow_list: ["string"],
|
10490
|
+
# }
|
10491
|
+
#
|
10492
|
+
# @!attribute [rw] option
|
10493
|
+
# Indicates whether the distribution forwards and caches based on
|
10494
|
+
# query strings.
|
10495
|
+
# @return [Boolean]
|
10496
|
+
#
|
10497
|
+
# @!attribute [rw] query_strings_allow_list
|
10498
|
+
# The specific query strings that the distribution forwards to the
|
10499
|
+
# origin.
|
10500
|
+
#
|
10501
|
+
# Your distribution will cache content based on the specified query
|
10502
|
+
# strings.
|
10503
|
+
#
|
10504
|
+
# If the `option` parameter is true, then your distribution forwards
|
10505
|
+
# all query strings, regardless of what you specify using the
|
10506
|
+
# `queryStringsAllowList` parameter.
|
10507
|
+
# @return [Array<String>]
|
10508
|
+
#
|
10509
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/QueryStringObject AWS API Documentation
|
10510
|
+
#
|
10511
|
+
class QueryStringObject < Struct.new(
|
10512
|
+
:option,
|
10513
|
+
:query_strings_allow_list)
|
10514
|
+
SENSITIVE = []
|
8575
10515
|
include Aws::Structure
|
8576
10516
|
end
|
8577
10517
|
|
@@ -8590,6 +10530,7 @@ module Aws::Lightsail
|
|
8590
10530
|
#
|
8591
10531
|
class RebootInstanceRequest < Struct.new(
|
8592
10532
|
:instance_name)
|
10533
|
+
SENSITIVE = []
|
8593
10534
|
include Aws::Structure
|
8594
10535
|
end
|
8595
10536
|
|
@@ -8603,6 +10544,7 @@ module Aws::Lightsail
|
|
8603
10544
|
#
|
8604
10545
|
class RebootInstanceResult < Struct.new(
|
8605
10546
|
:operations)
|
10547
|
+
SENSITIVE = []
|
8606
10548
|
include Aws::Structure
|
8607
10549
|
end
|
8608
10550
|
|
@@ -8621,6 +10563,7 @@ module Aws::Lightsail
|
|
8621
10563
|
#
|
8622
10564
|
class RebootRelationalDatabaseRequest < Struct.new(
|
8623
10565
|
:relational_database_name)
|
10566
|
+
SENSITIVE = []
|
8624
10567
|
include Aws::Structure
|
8625
10568
|
end
|
8626
10569
|
|
@@ -8634,6 +10577,7 @@ module Aws::Lightsail
|
|
8634
10577
|
#
|
8635
10578
|
class RebootRelationalDatabaseResult < Struct.new(
|
8636
10579
|
:operations)
|
10580
|
+
SENSITIVE = []
|
8637
10581
|
include Aws::Structure
|
8638
10582
|
end
|
8639
10583
|
|
@@ -8675,6 +10619,7 @@ module Aws::Lightsail
|
|
8675
10619
|
:name,
|
8676
10620
|
:availability_zones,
|
8677
10621
|
:relational_database_availability_zones)
|
10622
|
+
SENSITIVE = []
|
8678
10623
|
include Aws::Structure
|
8679
10624
|
end
|
8680
10625
|
|
@@ -8838,6 +10783,7 @@ module Aws::Lightsail
|
|
8838
10783
|
:master_endpoint,
|
8839
10784
|
:pending_maintenance_actions,
|
8840
10785
|
:ca_certificate_identifier)
|
10786
|
+
SENSITIVE = []
|
8841
10787
|
include Aws::Structure
|
8842
10788
|
end
|
8843
10789
|
|
@@ -8881,6 +10827,7 @@ module Aws::Lightsail
|
|
8881
10827
|
:engine_description,
|
8882
10828
|
:engine_version_description,
|
8883
10829
|
:is_engine_default)
|
10830
|
+
SENSITIVE = []
|
8884
10831
|
include Aws::Structure
|
8885
10832
|
end
|
8886
10833
|
|
@@ -8936,6 +10883,7 @@ module Aws::Lightsail
|
|
8936
10883
|
:cpu_count,
|
8937
10884
|
:is_encrypted,
|
8938
10885
|
:is_active)
|
10886
|
+
SENSITIVE = []
|
8939
10887
|
include Aws::Structure
|
8940
10888
|
end
|
8941
10889
|
|
@@ -8954,6 +10902,7 @@ module Aws::Lightsail
|
|
8954
10902
|
class RelationalDatabaseEndpoint < Struct.new(
|
8955
10903
|
:port,
|
8956
10904
|
:address)
|
10905
|
+
SENSITIVE = []
|
8957
10906
|
include Aws::Structure
|
8958
10907
|
end
|
8959
10908
|
|
@@ -8982,6 +10931,7 @@ module Aws::Lightsail
|
|
8982
10931
|
:created_at,
|
8983
10932
|
:message,
|
8984
10933
|
:event_categories)
|
10934
|
+
SENSITIVE = []
|
8985
10935
|
include Aws::Structure
|
8986
10936
|
end
|
8987
10937
|
|
@@ -9005,6 +10955,7 @@ module Aws::Lightsail
|
|
9005
10955
|
:cpu_count,
|
9006
10956
|
:disk_size_in_gb,
|
9007
10957
|
:ram_size_in_gb)
|
10958
|
+
SENSITIVE = []
|
9008
10959
|
include Aws::Structure
|
9009
10960
|
end
|
9010
10961
|
|
@@ -9069,6 +11020,7 @@ module Aws::Lightsail
|
|
9069
11020
|
:is_modifiable,
|
9070
11021
|
:parameter_name,
|
9071
11022
|
:parameter_value)
|
11023
|
+
SENSITIVE = []
|
9072
11024
|
include Aws::Structure
|
9073
11025
|
end
|
9074
11026
|
|
@@ -9169,6 +11121,7 @@ module Aws::Lightsail
|
|
9169
11121
|
:from_relational_database_arn,
|
9170
11122
|
:from_relational_database_bundle_id,
|
9171
11123
|
:from_relational_database_blueprint_id)
|
11124
|
+
SENSITIVE = []
|
9172
11125
|
include Aws::Structure
|
9173
11126
|
end
|
9174
11127
|
|
@@ -9187,6 +11140,7 @@ module Aws::Lightsail
|
|
9187
11140
|
#
|
9188
11141
|
class ReleaseStaticIpRequest < Struct.new(
|
9189
11142
|
:static_ip_name)
|
11143
|
+
SENSITIVE = []
|
9190
11144
|
include Aws::Structure
|
9191
11145
|
end
|
9192
11146
|
|
@@ -9200,6 +11154,107 @@ module Aws::Lightsail
|
|
9200
11154
|
#
|
9201
11155
|
class ReleaseStaticIpResult < Struct.new(
|
9202
11156
|
:operations)
|
11157
|
+
SENSITIVE = []
|
11158
|
+
include Aws::Structure
|
11159
|
+
end
|
11160
|
+
|
11161
|
+
# Describes the status of a SSL/TLS certificate renewal managed by
|
11162
|
+
# Amazon Lightsail.
|
11163
|
+
#
|
11164
|
+
# @!attribute [rw] domain_validation_records
|
11165
|
+
# An array of objects that describe the domain validation records of
|
11166
|
+
# the certificate.
|
11167
|
+
# @return [Array<Types::DomainValidationRecord>]
|
11168
|
+
#
|
11169
|
+
# @!attribute [rw] renewal_status
|
11170
|
+
# The renewal status of the certificate.
|
11171
|
+
#
|
11172
|
+
# The following renewal status are possible:
|
11173
|
+
#
|
11174
|
+
# * <b> <code>PendingAutoRenewal</code> </b> - Lightsail is attempting
|
11175
|
+
# to automatically validate the domain names of the certificate. No
|
11176
|
+
# further action is required.
|
11177
|
+
#
|
11178
|
+
# * <b> <code>PendingValidation</code> </b> - Lightsail couldn't
|
11179
|
+
# automatically validate one or more domain names of the
|
11180
|
+
# certificate. You must take action to validate these domain names
|
11181
|
+
# or the certificate won't be renewed. Check to make sure your
|
11182
|
+
# certificate's domain validation records exist in your domain's
|
11183
|
+
# DNS, and that your certificate remains in use.
|
11184
|
+
#
|
11185
|
+
# * <b> <code>Success</code> </b> - All domain names in the
|
11186
|
+
# certificate are validated, and Lightsail renewed the certificate.
|
11187
|
+
# No further action is required.
|
11188
|
+
#
|
11189
|
+
# * <b> <code>Failed</code> </b> - One or more domain names were not
|
11190
|
+
# validated before the certificate expired, and Lightsail did not
|
11191
|
+
# renew the certificate. You can request a new certificate using the
|
11192
|
+
# `CreateCertificate` action.
|
11193
|
+
# @return [String]
|
11194
|
+
#
|
11195
|
+
# @!attribute [rw] renewal_status_reason
|
11196
|
+
# The reason for the renewal status of the certificate.
|
11197
|
+
# @return [String]
|
11198
|
+
#
|
11199
|
+
# @!attribute [rw] updated_at
|
11200
|
+
# The timestamp when the certificate was last updated.
|
11201
|
+
# @return [Time]
|
11202
|
+
#
|
11203
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/RenewalSummary AWS API Documentation
|
11204
|
+
#
|
11205
|
+
class RenewalSummary < Struct.new(
|
11206
|
+
:domain_validation_records,
|
11207
|
+
:renewal_status,
|
11208
|
+
:renewal_status_reason,
|
11209
|
+
:updated_at)
|
11210
|
+
SENSITIVE = []
|
11211
|
+
include Aws::Structure
|
11212
|
+
end
|
11213
|
+
|
11214
|
+
# @note When making an API call, you may pass ResetDistributionCacheRequest
|
11215
|
+
# data as a hash:
|
11216
|
+
#
|
11217
|
+
# {
|
11218
|
+
# distribution_name: "ResourceName",
|
11219
|
+
# }
|
11220
|
+
#
|
11221
|
+
# @!attribute [rw] distribution_name
|
11222
|
+
# The name of the distribution for which to reset cache.
|
11223
|
+
#
|
11224
|
+
# Use the `GetDistributions` action to get a list of distribution
|
11225
|
+
# names that you can specify.
|
11226
|
+
# @return [String]
|
11227
|
+
#
|
11228
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/ResetDistributionCacheRequest AWS API Documentation
|
11229
|
+
#
|
11230
|
+
class ResetDistributionCacheRequest < Struct.new(
|
11231
|
+
:distribution_name)
|
11232
|
+
SENSITIVE = []
|
11233
|
+
include Aws::Structure
|
11234
|
+
end
|
11235
|
+
|
11236
|
+
# @!attribute [rw] status
|
11237
|
+
# The status of the reset cache request.
|
11238
|
+
# @return [String]
|
11239
|
+
#
|
11240
|
+
# @!attribute [rw] create_time
|
11241
|
+
# The timestamp of the reset cache request (e.g., `1479734909.17`) in
|
11242
|
+
# Unix time format.
|
11243
|
+
# @return [Time]
|
11244
|
+
#
|
11245
|
+
# @!attribute [rw] operation
|
11246
|
+
# An array of objects that describe the result of the action, such as
|
11247
|
+
# the status of the request, the timestamp of the request, and the
|
11248
|
+
# resources affected by the request.
|
11249
|
+
# @return [Types::Operation]
|
11250
|
+
#
|
11251
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/ResetDistributionCacheResult AWS API Documentation
|
11252
|
+
#
|
11253
|
+
class ResetDistributionCacheResult < Struct.new(
|
11254
|
+
:status,
|
11255
|
+
:create_time,
|
11256
|
+
:operation)
|
11257
|
+
SENSITIVE = []
|
9203
11258
|
include Aws::Structure
|
9204
11259
|
end
|
9205
11260
|
|
@@ -9219,6 +11274,32 @@ module Aws::Lightsail
|
|
9219
11274
|
class ResourceLocation < Struct.new(
|
9220
11275
|
:availability_zone,
|
9221
11276
|
:region_name)
|
11277
|
+
SENSITIVE = []
|
11278
|
+
include Aws::Structure
|
11279
|
+
end
|
11280
|
+
|
11281
|
+
# Describes the domain name system (DNS) records to add to your
|
11282
|
+
# domain's DNS to validate it for an Amazon Lightsail certificate.
|
11283
|
+
#
|
11284
|
+
# @!attribute [rw] name
|
11285
|
+
# The name of the record.
|
11286
|
+
# @return [String]
|
11287
|
+
#
|
11288
|
+
# @!attribute [rw] type
|
11289
|
+
# The DNS record type.
|
11290
|
+
# @return [String]
|
11291
|
+
#
|
11292
|
+
# @!attribute [rw] value
|
11293
|
+
# The value for the DNS record.
|
11294
|
+
# @return [String]
|
11295
|
+
#
|
11296
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/ResourceRecord AWS API Documentation
|
11297
|
+
#
|
11298
|
+
class ResourceRecord < Struct.new(
|
11299
|
+
:name,
|
11300
|
+
:type,
|
11301
|
+
:value)
|
11302
|
+
SENSITIVE = []
|
9222
11303
|
include Aws::Structure
|
9223
11304
|
end
|
9224
11305
|
|
@@ -9237,6 +11318,7 @@ module Aws::Lightsail
|
|
9237
11318
|
#
|
9238
11319
|
class SendContactMethodVerificationRequest < Struct.new(
|
9239
11320
|
:protocol)
|
11321
|
+
SENSITIVE = []
|
9240
11322
|
include Aws::Structure
|
9241
11323
|
end
|
9242
11324
|
|
@@ -9250,6 +11332,7 @@ module Aws::Lightsail
|
|
9250
11332
|
#
|
9251
11333
|
class SendContactMethodVerificationResult < Struct.new(
|
9252
11334
|
:operations)
|
11335
|
+
SENSITIVE = []
|
9253
11336
|
include Aws::Structure
|
9254
11337
|
end
|
9255
11338
|
|
@@ -9274,6 +11357,7 @@ module Aws::Lightsail
|
|
9274
11357
|
:docs,
|
9275
11358
|
:message,
|
9276
11359
|
:tip)
|
11360
|
+
SENSITIVE = []
|
9277
11361
|
include Aws::Structure
|
9278
11362
|
end
|
9279
11363
|
|
@@ -9292,6 +11376,7 @@ module Aws::Lightsail
|
|
9292
11376
|
#
|
9293
11377
|
class StartInstanceRequest < Struct.new(
|
9294
11378
|
:instance_name)
|
11379
|
+
SENSITIVE = []
|
9295
11380
|
include Aws::Structure
|
9296
11381
|
end
|
9297
11382
|
|
@@ -9305,6 +11390,7 @@ module Aws::Lightsail
|
|
9305
11390
|
#
|
9306
11391
|
class StartInstanceResult < Struct.new(
|
9307
11392
|
:operations)
|
11393
|
+
SENSITIVE = []
|
9308
11394
|
include Aws::Structure
|
9309
11395
|
end
|
9310
11396
|
|
@@ -9323,6 +11409,7 @@ module Aws::Lightsail
|
|
9323
11409
|
#
|
9324
11410
|
class StartRelationalDatabaseRequest < Struct.new(
|
9325
11411
|
:relational_database_name)
|
11412
|
+
SENSITIVE = []
|
9326
11413
|
include Aws::Structure
|
9327
11414
|
end
|
9328
11415
|
|
@@ -9336,6 +11423,7 @@ module Aws::Lightsail
|
|
9336
11423
|
#
|
9337
11424
|
class StartRelationalDatabaseResult < Struct.new(
|
9338
11425
|
:operations)
|
11426
|
+
SENSITIVE = []
|
9339
11427
|
include Aws::Structure
|
9340
11428
|
end
|
9341
11429
|
|
@@ -9395,6 +11483,7 @@ module Aws::Lightsail
|
|
9395
11483
|
:ip_address,
|
9396
11484
|
:attached_to,
|
9397
11485
|
:is_attached)
|
11486
|
+
SENSITIVE = []
|
9398
11487
|
include Aws::Structure
|
9399
11488
|
end
|
9400
11489
|
|
@@ -9424,6 +11513,7 @@ module Aws::Lightsail
|
|
9424
11513
|
class StopInstanceRequest < Struct.new(
|
9425
11514
|
:instance_name,
|
9426
11515
|
:force)
|
11516
|
+
SENSITIVE = []
|
9427
11517
|
include Aws::Structure
|
9428
11518
|
end
|
9429
11519
|
|
@@ -9437,6 +11527,7 @@ module Aws::Lightsail
|
|
9437
11527
|
#
|
9438
11528
|
class StopInstanceResult < Struct.new(
|
9439
11529
|
:operations)
|
11530
|
+
SENSITIVE = []
|
9440
11531
|
include Aws::Structure
|
9441
11532
|
end
|
9442
11533
|
|
@@ -9462,6 +11553,7 @@ module Aws::Lightsail
|
|
9462
11553
|
class StopRelationalDatabaseRequest < Struct.new(
|
9463
11554
|
:relational_database_name,
|
9464
11555
|
:relational_database_snapshot_name)
|
11556
|
+
SENSITIVE = []
|
9465
11557
|
include Aws::Structure
|
9466
11558
|
end
|
9467
11559
|
|
@@ -9475,6 +11567,7 @@ module Aws::Lightsail
|
|
9475
11567
|
#
|
9476
11568
|
class StopRelationalDatabaseResult < Struct.new(
|
9477
11569
|
:operations)
|
11570
|
+
SENSITIVE = []
|
9478
11571
|
include Aws::Structure
|
9479
11572
|
end
|
9480
11573
|
|
@@ -9515,6 +11608,7 @@ module Aws::Lightsail
|
|
9515
11608
|
class Tag < Struct.new(
|
9516
11609
|
:key,
|
9517
11610
|
:value)
|
11611
|
+
SENSITIVE = []
|
9518
11612
|
include Aws::Structure
|
9519
11613
|
end
|
9520
11614
|
|
@@ -9551,6 +11645,7 @@ module Aws::Lightsail
|
|
9551
11645
|
:resource_name,
|
9552
11646
|
:resource_arn,
|
9553
11647
|
:tags)
|
11648
|
+
SENSITIVE = []
|
9554
11649
|
include Aws::Structure
|
9555
11650
|
end
|
9556
11651
|
|
@@ -9564,6 +11659,7 @@ module Aws::Lightsail
|
|
9564
11659
|
#
|
9565
11660
|
class TagResourceResult < Struct.new(
|
9566
11661
|
:operations)
|
11662
|
+
SENSITIVE = []
|
9567
11663
|
include Aws::Structure
|
9568
11664
|
end
|
9569
11665
|
|
@@ -9598,6 +11694,7 @@ module Aws::Lightsail
|
|
9598
11694
|
class TestAlarmRequest < Struct.new(
|
9599
11695
|
:alarm_name,
|
9600
11696
|
:state)
|
11697
|
+
SENSITIVE = []
|
9601
11698
|
include Aws::Structure
|
9602
11699
|
end
|
9603
11700
|
|
@@ -9611,6 +11708,7 @@ module Aws::Lightsail
|
|
9611
11708
|
#
|
9612
11709
|
class TestAlarmResult < Struct.new(
|
9613
11710
|
:operations)
|
11711
|
+
SENSITIVE = []
|
9614
11712
|
include Aws::Structure
|
9615
11713
|
end
|
9616
11714
|
|
@@ -9636,6 +11734,7 @@ module Aws::Lightsail
|
|
9636
11734
|
:docs,
|
9637
11735
|
:message,
|
9638
11736
|
:tip)
|
11737
|
+
SENSITIVE = []
|
9639
11738
|
include Aws::Structure
|
9640
11739
|
end
|
9641
11740
|
|
@@ -9655,6 +11754,7 @@ module Aws::Lightsail
|
|
9655
11754
|
#
|
9656
11755
|
class UnpeerVpcResult < Struct.new(
|
9657
11756
|
:operation)
|
11757
|
+
SENSITIVE = []
|
9658
11758
|
include Aws::Structure
|
9659
11759
|
end
|
9660
11760
|
|
@@ -9686,6 +11786,7 @@ module Aws::Lightsail
|
|
9686
11786
|
:resource_name,
|
9687
11787
|
:resource_arn,
|
9688
11788
|
:tag_keys)
|
11789
|
+
SENSITIVE = []
|
9689
11790
|
include Aws::Structure
|
9690
11791
|
end
|
9691
11792
|
|
@@ -9699,6 +11800,157 @@ module Aws::Lightsail
|
|
9699
11800
|
#
|
9700
11801
|
class UntagResourceResult < Struct.new(
|
9701
11802
|
:operations)
|
11803
|
+
SENSITIVE = []
|
11804
|
+
include Aws::Structure
|
11805
|
+
end
|
11806
|
+
|
11807
|
+
# @note When making an API call, you may pass UpdateDistributionBundleRequest
|
11808
|
+
# data as a hash:
|
11809
|
+
#
|
11810
|
+
# {
|
11811
|
+
# distribution_name: "ResourceName",
|
11812
|
+
# bundle_id: "string",
|
11813
|
+
# }
|
11814
|
+
#
|
11815
|
+
# @!attribute [rw] distribution_name
|
11816
|
+
# The name of the distribution for which to update the bundle.
|
11817
|
+
#
|
11818
|
+
# Use the `GetDistributions` action to get a list of distribution
|
11819
|
+
# names that you can specify.
|
11820
|
+
# @return [String]
|
11821
|
+
#
|
11822
|
+
# @!attribute [rw] bundle_id
|
11823
|
+
# The bundle ID of the new bundle to apply to your distribution.
|
11824
|
+
#
|
11825
|
+
# Use the `GetDistributionBundles` action to get a list of
|
11826
|
+
# distribution bundle IDs that you can specify.
|
11827
|
+
# @return [String]
|
11828
|
+
#
|
11829
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/UpdateDistributionBundleRequest AWS API Documentation
|
11830
|
+
#
|
11831
|
+
class UpdateDistributionBundleRequest < Struct.new(
|
11832
|
+
:distribution_name,
|
11833
|
+
:bundle_id)
|
11834
|
+
SENSITIVE = []
|
11835
|
+
include Aws::Structure
|
11836
|
+
end
|
11837
|
+
|
11838
|
+
# @!attribute [rw] operation
|
11839
|
+
# Describes the API operation.
|
11840
|
+
# @return [Types::Operation]
|
11841
|
+
#
|
11842
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/UpdateDistributionBundleResult AWS API Documentation
|
11843
|
+
#
|
11844
|
+
class UpdateDistributionBundleResult < Struct.new(
|
11845
|
+
:operation)
|
11846
|
+
SENSITIVE = []
|
11847
|
+
include Aws::Structure
|
11848
|
+
end
|
11849
|
+
|
11850
|
+
# @note When making an API call, you may pass UpdateDistributionRequest
|
11851
|
+
# data as a hash:
|
11852
|
+
#
|
11853
|
+
# {
|
11854
|
+
# distribution_name: "ResourceName", # required
|
11855
|
+
# origin: {
|
11856
|
+
# name: "ResourceName",
|
11857
|
+
# region_name: "us-east-1", # accepts 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
|
11858
|
+
# protocol_policy: "http-only", # accepts http-only, https-only
|
11859
|
+
# },
|
11860
|
+
# default_cache_behavior: {
|
11861
|
+
# behavior: "dont-cache", # accepts dont-cache, cache
|
11862
|
+
# },
|
11863
|
+
# cache_behavior_settings: {
|
11864
|
+
# default_ttl: 1,
|
11865
|
+
# minimum_ttl: 1,
|
11866
|
+
# maximum_ttl: 1,
|
11867
|
+
# allowed_http_methods: "NonEmptyString",
|
11868
|
+
# cached_http_methods: "NonEmptyString",
|
11869
|
+
# forwarded_cookies: {
|
11870
|
+
# option: "none", # accepts none, allow-list, all
|
11871
|
+
# cookies_allow_list: ["string"],
|
11872
|
+
# },
|
11873
|
+
# forwarded_headers: {
|
11874
|
+
# option: "none", # accepts none, allow-list, all
|
11875
|
+
# headers_allow_list: ["Accept"], # accepts Accept, Accept-Charset, Accept-Datetime, Accept-Encoding, Accept-Language, Authorization, CloudFront-Forwarded-Proto, CloudFront-Is-Desktop-Viewer, CloudFront-Is-Mobile-Viewer, CloudFront-Is-SmartTV-Viewer, CloudFront-Is-Tablet-Viewer, CloudFront-Viewer-Country, Host, Origin, Referer
|
11876
|
+
# },
|
11877
|
+
# forwarded_query_strings: {
|
11878
|
+
# option: false,
|
11879
|
+
# query_strings_allow_list: ["string"],
|
11880
|
+
# },
|
11881
|
+
# },
|
11882
|
+
# cache_behaviors: [
|
11883
|
+
# {
|
11884
|
+
# path: "string",
|
11885
|
+
# behavior: "dont-cache", # accepts dont-cache, cache
|
11886
|
+
# },
|
11887
|
+
# ],
|
11888
|
+
# is_enabled: false,
|
11889
|
+
# }
|
11890
|
+
#
|
11891
|
+
# @!attribute [rw] distribution_name
|
11892
|
+
# The name of the distribution to update.
|
11893
|
+
#
|
11894
|
+
# Use the `GetDistributions` action to get a list of distribution
|
11895
|
+
# names that you can specify.
|
11896
|
+
# @return [String]
|
11897
|
+
#
|
11898
|
+
# @!attribute [rw] origin
|
11899
|
+
# An object that describes the origin resource for the distribution,
|
11900
|
+
# such as a Lightsail instance or load balancer.
|
11901
|
+
#
|
11902
|
+
# The distribution pulls, caches, and serves content from the origin.
|
11903
|
+
# @return [Types::InputOrigin]
|
11904
|
+
#
|
11905
|
+
# @!attribute [rw] default_cache_behavior
|
11906
|
+
# An object that describes the default cache behavior for the
|
11907
|
+
# distribution.
|
11908
|
+
# @return [Types::CacheBehavior]
|
11909
|
+
#
|
11910
|
+
# @!attribute [rw] cache_behavior_settings
|
11911
|
+
# An object that describes the cache behavior settings for the
|
11912
|
+
# distribution.
|
11913
|
+
#
|
11914
|
+
# <note markdown="1"> The `cacheBehaviorSettings` specified in your
|
11915
|
+
# `UpdateDistributionRequest` will replace your distribution's
|
11916
|
+
# existing settings.
|
11917
|
+
#
|
11918
|
+
# </note>
|
11919
|
+
# @return [Types::CacheSettings]
|
11920
|
+
#
|
11921
|
+
# @!attribute [rw] cache_behaviors
|
11922
|
+
# An array of objects that describe the per-path cache behavior for
|
11923
|
+
# the distribution.
|
11924
|
+
# @return [Array<Types::CacheBehaviorPerPath>]
|
11925
|
+
#
|
11926
|
+
# @!attribute [rw] is_enabled
|
11927
|
+
# Indicates whether to enable the distribution.
|
11928
|
+
# @return [Boolean]
|
11929
|
+
#
|
11930
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/UpdateDistributionRequest AWS API Documentation
|
11931
|
+
#
|
11932
|
+
class UpdateDistributionRequest < Struct.new(
|
11933
|
+
:distribution_name,
|
11934
|
+
:origin,
|
11935
|
+
:default_cache_behavior,
|
11936
|
+
:cache_behavior_settings,
|
11937
|
+
:cache_behaviors,
|
11938
|
+
:is_enabled)
|
11939
|
+
SENSITIVE = []
|
11940
|
+
include Aws::Structure
|
11941
|
+
end
|
11942
|
+
|
11943
|
+
# @!attribute [rw] operation
|
11944
|
+
# An array of objects that describe the result of the action, such as
|
11945
|
+
# the status of the request, the timestamp of the request, and the
|
11946
|
+
# resources affected by the request.
|
11947
|
+
# @return [Types::Operation]
|
11948
|
+
#
|
11949
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/UpdateDistributionResult AWS API Documentation
|
11950
|
+
#
|
11951
|
+
class UpdateDistributionResult < Struct.new(
|
11952
|
+
:operation)
|
11953
|
+
SENSITIVE = []
|
9702
11954
|
include Aws::Structure
|
9703
11955
|
end
|
9704
11956
|
|
@@ -9733,6 +11985,7 @@ module Aws::Lightsail
|
|
9733
11985
|
class UpdateDomainEntryRequest < Struct.new(
|
9734
11986
|
:domain_name,
|
9735
11987
|
:domain_entry)
|
11988
|
+
SENSITIVE = []
|
9736
11989
|
include Aws::Structure
|
9737
11990
|
end
|
9738
11991
|
|
@@ -9746,6 +11999,7 @@ module Aws::Lightsail
|
|
9746
11999
|
#
|
9747
12000
|
class UpdateDomainEntryResult < Struct.new(
|
9748
12001
|
:operations)
|
12002
|
+
SENSITIVE = []
|
9749
12003
|
include Aws::Structure
|
9750
12004
|
end
|
9751
12005
|
|
@@ -9778,6 +12032,7 @@ module Aws::Lightsail
|
|
9778
12032
|
:load_balancer_name,
|
9779
12033
|
:attribute_name,
|
9780
12034
|
:attribute_value)
|
12035
|
+
SENSITIVE = []
|
9781
12036
|
include Aws::Structure
|
9782
12037
|
end
|
9783
12038
|
|
@@ -9791,6 +12046,7 @@ module Aws::Lightsail
|
|
9791
12046
|
#
|
9792
12047
|
class UpdateLoadBalancerAttributeResult < Struct.new(
|
9793
12048
|
:operations)
|
12049
|
+
SENSITIVE = []
|
9794
12050
|
include Aws::Structure
|
9795
12051
|
end
|
9796
12052
|
|
@@ -9826,6 +12082,7 @@ module Aws::Lightsail
|
|
9826
12082
|
class UpdateRelationalDatabaseParametersRequest < Struct.new(
|
9827
12083
|
:relational_database_name,
|
9828
12084
|
:parameters)
|
12085
|
+
SENSITIVE = []
|
9829
12086
|
include Aws::Structure
|
9830
12087
|
end
|
9831
12088
|
|
@@ -9839,6 +12096,7 @@ module Aws::Lightsail
|
|
9839
12096
|
#
|
9840
12097
|
class UpdateRelationalDatabaseParametersResult < Struct.new(
|
9841
12098
|
:operations)
|
12099
|
+
SENSITIVE = []
|
9842
12100
|
include Aws::Structure
|
9843
12101
|
end
|
9844
12102
|
|
@@ -9968,6 +12226,7 @@ module Aws::Lightsail
|
|
9968
12226
|
:publicly_accessible,
|
9969
12227
|
:apply_immediately,
|
9970
12228
|
:ca_certificate_identifier)
|
12229
|
+
SENSITIVE = [:master_user_password]
|
9971
12230
|
include Aws::Structure
|
9972
12231
|
end
|
9973
12232
|
|
@@ -9981,6 +12240,7 @@ module Aws::Lightsail
|
|
9981
12240
|
#
|
9982
12241
|
class UpdateRelationalDatabaseResult < Struct.new(
|
9983
12242
|
:operations)
|
12243
|
+
SENSITIVE = []
|
9984
12244
|
include Aws::Structure
|
9985
12245
|
end
|
9986
12246
|
|