aws-sdk-lightsail 1.60.0 → 1.63.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 565c4b8b0d44e2aedfd3786c7e23673260816ab73b9a30059e9aa466cf534448
4
- data.tar.gz: 2229144074224b4fddd0b470339c39ac29b71da05fd6772bdd14c38ce02e55fe
3
+ metadata.gz: 1951d4be1857429ffbf2d537f6d7f5e72cf83048becb5087217d518f3aa58190
4
+ data.tar.gz: 3203ffb6e44f919731a34debe45b72c041ad8d348c636f9e8bc551dfd0292ff9
5
5
  SHA512:
6
- metadata.gz: 7a36e86cd9fce3e328b41570b375fa21fb527fc5a0d032c6fbd520921013e11da9f11ec6626d9d5e9da7e6aa1c7061f6fbb8333d331db6437311ae7ec40a54c0
7
- data.tar.gz: f6a5b4905a8f7c2c89628b6a87e00d21c042102dc9de58f5abc5dcc6eeafac8713cbf0ffd3248f6e7b3502f32bc9f91f41557fbfc81dc28650128af8e59a879e
6
+ metadata.gz: 166f547a1c0282624ff04b0fe56b2c7a24425bbc63427d837950cd4a480cf3f1511f45e6746334f1c80119a2a891f7d781e2e33a590689c287ac58bd2a0173c3
7
+ data.tar.gz: '0484fc5960ef41d0ec90cc456d5645f3eb2f094c6abb2f4473ac219fbae38ce57c4f0d42437355d80783ad8a06de3d72fd6c8adde1d0e175e5f3b7bc7b626463'
data/CHANGELOG.md CHANGED
@@ -1,6 +1,21 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.63.0 (2022-02-24)
5
+ ------------------
6
+
7
+ * Feature - This release adds support to delete and create Lightsail default key pairs that you can use with Lightsail instances.
8
+
9
+ 1.62.0 (2022-02-03)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
14
+ 1.61.0 (2021-12-21)
15
+ ------------------
16
+
17
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
18
+
4
19
  1.60.0 (2021-11-30)
5
20
  ------------------
6
21
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.60.0
1
+ 1.63.0
@@ -27,6 +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'
31
+ require 'aws-sdk-core/plugins/defaults_mode.rb'
32
+ require 'aws-sdk-core/plugins/recursion_detection.rb'
30
33
  require 'aws-sdk-core/plugins/signature_v4.rb'
31
34
  require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
32
35
 
@@ -73,6 +76,9 @@ module Aws::Lightsail
73
76
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
74
77
  add_plugin(Aws::Plugins::TransferEncoding)
75
78
  add_plugin(Aws::Plugins::HttpChecksum)
79
+ add_plugin(Aws::Plugins::ChecksumAlgorithm)
80
+ add_plugin(Aws::Plugins::DefaultsMode)
81
+ add_plugin(Aws::Plugins::RecursionDetection)
76
82
  add_plugin(Aws::Plugins::SignatureV4)
77
83
  add_plugin(Aws::Plugins::Protocols::JsonRpc)
78
84
 
@@ -175,6 +181,10 @@ module Aws::Lightsail
175
181
  # Used only in `standard` and adaptive retry modes. Specifies whether to apply
176
182
  # a clock skew correction and retry requests with skewed client clocks.
177
183
  #
184
+ # @option options [String] :defaults_mode ("legacy")
185
+ # See {Aws::DefaultsModeConfiguration} for a list of the
186
+ # accepted modes and the configuration defaults that are included.
187
+ #
178
188
  # @option options [Boolean] :disable_host_prefix_injection (false)
179
189
  # Set to true to disable SDK automatically adding host prefix
180
190
  # to default service endpoint when available.
@@ -307,7 +317,7 @@ module Aws::Lightsail
307
317
  # seconds to wait when opening a HTTP session before raising a
308
318
  # `Timeout::Error`.
309
319
  #
310
- # @option options [Integer] :http_read_timeout (60) The default
320
+ # @option options [Float] :http_read_timeout (60) The default
311
321
  # number of seconds to wait for response data. This value can
312
322
  # safely be set per-request on the session.
313
323
  #
