aws-sdk-lightsail 1.62.0 → 1.65.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -27,6 +27,7 @@ require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
27
27
  require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
28
28
  require 'aws-sdk-core/plugins/transfer_encoding.rb'
29
29
  require 'aws-sdk-core/plugins/http_checksum.rb'
30
+ require 'aws-sdk-core/plugins/checksum_algorithm.rb'
30
31
  require 'aws-sdk-core/plugins/defaults_mode.rb'
31
32
  require 'aws-sdk-core/plugins/recursion_detection.rb'
32
33
  require 'aws-sdk-core/plugins/signature_v4.rb'
@@ -75,6 +76,7 @@ module Aws::Lightsail
75
76
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
76
77
  add_plugin(Aws::Plugins::TransferEncoding)
77
78
  add_plugin(Aws::Plugins::HttpChecksum)
79
+ add_plugin(Aws::Plugins::ChecksumAlgorithm)
78
80
  add_plugin(Aws::Plugins::DefaultsMode)
79
81
  add_plugin(Aws::Plugins::RecursionDetection)
80
82
  add_plugin(Aws::Plugins::SignatureV4)
@@ -410,11 +412,11 @@ module Aws::Lightsail
410
412
  # Use the `CreateCertificate` action to create a certificate that you
411
413
  # can attach to your distribution.
412
414
  #
413
- # Only certificates created in the `us-east-1` AWS Region can be
414
- # attached to Lightsail distributions. Lightsail distributions are
415
- # global resources that can reference an origin in any AWS Region, and
416
- # distribute its content globally. However, all distributions are
417
- # located in the `us-east-1` Region.
415
+ # Only certificates created in the `us-east-1` Amazon Web Services
416
+ # Region can be attached to Lightsail distributions. Lightsail
417
+ # distributions are global resources that can reference an origin in any
418
+ # Amazon Web Services Region, and distribute its content globally.
419
+ # However, all distributions are located in the `us-east-1` Region.
418
420
  #
419
421
  # @option params [required, String] :distribution_name
420
422
  # The name of the distribution that the certificate will be attached to.
@@ -771,8 +773,8 @@ module Aws::Lightsail
771
773
  # Copies a manual snapshot of an instance or disk as another manual
772
774
  # snapshot, or copies an automatic snapshot of an instance or disk as a
773
775
  # manual snapshot. This operation can also be used to copy a manual or
774
- # automatic snapshot of an instance or a disk from one AWS Region to
775
- # another in Amazon Lightsail.
776
+ # automatic snapshot of an instance or a disk from one Amazon Web
777
+ # Services Region to another in Amazon Lightsail.
776
778
  #
777
779
  # When copying a *manual snapshot*, be sure to define the `source
778
780
  # region`, `source snapshot name`, and `target snapshot name`
@@ -852,8 +854,8 @@ module Aws::Lightsail
852
854
  # The name of the new manual snapshot to be created as a copy.
853
855
  #
854
856
  # @option params [required, String] :source_region
855
- # The AWS Region where the source manual or automatic snapshot is
856
- # located.
857
+ # The Amazon Web Services Region where the source manual or automatic
858
+ # snapshot is located.
857
859
  #
858
860
  # @return [Types::CopySnapshotResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
859
861
  #
@@ -923,16 +925,25 @@ module Aws::Lightsail
923
925
  # A bucket bundle specifies the monthly cost, storage space, and data
924
926
  # transfer quota for a bucket.
925
927
  #
926
- # Use the GetBucketBundles action to get a list of bundle IDs that you
927
- # can specify.
928
+ # Use the [GetBucketBundles][1] action to get a list of bundle IDs that
929
+ # you can specify.
928
930
  #
929
- # Use the UpdateBucketBundle action to change the bundle after the
931
+ # Use the [UpdateBucketBundle][2] action to change the bundle after the
930
932
  # bucket is created.
931
933
  #
934
+ #
935
+ #
936
+ # [1]: https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_GetBucketBundles.html
937
+ # [2]: https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_UpdateBucketBundle.html
938
+ #
932
939
  # @option params [Array<Types::Tag>] :tags
933
940
  # The tag keys and optional values to add to the bucket during creation.
934
941
  #
935
- # Use the TagResource action to tag the bucket after it's created.
942
+ # Use the [TagResource][1] action to tag the bucket after it's created.
943
+ #
944
+ #
945
+ #
946
+ # [1]: https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_TagResource.html
936
947
  #
937
948
  # @option params [Boolean] :enable_object_versioning
938
949
  # A Boolean value that indicates whether to enable versioning of objects
@@ -1023,9 +1034,9 @@ module Aws::Lightsail
1023
1034
  #
1024
1035
  # Access keys grant full programmatic access to the specified bucket and
1025
1036
  # its objects. You can have a maximum of two access keys per bucket. Use
1026
- # the GetBucketAccessKeys action to get a list of current access keys
1027
- # for a specific bucket. For more information about access keys, see
1028
- # [Creating access keys for a bucket in Amazon Lightsail][1] in the
1037
+ # the [GetBucketAccessKeys][1] action to get a list of current access
1038
+ # keys for a specific bucket. For more information about access keys,
1039
+ # see [Creating access keys for a bucket in Amazon Lightsail][2] in the
1029
1040
  # *Amazon Lightsail Developer Guide*.
1030
1041
  #
1031
1042
  # The `secretAccessKey` value is returned only in response to the
@@ -1036,7 +1047,8 @@ module Aws::Lightsail
1036
1047
  #
1037
1048
  #
1038
1049
  #
