aws-sdk-s3control 1.50.0 → 1.51.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: 3c35775c66b37a125f838c847c0108756c4e260660a93ada6f192d714d78a46d
4
- data.tar.gz: 20b75cf0c85eb2c0dede56a2440316f7c74821c3882bbda78ee0205bfcdd42ba
3
+ metadata.gz: e5109e68962119d4a9a904aaa1582997ae67d3adf2922b6438009c4b23daa30a
4
+ data.tar.gz: fa51ee6943a793ef655b6d5c89f4aa4b3205ae42b708f765e29fe8b45662091c
5
5
  SHA512:
6
- metadata.gz: a775410a0f73800e99735a3605465b1d5cff99381b8e2d36c73deb01855e3d0ff4437c2279ed8b15eab6907b1ca1f193e5d4edfe5d6c27cfd83449cf2d16a998
7
- data.tar.gz: 6ccf05ad16481f4c49abe3f33c34afae02b23445a09ea4a97ff9bf112149462d65c226a67eb8abcef5421c608f79cfe20f6c9bd66940aa6af765c260af752d92
6
+ metadata.gz: 02be32fd9ff470da7bbfb4090e7ece65eecb9fc392d74df42aac2c2f3cf205f82bb148691c703eccd94b2b1944c191a0e37978bed1c968bfa2fd9bb3c90c98dc
7
+ data.tar.gz: 4ac27366df7355c0a3764875b88a2624656b48a4667abf1fca62e6eb4b5f9753ed3dcb33ecba70d4314b65b440ffcc1a0001b7e307e506b5483a72fe8f9fbddc
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.51.0 (2022-09-21)
5
+ ------------------
6
+
7
+ * Feature - S3 on Outposts launches support for object versioning for Outposts buckets. With S3 Versioning, you can preserve, retrieve, and restore every version of every object stored in your buckets. You can recover from both unintended user actions and application failures.
8
+
4
9
  1.50.0 (2022-04-05)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.50.0
1
+ 1.51.0
@@ -379,11 +379,11 @@ module Aws::S3Control
379
379
  #
380
380
  # All Amazon S3 on Outposts REST API requests for this action require an
381
381
  # additional parameter of `x-amz-outpost-id` to be passed with the
382
- # request and an S3 on Outposts endpoint hostname prefix instead of
383
- # `s3-control`. For an example of the request syntax for Amazon S3 on
384
- # Outposts that uses the S3 on Outposts endpoint hostname prefix and the
385
- # `x-amz-outpost-id` derived using the access point ARN, see the
386
- # [Examples][3] section.
382
+ # request. In addition, you must use an S3 on Outposts endpoint hostname
383
+ # prefix instead of `s3-control`. For an example of the request syntax
384
+ # for Amazon S3 on Outposts that uses the S3 on Outposts endpoint
385
+ # hostname prefix and the `x-amz-outpost-id` derived by using the access
386
+ # point ARN, see the [Examples][3] section.
387
387
  #
388
388
  #
389
389
  #
@@ -665,7 +665,7 @@ module Aws::S3Control
665
665
  # @option params [String] :outpost_id
666
666
  # The ID of the Outposts where the bucket is being created.
667
667
  #
668
- # <note markdown="1"> This is required by Amazon S3 on Outposts buckets.
668
+ # <note markdown="1"> This ID is required by Amazon S3 on Outposts buckets.
669
669
  #
670
670
  # </note>
671
671
  #
@@ -1060,11 +1060,11 @@ module Aws::S3Control
1060
1060
  #
1061
1061
  # All Amazon S3 on Outposts REST API requests for this action require an
1062
1062
  # additional parameter of `x-amz-outpost-id` to be passed with the
1063
- # request and an S3 on Outposts endpoint hostname prefix instead of
1064
- # `s3-control`. For an example of the request syntax for Amazon S3 on
1065
- # Outposts that uses the S3 on Outposts endpoint hostname prefix and the
1066
- # `x-amz-outpost-id` derived using the access point ARN, see the
1067
- # [Examples][1] section.
1063
+ # request. In addition, you must use an S3 on Outposts endpoint hostname
1064
+ # prefix instead of `s3-control`. For an example of the request syntax
1065
+ # for Amazon S3 on Outposts that uses the S3 on Outposts endpoint
1066
+ # hostname prefix and the `x-amz-outpost-id` derived by using the access
1067
+ # point ARN, see the [Examples][1] section.
1068
1068
  #
1069
1069
  # The following actions are related to `DeleteAccessPoint`\:
1070
1070
  #
@@ -1166,11 +1166,11 @@ module Aws::S3Control
1166
1166
  #
1167
1167
  # All Amazon S3 on Outposts REST API requests for this action require an
1168
1168
  # additional parameter of `x-amz-outpost-id` to be passed with the
1169
- # request and an S3 on Outposts endpoint hostname prefix instead of
1170
- # `s3-control`. For an example of the request syntax for Amazon S3 on
1171
- # Outposts that uses the S3 on Outposts endpoint hostname prefix and the
1172
- # `x-amz-outpost-id` derived using the access point ARN, see the
1173
- # [Examples][1] section.
1169
+ # request. In addition, you must use an S3 on Outposts endpoint hostname
1170
+ # prefix instead of `s3-control`. For an example of the request syntax
1171
+ # for Amazon S3 on Outposts that uses the S3 on Outposts endpoint
1172
+ # hostname prefix and the `x-amz-outpost-id` derived by using the access
1173
+ # point ARN, see the [Examples][1] section.
1174
1174
  #
1175
1175
  # The following actions are related to `DeleteAccessPointPolicy`\:
1176
1176
  #
@@ -1273,11 +1273,11 @@ module Aws::S3Control
1273
1273
  #
1274
1274
  # All Amazon S3 on Outposts REST API requests for this action require an
1275
1275
  # additional parameter of `x-amz-outpost-id` to be passed with the
1276
- # request and an S3 on Outposts endpoint hostname prefix instead of
1277
- # `s3-control`. For an example of the request syntax for Amazon S3 on
1278
- # Outposts that uses the S3 on Outposts endpoint hostname prefix and the
1279
- # `x-amz-outpost-id` derived using the access point ARN, see the
1280
- # [Examples][3] section.
1276
+ # request. In addition, you must use an S3 on Outposts endpoint hostname
1277
+ # prefix instead of `s3-control`. For an example of the request syntax
1278
+ # for Amazon S3 on Outposts that uses the S3 on Outposts endpoint
1279
+ # hostname prefix and the `x-amz-outpost-id` derived by using the access
1280
+ # point ARN, see the [Examples][3] section.
1281
1281
  #