@@ -323,6 +333,9 @@ module Aws::Lightsail
323
333
  # disables this behaviour. This value can safely be set per
324
334
  # request on the session.
325
335
  #
336
+ # @option options [Float] :ssl_timeout (nil) Sets the SSL timeout
337
+ # in seconds.
338
+ #
326
339
  # @option options [Boolean] :http_wire_trace (false) When `true`,
327
340
  # HTTP debug output will be sent to the `:logger`.
328
341
  #
@@ -912,16 +925,25 @@ module Aws::Lightsail
912
925
  # A bucket bundle specifies the monthly cost, storage space, and data
913
926
  # transfer quota for a bucket.
914
927
  #
915
- # Use the GetBucketBundles action to get a list of bundle IDs that you
916
- # can specify.
928
+ # Use the [GetBucketBundles][1] action to get a list of bundle IDs that
929
+ # you can specify.
917
930
  #
918
- # Use the UpdateBucketBundle action to change the bundle after the
931
+ # Use the [UpdateBucketBundle][2] action to change the bundle after the
919
932
  # bucket is created.
920
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
+ #
921
939
  # @option params [Array<Types::Tag>] :tags
922
940
  # The tag keys and optional values to add to the bucket during creation.
923
941
  #
924
- # 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
925
947
  #
926
948
  # @option params [Boolean] :enable_object_versioning
927
949
  # A Boolean value that indicates whether to enable versioning of objects
@@ -1012,9 +1034,9 @@ module Aws::Lightsail
1012
1034
  #
1013
1035
  # Access keys grant full programmatic access to the specified bucket and
1014
1036
  # its objects. You can have a maximum of two access keys per bucket. Use
1015
- # the GetBucketAccessKeys action to get a list of current access keys
1016
- # for a specific bucket. For more information about access keys, see
1017
- # [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
1018
1040
  # *Amazon Lightsail Developer Guide*.
1019
1041
  #
1020
1042
  # The `secretAccessKey` value is returned only in response to the
@@ -1025,7 +1047,8 @@ module Aws::Lightsail
1025
1047
  #
1026
1048
  #
1027
1049
  #
1028
- # [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
1029
1052
  #
1030
1053
  # @option params [required, String] :bucket_name
1031
1054
  # The name of the bucket that the new access key will belong to, and
@@ -2131,7 +2154,7 @@ module Aws::Lightsail
2131
2154
  #
2132
2155
  # @option params [required, Types::InputOrigin] :origin
2133
2156
  # An object that describes the origin resource for the distribution,
2134
- # such as a Lightsail instance or load balancer.
2157
+ # such as a Lightsail instance, bucket, or load balancer.
2135
2158
  #
2136
2159
  # The distribution pulls, caches, and serves content from the origin.
2137
2160
  #
@@ -2840,15 +2863,23 @@ module Aws::Lightsail
2840
2863
  req.send_request(options)
2841
2864
  end
2842
2865
 
2843
- # Creates an SSH key pair.
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>
2844
2874
  #
2845
2875
  # The `create key pair` operation supports tag-based access control via
2846
2876
  # request tags. For more information, see the [Amazon Lightsail
2847
- # Developer Guide][1].
2877
+ # Developer Guide][2].
2848
2878
  #
2849
2879
  #
2850
2880
  #
2851
- # [1]: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-controlling-access-using-tags
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
2852
2883
  #
2853
2884
  # @option params [required, String] :key_pair_name
2854
2885
  # The name for your new key pair.
@@ -3699,8 +3730,12 @@ module Aws::Lightsail
3699
3730
  # @option params [required, String] :bucket_name
3700
3731
  # The name of the bucket to delete.
3701
3732
  #
3702
- # Use the GetBuckets action to get a list of bucket names that you can
3703
- # 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
3704
3739
  #
3705
3740
  # @option params [Boolean] :force_delete
3706
3741
  # A Boolean value that indicates whether to force delete the bucket.
@@ -3711,7 +3746,7 @@ module Aws::Lightsail
3711
3746
  # * The bucket is the origin of a distribution.
3712
3747
  #
3713
3748
  # * The bucket has instances that were granted access to it using the
3714
- # SetResourceAccessForBucket action.
3749
+ # [SetResourceAccessForBucket][1] action.
3715
3750
  #