1039
- # [1]: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-creating-bucket-access-keys
1050
+ # [1]: https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_GetBucketAccessKeys.html
1051
+ # [2]: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-creating-bucket-access-keys
1040
1052
  #
1041
1053
  # @option params [required, String] :bucket_name
1042
1054
  # The name of the bucket that the new access key will belong to, and
@@ -1095,11 +1107,11 @@ module Aws::Lightsail
1095
1107
  # `UpdateContainerService` action to use the certificate and its domains
1096
1108
  # with your container service.
1097
1109
  #
1098
- # Only certificates created in the `us-east-1` AWS Region can be
1099
- # attached to Lightsail distributions. Lightsail distributions are
1100
- # global resources that can reference an origin in any AWS Region, and
1101
- # distribute its content globally. However, all distributions are
1102
- # located in the `us-east-1` Region.
1110
+ # Only certificates created in the `us-east-1` Amazon Web Services
1111
+ # Region can be attached to Lightsail distributions. Lightsail
1112
+ # distributions are global resources that can reference an origin in any
1113
+ # Amazon Web Services Region, and distribute its content globally.
1114
+ # However, all distributions are located in the `us-east-1` Region.
1103
1115
  #
1104
1116
  # @option params [required, String] :certificate_name
1105
1117
  # The name for the certificate.
@@ -1273,10 +1285,11 @@ module Aws::Lightsail
1273
1285
  #
1274
1286
  # A contact method is used to send you notifications about your Amazon
1275
1287
  # Lightsail resources. You can add one email address and one mobile
1276
- # phone number contact method in each AWS Region. However, SMS text
1277
- # messaging is not supported in some AWS Regions, and SMS text messages
1278
- # cannot be sent to some countries/regions. For more information, see
1279
- # [Notifications in Amazon Lightsail][1].
1288
+ # phone number contact method in each Amazon Web Services Region.
1289
+ # However, SMS text messaging is not supported in some Amazon Web
1290
+ # Services Regions, and SMS text messages cannot be sent to some
1291
+ # countries/regions. For more information, see [Notifications in Amazon
1292
+ # Lightsail][1].
1280
1293
  #
1281
1294
  #
1282
1295
  #
@@ -1286,7 +1299,8 @@ module Aws::Lightsail
1286
1299
  # The protocol of the contact method, such as `Email` or `SMS` (text
1287
1300
  # messaging).
1288
1301
  #
1289
- # The `SMS` protocol is supported only in the following AWS Regions.
1302
+ # The `SMS` protocol is supported only in the following Amazon Web
1303
+ # Services Regions.
1290
1304
  #
1291
1305
  # * US East (N. Virginia) (`us-east-1`)
1292
1306
  #
@@ -1301,9 +1315,9 @@ module Aws::Lightsail
1301
1315
  # * Asia Pacific (Sydney) (`ap-southeast-2`)
1302
1316
  #
1303
1317
  # For a list of countries/regions where SMS text messages can be sent,
1304
- # and the latest AWS Regions where SMS text messaging is supported, see
1305
- # [Supported Regions and Countries][1] in the *Amazon SNS Developer
1306
- # Guide*.
1318
+ # and the latest Amazon Web Services Regions where SMS text messaging is
1319
+ # supported, see [Supported Regions and Countries][1] in the *Amazon SNS
1320
+ # Developer Guide*.
1307
1321
  #
1308
1322
  # For more information about notifications in Amazon Lightsail, see
1309
1323
  # [Notifications in Amazon Lightsail][2].
@@ -1390,7 +1404,8 @@ module Aws::Lightsail
1390
1404
  #
1391
1405
  # The following are the requirements for container service names:
1392
1406
  #
1393
- # * Must be unique within each AWS Region in your Lightsail account.
1407
+ # * Must be unique within each Amazon Web Services Region in your
1408
+ # Lightsail account.
1394
1409
  #
1395
1410
  # * Must contain 1 to 63 characters.
1396
1411
  #
@@ -1593,10 +1608,10 @@ module Aws::Lightsail
1593
1608
  # and the health check configuration.
1594
1609
  #
1595
1610
  # You can deploy containers to your container service using container
1596
- # images from a public registry like Docker Hub, or from your local
1597
- # machine. For more information, see [Creating container images for your
1598
- # Amazon Lightsail container services][1] in the *Amazon Lightsail
1599
- # Developer Guide*.
1611
+ # images from a public registry such as Amazon ECR Public, or from your
1612
+ # local machine. For more information, see [Creating container images
1613
+ # for your Amazon Lightsail container services][1] in the *Amazon
1614
+ # Lightsail Developer Guide*.
1600
1615
  #
1601
1616
  #
1602
1617
  #
@@ -2142,7 +2157,7 @@ module Aws::Lightsail
2142
2157
  #
2143
2158
  # @option params [required, Types::InputOrigin] :origin
2144
2159
  # An object that describes the origin resource for the distribution,
2145
- # such as a Lightsail instance or load balancer.
2160
+ # such as a Lightsail instance, bucket, or load balancer.
2146
2161
  #
2147
2162
  # The distribution pulls, caches, and serves content from the origin.
2148
2163
  #
@@ -2851,15 +2866,23 @@ module Aws::Lightsail
2851
2866
  req.send_request(options)
2852
2867
  end
2853
2868
 
