aws-sdk-lightsail 1.62.0 → 1.63.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6078afbe53662a98e0ea80b20de4473ff407f4a6b77171374418b6e4c7a2f91e
4
- data.tar.gz: ce1ea67d3480ae96e25c6043ce1321b98c5807c84862dd42f12172836ecfdd57
3
+ metadata.gz: 1951d4be1857429ffbf2d537f6d7f5e72cf83048becb5087217d518f3aa58190
4
+ data.tar.gz: 3203ffb6e44f919731a34debe45b72c041ad8d348c636f9e8bc551dfd0292ff9
5
5
  SHA512:
6
- metadata.gz: 213b0553ff6e30eb51516d60170b389d32325035b836c4d112eaac18a4ea52fd17fe5716e54fd467c11987a299183a6252acff326b3a5d77d73ae86468f8f950
7
- data.tar.gz: f8cfd52dec89c34e0bea0346948621e0408d57ad9f8bd08e7998c95e7f1e3b2751a88869ea2f370471160497bd5793fe7a951362209dfac697894c0e36140059
6
+ metadata.gz: 166f547a1c0282624ff04b0fe56b2c7a24425bbc63427d837950cd4a480cf3f1511f45e6746334f1c80119a2a891f7d781e2e33a590689c287ac58bd2a0173c3
7
+ data.tar.gz: '0484fc5960ef41d0ec90cc456d5645f3eb2f094c6abb2f4473ac219fbae38ce57c4f0d42437355d80783ad8a06de3d72fd6c8adde1d0e175e5f3b7bc7b626463'
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
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
+
4
9
  1.62.0 (2022-02-03)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.62.0
1
+ 1.63.0
@@ -27,6 +27,7 @@ require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
27
27
  require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
28
28
  require 'aws-sdk-core/plugins/transfer_encoding.rb'
29
29
  require 'aws-sdk-core/plugins/http_checksum.rb'
30
+ require 'aws-sdk-core/plugins/checksum_algorithm.rb'
30
31
  require 'aws-sdk-core/plugins/defaults_mode.rb'
31
32
  require 'aws-sdk-core/plugins/recursion_detection.rb'
32
33
  require 'aws-sdk-core/plugins/signature_v4.rb'
@@ -75,6 +76,7 @@ module Aws::Lightsail
75
76
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
76
77
  add_plugin(Aws::Plugins::TransferEncoding)
77
78
  add_plugin(Aws::Plugins::HttpChecksum)
79
+ add_plugin(Aws::Plugins::ChecksumAlgorithm)
78
80
  add_plugin(Aws::Plugins::DefaultsMode)
79
81
  add_plugin(Aws::Plugins::RecursionDetection)
80
82
  add_plugin(Aws::Plugins::SignatureV4)
@@ -923,16 +925,25 @@ module Aws::Lightsail
923
925
  # A bucket bundle specifies the monthly cost, storage space, and data
924
926
  # transfer quota for a bucket.
925
927
  #
926
- # Use the GetBucketBundles action to get a list of bundle IDs that you
927
- # can specify.
928
+ # Use the [GetBucketBundles][1] action to get a list of bundle IDs that
929
+ # you can specify.
928
930
  #
929
- # Use the UpdateBucketBundle action to change the bundle after the
931
+ # Use the [UpdateBucketBundle][2] action to change the bundle after the
930
932
  # bucket is created.
931
933
  #
934
+ #
935
+ #
936
+ # [1]: https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_GetBucketBundles.html
937
+ # [2]: https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_UpdateBucketBundle.html
938
+ #
932
939
  # @option params [Array<Types::Tag>] :tags
933
940
  # The tag keys and optional values to add to the bucket during creation.
934
941
  #
935
- # Use the TagResource action to tag the bucket after it's created.
942
+ # Use the [TagResource][1] action to tag the bucket after it's created.
943
+ #
944
+ #
945
+ #
946
+ # [1]: https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_TagResource.html
936
947
  #