1282
1282
  # **Related Resources**
1283
1283
  #
@@ -1354,11 +1354,11 @@ module Aws::S3Control
1354
1354
  #
1355
1355
  # All Amazon S3 on Outposts REST API requests for this action require an
1356
1356
  # additional parameter of `x-amz-outpost-id` to be passed with the
1357
- # request and an S3 on Outposts endpoint hostname prefix instead of
1358
- # `s3-control`. For an example of the request syntax for Amazon S3 on
1359
- # Outposts that uses the S3 on Outposts endpoint hostname prefix and the
1360
- # `x-amz-outpost-id` derived using the access point ARN, see the
1361
- # [Examples][3] section.
1357
+ # request. In addition, you must use an S3 on Outposts endpoint hostname
1358
+ # prefix instead of `s3-control`. For an example of the request syntax
1359
+ # for Amazon S3 on Outposts that uses the S3 on Outposts endpoint
1360
+ # hostname prefix and the `x-amz-outpost-id` derived by using the access
1361
+ # point ARN, see the [Examples][3] section.
1362
1362
  #
1363
1363
  # For more information about object expiration, see [Elements to
1364
1364
  # Describe Lifecycle Actions][4].
@@ -1445,11 +1445,11 @@ module Aws::S3Control
1445
1445
  #
1446
1446
  # All Amazon S3 on Outposts REST API requests for this action require an
1447
1447
  # additional parameter of `x-amz-outpost-id` to be passed with the
1448
- # request and an S3 on Outposts endpoint hostname prefix instead of
1449
- # `s3-control`. For an example of the request syntax for Amazon S3 on
1450
- # Outposts that uses the S3 on Outposts endpoint hostname prefix and the
1451
- # `x-amz-outpost-id` derived using the access point ARN, see the
1452
- # [Examples][4] section.
1448
+ # request. In addition, you must use an S3 on Outposts endpoint hostname
1449
+ # prefix instead of `s3-control`. For an example of the request syntax
1450
+ # for Amazon S3 on Outposts that uses the S3 on Outposts endpoint
1451
+ # hostname prefix and the `x-amz-outpost-id` derived by using the access
1452
+ # point ARN, see the [Examples][4] section.
1453
1453
  #
1454
1454
  # The following actions are related to `DeleteBucketPolicy`\:
1455
1455
  #
@@ -1518,11 +1518,11 @@ module Aws::S3Control
1518
1518
  #
1519
1519
  # All Amazon S3 on Outposts REST API requests for this action require an
1520
1520
  # additional parameter of `x-amz-outpost-id` to be passed with the
1521
- # request and an S3 on Outposts endpoint hostname prefix instead of
1522
- # `s3-control`. For an example of the request syntax for Amazon S3 on
1523
- # Outposts that uses the S3 on Outposts endpoint hostname prefix and the
1524
- # `x-amz-outpost-id` derived using the access point ARN, see the
1525
- # [Examples][3] section.
1521
+ # request. In addition, you must use an S3 on Outposts endpoint hostname
1522
+ # prefix instead of `s3-control`. For an example of the request syntax
1523
+ # for Amazon S3 on Outposts that uses the S3 on Outposts endpoint
1524
+ # hostname prefix and the `x-amz-outpost-id` derived by using the access
1525
+ # point ARN, see the [Examples][3] section.
1526
1526
  #
1527
1527
  # The following actions are related to `DeleteBucketTagging`\:
1528
1528
  #
@@ -2053,11 +2053,11 @@ module Aws::S3Control
2053
2053
  #
2054
2054
  # All Amazon S3 on Outposts REST API requests for this action require an
2055
2055
  # additional parameter of `x-amz-outpost-id` to be passed with the
2056
- # request and an S3 on Outposts endpoint hostname prefix instead of
2057
- # `s3-control`. For an example of the request syntax for Amazon S3 on
2058
- # Outposts that uses the S3 on Outposts endpoint hostname prefix and the
2059
- # `x-amz-outpost-id` derived using the access point ARN, see the
2060
- # [Examples][1] section.
2056
+ # request. In addition, you must use an S3 on Outposts endpoint hostname
2057
+ # prefix instead of `s3-control`. For an example of the request syntax
2058
+ # for Amazon S3 on Outposts that uses the S3 on Outposts endpoint
2059
+ # hostname prefix and the `x-amz-outpost-id` derived by using the access
2060
+ # point ARN, see the [Examples][1] section.
2061
2061
  #
2062
2062
  # The following actions are related to `GetAccessPoint`\:
2063
2063
  #
@@ -2441,11 +2441,11 @@ module Aws::S3Control
2441
2441
  #
2442
2442
  # All Amazon S3 on Outposts REST API requests for this action require an
2443
2443
  # additional parameter of `x-amz-outpost-id` to be passed with the
2444
- # request and an S3 on Outposts endpoint hostname prefix instead of
2445
- # `s3-control`. For an example of the request syntax for Amazon S3 on
2446
- # Outposts that uses the S3 on Outposts endpoint hostname prefix and the
2447
- # `x-amz-outpost-id` derived using the access point ARN, see the
2448
- # [Examples][2] section.
2444
+ # request. In addition, you must use an S3 on Outposts endpoint hostname
2445
+ # prefix instead of `s3-control`. For an example of the request syntax
2446
+ # for Amazon S3 on Outposts that uses the S3 on Outposts endpoint
2447
+ # hostname prefix and the `x-amz-outpost-id` derived by using the access
2448
+ # point ARN, see the [Examples][2] section.
2449
2449
  #
2450
2450
  # * [PutObject][3]
2451
2451
  #
@@ -2528,11 +2528,11 @@ module Aws::S3Control
2528
2528
  #
2529
2529
  # All Amazon S3 on Outposts REST API requests for this action require an
2530
2530
  # additional parameter of `x-amz-outpost-id` to be passed with the