2854
- # Creates an SSH key pair.
2869
+ # Creates a custom SSH key pair that you can use with an Amazon
2870
+ # Lightsail instance.
2871
+ #
2872
+ # <note markdown="1"> Use the [DownloadDefaultKeyPair][1] action to create a Lightsail
2873
+ # default key pair in an Amazon Web Services Region where a default key
2874
+ # pair does not currently exist.
2875
+ #
2876
+ # </note>
2855
2877
  #
2856
2878
  # The `create key pair` operation supports tag-based access control via
2857
2879
  # request tags. For more information, see the [Amazon Lightsail
2858
- # Developer Guide][1].
2880
+ # Developer Guide][2].
2859
2881
  #
2860
2882
  #
2861
2883
  #
2862
- # [1]: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-controlling-access-using-tags
2884
+ # [1]: https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_DownloadDefaultKeyPair.html
2885
+ # [2]: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-controlling-access-using-tags
2863
2886
  #
2864
2887
  # @option params [required, String] :key_pair_name
2865
2888
  # The name for your new key pair.
@@ -2990,6 +3013,21 @@ module Aws::Lightsail
2990
3013
  #
2991
3014
  # The default value is `dualstack`.
2992
3015
  #
3016
+ # @option params [String] :tls_policy_name
3017
+ # The name of the TLS policy to apply to the load balancer.
3018
+ #
3019
+ # Use the [GetLoadBalancerTlsPolicies][1] action to get a list of TLS
3020
+ # policy names that you can specify.
3021
+ #
3022
+ # For more information about load balancer TLS policies, see [Load
3023
+ # balancer TLS security policies][2] in the *Amazon Lightsail Developer
3024
+ # Guide*.
3025
+ #
3026
+ #
3027
+ #
3028
+ # [1]: https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_GetLoadBalancerTlsPolicies.html
3029
+ # [2]: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-configure-load-balancer-tls-security-policy
3030
+ #
2993
3031
  # @return [Types::CreateLoadBalancerResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2994
3032
  #
2995
3033
  # * {Types::CreateLoadBalancerResult#operations #operations} => Array&lt;Types::Operation&gt;
@@ -3010,6 +3048,7 @@ module Aws::Lightsail
3010
3048
  # },
3011
3049
  # ],
3012
3050
  # ip_address_type: "dualstack", # accepts dualstack, ipv4
3051
+ # tls_policy_name: "string",
3013
3052
  # })
3014
3053
  #
3015
3054
  # @example Response structure
@@ -3703,15 +3742,20 @@ module Aws::Lightsail
3703
3742
  # Deletes a Amazon Lightsail bucket.
3704
3743
  #
3705
3744
  # <note markdown="1"> When you delete your bucket, the bucket name is released and can be
3706
- # reused for a new bucket in your account or another AWS account.
3745
+ # reused for a new bucket in your account or another Amazon Web Services
3746
+ # account.
3707
3747
  #
3708
3748
  # </note>
3709
3749
  #
3710
3750
  # @option params [required, String] :bucket_name
3711
3751
  # The name of the bucket to delete.
3712
3752
  #
3713
- # Use the GetBuckets action to get a list of bucket names that you can
3714
- # specify.
3753
+ # Use the [GetBuckets][1] action to get a list of bucket names that you
3754
+ # can specify.
3755
+ #
3756
+ #
3757
+ #
3758
+ # [1]: https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_GetBuckets.html
3715
3759
  #
3716
3760
  # @option params [Boolean] :force_delete
3717
3761
  # A Boolean value that indicates whether to force delete the bucket.
@@ -3722,7 +3766,7 @@ module Aws::Lightsail
3722
3766
  # * The bucket is the origin of a distribution.
3723
3767
  #
3724
3768
  # * The bucket has instances that were granted access to it using the
3725
- # SetResourceAccessForBucket action.
3769
+ # [SetResourceAccessForBucket][1] action.
3726
3770
  #
3727
3771
  # * The bucket has objects.
3728
3772
  #
@@ -3732,6 +3776,10 @@ module Aws::Lightsail
3732
3776
  # bucket, such as instances, distributions, or software that use the
3733
3777
  # issued access keys.
3734
3778
  #
3779
+ #
3780
+ #
3781
+ # [1]: https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_SetResourceAccessForBucket.html
3782
+ #
3735
3783
  # @return [Types::DeleteBucketResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3736
3784
  #
3737
3785
  # * {Types::DeleteBucketResult#operations #operations} => Array&lt;Types::Operation&gt;
@@ -3788,8 +3836,12 @@ module Aws::Lightsail
3788
3836
  # @option params [required, String] :access_key_id
3789
3837
  # The ID of the access key to delete.
3790
3838
  #
3791
- # Use the GetBucketAccessKeys action to get a list of access key IDs
3792
- # that you can specify.
3839
+ # Use the [GetBucketAccessKeys][1] action to get a list of access key
3840
+ # IDs that you can specify.
3841
+ #
3842
+ #
3843
+ #
3844
+ # [1]: https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_GetBucketAccessKeys.html
3793
3845
  #
3794
3846
  # @return [Types::DeleteBucketAccessKeyResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3795
3847
  #
@@ -3881,10 +3933,11 @@ module Aws::Lightsail
3881
3933
  #
3882
3934
  # A contact method is used to send you notifications about your Amazon
3883
3935
  # Lightsail resources. You can add one email address and one mobile
3884
- # phone number contact method in each AWS Region. However, SMS text
3885
- # messaging is not supported in some AWS Regions, and SMS text messages
3886
- # cannot be sent to some countries/regions. For more information, see
3887
- # [Notifications in Amazon Lightsail][1].
3936
+ # phone number contact method in each Amazon Web Services Region.
3937
+ # However, SMS text messaging is not supported in some Amazon Web
3938
+ # Services Regions, and SMS text messages cannot be sent to some
3939
+ # countries/regions. For more information, see [Notifications in Amazon
3940
+ # Lightsail][1].
3888
3941
  #