3716
3751
  # * The bucket has objects.
3717
3752
  #
@@ -3721,6 +3756,10 @@ module Aws::Lightsail
3721
3756
  # bucket, such as instances, distributions, or software that use the
3722
3757
  # issued access keys.
3723
3758
  #
3759
+ #
3760
+ #
3761
+ # [1]: https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_SetResourceAccessForBucket.html
3762
+ #
3724
3763
  # @return [Types::DeleteBucketResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3725
3764
  #
3726
3765
  # * {Types::DeleteBucketResult#operations #operations} => Array&lt;Types::Operation&gt;
@@ -3777,8 +3816,12 @@ module Aws::Lightsail
3777
3816
  # @option params [required, String] :access_key_id
3778
3817
  # The ID of the access key to delete.
3779
3818
  #
3780
- # Use the GetBucketAccessKeys action to get a list of access key IDs
3781
- # 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
3782
3825
  #
3783
3826
  # @return [Types::DeleteBucketAccessKeyResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3784
3827
  #
@@ -4363,19 +4406,37 @@ module Aws::Lightsail
4363
4406
  req.send_request(options)
4364
4407
  end
4365
4408
 
4366
- # Deletes a specific SSH key pair.
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.
4367
4417
  #
4368
4418
  # The `delete key pair` operation supports tag-based access control via
4369
4419
  # resource tags applied to the resource identified by `key pair name`.
4370
- # For more information, see the [Amazon Lightsail Developer Guide][1].
4420
+ # For more information, see the [Amazon Lightsail Developer Guide][4].
4371
4421
  #
4372
4422
  #
4373
4423
  #
4374
- # [1]: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-controlling-access-using-tags
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
4375
4428
  #
4376
4429
  # @option params [required, String] :key_pair_name
4377
4430
  # The name of the key pair to delete.
4378
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
+ #
4379
4440
  # @return [Types::DeleteKeyPairResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4380
4441
  #
4381
4442
  # * {Types::DeleteKeyPairResult#operation #operation} => Types::Operation
@@ -4384,6 +4445,7 @@ module Aws::Lightsail
4384
4445
  #
4385
4446
  # resp = client.delete_key_pair({
4386
4447
  # key_pair_name: "ResourceName", # required
4448
+ # expected_fingerprint: "string",
4387
4449
  # })
4388
4450
  #
4389
4451
  # @example Response structure
@@ -4961,17 +5023,22 @@ module Aws::Lightsail
4961
5023
  req.send_request(options)
4962
5024
  end
4963
5025
 
4964
- # Downloads the default SSH key pair from the user's account.
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.
4965
5030
  #
4966
5031
  # @return [Types::DownloadDefaultKeyPairResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4967
5032
  #
4968
5033
  # * {Types::DownloadDefaultKeyPairResult#public_key_base_64 #public_key_base_64} => String
4969
5034
  # * {Types::DownloadDefaultKeyPairResult#private_key_base_64 #private_key_base_64} => String
5035
+ # * {Types::DownloadDefaultKeyPairResult#created_at #created_at} => Time
4970
5036
  #
4971
5037
  # @example Response structure
4972
5038
  #
4973
5039
  # resp.public_key_base_64 #=> String
4974
5040
  # resp.private_key_base_64 #=> String
5041
+ # resp.created_at #=> Time
4975
5042
  #
4976
5043
  # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DownloadDefaultKeyPair AWS API Documentation
4977
5044
  #
@@ -5337,8 +5404,12 @@ module Aws::Lightsail
5337
5404
  #
5338
5405
  # This action does not return the secret access key value of an access
5339
5406
  # key. You can get a secret access key only when you create it from the
5340
- # response of the CreateBucketAccessKey action. If you lose the secret
5341
- # 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
5342
5413
  #
5343
5414
  # @option params [required, String] :bucket_name
5344
5415
  # The name of the bucket for which to return access keys.
@@ -5378,7 +5449,12 @@ module Aws::Lightsail
5378
5449
  # The bucket bundle specifies the monthly cost, storage quota, and data
5379
5450
  # transfer quota for a bucket.
5380
5451
  #
5381
- # Use the UpdateBucketBundle action to update the bundle for a bucket.
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
5382
5458
  #