2531
- # request and an S3 on Outposts endpoint hostname prefix instead of
2532
- # `s3-control`. For an example of the request syntax for Amazon S3 on
2533
- # Outposts that uses the S3 on Outposts endpoint hostname prefix and the
2534
- # `x-amz-outpost-id` derived using the access point ARN, see the
2535
- # [Examples][6] section.
2531
+ # request. In addition, you must use an S3 on Outposts endpoint hostname
2532
+ # prefix instead of `s3-control`. For an example of the request syntax
2533
+ # for Amazon S3 on Outposts that uses the S3 on Outposts endpoint
2534
+ # hostname prefix and the `x-amz-outpost-id` derived by using the access
2535
+ # point ARN, see the [Examples][6] section.
2536
2536
  #
2537
2537
  # `GetBucketLifecycleConfiguration` has the following special error:
2538
2538
  #
@@ -2657,11 +2657,11 @@ module Aws::S3Control
2657
2657
  #
2658
2658
  # All Amazon S3 on Outposts REST API requests for this action require an
2659
2659
  # additional parameter of `x-amz-outpost-id` to be passed with the
2660
- # request and an S3 on Outposts endpoint hostname prefix instead of
2661
- # `s3-control`. For an example of the request syntax for Amazon S3 on
2662
- # Outposts that uses the S3 on Outposts endpoint hostname prefix and the
2663
- # `x-amz-outpost-id` derived using the access point ARN, see the
2664
- # [Examples][4] section.
2660
+ # request. In addition, you must use an S3 on Outposts endpoint hostname
2661
+ # prefix instead of `s3-control`. For an example of the request syntax
2662
+ # for Amazon S3 on Outposts that uses the S3 on Outposts endpoint
2663
+ # hostname prefix and the `x-amz-outpost-id` derived by using the access
2664
+ # point ARN, see the [Examples][4] section.
2665
2665
  #
2666
2666
  # The following actions are related to `GetBucketPolicy`\:
2667
2667
  #
@@ -2748,11 +2748,11 @@ module Aws::S3Control
2748
2748
  #
2749
2749
  # All Amazon S3 on Outposts REST API requests for this action require an
2750
2750
  # additional parameter of `x-amz-outpost-id` to be passed with the
2751
- # request and an S3 on Outposts endpoint hostname prefix instead of
2752
- # `s3-control`. For an example of the request syntax for Amazon S3 on
2753
- # Outposts that uses the S3 on Outposts endpoint hostname prefix and the
2754
- # `x-amz-outpost-id` derived using the access point ARN, see the
2755
- # [Examples][3] section.
2751
+ # request. In addition, you must use an S3 on Outposts endpoint hostname
2752
+ # prefix instead of `s3-control`. For an example of the request syntax
2753
+ # for Amazon S3 on Outposts that uses the S3 on Outposts endpoint
2754
+ # hostname prefix and the `x-amz-outpost-id` derived by using the access
2755
+ # point ARN, see the [Examples][3] section.
2756
2756
  #
2757
2757
  # The following actions are related to `GetBucketTagging`\:
2758
2758
  #
@@ -2813,6 +2813,81 @@ module Aws::S3Control
2813
2813
  req.send_request(options)
2814
2814
  end
2815
2815
 
2816
+ # <note markdown="1"> This operation returns the versioning state only for S3 on Outposts
2817
+ # buckets. To return the versioning state for an S3 bucket, see
2818
+ # [GetBucketVersioning][1] in the *Amazon S3 API Reference*.
2819
+ #
2820
+ # </note>
2821
+ #
2822
+ # Returns the versioning state for an S3 on Outposts bucket. With
2823
+ # versioning, you can save multiple distinct copies of your data and
2824
+ # recover from unintended user actions and application failures.
2825
+ #
2826
+ # If you've never set versioning on your bucket, it has no versioning
2827
+ # state. In that case, the `GetBucketVersioning` request does not return
2828
+ # a versioning state value.
2829
+ #
2830
+ # For more information about versioning, see [Versioning][2] in the
2831
+ # *Amazon S3 User Guide*.
2832
+ #
2833
+ # All Amazon S3 on Outposts REST API requests for this action require an
2834
+ # additional parameter of `x-amz-outpost-id` to be passed with the
2835
+ # request. In addition, you must use an S3 on Outposts endpoint hostname
2836
+ # prefix instead of `s3-control`. For an example of the request syntax
2837
+ # for Amazon S3 on Outposts that uses the S3 on Outposts endpoint
2838
+ # hostname prefix and the `x-amz-outpost-id` derived by using the access
2839
+ # point ARN, see the [Examples][3] section.
2840
+ #
2841
+ # The following operations are related to `GetBucketVersioning` for S3
2842
+ # on Outposts.
2843
+ #
2844
+ # * [PutBucketVersioning][4]
2845
+ #
2846
+ # * [PutBucketLifecycleConfiguration][5]
2847
+ #
2848
+ # * [GetBucketLifecycleConfiguration][6]
2849
+ #
2850
+ #
2851
+ #
2852
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketVersioning.html
2853
+ # [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/Versioning.html
2854
+ # [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetBucketVersioning.html#API_control_GetBucketVersioning_Examples
2855
+ # [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutBucketVersioning.html
2856
+ # [5]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutBucketLifecycleConfiguration.html
2857
+ # [6]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetBucketLifecycleConfiguration.html
2858
+ #
2859
+ # @option params [required, String] :account_id
2860
+ # The Amazon Web Services account ID of the S3 on Outposts bucket.
2861
+ #
2862
+ # @option params [required, String] :bucket
2863
+ # The S3 on Outposts bucket to return the versioning state for.
2864
+ #
2865
+ # @return [Types::GetBucketVersioningResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2866
+ #
2867
+ # * {Types::GetBucketVersioningResult#status #status} => String
2868
+ # * {Types::GetBucketVersioningResult#mfa_delete #mfa_delete} => String
2869
+ #
2870
+ # @example Request syntax with placeholder values
2871
+ #
2872
+ # resp = client.get_bucket_versioning({
2873
+ # account_id: "AccountId", # required
2874
+ # bucket: "BucketName", # required
2875
+ # })
2876
+ #
2877
+ # @example Response structure
2878
+ #
2879
+ # resp.status #=> String, one of "Enabled", "Suspended"
2880
+ # resp.mfa_delete #=> String, one of "Enabled", "Disabled"
2881
+ #
2882
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetBucketVersioning AWS API Documentation
2883
+ #
2884
+ # @overload get_bucket_versioning(params = {})
2885
+ # @param [Hash] params ({})
2886
+ def get_bucket_versioning(params = {}, options = {})
2887
+ req = build_request(:get_bucket_versioning, params)
2888
+ req.send_request(options)
2889
+ end
2890
+
2816
2891
  # Returns the tags on an S3 Batch Operations job. To use this operation,