3889
3942
  #
3890
3943
  #
@@ -4374,19 +4427,37 @@ module Aws::Lightsail
4374
4427
  req.send_request(options)
4375
4428
  end
4376
4429
 
4377
- # Deletes a specific SSH key pair.
4430
+ # Deletes the specified key pair by removing the public key from Amazon
4431
+ # Lightsail.
4432
+ #
4433
+ # You can delete key pairs that were created using the
4434
+ # [ImportKeyPair][1] and [CreateKeyPair][2] actions, as well as the
4435
+ # Lightsail default key pair. A new default key pair will not be created
4436
+ # unless you launch an instance without specifying a custom key pair, or
4437
+ # you call the [DownloadDefaultKeyPair][3] API.
4378
4438
  #
4379
4439
  # The `delete key pair` operation supports tag-based access control via
4380
4440
  # resource tags applied to the resource identified by `key pair name`.
4381
- # For more information, see the [Amazon Lightsail Developer Guide][1].
4441
+ # For more information, see the [Amazon Lightsail Developer Guide][4].
4382
4442
  #
4383
4443
  #
4384
4444
  #
4385
- # [1]: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-controlling-access-using-tags
4445
+ # [1]: https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_ImportKeyPair.html
4446
+ # [2]: https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_CreateKeyPair.html
4447
+ # [3]: https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_DownloadDefaultKeyPair.html
4448
+ # [4]: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-controlling-access-using-tags
4386
4449
  #
4387
4450
  # @option params [required, String] :key_pair_name
4388
4451
  # The name of the key pair to delete.
4389
4452
  #
4453
+ # @option params [String] :expected_fingerprint
4454
+ # The RSA fingerprint of the Lightsail default key pair to delete.
4455
+ #
4456
+ # <note markdown="1"> The `expectedFingerprint` parameter is required only when specifying
4457
+ # to delete a Lightsail default key pair.
4458
+ #
4459
+ # </note>
4460
+ #
4390
4461
  # @return [Types::DeleteKeyPairResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4391
4462
  #
4392
4463
  # * {Types::DeleteKeyPairResult#operation #operation} => Types::Operation
@@ -4395,6 +4466,7 @@ module Aws::Lightsail
4395
4466
  #
4396
4467
  # resp = client.delete_key_pair({
4397
4468
  # key_pair_name: "ResourceName", # required
4469
+ # expected_fingerprint: "string",
4398
4470
  # })
4399
4471
  #
4400
4472
  # @example Response structure
@@ -4972,17 +5044,22 @@ module Aws::Lightsail
4972
5044
  req.send_request(options)
4973
5045
  end
4974
5046
 
4975
- # Downloads the default SSH key pair from the user's account.
5047
+ # Downloads the regional Amazon Lightsail default key pair.
5048
+ #
5049
+ # This action also creates a Lightsail default key pair if a default key
5050
+ # pair does not currently exist in the Amazon Web Services Region.
4976
5051
  #
4977
5052
  # @return [Types::DownloadDefaultKeyPairResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4978
5053
  #
4979
5054
  # * {Types::DownloadDefaultKeyPairResult#public_key_base_64 #public_key_base_64} => String
4980
5055
  # * {Types::DownloadDefaultKeyPairResult#private_key_base_64 #private_key_base_64} => String
5056
+ # * {Types::DownloadDefaultKeyPairResult#created_at #created_at} => Time
4981
5057
  #
4982
5058
  # @example Response structure
4983
5059
  #
4984
5060
  # resp.public_key_base_64 #=> String
4985
5061
  # resp.private_key_base_64 #=> String
5062
+ # resp.created_at #=> Time
4986
5063
  #
4987
5064
  # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DownloadDefaultKeyPair AWS API Documentation
4988
5065
  #
@@ -5348,8 +5425,12 @@ module Aws::Lightsail
5348
5425
  #
5349
5426
  # This action does not return the secret access key value of an access
5350
5427
  # key. You can get a secret access key only when you create it from the
5351
- # response of the CreateBucketAccessKey action. If you lose the secret
5352
- # access key, you must create a new access key.
5428
+ # response of the [CreateBucketAccessKey][1] action. If you lose the
5429
+ # secret access key, you must create a new access key.
5430
+ #
5431
+ #
5432
+ #
5433
+ # [1]: https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_CreateBucketAccessKey.html
5353
5434
  #
5354
5435
  # @option params [required, String] :bucket_name
5355
5436
  # The name of the bucket for which to return access keys.
@@ -5389,7 +5470,12 @@ module Aws::Lightsail
5389
5470
  # The bucket bundle specifies the monthly cost, storage quota, and data
5390
5471
  # transfer quota for a bucket.
5391
5472
  #
5392
- # Use the UpdateBucketBundle action to update the bundle for a bucket.
5473
+ # Use the [UpdateBucketBundle][1] action to update the bundle for a
5474
+ # bucket.
5475
+ #
5476
+ #
5477
+ #
5478
+ # [1]: https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_UpdateBucketBundle.html
5393
5479
  #
5394
5480
  # @option params [Boolean] :include_inactive
5395
5481
  # A Boolean value that indicates whether to include inactive
@@ -5549,10 +5635,13 @@ module Aws::Lightsail
5549
5635
  req.send_request(options)
5550
5636
  end