937
948
  # @option params [Boolean] :enable_object_versioning
938
949
  # A Boolean value that indicates whether to enable versioning of objects
@@ -1023,9 +1034,9 @@ module Aws::Lightsail
1023
1034
  #
1024
1035
  # Access keys grant full programmatic access to the specified bucket and
1025
1036
  # its objects. You can have a maximum of two access keys per bucket. Use
1026
- # the GetBucketAccessKeys action to get a list of current access keys
1027
- # for a specific bucket. For more information about access keys, see
1028
- # [Creating access keys for a bucket in Amazon Lightsail][1] in the
1037
+ # the [GetBucketAccessKeys][1] action to get a list of current access
1038
+ # keys for a specific bucket. For more information about access keys,
1039
+ # see [Creating access keys for a bucket in Amazon Lightsail][2] in the
1029
1040
  # *Amazon Lightsail Developer Guide*.
1030
1041
  #
1031
1042
  # The `secretAccessKey` value is returned only in response to the
@@ -1036,7 +1047,8 @@ module Aws::Lightsail
1036
1047
  #
1037
1048
  #
1038
1049
  #
1039
- # [1]: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-creating-bucket-access-keys
1050
+ # [1]: https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_GetBucketAccessKeys.html
1051
+ # [2]: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-creating-bucket-access-keys
1040
1052
  #
1041
1053
  # @option params [required, String] :bucket_name
1042
1054
  # The name of the bucket that the new access key will belong to, and
@@ -2142,7 +2154,7 @@ module Aws::Lightsail
2142
2154
  #
2143
2155
  # @option params [required, Types::InputOrigin] :origin
2144
2156
  # An object that describes the origin resource for the distribution,
2145
- # such as a Lightsail instance or load balancer.
2157
+ # such as a Lightsail instance, bucket, or load balancer.
2146
2158
  #
2147
2159
  # The distribution pulls, caches, and serves content from the origin.
2148
2160
  #
@@ -2851,15 +2863,23 @@ module Aws::Lightsail
2851
2863
  req.send_request(options)
2852
2864
  end
2853
2865
 
2854
- # 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>
2855
2874
  #
2856
2875
  # The `create key pair` operation supports tag-based access control via
2857
2876
  # request tags. For more information, see the [Amazon Lightsail
2858
- # Developer Guide][1].
2877
+ # Developer Guide][2].
2859
2878
  #
2860
2879
  #
2861
2880
  #
2862
- # [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
2863
2883
  #
2864
2884
  # @option params [required, String] :key_pair_name
2865
2885
  # The name for your new key pair.
@@ -3710,8 +3730,12 @@ module Aws::Lightsail
3710
3730
  # @option params [required, String] :bucket_name
3711
3731
  # The name of the bucket to delete.
3712
3732
  #
3713
- # Use the GetBuckets action to get a list of bucket names that you can
3714
- # 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
3715
3739
  #
3716
3740
  # @option params [Boolean] :force_delete
3717
3741
  # A Boolean value that indicates whether to force delete the bucket.
@@ -3722,7 +3746,7 @@ module Aws::Lightsail
3722
3746
  # * The bucket is the origin of a distribution.
3723
3747
  #
3724
3748
  # * The bucket has instances that were granted access to it using the
3725
- # SetResourceAccessForBucket action.
3749
+ # [SetResourceAccessForBucket][1] action.
3726
3750
  #
3727
3751
  # * The bucket has objects.
3728
3752
  #
@@ -3732,6 +3756,10 @@ module Aws::Lightsail
3732
3756
  # bucket, such as instances, distributions, or software that use the
3733
3757
  # issued access keys.
3734
3758
  #
3759
+ #
3760
+ #
3761
+ # [1]: https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_SetResourceAccessForBucket.html
3762
+ #
3735
3763
  # @return [Types::DeleteBucketResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3736