2817
2892
  # you must have permission to perform the `s3:GetJobTagging` action. For
2818
2893
  # more information, see [Controlling access and labeling jobs using
@@ -3242,11 +3317,11 @@ module Aws::S3Control
3242
3317
  #
3243
3318
  # All Amazon S3 on Outposts REST API requests for this action require an
3244
3319
  # additional parameter of `x-amz-outpost-id` to be passed with the
3245
- # request and an S3 on Outposts endpoint hostname prefix instead of
3246
- # `s3-control`. For an example of the request syntax for Amazon S3 on
3247
- # Outposts that uses the S3 on Outposts endpoint hostname prefix and the
3248
- # `x-amz-outpost-id` derived using the access point ARN, see the
3249
- # [Examples][1] section.
3320
+ # request. In addition, you must use an S3 on Outposts endpoint hostname
3321
+ # prefix instead of `s3-control`. For an example of the request syntax
3322
+ # for Amazon S3 on Outposts that uses the S3 on Outposts endpoint
3323
+ # hostname prefix and the `x-amz-outpost-id` derived by using the access
3324
+ # point ARN, see the [Examples][1] section.
3250
3325
  #
3251
3326
  # The following actions are related to `ListAccessPoints`\:
3252
3327
  #
@@ -3586,9 +3661,9 @@ module Aws::S3Control
3586
3661
  # @option params [Integer] :max_results
3587
3662
  #
3588
3663
  # @option params [String] :outpost_id
3589
- # The ID of the Outposts.
3664
+ # The ID of the Outposts resource.
3590
3665
  #
3591
- # <note markdown="1"> This is required by Amazon S3 on Outposts buckets.
3666
+ # <note markdown="1"> This ID is required by Amazon S3 on Outposts buckets.
3592
3667
  #
3593
3668
  # </note>
3594
3669
  #
@@ -3748,11 +3823,11 @@ module Aws::S3Control
3748
3823
  #
3749
3824
  # All Amazon S3 on Outposts REST API requests for this action require an
3750
3825
  # additional parameter of `x-amz-outpost-id` to be passed with the
3751
- # request and an S3 on Outposts endpoint hostname prefix instead of
3752
- # `s3-control`. For an example of the request syntax for Amazon S3 on
3753
- # Outposts that uses the S3 on Outposts endpoint hostname prefix and the
3754
- # `x-amz-outpost-id` derived using the access point ARN, see the
3755
- # [Examples][1] section.
3826
+ # request. In addition, you must use an S3 on Outposts endpoint hostname
3827
+ # prefix instead of `s3-control`. For an example of the request syntax
3828
+ # for Amazon S3 on Outposts that uses the S3 on Outposts endpoint
3829
+ # hostname prefix and the `x-amz-outpost-id` derived by using the access
3830
+ # point ARN, see the [Examples][1] section.
3756
3831
  #
3757
3832
  # The following actions are related to `PutAccessPointPolicy`\:
3758
3833
  #
@@ -3876,11 +3951,11 @@ module Aws::S3Control
3876
3951
  #
3877
3952
  # All Amazon S3 on Outposts REST API requests for this action require an
3878
3953
  # additional parameter of `x-amz-outpost-id` to be passed with the
3879
- # request and an S3 on Outposts endpoint hostname prefix instead of
3880
- # `s3-control`. For an example of the request syntax for Amazon S3 on
3881
- # Outposts that uses the S3 on Outposts endpoint hostname prefix and the
3882
- # `x-amz-outpost-id` derived using the access point ARN, see the
3883
- # [Examples][2] section.
3954
+ # request. In addition, you must use an S3 on Outposts endpoint hostname
3955
+ # prefix instead of `s3-control`. For an example of the request syntax
3956
+ # for Amazon S3 on Outposts that uses the S3 on Outposts endpoint
3957
+ # hostname prefix and the `x-amz-outpost-id` derived by using the access
3958
+ # point ARN, see the [Examples][2] section.
3884
3959
  #
3885
3960
  # The following actions are related to
3886
3961
  # `PutBucketLifecycleConfiguration`\:
@@ -4002,11 +4077,11 @@ module Aws::S3Control
4002
4077
  #
4003
4078
  # All Amazon S3 on Outposts REST API requests for this action require an
4004
4079
  # additional parameter of `x-amz-outpost-id` to be passed with the
4005
- # request and an S3 on Outposts endpoint hostname prefix instead of
4006
- # `s3-control`. For an example of the request syntax for Amazon S3 on
4007
- # Outposts that uses the S3 on Outposts endpoint hostname prefix and the
4008
- # `x-amz-outpost-id` derived using the access point ARN, see the
4009
- # [Examples][4] section.
4080
+ # request. In addition, you must use an S3 on Outposts endpoint hostname
4081
+ # prefix instead of `s3-control`. For an example of the request syntax
4082
+ # for Amazon S3 on Outposts that uses the S3 on Outposts endpoint
4083
+ # hostname prefix and the `x-amz-outpost-id` derived by using the access
4084
+ # point ARN, see the [Examples][4] section.
4010
4085
  #
4011
4086
  # The following actions are related to `PutBucketPolicy`\:
4012
4087
  #
@@ -4139,11 +4214,11 @@ module Aws::S3Control
4139
4214
  #
4140
4215
  # All Amazon S3 on Outposts REST API requests for this action require an
4141
4216
  # additional parameter of `x-amz-outpost-id` to be passed with the
4142
- # request and an S3 on Outposts endpoint hostname prefix instead of
4143
- # `s3-control`. For an example of the request syntax for Amazon S3 on
4144
- # Outposts that uses the S3 on Outposts endpoint hostname prefix and the
4145
- # `x-amz-outpost-id` derived using the access point ARN, see the
4146
- # [Examples][9] section.
4217
+ # request. In addition, you must use an S3 on Outposts endpoint hostname
4218
+ # prefix instead of `s3-control`. For an example of the request syntax
4219
+ # for Amazon S3 on Outposts that uses the S3 on Outposts endpoint
4220
+ # hostname prefix and the `x-amz-outpost-id` derived by using the access
4221
+ # point ARN, see the [Examples][9] section.
4147
4222
  #
4148
4223
  # The following actions are related to `PutBucketTagging`\:
4149
4224
  #
@@ -4212,6 +4287,106 @@ module Aws::S3Control
4212
4287
  req.send_request(options)