5551
5637
 
5552
- # Returns information about one or more Amazon Lightsail buckets.
5638
+ # Returns information about one or more Amazon Lightsail buckets. The
5639
+ # information returned includes the synchronization status of the Amazon
5640
+ # Simple Storage Service (Amazon S3) account-level block public access
5641
+ # feature for your Lightsail buckets.
5553
5642
  #
5554
5643
  # For more information about buckets, see [Buckets in Amazon
5555
- # Lightsail][1] in the *Amazon Lightsail Developer Guide*..
5644
+ # Lightsail][1] in the *Amazon Lightsail Developer Guide*.
5556
5645
  #
5557
5646
  #
5558
5647
  #
@@ -5561,8 +5650,8 @@ module Aws::Lightsail
5561
5650
  # @option params [String] :bucket_name
5562
5651
  # The name of the bucket for which to return information.
5563
5652
  #
5564
- # When omitted, the response includes all of your buckets in the AWS
5565
- # Region where the request is made.
5653
+ # When omitted, the response includes all of your buckets in the Amazon
5654
+ # Web Services Region where the request is made.
5566
5655
  #
5567
5656
  # @option params [String] :page_token
5568
5657
  # The token to advance to the next page of results from your request.
@@ -5574,12 +5663,17 @@ module Aws::Lightsail
5574
5663
  # @option params [Boolean] :include_connected_resources
5575
5664
  # A Boolean value that indicates whether to include Lightsail instances
5576
5665
  # that were given access to the bucket using the
5577
- # SetResourceAccessForBucket action.
5666
+ # [SetResourceAccessForBucket][1] action.
5667
+ #
5668
+ #
5669
+ #
5670
+ # [1]: https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_SetResourceAccessForBucket.html
5578
5671
  #
5579
5672
  # @return [Types::GetBucketsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5580
5673
  #
5581
5674
  # * {Types::GetBucketsResult#buckets #buckets} => Array&lt;Types::Bucket&gt;
5582
5675
  # * {Types::GetBucketsResult#next_page_token #next_page_token} => String
5676
+ # * {Types::GetBucketsResult#account_level_bpa_sync #account_level_bpa_sync} => Types::AccountLevelBpaSync
5583
5677
  #
5584
5678
  # @example Request syntax with placeholder values
5585
5679
  #
@@ -5619,6 +5713,10 @@ module Aws::Lightsail
5619
5713
  # resp.buckets[0].access_log_config.destination #=> String
5620
5714
  # resp.buckets[0].access_log_config.prefix #=> String
5621
5715
  # resp.next_page_token #=> String
5716
+ # resp.account_level_bpa_sync.status #=> String, one of "InSync", "Failed", "NeverSynced", "Defaulted"
5717
+ # resp.account_level_bpa_sync.last_synced_at #=> Time
5718
+ # resp.account_level_bpa_sync.message #=> String, one of "DEFAULTED_FOR_SLR_MISSING", "SYNC_ON_HOLD", "DEFAULTED_FOR_SLR_MISSING_ON_HOLD", "Unknown"
5719
+ # resp.account_level_bpa_sync.bpa_impacts_lightsail #=> Boolean
5622
5720
  #
5623
5721
  # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetBuckets AWS API Documentation
5624
5722
  #
@@ -5697,8 +5795,8 @@ module Aws::Lightsail
5697
5795
  # `ISSUED` status.
5698
5796
  #
5699
5797
  # When omitted, the response includes all of your certificates in the
5700
- # AWS Region where the request is made, regardless of their current
5701
- # status.
5798
+ # Amazon Web Services Region where the request is made, regardless of
5799
+ # their current status.
5702
5800
  #
5703
5801
  # @option params [Boolean] :include_certificate_details
5704
5802
  # Indicates whether to include detailed information about the
@@ -5711,7 +5809,7 @@ module Aws::Lightsail
5711
5809
  # The name for the certificate for which to return information.
5712
5810
  #
5713
5811
  # When omitted, the response includes all of your certificates in the
5714
- # AWS Region where the request is made.
5812
+ # Amazon Web Services Region where the request is made.
5715
5813
  #
5716
5814
  # @return [Types::GetCertificatesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5717
5815
  #
@@ -5837,10 +5935,11 @@ module Aws::Lightsail
5837
5935
  #
5838
5936
  # A contact method is used to send you notifications about your Amazon
5839
5937
  # Lightsail resources. You can add one email address and one mobile
5840
- # phone number contact method in each AWS Region. However, SMS text
5841
- # messaging is not supported in some AWS Regions, and SMS text messages
5842
- # cannot be sent to some countries/regions. For more information, see
5843
- # [Notifications in Amazon Lightsail][1].
5938
+ # phone number contact method in each Amazon Web Services Region.
5939
+ # However, SMS text messaging is not supported in some Amazon Web
5940
+ # Services Regions, and SMS text messages cannot be sent to some
5941
+ # countries/regions. For more information, see [Notifications in Amazon
5942
+ # Lightsail][1].
5844
5943
  #
5845
5944
  #
5846
5945
  #
@@ -6281,7 +6380,7 @@ module Aws::Lightsail
6281
6380
  # The name of the container service for which to return information.
6282
6381
  #
6283
6382
  # When omitted, the response includes all of your container services in
6284
- # the AWS Region where the request is made.
6383
+ # the Amazon Web Services Region where the request is made.
6285
6384
  #
6286
6385
  # @return [Types::ContainerServicesListResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
6287
6386
  #
@@ -6578,7 +6677,7 @@ module Aws::Lightsail
6578
6677
  # content delivery network (CDN) distributions.