5383
5459
  # @option params [Boolean] :include_inactive
5384
5460
  # A Boolean value that indicates whether to include inactive
@@ -5563,7 +5639,11 @@ module Aws::Lightsail
5563
5639
  # @option params [Boolean] :include_connected_resources
5564
5640
  # A Boolean value that indicates whether to include Lightsail instances
5565
5641
  # that were given access to the bucket using the
5566
- # SetResourceAccessForBucket action.
5642
+ # [SetResourceAccessForBucket][1] action.
5643
+ #
5644
+ #
5645
+ #
5646
+ # [1]: https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_SetResourceAccessForBucket.html
5567
5647
  #
5568
5648
  # @return [Types::GetBucketsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5569
5649
  #
@@ -6998,8 +7078,12 @@ module Aws::Lightsail
6998
7078
  # snapshot` operation.
6999
7079
  #
7000
7080
  # An export snapshot record can be used to create a new Amazon EC2
7001
- # instance and its related resources with the CreateCloudFormationStack
7002
- # action.
7081
+ # instance and its related resources with the
7082
+ # [CreateCloudFormationStack][1] action.
7083
+ #
7084
+ #
7085
+ #
7086
+ # [1]: https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_CreateCloudFormationStack.html
7003
7087
  #
7004
7088
  # @option params [String] :page_token
7005
7089
  # The token to advance to the next page of results from your request.
@@ -7784,6 +7868,10 @@ module Aws::Lightsail
7784
7868
  # results are paginated, the response will return a next page token that
7785
7869
  # you can specify as the page token in a subsequent request.
7786
7870
  #
7871
+ # @option params [Boolean] :include_default_key_pair
7872
+ # A Boolean value that indicates whether to include the default key pair
7873
+ # in the response of your request.
7874
+ #
7787
7875
  # @return [Types::GetKeyPairsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
7788
7876
  #
7789
7877
  # * {Types::GetKeyPairsResult#key_pairs #key_pairs} => Array&lt;Types::KeyPair&gt;
@@ -7793,6 +7881,7 @@ module Aws::Lightsail
7793
7881
  #
7794
7882
  # resp = client.get_key_pairs({
7795
7883
  # page_token: "string",
7884
+ # include_default_key_pair: false,
7796
7885
  # })
7797
7886
  #
7798
7887
  # @example Response structure
@@ -10722,7 +10811,7 @@ module Aws::Lightsail
10722
10811
  # A bucket bundle specifies the monthly cost, storage space, and data
10723
10812
  # transfer quota for a bucket. You can update a bucket's bundle only
10724
10813
  # one time within a monthly AWS billing cycle. To determine if you can
10725
- # update a bucket's bundle, use the GetBuckets action. The
10814
+ # update a bucket's bundle, use the [GetBuckets][1] action. The
10726
10815
  # `ableToUpdateBundle` parameter in the response will indicate whether
10727
10816
  # you can currently update a bucket's bundle.
10728
10817
  #
@@ -10735,14 +10824,22 @@ module Aws::Lightsail
10735
10824
  # measure. Choose a bucket bundle that will provide the bucket with
10736
10825
  # ample storage space and data transfer for a long time to come.
10737
10826
  #
10827
+ #
10828
+ #
10829
+ # [1]: https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_GetBuckets.html
10830
+ #
10738
10831
  # @option params [required, String] :bucket_name
10739
10832
  # The name of the bucket for which to update the bundle.
10740
10833
  #
10741
10834
  # @option params [required, String] :bundle_id
10742
10835
  # The ID of the new bundle to apply to the bucket.
10743
10836
  #
10744
- # Use the GetBucketBundles action to get a list of bundle IDs that you
10745
- # can specify.
10837
+ # Use the [GetBucketBundles][1] action to get a list of bundle IDs that
10838
+ # you can specify.
10839
+ #
10840
+ #
10841
+ #
10842
+ # [1]: https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_GetBucketBundles.html
10746
10843
  #
10747
10844
  # @return [Types::UpdateBucketBundleResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
10748
10845
  #
@@ -10933,7 +11030,7 @@ module Aws::Lightsail
10933
11030
  #
10934
11031
  # @option params [Types::InputOrigin] :origin