4213
4288
  end
4214
4289
 
4290
+ # <note markdown="1"> This operation sets the versioning state only for S3 on Outposts
4291
+ # buckets. To set the versioning state for an S3 bucket, see
4292
+ # [PutBucketVersioning][1] in the *Amazon S3 API Reference*.
4293
+ #
4294
+ # </note>
4295
+ #
4296
+ # Sets the versioning state for an S3 on Outposts bucket. With
4297
+ # versioning, you can save multiple distinct copies of your data and
4298
+ # recover from unintended user actions and application failures.
4299
+ #
4300
+ # You can set the versioning state to one of the following:
4301
+ #
4302
+ # * **Enabled** - Enables versioning for the objects in the bucket. All
4303
+ # objects added to the bucket receive a unique version ID.
4304
+ #
4305
+ # * **Suspended** - Suspends versioning for the objects in the bucket.
4306
+ # All objects added to the bucket receive the version ID `null`.
4307
+ #
4308
+ # If you've never set versioning on your bucket, it has no versioning
4309
+ # state. In that case, a [ GetBucketVersioning][2] request does not
4310
+ # return a versioning state value.
4311
+ #
4312
+ # When you enable S3 Versioning, for each object in your bucket, you
4313
+ # have a current version and zero or more noncurrent versions. You can
4314
+ # configure your bucket S3 Lifecycle rules to expire noncurrent versions
4315
+ # after a specified time period. For more information, see [ Creating
4316
+ # and managing a lifecycle configuration for your S3 on Outposts
4317
+ # bucket][3] in the *Amazon S3 User Guide*.
4318
+ #
4319
+ # If you have an object expiration lifecycle policy in your
4320
+ # non-versioned bucket and you want to maintain the same permanent
4321
+ # delete behavior when you enable versioning, you must add a noncurrent
4322
+ # expiration policy. The noncurrent expiration lifecycle policy will
4323
+ # manage the deletes of the noncurrent object versions in the
4324
+ # version-enabled bucket. For more information, see [Versioning][4] in
4325
+ # the *Amazon S3 User Guide*.
4326
+ #
4327
+ # All Amazon S3 on Outposts REST API requests for this action require an
4328
+ # additional parameter of `x-amz-outpost-id` to be passed with the
4329
+ # request. In addition, you must use an S3 on Outposts endpoint hostname
4330
+ # prefix instead of `s3-control`. For an example of the request syntax
4331
+ # for Amazon S3 on Outposts that uses the S3 on Outposts endpoint
4332
+ # hostname prefix and the `x-amz-outpost-id` derived by using the access
4333
+ # point ARN, see the [Examples][5] section.
4334
+ #
4335
+ # The following operations are related to `PutBucketVersioning` for S3
4336
+ # on Outposts.
4337
+ #
4338
+ # * [GetBucketVersioning][2]
4339
+ #
4340
+ # * [PutBucketLifecycleConfiguration][6]
4341
+ #
4342
+ # * [GetBucketLifecycleConfiguration][7]
4343
+ #
4344
+ #
4345
+ #
4346
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketVersioning.html
4347
+ # [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetBucketVersioning.html
4348
+ # [3]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3OutpostsLifecycleManaging.html
4349
+ # [4]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/Versioning.html
4350
+ # [5]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutBucketVersioning.html#API_control_PutBucketVersioning_Examples
4351
+ # [6]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutBucketLifecycleConfiguration.html
4352
+ # [7]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetBucketLifecycleConfiguration.html
4353
+ #
4354
+ # @option params [required, String] :account_id
4355
+ # The Amazon Web Services account ID of the S3 on Outposts bucket.
4356
+ #
4357
+ # @option params [required, String] :bucket
4358
+ # The S3 on Outposts bucket to set the versioning state for.
4359
+ #
4360
+ # @option params [String] :mfa
4361
+ # The concatenation of the authentication device's serial number, a
4362
+ # space, and the value that is displayed on your authentication device.
4363
+ #
4364
+ # @option params [required, Types::VersioningConfiguration] :versioning_configuration
4365
+ # The root-level tag for the `VersioningConfiguration` parameters.
4366
+ #
4367
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
4368
+ #
4369
+ # @example Request syntax with placeholder values
4370
+ #
4371
+ # resp = client.put_bucket_versioning({
4372
+ # account_id: "AccountId", # required
4373
+ # bucket: "BucketName", # required
4374
+ # mfa: "MFA",
4375
+ # versioning_configuration: { # required
4376
+ # mfa_delete: "Enabled", # accepts Enabled, Disabled
4377
+ # status: "Enabled", # accepts Enabled, Suspended
4378
+ # },
4379
+ # })
4380
+ #
4381
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/PutBucketVersioning AWS API Documentation
4382
+ #
4383
+ # @overload put_bucket_versioning(params = {})
4384
+ # @param [Hash] params ({})
4385
+ def put_bucket_versioning(params = {}, options = {})
4386
+ req = build_request(:put_bucket_versioning, params)
4387
+ req.send_request(options)
4388
+ end
4389
+
4215
4390
  # Sets the supplied tag-set on an S3 Batch Operations job.
4216
4391
  #
4217
4392
  # A tag is a key-value pair. You can associate S3 Batch Operations tags
@@ -4377,7 +4552,7 @@ module Aws::S3Control
4377
4552
 
4378
4553
  # Creates or modifies the `PublicAccessBlock` configuration for an
4379
4554
  # Amazon Web Services account. For this operation, users must have the
4380
- # `s3:PutBucketPublicAccessBlock` permission. For more information, see
4555
+ # `s3:PutAccountPublicAccessBlock` permission. For more information, see
4381
4556
  # [ Using Amazon S3 block public access][1].
4382
4557
  #
4383
4558
  # Related actions include:
@@ -4731,7 +4906,7 @@ module Aws::S3Control
4731
4906
  params: params,
4732
4907
  config: config)
4733
4908
  context[:gem_name] = 'aws-sdk-s3control'
4734
- context[:gem_version] = '1.50.0'
4909
+ context[:gem_version] = '1.51.0'
4735
4910
  Seahorse::Client::Request.new(handlers, context)
4736
4911
  end
4737
4912
 
@@ -40,6 +40,7 @@ module Aws::S3Control
40
40
  BucketLevel = Shapes::StructureShape.new(name: 'BucketLevel')