6579
6678
  #
6580
6679
  # A distribution bundle specifies the monthly network transfer quota and
6581
- # monthly cost of your dsitribution.
6680
+ # monthly cost of your distribution.
6582
6681
  #
6583
6682
  # @return [Types::GetDistributionBundlesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
6584
6683
  #
@@ -6831,7 +6930,7 @@ module Aws::Lightsail
6831
6930
  # The name of the distribution for which to return information.
6832
6931
  #
6833
6932
  # When omitted, the response includes all of your distributions in the
6834
- # AWS Region where the request is made.
6933
+ # Amazon Web Services Region where the request is made.
6835
6934
  #
6836
6935
  # @option params [String] :page_token
6837
6936
  # The token to advance to the next page of results from your request.
@@ -7009,8 +7108,12 @@ module Aws::Lightsail
7009
7108
  # snapshot` operation.
7010
7109
  #
7011
7110
  # An export snapshot record can be used to create a new Amazon EC2
7012
- # instance and its related resources with the CreateCloudFormationStack
7013
- # action.
7111
+ # instance and its related resources with the
7112
+ # [CreateCloudFormationStack][1] action.
7113
+ #
7114
+ #
7115
+ #
7116
+ # [1]: https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_CreateCloudFormationStack.html
7014
7117
  #
7015
7118
  # @option params [String] :page_token
7016
7119
  # The token to advance to the next page of results from your request.
@@ -7795,6 +7898,10 @@ module Aws::Lightsail
7795
7898
  # results are paginated, the response will return a next page token that
7796
7899
  # you can specify as the page token in a subsequent request.
7797
7900
  #
7901
+ # @option params [Boolean] :include_default_key_pair
7902
+ # A Boolean value that indicates whether to include the default key pair
7903
+ # in the response of your request.
7904
+ #
7798
7905
  # @return [Types::GetKeyPairsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
7799
7906
  #
7800
7907
  # * {Types::GetKeyPairsResult#key_pairs #key_pairs} => Array&lt;Types::KeyPair&gt;
@@ -7804,6 +7911,7 @@ module Aws::Lightsail
7804
7911
  #
7805
7912
  # resp = client.get_key_pairs({
7806
7913
  # page_token: "string",
7914
+ # include_default_key_pair: false,
7807
7915
  # })
7808
7916
  #
7809
7917
  # @example Response structure
@@ -7875,6 +7983,8 @@ module Aws::Lightsail
7875
7983
  # resp.load_balancer.configuration_options #=> Hash
7876
7984
  # resp.load_balancer.configuration_options["LoadBalancerAttributeName"] #=> String
7877
7985
  # resp.load_balancer.ip_address_type #=> String, one of "dualstack", "ipv4"
7986
+ # resp.load_balancer.https_redirection_enabled #=> Boolean
7987
+ # resp.load_balancer.tls_policy_name #=> String
7878
7988
  #
7879
7989
  # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetLoadBalancer AWS API Documentation
7880
7990
  #
@@ -8165,6 +8275,57 @@ module Aws::Lightsail
8165
8275
  req.send_request(options)
8166
8276
  end
8167
8277
 
8278
+ # Returns a list of TLS security policies that you can apply to
8279
+ # Lightsail load balancers.
8280
+ #
8281
+ # For more information about load balancer TLS security policies, see
8282
+ # [Load balancer TLS security policies][1] in the *Amazon Lightsail
8283
+ # Developer Guide*.
8284
+ #
8285
+ #
8286
+ #
8287
+ # [1]: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-configure-load-balancer-tls-security-policy
8288
+ #
8289
+ # @option params [String] :page_token
8290
+ # The token to advance to the next page of results from your request.
8291
+ #
8292
+ # To get a page token, perform an initial `GetLoadBalancerTlsPolicies`
8293
+ # request. If your results are paginated, the response will return a
8294
+ # next page token that you can specify as the page token in a subsequent
8295
+ # request.
8296
+ #
8297
+ # @return [Types::GetLoadBalancerTlsPoliciesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
8298
+ #
8299
+ # * {Types::GetLoadBalancerTlsPoliciesResult#tls_policies #tls_policies} => Array&lt;Types::LoadBalancerTlsPolicy&gt;
8300
+ # * {Types::GetLoadBalancerTlsPoliciesResult#next_page_token #next_page_token} => String
8301
+ #
8302
+ # @example Request syntax with placeholder values
8303
+ #
8304
+ # resp = client.get_load_balancer_tls_policies({
8305
+ # page_token: "string",
8306
+ # })
8307
+ #
8308
+ # @example Response structure
8309
+ #
8310
+ # resp.tls_policies #=> Array
8311
+ # resp.tls_policies[0].name #=> String
8312
+ # resp.tls_policies[0].is_default #=> Boolean
8313
+ # resp.tls_policies[0].description #=> String
8314
+ # resp.tls_policies[0].protocols #=> Array
8315
+ # resp.tls_policies[0].protocols[0] #=> String
8316
+ # resp.tls_policies[0].ciphers #=> Array
8317
+ # resp.tls_policies[0].ciphers[0] #=> String
8318
+ # resp.next_page_token #=> String
8319
+ #
8320
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetLoadBalancerTlsPolicies AWS API Documentation
8321
+ #
8322
+ # @overload get_load_balancer_tls_policies(params = {})
8323
+ # @param [Hash] params ({})
8324
+ def get_load_balancer_tls_policies(params = {}, options = {})
8325
+ req = build_request(:get_load_balancer_tls_policies, params)
8326
+ req.send_request(options)
8327
+ end
8328
+
8168
8329
  # Returns information about all load balancers in an account.