3764
  #
3737
3765
  # * {Types::DeleteBucketResult#operations #operations} => Array&lt;Types::Operation&gt;
@@ -3788,8 +3816,12 @@ module Aws::Lightsail
3788
3816
  # @option params [required, String] :access_key_id
3789
3817
  # The ID of the access key to delete.
3790
3818
  #
3791
- # Use the GetBucketAccessKeys action to get a list of access key IDs
3792
- # 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
3793
3825
  #
3794
3826
  # @return [Types::DeleteBucketAccessKeyResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3795
3827
  #
@@ -4374,19 +4406,37 @@ module Aws::Lightsail
4374
4406
  req.send_request(options)
4375
4407
  end
4376
4408
 
4377
- # 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.
4378
4417
  #
4379
4418
  # The `delete key pair` operation supports tag-based access control via
4380
4419
  # resource tags applied to the resource identified by `key pair name`.
4381
- # For more information, see the [Amazon Lightsail Developer Guide][1].
4420
+ # For more information, see the [Amazon Lightsail Developer Guide][4].
4382
4421
  #
4383
4422
  #
4384
4423
  #
4385
- # [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
4386
4428
  #
4387
4429
  # @option params [required, String] :key_pair_name
4388
4430
  # The name of the key pair to delete.
4389
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
+ #
4390
4440
  # @return [Types::DeleteKeyPairResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4391
4441
  #
4392
4442
  # * {Types::DeleteKeyPairResult#operation #operation} => Types::Operation
@@ -4395,6 +4445,7 @@ module Aws::Lightsail
4395
4445
  #
4396
4446
  # resp = client.delete_key_pair({
4397
4447
  # key_pair_name: "ResourceName", # required
4448
+ # expected_fingerprint: "string",
4398
4449
  # })
4399
4450
  #
4400
4451
  # @example Response structure
@@ -4972,17 +5023,22 @@ module Aws::Lightsail
4972
5023
  req.send_request(options)
4973
5024
  end
4974
5025
 
4975
- # 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.
4976
5030
  #
4977
5031
  # @return [Types::DownloadDefaultKeyPairResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4978
5032
  #
4979
5033
  # * {Types::DownloadDefaultKeyPairResult#public_key_base_64 #public_key_base_64} => String
4980
5034
  # * {Types::DownloadDefaultKeyPairResult#private_key_base_64 #private_key_base_64} => String
5035
+ # * {Types::DownloadDefaultKeyPairResult#created_at #created_at} => Time
4981
5036
  #
4982
5037
  # @example Response structure
4983
5038
  #
4984
5039
  # resp.public_key_base_64 #=> String
4985
5040
  # resp.private_key_base_64 #=> String
5041
+ # resp.created_at #=> Time
4986
5042
  #
4987
5043
  # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DownloadDefaultKeyPair AWS API Documentation
4988
5044
  #
@@ -5348,8 +5404,12 @@ module Aws::Lightsail
5348
5404
  #
5349
5405
  # This action does not return the secret access key value of an access
5350
5406
  # key. You can get a secret access key only when you create it from the
5351
- # response of the CreateBucketAccessKey action. If you lose the secret
5352
- # access key, you must create a new access key.
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
5353
5413
  #
5354
5414
  # @option params [required, String] :bucket_name
5355
5415
  # The name of the bucket for which to return access keys.
@@ -5389,7 +5449,12 @@ module Aws::Lightsail
5389
5449
  # The bucket bundle specifies the monthly cost, storage quota, and data
5390
5450
  # transfer quota for a bucket.
5391
5451
  #
5392
- # 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
5393
5458
  #
5394
5459
  # @option params [Boolean] :include_inactive
5395
5460
  # A Boolean value that indicates whether to include inactive
@@ -5574,7 +5639,11 @@ module Aws::Lightsail
5574
5639
  # @option params [Boolean] :include_connected_resources