41
41
  BucketLocationConstraint = Shapes::StringShape.new(name: 'BucketLocationConstraint')
42
42
  BucketName = Shapes::StringShape.new(name: 'BucketName')
43
+ BucketVersioningStatus = Shapes::StringShape.new(name: 'BucketVersioningStatus')
43
44
  Buckets = Shapes::ListShape.new(name: 'Buckets')
44
45
  CloudWatchMetrics = Shapes::StructureShape.new(name: 'CloudWatchMetrics')
45
46
  ConfigId = Shapes::StringShape.new(name: 'ConfigId')
@@ -116,6 +117,8 @@ module Aws::S3Control
116
117
  GetBucketResult = Shapes::StructureShape.new(name: 'GetBucketResult')
117
118
  GetBucketTaggingRequest = Shapes::StructureShape.new(name: 'GetBucketTaggingRequest')
118
119
  GetBucketTaggingResult = Shapes::StructureShape.new(name: 'GetBucketTaggingResult')
120
+ GetBucketVersioningRequest = Shapes::StructureShape.new(name: 'GetBucketVersioningRequest')
121
+ GetBucketVersioningResult = Shapes::StructureShape.new(name: 'GetBucketVersioningResult')
119
122
  GetJobTaggingRequest = Shapes::StructureShape.new(name: 'GetJobTaggingRequest')
120
123
  GetJobTaggingResult = Shapes::StructureShape.new(name: 'GetJobTaggingResult')
121
124
  GetMultiRegionAccessPointPolicyRequest = Shapes::StructureShape.new(name: 'GetMultiRegionAccessPointPolicyRequest')
@@ -200,6 +203,9 @@ module Aws::S3Control
200
203
  ListStorageLensConfigurationsRequest = Shapes::StructureShape.new(name: 'ListStorageLensConfigurationsRequest')
201
204
  ListStorageLensConfigurationsResult = Shapes::StructureShape.new(name: 'ListStorageLensConfigurationsResult')
202
205
  Location = Shapes::StringShape.new(name: 'Location')
206
+ MFA = Shapes::StringShape.new(name: 'MFA')
207
+ MFADelete = Shapes::StringShape.new(name: 'MFADelete')
208
+ MFADeleteStatus = Shapes::StringShape.new(name: 'MFADeleteStatus')
203
209
  ManifestPrefixString = Shapes::StringShape.new(name: 'ManifestPrefixString')
204
210
  MaxLength1024String = Shapes::StringShape.new(name: 'MaxLength1024String')
205
211
  MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
@@ -257,6 +263,7 @@ module Aws::S3Control
257
263
  PutBucketLifecycleConfigurationRequest = Shapes::StructureShape.new(name: 'PutBucketLifecycleConfigurationRequest')
258
264
  PutBucketPolicyRequest = Shapes::StructureShape.new(name: 'PutBucketPolicyRequest')
259
265
  PutBucketTaggingRequest = Shapes::StructureShape.new(name: 'PutBucketTaggingRequest')
266
+ PutBucketVersioningRequest = Shapes::StructureShape.new(name: 'PutBucketVersioningRequest')
260
267
  PutJobTaggingRequest = Shapes::StructureShape.new(name: 'PutJobTaggingRequest')
261
268
  PutJobTaggingResult = Shapes::StructureShape.new(name: 'PutJobTaggingResult')
262
269
  PutMultiRegionAccessPointPolicyInput = Shapes::StructureShape.new(name: 'PutMultiRegionAccessPointPolicyInput')
@@ -354,6 +361,7 @@ module Aws::S3Control
354
361
  UpdateJobPriorityResult = Shapes::StructureShape.new(name: 'UpdateJobPriorityResult')
355
362
  UpdateJobStatusRequest = Shapes::StructureShape.new(name: 'UpdateJobStatusRequest')
356
363
  UpdateJobStatusResult = Shapes::StructureShape.new(name: 'UpdateJobStatusResult')
364
+ VersioningConfiguration = Shapes::StructureShape.new(name: 'VersioningConfiguration')
357
365
  VpcConfiguration = Shapes::StructureShape.new(name: 'VpcConfiguration')
358
366
  VpcId = Shapes::StringShape.new(name: 'VpcId')
359
367
 
@@ -668,6 +676,14 @@ module Aws::S3Control
668
676
  GetBucketTaggingResult.add_member(:tag_set, Shapes::ShapeRef.new(shape: S3TagSet, required: true, location_name: "TagSet"))
669
677
  GetBucketTaggingResult.struct_class = Types::GetBucketTaggingResult
670
678
 
679
+ GetBucketVersioningRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location: "header", location_name: "x-amz-account-id", metadata: {"hostLabel"=>true, "hostLabelName"=>"AccountId"}))
680
+ GetBucketVersioningRequest.add_member(:bucket, Shapes::ShapeRef.new(shape: BucketName, required: true, location: "uri", location_name: "name"))
681
+ GetBucketVersioningRequest.struct_class = Types::GetBucketVersioningRequest
682
+
683
+ GetBucketVersioningResult.add_member(:status, Shapes::ShapeRef.new(shape: BucketVersioningStatus, location_name: "Status"))
684
+ GetBucketVersioningResult.add_member(:mfa_delete, Shapes::ShapeRef.new(shape: MFADeleteStatus, location_name: "MfaDelete"))
685
+ GetBucketVersioningResult.struct_class = Types::GetBucketVersioningResult
686
+
671
687
  GetJobTaggingRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location: "header", location_name: "x-amz-account-id", metadata: {"hostLabel"=>true, "hostLabelName"=>"AccountId"}))
672
688
  GetJobTaggingRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location: "uri", location_name: "id"))
673
689
  GetJobTaggingRequest.struct_class = Types::GetJobTaggingRequest
@@ -1048,6 +1064,14 @@ module Aws::S3Control
1048
1064
  PutBucketTaggingRequest[:payload] = :tagging
1049
1065
  PutBucketTaggingRequest[:payload_member] = PutBucketTaggingRequest.member(:tagging)
1050
1066
 