10935
11032
  # An object that describes the origin resource for the distribution,
10936
- # such as a Lightsail instance or load balancer.
11033
+ # such as a Lightsail instance, bucket, or load balancer.
10937
11034
  #
10938
11035
  # The distribution pulls, caches, and serves content from the origin.
10939
11036
  #
@@ -11453,7 +11550,7 @@ module Aws::Lightsail
11453
11550
  params: params,
11454
11551
  config: config)
11455
11552
  context[:gem_name] = 'aws-sdk-lightsail'
11456
- context[:gem_version] = '1.60.0'
11553
+ context[:gem_version] = '1.63.0'
11457
11554
  Seahorse::Client::Request.new(handlers, context)
11458
11555
  end
11459
11556
 
@@ -1364,6 +1364,7 @@ module Aws::Lightsail
1364
1364
  DeleteInstanceSnapshotResult.struct_class = Types::DeleteInstanceSnapshotResult
1365
1365
 
1366
1366
  DeleteKeyPairRequest.add_member(:key_pair_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "keyPairName"))
1367
+ DeleteKeyPairRequest.add_member(:expected_fingerprint, Shapes::ShapeRef.new(shape: string, location_name: "expectedFingerprint"))
1367
1368
  DeleteKeyPairRequest.struct_class = Types::DeleteKeyPairRequest
1368
1369
 
1369
1370
  DeleteKeyPairResult.add_member(:operation, Shapes::ShapeRef.new(shape: Operation, location_name: "operation"))
@@ -1544,6 +1545,7 @@ module Aws::Lightsail
1544
1545
 
1545
1546
  DownloadDefaultKeyPairResult.add_member(:public_key_base_64, Shapes::ShapeRef.new(shape: Base64, location_name: "publicKeyBase64"))
1546
1547
  DownloadDefaultKeyPairResult.add_member(:private_key_base_64, Shapes::ShapeRef.new(shape: Base64, location_name: "privateKeyBase64"))
1548
+ DownloadDefaultKeyPairResult.add_member(:created_at, Shapes::ShapeRef.new(shape: IsoDate, location_name: "createdAt"))
1547
1549
  DownloadDefaultKeyPairResult.struct_class = Types::DownloadDefaultKeyPairResult
1548
1550
 
1549
1551
  EnableAddOnRequest.add_member(:resource_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "resourceName"))
@@ -1877,6 +1879,7 @@ module Aws::Lightsail
1877
1879
  GetKeyPairResult.struct_class = Types::GetKeyPairResult
1878
1880
 
1879
1881
  GetKeyPairsRequest.add_member(:page_token, Shapes::ShapeRef.new(shape: string, location_name: "pageToken"))
1882
+ GetKeyPairsRequest.add_member(:include_default_key_pair, Shapes::ShapeRef.new(shape: boolean, location_name: "includeDefaultKeyPair"))
1880
1883
  GetKeyPairsRequest.struct_class = Types::GetKeyPairsRequest
1881
1884
 
1882
1885
  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][1] in the *Amazon
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://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-creating-bucket-access-keys
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 used,
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
  #
@@ -979,7 +988,12 @@ module Aws::Lightsail
979
988
  # A bucket bundle specifies the monthly cost, storage space, and data
980
989
  # transfer quota for a bucket.
981
990
  #
982
- # Use the UpdateBucketBundle action to change the bundle of a bucket.
991
+ # Use the [UpdateBucketBundle][1] action to change the bundle of a
992
+ # bucket.
993
+ #
994
+ #
995
+ #
996
+ # [1]: https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_UpdateBucketBundle.html
983
997
  # @return [String]
984
998
  #
985
999
  # @!attribute [rw] created_at
@@ -1035,7 +1049,11 @@ module Aws::Lightsail
1035
1049
  # You can update a bucket's bundle only one time within a monthly AWS
1036
1050
  # billing cycle.
1037
1051
  #
1038
- # Use the UpdateBucketBundle action to change a bucket's bundle.
1052
+ # Use the [UpdateBucketBundle][1] action to change a bucket's bundle.
1053
+ #
1054
+ #
1055
+ #
1056
+ # [1]: https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_UpdateBucketBundle.html
1039
1057
  # @return [Boolean]
1040
1058
  #