8169
8330
  #
8170
8331
  # @option params [String] :page_token
@@ -8215,6 +8376,8 @@ module Aws::Lightsail
8215
8376
  # resp.load_balancers[0].configuration_options #=> Hash
8216
8377
  # resp.load_balancers[0].configuration_options["LoadBalancerAttributeName"] #=> String
8217
8378
  # resp.load_balancers[0].ip_address_type #=> String, one of "dualstack", "ipv4"
8379
+ # resp.load_balancers[0].https_redirection_enabled #=> Boolean
8380
+ # resp.load_balancers[0].tls_policy_name #=> String
8218
8381
  # resp.next_page_token #=> String
8219
8382
  #
8220
8383
  # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetLoadBalancers AWS API Documentation
@@ -9548,12 +9711,12 @@ module Aws::Lightsail
9548
9711
  # triggered.
9549
9712
  #
9550
9713
  # A notification is not sent if a contact protocol is not specified, if
9551
- # the specified contact protocol is not configured in the AWS Region, or
9552
- # if notifications are not enabled for the alarm using the
9553
- # `notificationEnabled` paramater.
9714
+ # the specified contact protocol is not configured in the Amazon Web
9715
+ # Services Region, or if notifications are not enabled for the alarm
9716
+ # using the `notificationEnabled` paramater.
9554
9717
  #
9555
9718
  # Use the `CreateContactMethod` action to configure a contact protocol
9556
- # in an AWS Region.
9719
+ # in an Amazon Web Services Region.
9557
9720
  #
9558
9721
  # @option params [Array<String>] :notification_triggers
9559
9722
  # The alarm states that trigger a notification.
@@ -9978,10 +10141,11 @@ module Aws::Lightsail
9978
10141
  #
9979
10142
  # A contact method is used to send you notifications about your Amazon
9980
10143
  # Lightsail resources. You can add one email address and one mobile
9981
- # phone number contact method in each AWS Region. However, SMS text
9982
- # messaging is not supported in some AWS Regions, and SMS text messages
9983
- # cannot be sent to some countries/regions. For more information, see
9984
- # [Notifications in Amazon Lightsail][1].
10144
+ # phone number contact method in each Amazon Web Services Region.
10145
+ # However, SMS text messaging is not supported in some Amazon Web
10146
+ # Services Regions, and SMS text messages cannot be sent to some
10147
+ # countries/regions. For more information, see [Notifications in Amazon
10148
+ # Lightsail][1].
9985
10149
  #
9986
10150
  # A verification request is sent to the contact method when you
9987
10151
  # initially create it. Use this action to send another verification
@@ -10047,8 +10211,9 @@ module Aws::Lightsail
10047
10211
  # `LoadBalancer`.
10048
10212
  #
10049
10213
  # <note markdown="1"> Distribution-related APIs are available only in the N. Virginia
10050
- # (`us-east-1`) AWS Region. Set your AWS Region configuration to
10051
- # `us-east-1` to create, view, or edit distributions.
10214
+ # (`us-east-1`) Amazon Web Services Region. Set your Amazon Web Services
10215
+ # Region configuration to `us-east-1` to create, view, or edit
10216
+ # distributions.
10052
10217
  #
10053
10218
  # </note>
10054
10219
  #
@@ -10103,7 +10268,7 @@ module Aws::Lightsail
10103
10268
  # Lightsail bucket.
10104
10269
  #
10105
10270
  # Lightsail buckets currently support setting access for Lightsail
10106
- # instances in the same AWS Region.
10271
+ # instances in the same Amazon Web Services Region.
10107
10272
  #
10108
10273
  # @option params [required, String] :resource_name
10109
10274
  # The name of the Lightsail instance for which to set bucket access. The
@@ -10623,8 +10788,8 @@ module Aws::Lightsail
10623
10788
  # Updates an existing Amazon Lightsail bucket.
10624
10789
  #
10625
10790
  # Use this action to update the configuration of an existing bucket,
10626
- # such as versioning, public accessibility, and the AWS accounts that
10627
- # can access the bucket.
10791
+ # such as versioning, public accessibility, and the Amazon Web Services
10792
+ # accounts that can access the bucket.
10628
10793
  #
10629
10794
  # @option params [required, String] :bucket_name
10630
10795
  # The name of the bucket to update.
@@ -10645,10 +10810,11 @@ module Aws::Lightsail
10645
10810
  # bucket. Existing object versions are retained.
10646
10811
  #
10647
10812
  # @option params [Array<String>] :readonly_access_accounts
10648
- # An array of strings to specify the AWS account IDs that can access the
10649
- # bucket.
10813
+ # An array of strings to specify the Amazon Web Services account IDs
10814
+ # that can access the bucket.
10650
10815
  #
10651
- # You can give a maximum of 10 AWS accounts access to a bucket.
10816
+ # You can give a maximum of 10 Amazon Web Services accounts access to a
10817
+ # bucket.
10652
10818
  #
10653
10819
  # @option params [Types::BucketAccessLogConfig] :access_log_config
10654
10820
  # An object that describes the access log configuration for the bucket.
@@ -10733,7 +10899,7 @@ module Aws::Lightsail
10733
10899
  # A bucket bundle specifies the monthly cost, storage space, and data
10734
10900
  # transfer quota for a bucket. You can update a bucket's bundle only
10735
10901
  # one time within a monthly AWS billing cycle. To determine if you can