1067
+ PutBucketVersioningRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location: "header", location_name: "x-amz-account-id", metadata: {"hostLabel"=>true, "hostLabelName"=>"AccountId"}))
1068
+ PutBucketVersioningRequest.add_member(:bucket, Shapes::ShapeRef.new(shape: BucketName, required: true, location: "uri", location_name: "name"))
1069
+ PutBucketVersioningRequest.add_member(:mfa, Shapes::ShapeRef.new(shape: MFA, location: "header", location_name: "x-amz-mfa"))
1070
+ PutBucketVersioningRequest.add_member(:versioning_configuration, Shapes::ShapeRef.new(shape: VersioningConfiguration, required: true, location_name: "VersioningConfiguration", metadata: {"xmlNamespace"=>{"uri"=>"http://awss3control.amazonaws.com/doc/2018-08-20/"}}))
1071
+ PutBucketVersioningRequest.struct_class = Types::PutBucketVersioningRequest
1072
+ PutBucketVersioningRequest[:payload] = :versioning_configuration
1073
+ PutBucketVersioningRequest[:payload_member] = PutBucketVersioningRequest.member(:versioning_configuration)
1074
+
1051
1075
  PutJobTaggingRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location: "header", location_name: "x-amz-account-id", metadata: {"hostLabel"=>true, "hostLabelName"=>"AccountId"}))
1052
1076
  PutJobTaggingRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location: "uri", location_name: "id"))
1053
1077
  PutJobTaggingRequest.add_member(:tags, Shapes::ShapeRef.new(shape: S3TagSet, required: true, location_name: "Tags"))
@@ -1309,6 +1333,10 @@ module Aws::S3Control
1309
1333
  UpdateJobStatusResult.add_member(:status_update_reason, Shapes::ShapeRef.new(shape: JobStatusUpdateReason, location_name: "StatusUpdateReason"))
1310
1334
  UpdateJobStatusResult.struct_class = Types::UpdateJobStatusResult
1311
1335
 
1336
+ VersioningConfiguration.add_member(:mfa_delete, Shapes::ShapeRef.new(shape: MFADelete, location_name: "MfaDelete"))
1337
+ VersioningConfiguration.add_member(:status, Shapes::ShapeRef.new(shape: BucketVersioningStatus, location_name: "Status"))
1338
+ VersioningConfiguration.struct_class = Types::VersioningConfiguration
1339
+
1312
1340
  VpcConfiguration.add_member(:vpc_id, Shapes::ShapeRef.new(shape: VpcId, required: true, location_name: "VpcId"))
1313
1341
  VpcConfiguration.struct_class = Types::VpcConfiguration
1314
1342
 
@@ -1709,6 +1737,17 @@ module Aws::S3Control
1709
1737
  o.output = Shapes::ShapeRef.new(shape: GetBucketTaggingResult)
1710
1738
  end)
1711
1739
 
1740
+ api.add_operation(:get_bucket_versioning, Seahorse::Model::Operation.new.tap do |o|
1741
+ o.name = "GetBucketVersioning"
1742
+ o.http_method = "GET"
1743
+ o.http_request_uri = "/v20180820/bucket/{name}/versioning"
1744
+ o.endpoint_pattern = {
1745
+ "hostPrefix" => "{AccountId}.",
1746
+ }
1747
+ o.input = Shapes::ShapeRef.new(shape: GetBucketVersioningRequest)
1748
+ o.output = Shapes::ShapeRef.new(shape: GetBucketVersioningResult)
1749
+ end)
1750
+
1712
1751
  api.add_operation(:get_job_tagging, Seahorse::Model::Operation.new.tap do |o|
1713
1752
  o.name = "GetJobTagging"
1714
1753
  o.http_method = "GET"
@@ -1987,6 +2026,18 @@ module Aws::S3Control
1987
2026
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1988
2027
  end)
1989
2028
 