1041
1059
  # @!attribute [rw] readonly_access_accounts
@@ -1047,8 +1065,12 @@ module Aws::Lightsail
1047
1065
  # An array of objects that describe Lightsail instances that have
1048
1066
  # access to the bucket.
1049
1067
  #
1050
- # Use the SetResourceAccessForBucket action to update the instances
1051
- # that have access to a bucket.
1068
+ # Use the [SetResourceAccessForBucket][1] action to update the
1069
+ # instances that have access to a bucket.
1070
+ #
1071
+ #
1072
+ #
1073
+ # [1]: https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_SetResourceAccessForBucket.html
1052
1074
  # @return [Array<Types::ResourceReceivingAccess>]
1053
1075
  #
1054
1076
  # @!attribute [rw] state
@@ -1339,8 +1361,6 @@ module Aws::Lightsail
1339
1361
  # used to specify a directory, file, or file type that your distribution
1340
1362
  # will not cache.
1341
1363
  #
1342
- # if the cacheBehavior's behavior is set to 'cache', then
1343
- #
1344
1364
  # @note When making an API call, you may pass CacheBehaviorPerPath
1345
1365
  # data as a hash:
1346
1366
  #
@@ -2834,18 +2854,28 @@ module Aws::Lightsail
2834
2854
  # A bucket bundle specifies the monthly cost, storage space, and data
2835
2855
  # transfer quota for a bucket.
2836
2856
  #
2837
- # Use the GetBucketBundles action to get a list of bundle IDs that you
2838
- # can specify.
2857
+ # Use the [GetBucketBundles][1] action to get a list of bundle IDs
2858
+ # that you can specify.
2859
+ #
2860
+ # Use the [UpdateBucketBundle][2] action to change the bundle after
2861
+ # the bucket is created.
2839
2862
  #
2840
- # Use the UpdateBucketBundle action to change the bundle after the
2841
- # bucket is created.
2863
+ #
2864
+ #
2865
+ # [1]: https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_GetBucketBundles.html
2866
+ # [2]: https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_UpdateBucketBundle.html
2842
2867
  # @return [String]
2843
2868
  #
2844
2869
  # @!attribute [rw] tags
2845
2870
  # The tag keys and optional values to add to the bucket during
2846
2871
  # creation.
2847
2872
  #
2848
- # Use the TagResource action to tag the bucket after it's created.
2873
+ # Use the [TagResource][1] action to tag the bucket after it's
2874
+ # created.
2875
+ #
2876
+ #
2877
+ #
2878
+ # [1]: https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_TagResource.html
2849
2879
  # @return [Array<Types::Tag>]
2850
2880
  #
2851
2881
  # @!attribute [rw] enable_object_versioning
@@ -3704,7 +3734,7 @@ module Aws::Lightsail
3704
3734
  #
3705
3735
  # @!attribute [rw] origin
3706
3736
  # An object that describes the origin resource for the distribution,
3707
- # such as a Lightsail instance or load balancer.
3737
+ # such as a Lightsail instance, bucket, or load balancer.
3708
3738
  #
3709
3739
  # The distribution pulls, caches, and serves content from the origin.
3710
3740
  # @return [Types::InputOrigin]
@@ -5097,8 +5127,12 @@ module Aws::Lightsail
5097
5127
  # @!attribute [rw] access_key_id
5098
5128
  # The ID of the access key to delete.
5099
5129
  #
5100
- # Use the GetBucketAccessKeys action to get a list of access key IDs
5101
- # that you can specify.
5130
+ # Use the [GetBucketAccessKeys][1] action to get a list of access key
5131
+ # IDs that you can specify.
5132
+ #
5133
+ #
5134
+ #
5135
+ # [1]: https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_GetBucketAccessKeys.html
5102
5136
  # @return [String]
5103
5137
  #
5104
5138
  # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteBucketAccessKeyRequest AWS API Documentation
@@ -5135,8 +5169,12 @@ module Aws::Lightsail
5135
5169
  # @!attribute [rw] bucket_name
5136
5170
  # The name of the bucket to delete.
5137
5171
  #