5575
5640
  # A Boolean value that indicates whether to include Lightsail instances
5576
5641
  # that were given access to the bucket using the
5577
- # 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
5578
5647
  #
5579
5648
  # @return [Types::GetBucketsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5580
5649
  #
@@ -7009,8 +7078,12 @@ module Aws::Lightsail
7009
7078
  # snapshot` operation.
7010
7079
  #
7011
7080
  # An export snapshot record can be used to create a new Amazon EC2
7012
- # instance and its related resources with the CreateCloudFormationStack
7013
- # 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
7014
7087
  #
7015
7088
  # @option params [String] :page_token
7016
7089
  # The token to advance to the next page of results from your request.
@@ -7795,6 +7868,10 @@ module Aws::Lightsail
7795
7868
  # results are paginated, the response will return a next page token that
7796
7869
  # you can specify as the page token in a subsequent request.
7797
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
+ #
7798
7875
  # @return [Types::GetKeyPairsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
7799
7876
  #
7800
7877
  # * {Types::GetKeyPairsResult#key_pairs #key_pairs} => Array&lt;Types::KeyPair&gt;
@@ -7804,6 +7881,7 @@ module Aws::Lightsail
7804
7881
  #
7805
7882
  # resp = client.get_key_pairs({
7806
7883
  # page_token: "string",
7884
+ # include_default_key_pair: false,
7807
7885
  # })
7808
7886
  #
7809
7887
  # @example Response structure
@@ -10733,7 +10811,7 @@ module Aws::Lightsail
10733
10811
  # A bucket bundle specifies the monthly cost, storage space, and data
10734
10812
  # transfer quota for a bucket. You can update a bucket's bundle only
10735
10813
  # one time within a monthly AWS billing cycle. To determine if you can
10736
- # update a bucket's bundle, use the GetBuckets action. The
10814
+ # update a bucket's bundle, use the [GetBuckets][1] action. The
10737
10815
  # `ableToUpdateBundle` parameter in the response will indicate whether
10738
10816
  # you can currently update a bucket's bundle.
10739
10817
  #
@@ -10746,14 +10824,22 @@ module Aws::Lightsail
10746
10824
  # measure. Choose a bucket bundle that will provide the bucket with
10747
10825
  # ample storage space and data transfer for a long time to come.
10748
10826
  #
10827
+ #
10828
+ #
10829
+ # [1]: https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_GetBuckets.html
10830
+ #
10749
10831
  # @option params [required, String] :bucket_name
10750
10832
  # The name of the bucket for which to update the bundle.
10751
10833
  #
10752
10834
  # @option params [required, String] :bundle_id
10753
10835
  # The ID of the new bundle to apply to the bucket.
10754
10836
  #
10755
- # Use the GetBucketBundles action to get a list of bundle IDs that you
10756
- # 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
10757
10843
  #
10758
10844
  # @return [Types::UpdateBucketBundleResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
10759
10845
  #
@@ -10944,7 +11030,7 @@ module Aws::Lightsail
10944
11030
  #
10945
11031
  # @option params [Types::InputOrigin] :origin
10946
11032
  # An object that describes the origin resource for the distribution,
10947
- # such as a Lightsail instance or load balancer.
11033
+ # such as a Lightsail instance, bucket, or load balancer.
10948
11034
  #
10949
11035
  # The distribution pulls, caches, and serves content from the origin.
10950
11036
  #
@@ -11464,7 +11550,7 @@ module Aws::Lightsail
11464
11550
  params: params,
11465
11551
  config: config)
11466
11552
  context[:gem_name] = 'aws-sdk-lightsail'
11467
- context[:gem_version] = '1.62.0'
11553
+ context[:gem_version] = '1.63.0'
11468
11554
  Seahorse::Client::Request.new(handlers, context)
11469
11555
  end
11470
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.62.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.62.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: 2022-02-03 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.126.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.126.0
32
+ version: 3.127.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement