aws-sdk-lightsail 1.61.0 → 1.64.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +15 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-lightsail/client.rb +136 -40
- data/lib/aws-sdk-lightsail/client_api.rb +13 -0
- data/lib/aws-sdk-lightsail/types.rb +238 -41
- data/lib/aws-sdk-lightsail.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0c1bc47d670ef70e519eea2a806c018927faf2a4e8b1effaa1dc8b22c3de015e
|
4
|
+
data.tar.gz: 89110872c75aca03b740ee8b746627ab340643a973a3fadd78076c0d1ea87dda
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 769e4cdf66eef60331b0b6f848f7beae7b95366c1c4ea8e4d823b63105b28e13bdd1283e5b2481b3a1ded7c061707da6a06978e6f520c70b196282a1b9cd6192
|
7
|
+
data.tar.gz: 6757495df0b4c5a48cfb1c73d86e119747a0d2ec8392db53742e9c4b5756d5a1d53451379d7640a3abdabfbfc2d465c7fd07b9b87f204a013ef1fa0f47853f61
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,21 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.64.0 (2022-04-15)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release adds support to describe the synchronization status of the account-level block public access feature for your Amazon Lightsail buckets.
|
8
|
+
|
9
|
+
1.63.0 (2022-02-24)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - This release adds support to delete and create Lightsail default key pairs that you can use with Lightsail instances.
|
13
|
+
|
14
|
+
1.62.0 (2022-02-03)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
18
|
+
|
4
19
|
1.61.0 (2021-12-21)
|
5
20
|
------------------
|
6
21
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.64.0
|
@@ -27,7 +27,9 @@ 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'
|
32
|
+
require 'aws-sdk-core/plugins/recursion_detection.rb'
|
31
33
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
32
34
|
require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
|
33
35
|
|
@@ -74,7 +76,9 @@ module Aws::Lightsail
|
|
74
76
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
75
77
|
add_plugin(Aws::Plugins::TransferEncoding)
|
76
78
|
add_plugin(Aws::Plugins::HttpChecksum)
|
79
|
+
add_plugin(Aws::Plugins::ChecksumAlgorithm)
|
77
80
|
add_plugin(Aws::Plugins::DefaultsMode)
|
81
|
+
add_plugin(Aws::Plugins::RecursionDetection)
|
78
82
|
add_plugin(Aws::Plugins::SignatureV4)
|
79
83
|
add_plugin(Aws::Plugins::Protocols::JsonRpc)
|
80
84
|
|
@@ -921,16 +925,25 @@ module Aws::Lightsail
|
|
921
925
|
# A bucket bundle specifies the monthly cost, storage space, and data
|
922
926
|
# transfer quota for a bucket.
|
923
927
|
#
|
924
|
-
# Use the GetBucketBundles action to get a list of bundle IDs that
|
925
|
-
# can specify.
|
928
|
+
# Use the [GetBucketBundles][1] action to get a list of bundle IDs that
|
929
|
+
# you can specify.
|
926
930
|
#
|
927
|
-
# Use the UpdateBucketBundle action to change the bundle after the
|
931
|
+
# Use the [UpdateBucketBundle][2] action to change the bundle after the
|
928
932
|
# bucket is created.
|
929
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
|
+
#
|
930
939
|
# @option params [Array<Types::Tag>] :tags
|
931
940
|
# The tag keys and optional values to add to the bucket during creation.
|
932
941
|
#
|
933
|
-
# 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
|
934
947
|
#
|
935
948
|
# @option params [Boolean] :enable_object_versioning
|
936
949
|
# A Boolean value that indicates whether to enable versioning of objects
|
@@ -1021,9 +1034,9 @@ module Aws::Lightsail
|
|
1021
1034
|
#
|
1022
1035
|
# Access keys grant full programmatic access to the specified bucket and
|
1023
1036
|
# its objects. You can have a maximum of two access keys per bucket. Use
|
1024
|
-
# the GetBucketAccessKeys action to get a list of current access
|
1025
|
-
# for a specific bucket. For more information about access keys,
|
1026
|
-
# [Creating access keys for a bucket in Amazon Lightsail][
|
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
|
1027
1040
|
# *Amazon Lightsail Developer Guide*.
|
1028
1041
|
#
|
1029
1042
|
# The `secretAccessKey` value is returned only in response to the
|
@@ -1034,7 +1047,8 @@ module Aws::Lightsail
|
|
1034
1047
|
#
|
1035
1048
|
#
|
1036
1049
|
#
|
1037
|
-
# [1]: https://
|
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
|
1038
1052
|
#
|
1039
1053
|
# @option params [required, String] :bucket_name
|
1040
1054
|
# The name of the bucket that the new access key will belong to, and
|
@@ -1591,10 +1605,10 @@ module Aws::Lightsail
|
|
1591
1605
|
# and the health check configuration.
|
1592
1606
|
#
|
1593
1607
|
# You can deploy containers to your container service using container
|
1594
|
-
# images from a public registry
|
1595
|
-
# machine. For more information, see [Creating container images
|
1596
|
-
# Amazon Lightsail container services][1] in the *Amazon
|
1597
|
-
# Developer Guide*.
|
1608
|
+
# images from a public registry such as Amazon ECR Public, or from your
|
1609
|
+
# local machine. For more information, see [Creating container images
|
1610
|
+
# for your Amazon Lightsail container services][1] in the *Amazon
|
1611
|
+
# Lightsail Developer Guide*.
|
1598
1612
|
#
|
1599
1613
|
#
|
1600
1614
|
#
|
@@ -2140,7 +2154,7 @@ module Aws::Lightsail
|
|
2140
2154
|
#
|
2141
2155
|
# @option params [required, Types::InputOrigin] :origin
|
2142
2156
|
# An object that describes the origin resource for the distribution,
|
2143
|
-
# such as a Lightsail instance or load balancer.
|
2157
|
+
# such as a Lightsail instance, bucket, or load balancer.
|
2144
2158
|
#
|
2145
2159
|
# The distribution pulls, caches, and serves content from the origin.
|
2146
2160
|
#
|
@@ -2849,15 +2863,23 @@ module Aws::Lightsail
|
|
2849
2863
|
req.send_request(options)
|
2850
2864
|
end
|
2851
2865
|
|
2852
|
-
# Creates
|
2866
|
+
# Creates a custom SSH key pair that you can use with an Amazon
|
2867
|
+
# Lightsail instance.
|
2868
|
+
#
|
2869
|
+
# <note markdown="1"> Use the [DownloadDefaultKeyPair][1] action to create a Lightsail
|
2870
|
+
# default key pair in an Amazon Web Services Region where a default key
|
2871
|
+
# pair does not currently exist.
|
2872
|
+
#
|
2873
|
+
# </note>
|
2853
2874
|
#
|
2854
2875
|
# The `create key pair` operation supports tag-based access control via
|
2855
2876
|
# request tags. For more information, see the [Amazon Lightsail
|
2856
|
-
# Developer Guide][
|
2877
|
+
# Developer Guide][2].
|
2857
2878
|
#
|
2858
2879
|
#
|
2859
2880
|
#
|
2860
|
-
# [1]: https://
|
2881
|
+
# [1]: https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_DownloadDefaultKeyPair.html
|
2882
|
+
# [2]: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-controlling-access-using-tags
|
2861
2883
|
#
|
2862
2884
|
# @option params [required, String] :key_pair_name
|
2863
2885
|
# The name for your new key pair.
|
@@ -3708,8 +3730,12 @@ module Aws::Lightsail
|
|
3708
3730
|
# @option params [required, String] :bucket_name
|
3709
3731
|
# The name of the bucket to delete.
|
3710
3732
|
#
|
3711
|
-
# Use the GetBuckets action to get a list of bucket names that you
|
3712
|
-
# specify.
|
3733
|
+
# Use the [GetBuckets][1] action to get a list of bucket names that you
|
3734
|
+
# can specify.
|
3735
|
+
#
|
3736
|
+
#
|
3737
|
+
#
|
3738
|
+
# [1]: https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_GetBuckets.html
|
3713
3739
|
#
|
3714
3740
|
# @option params [Boolean] :force_delete
|
3715
3741
|
# A Boolean value that indicates whether to force delete the bucket.
|
@@ -3720,7 +3746,7 @@ module Aws::Lightsail
|
|
3720
3746
|
# * The bucket is the origin of a distribution.
|
3721
3747
|
#
|
3722
3748
|
# * The bucket has instances that were granted access to it using the
|
3723
|
-
# SetResourceAccessForBucket action.
|
3749
|
+
# [SetResourceAccessForBucket][1] action.
|
3724
3750
|
#
|
3725
3751
|
# * The bucket has objects.
|
3726
3752
|
#
|
@@ -3730,6 +3756,10 @@ module Aws::Lightsail
|
|
3730
3756
|
# bucket, such as instances, distributions, or software that use the
|
3731
3757
|
# issued access keys.
|
3732
3758
|
#
|
3759
|
+
#
|
3760
|
+
#
|
3761
|
+
# [1]: https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_SetResourceAccessForBucket.html
|
3762
|
+
#
|
3733
3763
|
# @return [Types::DeleteBucketResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3734
3764
|
#
|
3735
3765
|
# * {Types::DeleteBucketResult#operations #operations} => Array<Types::Operation>
|
@@ -3786,8 +3816,12 @@ module Aws::Lightsail
|
|
3786
3816
|
# @option params [required, String] :access_key_id
|
3787
3817
|
# The ID of the access key to delete.
|
3788
3818
|
#
|
3789
|
-
# Use the GetBucketAccessKeys action to get a list of access key
|
3790
|
-
# that you can specify.
|
3819
|
+
# Use the [GetBucketAccessKeys][1] action to get a list of access key
|
3820
|
+
# IDs that you can specify.
|
3821
|
+
#
|
3822
|
+
#
|
3823
|
+
#
|
3824
|
+
# [1]: https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_GetBucketAccessKeys.html
|
3791
3825
|
#
|
3792
3826
|
# @return [Types::DeleteBucketAccessKeyResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3793
3827
|
#
|
@@ -4372,19 +4406,37 @@ module Aws::Lightsail
|
|
4372
4406
|
req.send_request(options)
|
4373
4407
|
end
|
4374
4408
|
|
4375
|
-
# Deletes
|
4409
|
+
# Deletes the specified key pair by removing the public key from Amazon
|
4410
|
+
# Lightsail.
|
4411
|
+
#
|
4412
|
+
# You can delete key pairs that were created using the
|
4413
|
+
# [ImportKeyPair][1] and [CreateKeyPair][2] actions, as well as the
|
4414
|
+
# Lightsail default key pair. A new default key pair will not be created
|
4415
|
+
# unless you launch an instance without specifying a custom key pair, or
|
4416
|
+
# you call the [DownloadDefaultKeyPair][3] API.
|
4376
4417
|
#
|
4377
4418
|
# The `delete key pair` operation supports tag-based access control via
|
4378
4419
|
# resource tags applied to the resource identified by `key pair name`.
|
4379
|
-
# For more information, see the [Amazon Lightsail Developer Guide][
|
4420
|
+
# For more information, see the [Amazon Lightsail Developer Guide][4].
|
4380
4421
|
#
|
4381
4422
|
#
|
4382
4423
|
#
|
4383
|
-
# [1]: https://
|
4424
|
+
# [1]: https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_ImportKeyPair.html
|
4425
|
+
# [2]: https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_CreateKeyPair.html
|
4426
|
+
# [3]: https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_DownloadDefaultKeyPair.html
|
4427
|
+
# [4]: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-controlling-access-using-tags
|
4384
4428
|
#
|
4385
4429
|
# @option params [required, String] :key_pair_name
|
4386
4430
|
# The name of the key pair to delete.
|
4387
4431
|
#
|
4432
|
+
# @option params [String] :expected_fingerprint
|
4433
|
+
# The RSA fingerprint of the Lightsail default key pair to delete.
|
4434
|
+
#
|
4435
|
+
# <note markdown="1"> The `expectedFingerprint` parameter is required only when specifying
|
4436
|
+
# to delete a Lightsail default key pair.
|
4437
|
+
#
|
4438
|
+
# </note>
|
4439
|
+
#
|
4388
4440
|
# @return [Types::DeleteKeyPairResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4389
4441
|
#
|
4390
4442
|
# * {Types::DeleteKeyPairResult#operation #operation} => Types::Operation
|
@@ -4393,6 +4445,7 @@ module Aws::Lightsail
|
|
4393
4445
|
#
|
4394
4446
|
# resp = client.delete_key_pair({
|
4395
4447
|
# key_pair_name: "ResourceName", # required
|
4448
|
+
# expected_fingerprint: "string",
|
4396
4449
|
# })
|
4397
4450
|
#
|
4398
4451
|
# @example Response structure
|
@@ -4970,17 +5023,22 @@ module Aws::Lightsail
|
|
4970
5023
|
req.send_request(options)
|
4971
5024
|
end
|
4972
5025
|
|
4973
|
-
# Downloads the default
|
5026
|
+
# Downloads the regional Amazon Lightsail default key pair.
|
5027
|
+
#
|
5028
|
+
# This action also creates a Lightsail default key pair if a default key
|
5029
|
+
# pair does not currently exist in the Amazon Web Services Region.
|
4974
5030
|
#
|
4975
5031
|
# @return [Types::DownloadDefaultKeyPairResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4976
5032
|
#
|
4977
5033
|
# * {Types::DownloadDefaultKeyPairResult#public_key_base_64 #public_key_base_64} => String
|
4978
5034
|
# * {Types::DownloadDefaultKeyPairResult#private_key_base_64 #private_key_base_64} => String
|
5035
|
+
# * {Types::DownloadDefaultKeyPairResult#created_at #created_at} => Time
|
4979
5036
|
#
|
4980
5037
|
# @example Response structure
|
4981
5038
|
#
|
4982
5039
|
# resp.public_key_base_64 #=> String
|
4983
5040
|
# resp.private_key_base_64 #=> String
|
5041
|
+
# resp.created_at #=> Time
|
4984
5042
|
#
|
4985
5043
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DownloadDefaultKeyPair AWS API Documentation
|
4986
5044
|
#
|
@@ -5346,8 +5404,12 @@ module Aws::Lightsail
|
|
5346
5404
|
#
|
5347
5405
|
# This action does not return the secret access key value of an access
|
5348
5406
|
# key. You can get a secret access key only when you create it from the
|
5349
|
-
# response of the CreateBucketAccessKey action. If you lose the
|
5350
|
-
# access key, you must create a new access key.
|
5407
|
+
# response of the [CreateBucketAccessKey][1] action. If you lose the
|
5408
|
+
# secret access key, you must create a new access key.
|
5409
|
+
#
|
5410
|
+
#
|
5411
|
+
#
|
5412
|
+
# [1]: https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_CreateBucketAccessKey.html
|
5351
5413
|
#
|
5352
5414
|
# @option params [required, String] :bucket_name
|
5353
5415
|
# The name of the bucket for which to return access keys.
|
@@ -5387,7 +5449,12 @@ module Aws::Lightsail
|
|
5387
5449
|
# The bucket bundle specifies the monthly cost, storage quota, and data
|
5388
5450
|
# transfer quota for a bucket.
|
5389
5451
|
#
|
5390
|
-
# Use the UpdateBucketBundle action to update the bundle for a
|
5452
|
+
# Use the [UpdateBucketBundle][1] action to update the bundle for a
|
5453
|
+
# bucket.
|
5454
|
+
#
|
5455
|
+
#
|
5456
|
+
#
|
5457
|
+
# [1]: https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_UpdateBucketBundle.html
|
5391
5458
|
#
|
5392
5459
|
# @option params [Boolean] :include_inactive
|
5393
5460
|
# A Boolean value that indicates whether to include inactive
|
@@ -5547,10 +5614,13 @@ module Aws::Lightsail
|
|
5547
5614
|
req.send_request(options)
|
5548
5615
|
end
|
5549
5616
|
|
5550
|
-
# Returns information about one or more Amazon Lightsail buckets.
|
5617
|
+
# Returns information about one or more Amazon Lightsail buckets. The
|
5618
|
+
# information returned includes the synchronization status of the Amazon
|
5619
|
+
# Simple Storage Service (Amazon S3) account-level block public access
|
5620
|
+
# feature for your Lightsail buckets.
|
5551
5621
|
#
|
5552
5622
|
# For more information about buckets, see [Buckets in Amazon
|
5553
|
-
# Lightsail][1] in the *Amazon Lightsail Developer Guide
|
5623
|
+
# Lightsail][1] in the *Amazon Lightsail Developer Guide*.
|
5554
5624
|
#
|
5555
5625
|
#
|
5556
5626
|
#
|
@@ -5572,12 +5642,17 @@ module Aws::Lightsail
|
|
5572
5642
|
# @option params [Boolean] :include_connected_resources
|
5573
5643
|
# A Boolean value that indicates whether to include Lightsail instances
|
5574
5644
|
# that were given access to the bucket using the
|
5575
|
-
# SetResourceAccessForBucket action.
|
5645
|
+
# [SetResourceAccessForBucket][1] action.
|
5646
|
+
#
|
5647
|
+
#
|
5648
|
+
#
|
5649
|
+
# [1]: https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_SetResourceAccessForBucket.html
|
5576
5650
|
#
|
5577
5651
|
# @return [Types::GetBucketsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
5578
5652
|
#
|
5579
5653
|
# * {Types::GetBucketsResult#buckets #buckets} => Array<Types::Bucket>
|
5580
5654
|
# * {Types::GetBucketsResult#next_page_token #next_page_token} => String
|
5655
|
+
# * {Types::GetBucketsResult#account_level_bpa_sync #account_level_bpa_sync} => Types::AccountLevelBpaSync
|
5581
5656
|
#
|
5582
5657
|
# @example Request syntax with placeholder values
|
5583
5658
|
#
|
@@ -5617,6 +5692,10 @@ module Aws::Lightsail
|
|
5617
5692
|
# resp.buckets[0].access_log_config.destination #=> String
|
5618
5693
|
# resp.buckets[0].access_log_config.prefix #=> String
|
5619
5694
|
# resp.next_page_token #=> String
|
5695
|
+
# resp.account_level_bpa_sync.status #=> String, one of "InSync", "Failed", "NeverSynced", "Defaulted"
|
5696
|
+
# resp.account_level_bpa_sync.last_synced_at #=> Time
|
5697
|
+
# resp.account_level_bpa_sync.message #=> String, one of "DEFAULTED_FOR_SLR_MISSING", "SYNC_ON_HOLD", "DEFAULTED_FOR_SLR_MISSING_ON_HOLD", "Unknown"
|
5698
|
+
# resp.account_level_bpa_sync.bpa_impacts_lightsail #=> Boolean
|
5620
5699
|
#
|
5621
5700
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetBuckets AWS API Documentation
|
5622
5701
|
#
|
@@ -6576,7 +6655,7 @@ module Aws::Lightsail
|
|
6576
6655
|
# content delivery network (CDN) distributions.
|
6577
6656
|
#
|
6578
6657
|
# A distribution bundle specifies the monthly network transfer quota and
|
6579
|
-
# monthly cost of your
|
6658
|
+
# monthly cost of your distribution.
|
6580
6659
|
#
|
6581
6660
|
# @return [Types::GetDistributionBundlesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
6582
6661
|
#
|
@@ -7007,8 +7086,12 @@ module Aws::Lightsail
|
|
7007
7086
|
# snapshot` operation.
|
7008
7087
|
#
|
7009
7088
|
# An export snapshot record can be used to create a new Amazon EC2
|
7010
|
-
# instance and its related resources with the
|
7011
|
-
# action.
|
7089
|
+
# instance and its related resources with the
|
7090
|
+
# [CreateCloudFormationStack][1] action.
|
7091
|
+
#
|
7092
|
+
#
|
7093
|
+
#
|
7094
|
+
# [1]: https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_CreateCloudFormationStack.html
|
7012
7095
|
#
|
7013
7096
|
# @option params [String] :page_token
|
7014
7097
|
# The token to advance to the next page of results from your request.
|
@@ -7793,6 +7876,10 @@ module Aws::Lightsail
|
|
7793
7876
|
# results are paginated, the response will return a next page token that
|
7794
7877
|
# you can specify as the page token in a subsequent request.
|
7795
7878
|
#
|
7879
|
+
# @option params [Boolean] :include_default_key_pair
|
7880
|
+
# A Boolean value that indicates whether to include the default key pair
|
7881
|
+
# in the response of your request.
|
7882
|
+
#
|
7796
7883
|
# @return [Types::GetKeyPairsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
7797
7884
|
#
|
7798
7885
|
# * {Types::GetKeyPairsResult#key_pairs #key_pairs} => Array<Types::KeyPair>
|
@@ -7802,6 +7889,7 @@ module Aws::Lightsail
|
|
7802
7889
|
#
|
7803
7890
|
# resp = client.get_key_pairs({
|
7804
7891
|
# page_token: "string",
|
7892
|
+
# include_default_key_pair: false,
|
7805
7893
|
# })
|
7806
7894
|
#
|
7807
7895
|
# @example Response structure
|
@@ -10731,7 +10819,7 @@ module Aws::Lightsail
|
|
10731
10819
|
# A bucket bundle specifies the monthly cost, storage space, and data
|
10732
10820
|
# transfer quota for a bucket. You can update a bucket's bundle only
|
10733
10821
|
# one time within a monthly AWS billing cycle. To determine if you can
|
10734
|
-
# update a bucket's bundle, use the GetBuckets action. The
|
10822
|
+
# update a bucket's bundle, use the [GetBuckets][1] action. The
|
10735
10823
|
# `ableToUpdateBundle` parameter in the response will indicate whether
|
10736
10824
|
# you can currently update a bucket's bundle.
|
10737
10825
|
#
|
@@ -10744,14 +10832,22 @@ module Aws::Lightsail
|
|
10744
10832
|
# measure. Choose a bucket bundle that will provide the bucket with
|
10745
10833
|
# ample storage space and data transfer for a long time to come.
|
10746
10834
|
#
|
10835
|
+
#
|
10836
|
+
#
|
10837
|
+
# [1]: https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_GetBuckets.html
|
10838
|
+
#
|
10747
10839
|
# @option params [required, String] :bucket_name
|
10748
10840
|
# The name of the bucket for which to update the bundle.
|
10749
10841
|
#
|
10750
10842
|
# @option params [required, String] :bundle_id
|
10751
10843
|
# The ID of the new bundle to apply to the bucket.
|
10752
10844
|
#
|
10753
|
-
# Use the GetBucketBundles action to get a list of bundle IDs that
|
10754
|
-
# can specify.
|
10845
|
+
# Use the [GetBucketBundles][1] action to get a list of bundle IDs that
|
10846
|
+
# you can specify.
|
10847
|
+
#
|
10848
|
+
#
|
10849
|
+
#
|
10850
|
+
# [1]: https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_GetBucketBundles.html
|
10755
10851
|
#
|
10756
10852
|
# @return [Types::UpdateBucketBundleResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
10757
10853
|
#
|
@@ -10942,7 +11038,7 @@ module Aws::Lightsail
|
|
10942
11038
|
#
|
10943
11039
|
# @option params [Types::InputOrigin] :origin
|
10944
11040
|
# An object that describes the origin resource for the distribution,
|
10945
|
-
# such as a Lightsail instance or load balancer.
|
11041
|
+
# such as a Lightsail instance, bucket, or load balancer.
|
10946
11042
|
#
|
10947
11043
|
# The distribution pulls, caches, and serves content from the origin.
|
10948
11044
|
#
|
@@ -11040,7 +11136,7 @@ module Aws::Lightsail
|
|
11040
11136
|
# (CDN) distribution.
|
11041
11137
|
#
|
11042
11138
|
# A distribution bundle specifies the monthly network transfer quota and
|
11043
|
-
# monthly cost of your
|
11139
|
+
# monthly cost of your distribution.
|
11044
11140
|
#
|
11045
11141
|
# Update your distribution's bundle if your distribution is going over
|
11046
11142
|
# its monthly network transfer quota and is incurring an overage fee.
|
@@ -11462,7 +11558,7 @@ module Aws::Lightsail
|
|
11462
11558
|
params: params,
|
11463
11559
|
config: config)
|
11464
11560
|
context[:gem_name] = 'aws-sdk-lightsail'
|
11465
|
-
context[:gem_version] = '1.
|
11561
|
+
context[:gem_version] = '1.64.0'
|
11466
11562
|
Seahorse::Client::Request.new(handlers, context)
|
11467
11563
|
end
|
11468
11564
|
|
@@ -21,6 +21,8 @@ module Aws::Lightsail
|
|
21
21
|
AccessReceiverList = Shapes::ListShape.new(name: 'AccessReceiverList')
|
22
22
|
AccessRules = Shapes::StructureShape.new(name: 'AccessRules')
|
23
23
|
AccessType = Shapes::StringShape.new(name: 'AccessType')
|
24
|
+
AccountLevelBpaSync = Shapes::StructureShape.new(name: 'AccountLevelBpaSync')
|
25
|
+
AccountLevelBpaSyncStatus = Shapes::StringShape.new(name: 'AccountLevelBpaSyncStatus')
|
24
26
|
AccountSetupInProgressException = Shapes::StructureShape.new(name: 'AccountSetupInProgressException')
|
25
27
|
AddOn = Shapes::StructureShape.new(name: 'AddOn')
|
26
28
|
AddOnList = Shapes::ListShape.new(name: 'AddOnList')
|
@@ -52,6 +54,7 @@ module Aws::Lightsail
|
|
52
54
|
AutoSnapshotStatus = Shapes::StringShape.new(name: 'AutoSnapshotStatus')
|
53
55
|
AvailabilityZone = Shapes::StructureShape.new(name: 'AvailabilityZone')
|
54
56
|
AvailabilityZoneList = Shapes::ListShape.new(name: 'AvailabilityZoneList')
|
57
|
+
BPAStatusMessage = Shapes::StringShape.new(name: 'BPAStatusMessage')
|
55
58
|
Base64 = Shapes::StringShape.new(name: 'Base64')
|
56
59
|
BehaviorEnum = Shapes::StringShape.new(name: 'BehaviorEnum')
|
57
60
|
Blueprint = Shapes::StructureShape.new(name: 'Blueprint')
|
@@ -637,6 +640,12 @@ module Aws::Lightsail
|
|
637
640
|
AccessRules.add_member(:allow_public_overrides, Shapes::ShapeRef.new(shape: boolean, location_name: "allowPublicOverrides"))
|
638
641
|
AccessRules.struct_class = Types::AccessRules
|
639
642
|
|
643
|
+
AccountLevelBpaSync.add_member(:status, Shapes::ShapeRef.new(shape: AccountLevelBpaSyncStatus, location_name: "status"))
|
644
|
+
AccountLevelBpaSync.add_member(:last_synced_at, Shapes::ShapeRef.new(shape: IsoDate, location_name: "lastSyncedAt"))
|
645
|
+
AccountLevelBpaSync.add_member(:message, Shapes::ShapeRef.new(shape: BPAStatusMessage, location_name: "message"))
|
646
|
+
AccountLevelBpaSync.add_member(:bpa_impacts_lightsail, Shapes::ShapeRef.new(shape: boolean, location_name: "bpaImpactsLightsail"))
|
647
|
+
AccountLevelBpaSync.struct_class = Types::AccountLevelBpaSync
|
648
|
+
|
640
649
|
AccountSetupInProgressException.add_member(:code, Shapes::ShapeRef.new(shape: string, location_name: "code"))
|
641
650
|
AccountSetupInProgressException.add_member(:docs, Shapes::ShapeRef.new(shape: string, location_name: "docs"))
|
642
651
|
AccountSetupInProgressException.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "message"))
|
@@ -1364,6 +1373,7 @@ module Aws::Lightsail
|
|
1364
1373
|
DeleteInstanceSnapshotResult.struct_class = Types::DeleteInstanceSnapshotResult
|
1365
1374
|
|
1366
1375
|
DeleteKeyPairRequest.add_member(:key_pair_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "keyPairName"))
|
1376
|
+
DeleteKeyPairRequest.add_member(:expected_fingerprint, Shapes::ShapeRef.new(shape: string, location_name: "expectedFingerprint"))
|
1367
1377
|
DeleteKeyPairRequest.struct_class = Types::DeleteKeyPairRequest
|
1368
1378
|
|
1369
1379
|
DeleteKeyPairResult.add_member(:operation, Shapes::ShapeRef.new(shape: Operation, location_name: "operation"))
|
@@ -1544,6 +1554,7 @@ module Aws::Lightsail
|
|
1544
1554
|
|
1545
1555
|
DownloadDefaultKeyPairResult.add_member(:public_key_base_64, Shapes::ShapeRef.new(shape: Base64, location_name: "publicKeyBase64"))
|
1546
1556
|
DownloadDefaultKeyPairResult.add_member(:private_key_base_64, Shapes::ShapeRef.new(shape: Base64, location_name: "privateKeyBase64"))
|
1557
|
+
DownloadDefaultKeyPairResult.add_member(:created_at, Shapes::ShapeRef.new(shape: IsoDate, location_name: "createdAt"))
|
1547
1558
|
DownloadDefaultKeyPairResult.struct_class = Types::DownloadDefaultKeyPairResult
|
1548
1559
|
|
1549
1560
|
EnableAddOnRequest.add_member(:resource_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "resourceName"))
|
@@ -1653,6 +1664,7 @@ module Aws::Lightsail
|
|
1653
1664
|
|
1654
1665
|
GetBucketsResult.add_member(:buckets, Shapes::ShapeRef.new(shape: BucketList, location_name: "buckets"))
|
1655
1666
|
GetBucketsResult.add_member(:next_page_token, Shapes::ShapeRef.new(shape: string, location_name: "nextPageToken"))
|
1667
|
+
GetBucketsResult.add_member(:account_level_bpa_sync, Shapes::ShapeRef.new(shape: AccountLevelBpaSync, location_name: "accountLevelBpaSync"))
|
1656
1668
|
GetBucketsResult.struct_class = Types::GetBucketsResult
|
1657
1669
|
|
1658
1670
|
GetBundlesRequest.add_member(:include_inactive, Shapes::ShapeRef.new(shape: boolean, location_name: "includeInactive"))
|
@@ -1877,6 +1889,7 @@ module Aws::Lightsail
|
|
1877
1889
|
GetKeyPairResult.struct_class = Types::GetKeyPairResult
|
1878
1890
|
|
1879
1891
|
GetKeyPairsRequest.add_member(:page_token, Shapes::ShapeRef.new(shape: string, location_name: "pageToken"))
|
1892
|
+
GetKeyPairsRequest.add_member(:include_default_key_pair, Shapes::ShapeRef.new(shape: boolean, location_name: "includeDefaultKeyPair"))
|
1880
1893
|
GetKeyPairsRequest.struct_class = Types::GetKeyPairsRequest
|
1881
1894
|
|
1882
1895
|
GetKeyPairsResult.add_member(:key_pairs, Shapes::ShapeRef.new(shape: KeyPairList, location_name: "keyPairs"))
|
@@ -40,9 +40,9 @@ module Aws::Lightsail
|
|
40
40
|
#
|
41
41
|
# Access keys grant full programmatic access to the specified bucket and
|
42
42
|
# its objects. You can have a maximum of two access keys per bucket. Use
|
43
|
-
# the CreateBucketAccessKey action to create an access key for a
|
43
|
+
# the [CreateBucketAccessKey][1] action to create an access key for a
|
44
44
|
# specific bucket. For more information about access keys, see [Creating
|
45
|
-
# access keys for a bucket in Amazon Lightsail][
|
45
|
+
# access keys for a bucket in Amazon Lightsail][2] in the *Amazon
|
46
46
|
# Lightsail Developer Guide*.
|
47
47
|
#
|
48
48
|
# The `secretAccessKey` value is returned only in response to the
|
@@ -53,7 +53,8 @@ module Aws::Lightsail
|
|
53
53
|
#
|
54
54
|
#
|
55
55
|
#
|
56
|
-
# [1]: https://
|
56
|
+
# [1]: https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_CreateBucketAccessKey.html
|
57
|
+
# [2]: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-creating-bucket-access-keys
|
57
58
|
#
|
58
59
|
# @!attribute [rw] access_key_id
|
59
60
|
# The ID of the access key.
|
@@ -82,11 +83,15 @@ module Aws::Lightsail
|
|
82
83
|
# An object that describes the last time the access key was used.
|
83
84
|
#
|
84
85
|
# <note markdown="1"> This object does not include data in the response of a
|
85
|
-
# CreateBucketAccessKey action. If the access key has not been
|
86
|
-
# the `region` and `serviceName` values are `N/A`, and the
|
86
|
+
# [CreateBucketAccessKey][1] action. If the access key has not been
|
87
|
+
# used, the `region` and `serviceName` values are `N/A`, and the
|
87
88
|
# `lastUsedDate` value is null.
|
88
89
|
#
|
89
90
|
# </note>
|
91
|
+
#
|
92
|
+
#
|
93
|
+
#
|
94
|
+
# [1]: https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_CreateBucketAccessKey.html
|
90
95
|
# @return [Types::AccessKeyLastUsed]
|
91
96
|
#
|
92
97
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/AccessKey AWS API Documentation
|
@@ -104,10 +109,14 @@ module Aws::Lightsail
|
|
104
109
|
# Describes the last time an access key was used.
|
105
110
|
#
|
106
111
|
# <note markdown="1"> This object does not include data in the response of a
|
107
|
-
# CreateBucketAccessKey action.
|
112
|
+
# [CreateBucketAccessKey][1] action.
|
108
113
|
#
|
109
114
|
# </note>
|
110
115
|
#
|
116
|
+
#
|
117
|
+
#
|
118
|
+
# [1]: https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_CreateBucketAccessKey.html
|
119
|
+
#
|
111
120
|
# @!attribute [rw] last_used_date
|
112
121
|
# The date and time when the access key was most recently used.
|
113
122
|
#
|
@@ -202,6 +211,115 @@ module Aws::Lightsail
|
|
202
211
|
include Aws::Structure
|
203
212
|
end
|
204
213
|
|
214
|
+
# Describes the synchronization status of the Amazon Simple Storage
|
215
|
+
# Service (Amazon S3) account-level block public access (BPA) feature
|
216
|
+
# for your Lightsail buckets.
|
217
|
+
#
|
218
|
+
# The account-level BPA feature of Amazon S3 provides centralized
|
219
|
+
# controls to limit public access to all Amazon S3 buckets in an
|
220
|
+
# account. BPA can make all Amazon S3 buckets in an Amazon Web Services
|
221
|
+
# account private regardless of the individual bucket and object
|
222
|
+
# permissions that are configured. Lightsail buckets take into account
|
223
|
+
# the Amazon S3 account-level BPA configuration when allowing or denying
|
224
|
+
# public access. To do this, Lightsail periodically fetches the
|
225
|
+
# account-level BPA configuration from Amazon S3. When the account-level
|
226
|
+
# BPA status is `InSync`, the Amazon S3 account-level BPA configuration
|
227
|
+
# is synchronized and it applies to your Lightsail buckets. For more
|
228
|
+
# information about Amazon Simple Storage Service account-level BPA and
|
229
|
+
# how it affects Lightsail buckets, see [Block public access for buckets
|
230
|
+
# in Amazon Lightsail][1] in the *Amazon Lightsail Developer Guide*.
|
231
|
+
#
|
232
|
+
#
|
233
|
+
#
|
234
|
+
# [1]: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-block-public-access-for-buckets
|
235
|
+
#
|
236
|
+
# @!attribute [rw] status
|
237
|
+
# The status of the account-level BPA synchronization.
|
238
|
+
#
|
239
|
+
# The following statuses are possible:
|
240
|
+
#
|
241
|
+
# * `InSync` - Account-level BPA is synchronized. The Amazon S3
|
242
|
+
# account-level BPA configuration applies to your Lightsail buckets.
|
243
|
+
#
|
244
|
+
# * `NeverSynced` - Synchronization has not yet happened. The Amazon
|
245
|
+
# S3 account-level BPA configuration does not apply to your
|
246
|
+
# Lightsail buckets.
|
247
|
+
#
|
248
|
+
# * `Failed` - Synchronization failed. The Amazon S3 account-level BPA
|
249
|
+
# configuration does not apply to your Lightsail buckets.
|
250
|
+
#
|
251
|
+
# * `Defaulted` - Synchronization failed and account-level BPA for
|
252
|
+
# your Lightsail buckets is defaulted to *active*.
|
253
|
+
#
|
254
|
+
# <note markdown="1"> You might need to complete further actions if the status is `Failed`
|
255
|
+
# or `Defaulted`. The `message` parameter provides more information
|
256
|
+
# for those statuses.
|
257
|
+
#
|
258
|
+
# </note>
|
259
|
+
# @return [String]
|
260
|
+
#
|
261
|
+
# @!attribute [rw] last_synced_at
|
262
|
+
# The timestamp of when the account-level BPA configuration was last
|
263
|
+
# synchronized. This value is null when the account-level BPA
|
264
|
+
# configuration has not been synchronized.
|
265
|
+
# @return [Time]
|
266
|
+
#
|
267
|
+
# @!attribute [rw] message
|
268
|
+
# A message that provides a reason for a `Failed` or `Defaulted`
|
269
|
+
# synchronization status.
|
270
|
+
#
|
271
|
+
# The following messages are possible:
|
272
|
+
#
|
273
|
+
# * `SYNC_ON_HOLD` - The synchronization has not yet happened. This
|
274
|
+
# status message occurs immediately after you create your first
|
275
|
+
# Lightsail bucket. This status message should change after the
|
276
|
+
# first synchronization happens, approximately 1 hour after the
|
277
|
+
# first bucket is created.
|
278
|
+
#
|
279
|
+
# * `DEFAULTED_FOR_SLR_MISSING` - The synchronization failed because
|
280
|
+
# the required service-linked role is missing from your Amazon Web
|
281
|
+
# Services account. The account-level BPA configuration for your
|
282
|
+
# Lightsail buckets is defaulted to *active* until the
|
283
|
+
# synchronization can occur. This means that all your buckets are
|
284
|
+
# private and not publicly accessible. For more information about
|
285
|
+
# how to create the required service-linked role to allow
|
286
|
+
# synchronization, see [Using Service-Linked Roles for Amazon
|
287
|
+
# Lightsail][1] in the *Amazon Lightsail Developer Guide*.
|
288
|
+
#
|
289
|
+
# * `DEFAULTED_FOR_SLR_MISSING_ON_HOLD` - The synchronization failed
|
290
|
+
# because the required service-linked role is missing from your
|
291
|
+
# Amazon Web Services account. Account-level BPA is not yet
|
292
|
+
# configured for your Lightsail buckets. Therefore, only the bucket
|
293
|
+
# access permissions and individual object access permissions apply
|
294
|
+
# to your Lightsail buckets. For more information about how to
|
295
|
+
# create the required service-linked role to allow synchronization,
|
296
|
+
# see [Using Service-Linked Roles for Amazon Lightsail][1] in the
|
297
|
+
# *Amazon Lightsail Developer Guide*.
|
298
|
+
#
|
299
|
+
# * `Unknown` - The reason that synchronization failed is unknown.
|
300
|
+
# Contact Amazon Web Services Support for more information.
|
301
|
+
#
|
302
|
+
#
|
303
|
+
#
|
304
|
+
# [1]: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-using-service-linked-roles
|
305
|
+
# @return [String]
|
306
|
+
#
|
307
|
+
# @!attribute [rw] bpa_impacts_lightsail
|
308
|
+
# A Boolean value that indicates whether account-level block public
|
309
|
+
# access is affecting your Lightsail buckets.
|
310
|
+
# @return [Boolean]
|
311
|
+
#
|
312
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/AccountLevelBpaSync AWS API Documentation
|
313
|
+
#
|
314
|
+
class AccountLevelBpaSync < Struct.new(
|
315
|
+
:status,
|
316
|
+
:last_synced_at,
|
317
|
+
:message,
|
318
|
+
:bpa_impacts_lightsail)
|
319
|
+
SENSITIVE = []
|
320
|
+
include Aws::Structure
|
321
|
+
end
|
322
|
+
|
205
323
|
# Lightsail throws this exception when an account is still in the setup
|
206
324
|
# in progress state.
|
207
325
|
#
|
@@ -979,7 +1097,12 @@ module Aws::Lightsail
|
|
979
1097
|
# A bucket bundle specifies the monthly cost, storage space, and data
|
980
1098
|
# transfer quota for a bucket.
|
981
1099
|
#
|
982
|
-
# Use the UpdateBucketBundle action to change the bundle of a
|
1100
|
+
# Use the [UpdateBucketBundle][1] action to change the bundle of a
|
1101
|
+
# bucket.
|
1102
|
+
#
|
1103
|
+
#
|
1104
|
+
#
|
1105
|
+
# [1]: https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_UpdateBucketBundle.html
|
983
1106
|
# @return [String]
|
984
1107
|
#
|
985
1108
|
# @!attribute [rw] created_at
|
@@ -1035,7 +1158,11 @@ module Aws::Lightsail
|
|
1035
1158
|
# You can update a bucket's bundle only one time within a monthly AWS
|
1036
1159
|
# billing cycle.
|
1037
1160
|
#
|
1038
|
-
# Use the UpdateBucketBundle action to change a bucket's bundle.
|
1161
|
+
# Use the [UpdateBucketBundle][1] action to change a bucket's bundle.
|
1162
|
+
#
|
1163
|
+
#
|
1164
|
+
#
|
1165
|
+
# [1]: https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_UpdateBucketBundle.html
|
1039
1166
|
# @return [Boolean]
|
1040
1167
|
#
|
1041
1168
|
# @!attribute [rw] readonly_access_accounts
|
@@ -1047,8 +1174,12 @@ module Aws::Lightsail
|
|
1047
1174
|
# An array of objects that describe Lightsail instances that have
|
1048
1175
|
# access to the bucket.
|
1049
1176
|
#
|
1050
|
-
# Use the SetResourceAccessForBucket action to update the
|
1051
|
-
# that have access to a bucket.
|
1177
|
+
# Use the [SetResourceAccessForBucket][1] action to update the
|
1178
|
+
# instances that have access to a bucket.
|
1179
|
+
#
|
1180
|
+
#
|
1181
|
+
#
|
1182
|
+
# [1]: https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_SetResourceAccessForBucket.html
|
1052
1183
|
# @return [Array<Types::ResourceReceivingAccess>]
|
1053
1184
|
#
|
1054
1185
|
# @!attribute [rw] state
|
@@ -1109,9 +1240,9 @@ module Aws::Lightsail
|
|
1109
1240
|
# @return [Boolean]
|
1110
1241
|
#
|
1111
1242
|
# @!attribute [rw] destination
|
1112
|
-
# The name of the bucket where the access
|
1113
|
-
# can be a Lightsail bucket in the same account, and in
|
1114
|
-
# Region as the source bucket.
|
1243
|
+
# The name of the bucket where the access logs are saved. The
|
1244
|
+
# destination can be a Lightsail bucket in the same account, and in
|
1245
|
+
# the same AWS Region as the source bucket.
|
1115
1246
|
#
|
1116
1247
|
# <note markdown="1"> This parameter is required when enabling the access log for a
|
1117
1248
|
# bucket, and should be omitted when disabling the access log.
|
@@ -1339,8 +1470,6 @@ module Aws::Lightsail
|
|
1339
1470
|
# used to specify a directory, file, or file type that your distribution
|
1340
1471
|
# will not cache.
|
1341
1472
|
#
|
1342
|
-
# if the cacheBehavior's behavior is set to 'cache', then
|
1343
|
-
#
|
1344
1473
|
# @note When making an API call, you may pass CacheBehaviorPerPath
|
1345
1474
|
# data as a hash:
|
1346
1475
|
#
|
@@ -2834,18 +2963,28 @@ module Aws::Lightsail
|
|
2834
2963
|
# A bucket bundle specifies the monthly cost, storage space, and data
|
2835
2964
|
# transfer quota for a bucket.
|
2836
2965
|
#
|
2837
|
-
# Use the GetBucketBundles action to get a list of bundle IDs
|
2838
|
-
# can specify.
|
2966
|
+
# Use the [GetBucketBundles][1] action to get a list of bundle IDs
|
2967
|
+
# that you can specify.
|
2968
|
+
#
|
2969
|
+
# Use the [UpdateBucketBundle][2] action to change the bundle after
|
2970
|
+
# the bucket is created.
|
2971
|
+
#
|
2972
|
+
#
|
2839
2973
|
#
|
2840
|
-
#
|
2841
|
-
#
|
2974
|
+
# [1]: https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_GetBucketBundles.html
|
2975
|
+
# [2]: https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_UpdateBucketBundle.html
|
2842
2976
|
# @return [String]
|
2843
2977
|
#
|
2844
2978
|
# @!attribute [rw] tags
|
2845
2979
|
# The tag keys and optional values to add to the bucket during
|
2846
2980
|
# creation.
|
2847
2981
|
#
|
2848
|
-
# Use the TagResource action to tag the bucket after it's
|
2982
|
+
# Use the [TagResource][1] action to tag the bucket after it's
|
2983
|
+
# created.
|
2984
|
+
#
|
2985
|
+
#
|
2986
|
+
#
|
2987
|
+
# [1]: https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_TagResource.html
|
2849
2988
|
# @return [Array<Types::Tag>]
|
2850
2989
|
#
|
2851
2990
|
# @!attribute [rw] enable_object_versioning
|
@@ -3704,7 +3843,7 @@ module Aws::Lightsail
|
|
3704
3843
|
#
|
3705
3844
|
# @!attribute [rw] origin
|
3706
3845
|
# An object that describes the origin resource for the distribution,
|
3707
|
-
# such as a Lightsail instance or load balancer.
|
3846
|
+
# such as a Lightsail instance, bucket, or load balancer.
|
3708
3847
|
#
|
3709
3848
|
# The distribution pulls, caches, and serves content from the origin.
|
3710
3849
|
# @return [Types::InputOrigin]
|
@@ -5097,8 +5236,12 @@ module Aws::Lightsail
|
|
5097
5236
|
# @!attribute [rw] access_key_id
|
5098
5237
|
# The ID of the access key to delete.
|
5099
5238
|
#
|
5100
|
-
# Use the GetBucketAccessKeys action to get a list of access key
|
5101
|
-
# that you can specify.
|
5239
|
+
# Use the [GetBucketAccessKeys][1] action to get a list of access key
|
5240
|
+
# IDs that you can specify.
|
5241
|
+
#
|
5242
|
+
#
|
5243
|
+
#
|
5244
|
+
# [1]: https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_GetBucketAccessKeys.html
|
5102
5245
|
# @return [String]
|
5103
5246
|
#
|
5104
5247
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteBucketAccessKeyRequest AWS API Documentation
|
@@ -5135,8 +5278,12 @@ module Aws::Lightsail
|
|
5135
5278
|
# @!attribute [rw] bucket_name
|
5136
5279
|
# The name of the bucket to delete.
|
5137
5280
|
#
|
5138
|
-
# Use the GetBuckets action to get a list of bucket names that
|
5139
|
-
# specify.
|
5281
|
+
# Use the [GetBuckets][1] action to get a list of bucket names that
|
5282
|
+
# you can specify.
|
5283
|
+
#
|
5284
|
+
#
|
5285
|
+
#
|
5286
|
+
# [1]: https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_GetBuckets.html
|
5140
5287
|
# @return [String]
|
5141
5288
|
#
|
5142
5289
|
# @!attribute [rw] force_delete
|
@@ -5148,7 +5295,7 @@ module Aws::Lightsail
|
|
5148
5295
|
# * The bucket is the origin of a distribution.
|
5149
5296
|
#
|
5150
5297
|
# * The bucket has instances that were granted access to it using the
|
5151
|
-
# SetResourceAccessForBucket action.
|
5298
|
+
# [SetResourceAccessForBucket][1] action.
|
5152
5299
|
#
|
5153
5300
|
# * The bucket has objects.
|
5154
5301
|
#
|
@@ -5157,6 +5304,10 @@ module Aws::Lightsail
|
|
5157
5304
|
# Force deleting a bucket might impact other resources that rely on
|
5158
5305
|
# the bucket, such as instances, distributions, or software that use
|
5159
5306
|
# the issued access keys.
|
5307
|
+
#
|
5308
|
+
#
|
5309
|
+
#
|
5310
|
+
# [1]: https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_SetResourceAccessForBucket.html
|
5160
5311
|
# @return [Boolean]
|
5161
5312
|
#
|
5162
5313
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteBucketRequest AWS API Documentation
|
@@ -5593,16 +5744,27 @@ module Aws::Lightsail
|
|
5593
5744
|
#
|
5594
5745
|
# {
|
5595
5746
|
# key_pair_name: "ResourceName", # required
|
5747
|
+
# expected_fingerprint: "string",
|
5596
5748
|
# }
|
5597
5749
|
#
|
5598
5750
|
# @!attribute [rw] key_pair_name
|
5599
5751
|
# The name of the key pair to delete.
|
5600
5752
|
# @return [String]
|
5601
5753
|
#
|
5754
|
+
# @!attribute [rw] expected_fingerprint
|
5755
|
+
# The RSA fingerprint of the Lightsail default key pair to delete.
|
5756
|
+
#
|
5757
|
+
# <note markdown="1"> The `expectedFingerprint` parameter is required only when specifying
|
5758
|
+
# to delete a Lightsail default key pair.
|
5759
|
+
#
|
5760
|
+
# </note>
|
5761
|
+
# @return [String]
|
5762
|
+
#
|
5602
5763
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteKeyPairRequest AWS API Documentation
|
5603
5764
|
#
|
5604
5765
|
class DeleteKeyPairRequest < Struct.new(
|
5605
|
-
:key_pair_name
|
5766
|
+
:key_pair_name,
|
5767
|
+
:expected_fingerprint)
|
5606
5768
|
SENSITIVE = []
|
5607
5769
|
include Aws::Structure
|
5608
5770
|
end
|
@@ -6548,11 +6710,16 @@ module Aws::Lightsail
|
|
6548
6710
|
# A base64-encoded RSA private key.
|
6549
6711
|
# @return [String]
|
6550
6712
|
#
|
6713
|
+
# @!attribute [rw] created_at
|
6714
|
+
# The timestamp when the default key pair was created.
|
6715
|
+
# @return [Time]
|
6716
|
+
#
|
6551
6717
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DownloadDefaultKeyPairResult AWS API Documentation
|
6552
6718
|
#
|
6553
6719
|
class DownloadDefaultKeyPairResult < Struct.new(
|
6554
6720
|
:public_key_base_64,
|
6555
|
-
:private_key_base_64
|
6721
|
+
:private_key_base_64,
|
6722
|
+
:created_at)
|
6556
6723
|
SENSITIVE = []
|
6557
6724
|
include Aws::Structure
|
6558
6725
|
end
|
@@ -7216,7 +7383,11 @@ module Aws::Lightsail
|
|
7216
7383
|
# @!attribute [rw] include_connected_resources
|
7217
7384
|
# A Boolean value that indicates whether to include Lightsail
|
7218
7385
|
# instances that were given access to the bucket using the
|
7219
|
-
# SetResourceAccessForBucket action.
|
7386
|
+
# [SetResourceAccessForBucket][1] action.
|
7387
|
+
#
|
7388
|
+
#
|
7389
|
+
#
|
7390
|
+
# [1]: https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_SetResourceAccessForBucket.html
|
7220
7391
|
# @return [Boolean]
|
7221
7392
|
#
|
7222
7393
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetBucketsRequest AWS API Documentation
|
@@ -7244,11 +7415,26 @@ module Aws::Lightsail
|
|
7244
7415
|
# parameter.
|
7245
7416
|
# @return [String]
|
7246
7417
|
#
|
7418
|
+
# @!attribute [rw] account_level_bpa_sync
|
7419
|
+
# An object that describes the synchronization status of the Amazon S3
|
7420
|
+
# account-level block public access feature for your Lightsail
|
7421
|
+
# buckets.
|
7422
|
+
#
|
7423
|
+
# For more information about this feature and how it affects Lightsail
|
7424
|
+
# buckets, see [Block public access for buckets in Amazon
|
7425
|
+
# Lightsail][1].
|
7426
|
+
#
|
7427
|
+
#
|
7428
|
+
#
|
7429
|
+
# [1]: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-block-public-access-for-buckets
|
7430
|
+
# @return [Types::AccountLevelBpaSync]
|
7431
|
+
#
|
7247
7432
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetBucketsResult AWS API Documentation
|
7248
7433
|
#
|
7249
7434
|
class GetBucketsResult < Struct.new(
|
7250
7435
|
:buckets,
|
7251
|
-
:next_page_token
|
7436
|
+
:next_page_token,
|
7437
|
+
:account_level_bpa_sync)
|
7252
7438
|
SENSITIVE = []
|
7253
7439
|
include Aws::Structure
|
7254
7440
|
end
|
@@ -8921,6 +9107,7 @@ module Aws::Lightsail
|
|
8921
9107
|
#
|
8922
9108
|
# {
|
8923
9109
|
# page_token: "string",
|
9110
|
+
# include_default_key_pair: false,
|
8924
9111
|
# }
|
8925
9112
|
#
|
8926
9113
|
# @!attribute [rw] page_token
|
@@ -8932,10 +9119,16 @@ module Aws::Lightsail
|
|
8932
9119
|
# request.
|
8933
9120
|
# @return [String]
|
8934
9121
|
#
|
9122
|
+
# @!attribute [rw] include_default_key_pair
|
9123
|
+
# A Boolean value that indicates whether to include the default key
|
9124
|
+
# pair in the response of your request.
|
9125
|
+
# @return [Boolean]
|
9126
|
+
#
|
8935
9127
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetKeyPairsRequest AWS API Documentation
|
8936
9128
|
#
|
8937
9129
|
class GetKeyPairsRequest < Struct.new(
|
8938
|
-
:page_token
|
9130
|
+
:page_token,
|
9131
|
+
:include_default_key_pair)
|
8939
9132
|
SENSITIVE = []
|
8940
9133
|
include Aws::Structure
|
8941
9134
|
end
|
@@ -10472,9 +10665,9 @@ module Aws::Lightsail
|
|
10472
10665
|
# Describes the origin resource of an Amazon Lightsail content delivery
|
10473
10666
|
# network (CDN) distribution.
|
10474
10667
|
#
|
10475
|
-
# An origin can be a Lightsail instance or load balancer. A
|
10476
|
-
# pulls content from an origin, caches it, and serves it to
|
10477
|
-
# a worldwide network of edge servers.
|
10668
|
+
# An origin can be a Lightsail instance, bucket, or load balancer. A
|
10669
|
+
# distribution pulls content from an origin, caches it, and serves it to
|
10670
|
+
# viewers via a worldwide network of edge servers.
|
10478
10671
|
#
|
10479
10672
|
# @note When making an API call, you may pass InputOrigin
|
10480
10673
|
# data as a hash:
|
@@ -11600,7 +11793,7 @@ module Aws::Lightsail
|
|
11600
11793
|
#
|
11601
11794
|
# @!attribute [rw] origin
|
11602
11795
|
# An object that describes the origin resource of the distribution,
|
11603
|
-
# such as a Lightsail instance or load balancer.
|
11796
|
+
# such as a Lightsail instance, bucket, or load balancer.
|
11604
11797
|
#
|
11605
11798
|
# The distribution pulls, caches, and serves content from the origin.
|
11606
11799
|
# @return [Types::Origin]
|
@@ -12465,9 +12658,9 @@ module Aws::Lightsail
|
|
12465
12658
|
# Describes the origin resource of an Amazon Lightsail content delivery
|
12466
12659
|
# network (CDN) distribution.
|
12467
12660
|
#
|
12468
|
-
# An origin can be a Lightsail instance or load balancer. A
|
12469
|
-
# pulls content from an origin, caches it, and serves it to
|
12470
|
-
# a worldwide network of edge servers.
|
12661
|
+
# An origin can be a Lightsail instance, bucket, or load balancer. A
|
12662
|
+
# distribution pulls content from an origin, caches it, and serves it to
|
12663
|
+
# viewers via a worldwide network of edge servers.
|
12471
12664
|
#
|
12472
12665
|
# @!attribute [rw] name
|
12473
12666
|
# The name of the origin resource.
|
@@ -14567,8 +14760,12 @@ module Aws::Lightsail
|
|
14567
14760
|
# @!attribute [rw] bundle_id
|
14568
14761
|
# The ID of the new bundle to apply to the bucket.
|
14569
14762
|
#
|
14570
|
-
# Use the GetBucketBundles action to get a list of bundle IDs
|
14571
|
-
# can specify.
|
14763
|
+
# Use the [GetBucketBundles][1] action to get a list of bundle IDs
|
14764
|
+
# that you can specify.
|
14765
|
+
#
|
14766
|
+
#
|
14767
|
+
#
|
14768
|
+
# [1]: https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_GetBucketBundles.html
|
14572
14769
|
# @return [String]
|
14573
14770
|
#
|
14574
14771
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/UpdateBucketBundleRequest AWS API Documentation
|
@@ -14860,7 +15057,7 @@ module Aws::Lightsail
|
|
14860
15057
|
#
|
14861
15058
|
# @!attribute [rw] origin
|
14862
15059
|
# An object that describes the origin resource for the distribution,
|
14863
|
-
# such as a Lightsail instance or load balancer.
|
15060
|
+
# such as a Lightsail instance, bucket, or load balancer.
|
14864
15061
|
#
|
14865
15062
|
# The distribution pulls, caches, and serves content from the origin.
|
14866
15063
|
# @return [Types::InputOrigin]
|
data/lib/aws-sdk-lightsail.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-lightsail
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.64.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-04-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.127.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.127.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|