5138
- # Use the GetBuckets action to get a list of bucket names that you can
5139
- # specify.
5172
+ # Use the [GetBuckets][1] action to get a list of bucket names that
5173
+ # you can specify.
5174
+ #
5175
+ #
5176
+ #
5177
+ # [1]: https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_GetBuckets.html
5140
5178
  # @return [String]
5141
5179
  #
5142
5180
  # @!attribute [rw] force_delete
@@ -5148,7 +5186,7 @@ module Aws::Lightsail
5148
5186
  # * The bucket is the origin of a distribution.
5149
5187
  #
5150
5188
  # * The bucket has instances that were granted access to it using the
5151
- # SetResourceAccessForBucket action.
5189
+ # [SetResourceAccessForBucket][1] action.
5152
5190
  #
5153
5191
  # * The bucket has objects.
5154
5192
  #
@@ -5157,6 +5195,10 @@ module Aws::Lightsail
5157
5195
  # Force deleting a bucket might impact other resources that rely on
5158
5196
  # the bucket, such as instances, distributions, or software that use
5159
5197
  # the issued access keys.
5198
+ #
5199
+ #
5200
+ #
5201
+ # [1]: https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_SetResourceAccessForBucket.html
5160
5202
  # @return [Boolean]
5161
5203
  #
5162
5204
  # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteBucketRequest AWS API Documentation
@@ -5593,16 +5635,27 @@ module Aws::Lightsail
5593
5635
  #
5594
5636
  # {
5595
5637
  # key_pair_name: "ResourceName", # required
5638
+ # expected_fingerprint: "string",
5596
5639
  # }
5597
5640
  #
5598
5641
  # @!attribute [rw] key_pair_name
5599
5642
  # The name of the key pair to delete.
5600
5643
  # @return [String]
5601
5644
  #
5645
+ # @!attribute [rw] expected_fingerprint
5646
+ # The RSA fingerprint of the Lightsail default key pair to delete.
5647
+ #
5648
+ # <note markdown="1"> The `expectedFingerprint` parameter is required only when specifying
5649
+ # to delete a Lightsail default key pair.
5650
+ #
5651
+ # </note>
5652
+ # @return [String]
5653
+ #
5602
5654
  # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteKeyPairRequest AWS API Documentation
5603
5655
  #
5604
5656
  class DeleteKeyPairRequest < Struct.new(
5605
- :key_pair_name)
5657
+ :key_pair_name,
5658
+ :expected_fingerprint)
5606
5659
  SENSITIVE = []
5607
5660
  include Aws::Structure
5608
5661
  end
@@ -6548,11 +6601,16 @@ module Aws::Lightsail
6548
6601
  # A base64-encoded RSA private key.
6549
6602
  # @return [String]
6550
6603
  #
6604
+ # @!attribute [rw] created_at
6605
+ # The timestamp when the default key pair was created.
6606
+ # @return [Time]
6607
+ #
6551
6608
  # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DownloadDefaultKeyPairResult AWS API Documentation
6552
6609
  #
6553
6610
  class DownloadDefaultKeyPairResult < Struct.new(
6554
6611
  :public_key_base_64,
6555
- :private_key_base_64)
6612
+ :private_key_base_64,
6613
+ :created_at)
6556
6614
  SENSITIVE = []
6557
6615
  include Aws::Structure
6558
6616
  end
@@ -7216,7 +7274,11 @@ module Aws::Lightsail
7216
7274
  # @!attribute [rw] include_connected_resources
7217
7275
  # A Boolean value that indicates whether to include Lightsail
7218
7276
  # instances that were given access to the bucket using the
7219
- # SetResourceAccessForBucket action.
7277
+ # [SetResourceAccessForBucket][1] action.
7278
+ #
7279
+ #
7280
+ #
7281
+ # [1]: https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_SetResourceAccessForBucket.html
7220
7282
  # @return [Boolean]
7221
7283
  #
7222
7284
  # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetBucketsRequest AWS API Documentation
@@ -8921,6 +8983,7 @@ module Aws::Lightsail
8921
8983
  #
8922
8984
  # {
8923
8985
  # page_token: "string",
8986
+ # include_default_key_pair: false,
8924
8987
  # }
8925
8988
  #
8926
8989
  # @!attribute [rw] page_token
@@ -8932,10 +8995,16 @@ module Aws::Lightsail
8932
8995
  # request.