2029
+ api.add_operation(:put_bucket_versioning, Seahorse::Model::Operation.new.tap do |o|
2030
+ o.name = "PutBucketVersioning"
2031
+ o.http_method = "PUT"
2032
+ o.http_request_uri = "/v20180820/bucket/{name}/versioning"
2033
+ o.http_checksum_required = true
2034
+ o.endpoint_pattern = {
2035
+ "hostPrefix" => "{AccountId}.",
2036
+ }
2037
+ o.input = Shapes::ShapeRef.new(shape: PutBucketVersioningRequest)
2038
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
2039
+ end)
2040
+
1990
2041
  api.add_operation(:put_job_tagging, Seahorse::Model::Operation.new.tap do |o|
1991
2042
  o.name = "PutJobTagging"
1992
2043
  o.http_method = "PUT"
@@ -154,7 +154,7 @@ module Aws::S3Control
154
154
  # @return [String]
155
155
  #
156
156
  # @!attribute [rw] message
157
- # A generic descritpion of the error condition in English.
157
+ # A generic description of the error condition in English.
158
158
  # @return [String]
159
159
  #
160
160
  # @!attribute [rw] resource
@@ -677,7 +677,7 @@ module Aws::S3Control
677
677
  # @!attribute [rw] outpost_id
678
678
  # The ID of the Outposts where the bucket is being created.
679
679
  #
680
- # <note markdown="1"> This is required by Amazon S3 on Outposts buckets.
680
+ # <note markdown="1"> This ID is required by Amazon S3 on Outposts buckets.
681
681
  #
682
682
  # </note>
683
683
  # @return [String]
@@ -2332,6 +2332,51 @@ module Aws::S3Control
2332
2332
  include Aws::Structure
2333
2333
  end
2334
2334
 
2335
+ # @note When making an API call, you may pass GetBucketVersioningRequest
2336
+ # data as a hash:
2337
+ #
2338
+ # {
2339
+ # account_id: "AccountId", # required
2340
+ # bucket: "BucketName", # required
2341
+ # }
2342
+ #
2343
+ # @!attribute [rw] account_id
2344
+ # The Amazon Web Services account ID of the S3 on Outposts bucket.
2345
+ # @return [String]
2346
+ #
2347
+ # @!attribute [rw] bucket
2348
+ # The S3 on Outposts bucket to return the versioning state for.
2349
+ # @return [String]
2350
+ #
2351
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetBucketVersioningRequest AWS API Documentation
2352
+ #
2353
+ class GetBucketVersioningRequest < Struct.new(
2354
+ :account_id,
2355
+ :bucket)
2356
+ SENSITIVE = []
2357
+ include Aws::Structure
2358
+ end
2359
+
2360
+ # @!attribute [rw] status
2361
+ # The versioning state of the S3 on Outposts bucket.
2362
+ # @return [String]
2363
+ #
2364
+ # @!attribute [rw] mfa_delete
2365
+ # Specifies whether MFA delete is enabled in the bucket versioning
2366
+ # configuration. This element is returned only if the bucket has been
2367
+ # configured with MFA delete. If MFA delete has never been configured
2368
+ # for the bucket, this element is not returned.
2369
+ # @return [String]
2370
+ #
2371
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetBucketVersioningResult AWS API Documentation
2372
+ #
2373
+ class GetBucketVersioningResult < Struct.new(
2374
+ :status,
2375
+ :mfa_delete)
2376
+ SENSITIVE = []
2377
+ include Aws::Structure
2378
+ end
2379
+
2335
2380
  # @note When making an API call, you may pass GetJobTaggingRequest
2336
2381
  # data as a hash:
2337
2382
  #
@@ -3977,9 +4022,9 @@ module Aws::S3Control
3977
4022
  # @return [Integer]
3978
4023
  #
3979
4024
  # @!attribute [rw] outpost_id
3980
- # The ID of the Outposts.
4025
+ # The ID of the Outposts resource.
3981
4026
  #
3982
- # <note markdown="1"> This is required by Amazon S3 on Outposts buckets.
4027
+ # <note markdown="1"> This ID is required by Amazon S3 on Outposts buckets.
3983
4028
  #
3984
4029
  # </note>
3985
4030
  # @return [String]
@@ -4177,7 +4222,7 @@ module Aws::S3Control
4177
4222
  # The current status of the Multi-Region Access Point.
4178
4223
  #
4179
4224
  # `CREATING` and `DELETING` are temporary states that exist while the
4180
- # request is propogating and being completed. If a Multi-Region Access
4225
+ # request is propagating and being completed. If a Multi-Region Access
4181
4226
  # Point has a status of `PARTIALLY_CREATED`, you can retry creation or
4182
4227
  # send a request to delete the Multi-Region Access Point. If a
4183
4228
  # Multi-Region Access Point has a status of `PARTIALLY_DELETED`, you
@@ -4940,6 +4985,48 @@ module Aws::S3Control
4940
4985
  include Aws::Structure
4941
4986
  end
4942
4987
 
4988
+ # @note When making an API call, you may pass PutBucketVersioningRequest
4989
+ # data as a hash:
4990
+ #
4991
+ # {
4992
+ # account_id: "AccountId", # required
4993
+ # bucket: "BucketName", # required
4994
+ # mfa: "MFA",
4995
+ # versioning_configuration: { # required
4996
+ # mfa_delete: "Enabled", # accepts Enabled, Disabled
4997
+ # status: "Enabled", # accepts Enabled, Suspended
4998
+ # },
4999
+ # }
5000
+ #
5001
+ # @!attribute [rw] account_id
5002
+ # The Amazon Web Services account ID of the S3 on Outposts bucket.
5003
+ # @return [String]
5004
+ #
5005
+ # @!attribute [rw] bucket
5006
+ # The S3 on Outposts bucket to set the versioning state for.
5007
+ # @return [String]
5008
+ #
5009
+ # @!attribute [rw] mfa
5010
+ # The concatenation of the authentication device's serial number, a
5011
+ # space, and the value that is displayed on your authentication
5012
+ # device.
5013
+ # @return [String]
5014
+ #
5015
+ # @!attribute [rw] versioning_configuration
5016
+ # The root-level tag for the `VersioningConfiguration` parameters.
5017
+ # @return [Types::VersioningConfiguration]
5018
+ #
5019
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/PutBucketVersioningRequest AWS API Documentation
5020
+ #
5021
+ class PutBucketVersioningRequest < Struct.new(
5022
+ :account_id,
5023
+ :bucket,
5024
+ :mfa,
5025
+ :versioning_configuration)
5026
+ SENSITIVE = []
5027
+ include Aws::Structure
5028
+ end
5029
+
4943
5030
  # @note When making an API call, you may pass PutJobTaggingRequest
4944
5031
  # data as a hash:
4945
5032
  #
@@ -6270,8 +6357,8 @@ module Aws::S3Control
6270
6357
  #
6271
6358
  # @!attribute [rw] key_id
6272
6359
  # Specifies the ID of the Amazon Web Services Key Management Service
6273
- # (Amazon Web Services KMS) symmetric customer managed key to use for
6274
- # encrypting generated manifest objects.
6360
+ # (Amazon Web Services KMS) symmetric encryption customer managed key
6361
+ # to use for encrypting generated manifest objects.
6275
6362
  # @return [String]
6276
6363
  #
6277
6364
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/SSEKMSEncryption AWS API Documentation
@@ -6782,6 +6869,39 @@ module Aws::S3Control
6782
6869
  include Aws::Structure
6783
6870
  end
6784
6871
 
6872
+ # Describes the versioning state of an Amazon S3 on Outposts bucket. For
6873
+ # more information, see [PutBucketVersioning][1].
6874
+ #
6875
+ #
6876
+ #
6877
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutBucketVersioning.html
6878
+ #
6879
+ # @note When making an API call, you may pass VersioningConfiguration
6880
+ # data as a hash:
6881
+ #
6882
+ # {
6883
+ # mfa_delete: "Enabled", # accepts Enabled, Disabled
6884
+ # status: "Enabled", # accepts Enabled, Suspended
6885
+ # }
6886
+ #
6887
+ # @!attribute [rw] mfa_delete
6888
+ # Specifies whether MFA delete is enabled or disabled in the bucket
6889
+ # versioning configuration for the S3 on Outposts bucket.
6890
+ # @return [String]
6891
+ #
6892
+ # @!attribute [rw] status
6893
+ # Sets the versioning state of the S3 on Outposts bucket.
6894
+ # @return [String]
6895
+ #
6896
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/VersioningConfiguration AWS API Documentation
6897
+ #
6898
+ class VersioningConfiguration < Struct.new(
6899
+ :mfa_delete,
6900
+ :status)
6901
+ SENSITIVE = []
6902
+ include Aws::Structure
6903
+ end
6904
+
6785
6905
  # The virtual private cloud (VPC) configuration for an access point.
6786
6906
  #
6787
6907
  # @note When making an API call, you may pass VpcConfiguration
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-s3control/customizations'
48
48
  # @!group service
49
49
  module Aws::S3Control
50
50
 
51
- GEM_VERSION = '1.50.0'
51
+ GEM_VERSION = '1.51.0'
52
52
 
53
53
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-s3control
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.50.0
4
+ version: 1.51.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-04-05 00:00:00.000000000 Z
11
+ date: 2022-09-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sigv4