10736
- # update a bucket's bundle, use the GetBuckets action. The
10902
+ # update a bucket's bundle, use the [GetBuckets][1] action. The
10737
10903
  # `ableToUpdateBundle` parameter in the response will indicate whether
10738
10904
  # you can currently update a bucket's bundle.
10739
10905
  #
@@ -10746,14 +10912,22 @@ module Aws::Lightsail
10746
10912
  # measure. Choose a bucket bundle that will provide the bucket with
10747
10913
  # ample storage space and data transfer for a long time to come.
10748
10914
  #
10915
+ #
10916
+ #
10917
+ # [1]: https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_GetBuckets.html
10918
+ #
10749
10919
  # @option params [required, String] :bucket_name
10750
10920
  # The name of the bucket for which to update the bundle.
10751
10921
  #
10752
10922
  # @option params [required, String] :bundle_id
10753
10923
  # The ID of the new bundle to apply to the bucket.
10754
10924
  #
10755
- # Use the GetBucketBundles action to get a list of bundle IDs that you
10756
- # can specify.
10925
+ # Use the [GetBucketBundles][1] action to get a list of bundle IDs that
10926
+ # you can specify.
10927
+ #
10928
+ #
10929
+ #
10930
+ # [1]: https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_GetBucketBundles.html
10757
10931
  #
10758
10932
  # @return [Types::UpdateBucketBundleResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
10759
10933
  #
@@ -10944,7 +11118,7 @@ module Aws::Lightsail
10944
11118
  #
10945
11119
  # @option params [Types::InputOrigin] :origin
10946
11120
  # An object that describes the origin resource for the distribution,
10947
- # such as a Lightsail instance or load balancer.
11121
+ # such as a Lightsail instance, bucket, or load balancer.
10948
11122
  #
10949
11123
  # The distribution pulls, caches, and serves content from the origin.
10950
11124
  #
@@ -11042,7 +11216,7 @@ module Aws::Lightsail
11042
11216
  # (CDN) distribution.
11043
11217
  #
11044
11218
  # A distribution bundle specifies the monthly network transfer quota and
11045
- # monthly cost of your dsitribution.
11219
+ # monthly cost of your distribution.
11046
11220
  #
11047
11221
  # Update your distribution's bundle if your distribution is going over
11048
11222
  # its monthly network transfer quota and is incurring an overage fee.
@@ -11181,11 +11355,35 @@ module Aws::Lightsail
11181
11355
  # `my-load-balancer`.
11182
11356
  #
11183
11357
  # @option params [required, String] :attribute_name
11184
- # The name of the attribute you want to update. Valid values are below.
11358
+ # The name of the attribute you want to update.
11185
11359
  #
11186
11360
  # @option params [required, String] :attribute_value
11187
11361
  # The value that you want to specify for the attribute name.
11188
11362
  #
11363
+ # The following values are supported depending on what you specify for
11364
+ # the `attributeName` request parameter:
11365
+ #
11366
+ # * If you specify `HealthCheckPath` for the `attributeName` request
11367
+ # parameter, then the `attributeValue` request parameter must be the
11368
+ # path to ping on the target (for example, `/weather/us/wa/seattle`).
11369
+ #
11370
+ # * If you specify `SessionStickinessEnabled` for the `attributeName`
11371
+ # request parameter, then the `attributeValue` request parameter must
11372
+ # be `true` or `false`.
11373
+ #
11374
+ # * If you specify `SessionStickiness_LB_CookieDurationSeconds` for the
11375
+ # `attributeName` request parameter, then the `attributeValue` request
11376
+ # parameter must be an interger that represents the cookie duration in
11377
+ # seconds.
11378
+ #
11379
+ # * If you specify `HttpsRedirectionEnabled` for the `attributeName`
11380
+ # request parameter, then the `attributeValue` request parameter must
11381
+ # be `true` or `false`.
11382
+ #
11383
+ # * If you specify `TlsPolicyName` for the `attributeName` request
11384
+ # parameter, then the `attributeValue` request parameter must be `TLS
11385
+ # version 1.0, 1.1, and 1.2` or `TLS version 1.2`.
11386
+ #
11189
11387
  # @return [Types::UpdateLoadBalancerAttributeResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
11190
11388
  #
11191
11389
  # * {Types::UpdateLoadBalancerAttributeResult#operations #operations} => Array&lt;Types::Operation&gt;
@@ -11194,7 +11392,7 @@ module Aws::Lightsail
11194
11392
  #
11195
11393
  # resp = client.update_load_balancer_attribute({
11196
11394
  # load_balancer_name: "ResourceName", # required
11197
- # attribute_name: "HealthCheckPath", # required, accepts HealthCheckPath, SessionStickinessEnabled, SessionStickiness_LB_CookieDurationSeconds
11395
+ # attribute_name: "HealthCheckPath", # required, accepts HealthCheckPath, SessionStickinessEnabled, SessionStickiness_LB_CookieDurationSeconds, HttpsRedirectionEnabled, TlsPolicyName
11198
11396
  # attribute_value: "StringMax256", # required
11199
11397
  # })
11200
11398
  #
@@ -11464,7 +11662,7 @@ module Aws::Lightsail
11464
11662
  params: params,
11465
11663
  config: config)
11466
11664
  context[:gem_name] = 'aws-sdk-lightsail'
11467
- context[:gem_version] = '1.62.0'
11665
+ context[:gem_version] = '1.65.0'
11468
11666
  Seahorse::Client::Request.new(handlers, context)
11469
11667
  end
11470
11668