8933
8996
  # @return [String]
8934
8997
  #
8998
+ # @!attribute [rw] include_default_key_pair
8999
+ # A Boolean value that indicates whether to include the default key
9000
+ # pair in the response of your request.
9001
+ # @return [Boolean]
9002
+ #
8935
9003
  # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetKeyPairsRequest AWS API Documentation
8936
9004
  #
8937
9005
  class GetKeyPairsRequest < Struct.new(
8938
- :page_token)
9006
+ :page_token,
9007
+ :include_default_key_pair)
8939
9008
  SENSITIVE = []
8940
9009
  include Aws::Structure
8941
9010
  end
@@ -10472,9 +10541,9 @@ module Aws::Lightsail
10472
10541
  # Describes the origin resource of an Amazon Lightsail content delivery
10473
10542
  # network (CDN) distribution.
10474
10543
  #
10475
- # An origin can be a Lightsail instance or load balancer. A distribution
10476
- # pulls content from an origin, caches it, and serves it to viewers via
10477
- # a worldwide network of edge servers.
10544
+ # An origin can be a Lightsail instance, bucket, or load balancer. A
10545
+ # distribution pulls content from an origin, caches it, and serves it to
10546
+ # viewers via a worldwide network of edge servers.
10478
10547
  #
10479
10548
  # @note When making an API call, you may pass InputOrigin
10480
10549
  # data as a hash:
@@ -11600,7 +11669,7 @@ module Aws::Lightsail
11600
11669
  #
11601
11670
  # @!attribute [rw] origin
11602
11671
  # An object that describes the origin resource of the distribution,
11603
- # such as a Lightsail instance or load balancer.
11672
+ # such as a Lightsail instance, bucket, or load balancer.
11604
11673
  #
11605
11674
  # The distribution pulls, caches, and serves content from the origin.
11606
11675
  # @return [Types::Origin]
@@ -12465,9 +12534,9 @@ module Aws::Lightsail
12465
12534
  # Describes the origin resource of an Amazon Lightsail content delivery
12466
12535
  # network (CDN) distribution.
12467
12536
  #
12468
- # An origin can be a Lightsail instance or load balancer. A distribution
12469
- # pulls content from an origin, caches it, and serves it to viewers via
12470
- # a worldwide network of edge servers.
12537
+ # An origin can be a Lightsail instance, bucket, or load balancer. A
12538
+ # distribution pulls content from an origin, caches it, and serves it to
12539
+ # viewers via a worldwide network of edge servers.
12471
12540
  #
12472
12541
  # @!attribute [rw] name
12473
12542
  # The name of the origin resource.
@@ -14567,8 +14636,12 @@ module Aws::Lightsail
14567
14636
  # @!attribute [rw] bundle_id
14568
14637
  # The ID of the new bundle to apply to the bucket.
14569
14638
  #
14570
- # Use the GetBucketBundles action to get a list of bundle IDs that you
14571
- # can specify.
14639
+ # Use the [GetBucketBundles][1] action to get a list of bundle IDs
14640
+ # that you can specify.
14641
+ #
14642
+ #
14643
+ #
14644
+ # [1]: https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_GetBucketBundles.html
14572
14645
  # @return [String]
14573
14646
  #
14574
14647
  # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/UpdateBucketBundleRequest AWS API Documentation
@@ -14860,7 +14933,7 @@ module Aws::Lightsail
14860
14933
  #
14861
14934
  # @!attribute [rw] origin
14862
14935
  # An object that describes the origin resource for the distribution,
14863
- # such as a Lightsail instance or load balancer.
14936
+ # such as a Lightsail instance, bucket, or load balancer.
14864
14937
  #
14865
14938
  # The distribution pulls, caches, and serves content from the origin.
14866
14939
  # @return [Types::InputOrigin]
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-lightsail/customizations'
48
48
  # @!group service
49
49
  module Aws::Lightsail
50
50
 
51
- GEM_VERSION = '1.60.0'
51
+ GEM_VERSION = '1.63.0'
52
52
 
53
53
  end
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.60.0
4
+ version: 1.63.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: 2021-11-30 00:00:00.000000000 Z
11
+ date: 2022-02-24 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.122.0
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.122.0
32
+ version: 3.127.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement