aws-sdk-s3control 1.61.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: 268dce9337e24571c679badefa18effa23fc785ccb18ab8bf97ab7647ef0ec8b
4
- data.tar.gz: 63d2a932dd679d7867c5778b9c3169b12b217fb02c19d72f92719f1a00118807
3
+ metadata.gz: 7e604480e5a5d9d34d67c75bf882407641f0ecbf863c69c8ab01a7a2d6db4be1
4
+ data.tar.gz: edfc27bb891488552122beae136bf28a07de1b1a9a65b9300bbf4ad9034f4bf7
5
5
  SHA512:
6
- metadata.gz: 944af18b9285059ce14f644ee300cdc65e861af063c6e222017884e3a784cef6c71a79461de56348f03aea37516f72b4c21e417720bce9908f43036bdc309732
7
- data.tar.gz: 7121566afbd2580a4111f592f27b883d55dcf44eb761b0330d3e804f861cf8b2ff9212d507752bc5372ec97ffdfed9b191cf1439478c6eac36379a000dfc460c
6
+ metadata.gz: 8bd3d717efd6b5202125f3a1b01b6cd8d416e968932eff294b4117c41170ea3f9f479c53eaa5bca52e3084d8db39d1755c049d33e560bbd7313ef2c82ac310ef
7
+ data.tar.gz: 9d92d6de61034e036cef367e16bb36f231568990dcd0c2dbded74accca8e8340b00e7e31674342cf701c5dedf9bbd8605032b256627fbe834793628068cfcece
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.63.0 (2023-04-19)
5
+ ------------------
6
+
7
+ * Feature - Provides support for overriding endpoint when region is "snow". This will enable bucket APIs for Amazon S3 Compatible storage on Snow Family devices.
8
+
9
+ 1.62.0 (2023-03-15)
10
+ ------------------
11
+
12
+ * Feature - Added support for S3 Object Lambda aliases.
13
+
4
14
  1.61.0 (2023-03-13)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.61.0
1
+ 1.63.0
@@ -532,6 +532,7 @@ module Aws::S3Control
532
532
  # @return [Types::CreateAccessPointForObjectLambdaResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
533
533
  #
534
534
  # * {Types::CreateAccessPointForObjectLambdaResult#object_lambda_access_point_arn #object_lambda_access_point_arn} => String
535
+ # * {Types::CreateAccessPointForObjectLambdaResult#alias #alias} => Types::ObjectLambdaAccessPointAlias
535
536
  #
536
537
  # @example Request syntax with placeholder values
537
538
  #
@@ -559,6 +560,8 @@ module Aws::S3Control
559
560
  # @example Response structure
560
561
  #
561
562
  # resp.object_lambda_access_point_arn #=> String
563
+ # resp.alias.value #=> String
564
+ # resp.alias.status #=> String, one of "PROVISIONING", "READY"
562
565
  #
563
566
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/CreateAccessPointForObjectLambda AWS API Documentation
564
567
  #
@@ -1562,8 +1565,8 @@ module Aws::S3Control
1562
1565
  # point ARN, see the [Examples][4] section.
1563
1566
  #
1564
1567
  # For information about S3 replication on Outposts configuration, see
1565
- # [Replicating objects for Amazon Web Services Outposts][5] in the
1566
- # *Amazon S3 User Guide*.
1568
+ # [Replicating objects for S3 on Outposts][5] in the *Amazon S3 User
1569
+ # Guide*.
1567
1570
  #
1568
1571
  # The following operations are related to `DeleteBucketReplication`:
1569
1572
  #
@@ -2342,6 +2345,7 @@ module Aws::S3Control
2342
2345
  # * {Types::GetAccessPointForObjectLambdaResult#name #name} => String
2343
2346
  # * {Types::GetAccessPointForObjectLambdaResult#public_access_block_configuration #public_access_block_configuration} => Types::PublicAccessBlockConfiguration
2344
2347
  # * {Types::GetAccessPointForObjectLambdaResult#creation_date #creation_date} => Time
2348
+ # * {Types::GetAccessPointForObjectLambdaResult#alias #alias} => Types::ObjectLambdaAccessPointAlias
2345
2349
  #
2346
2350
  # @example Request syntax with placeholder values
2347
2351
  #
@@ -2358,6 +2362,8 @@ module Aws::S3Control
2358
2362
  # resp.public_access_block_configuration.block_public_policy #=> Boolean
2359
2363
  # resp.public_access_block_configuration.restrict_public_buckets #=> Boolean
2360
2364
  # resp.creation_date #=> Time
2365
+ # resp.alias.value #=> String
2366
+ # resp.alias.status #=> String, one of "PROVISIONING", "READY"
2361
2367
  #
2362
2368
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetAccessPointForObjectLambda AWS API Documentation
2363
2369
  #
@@ -2860,8 +2866,8 @@ module Aws::S3Control
2860
2866
  # Returns the replication configuration of an S3 on Outposts bucket. For
2861
2867
  # more information about S3 on Outposts, see [Using Amazon S3 on
2862
2868
  # Outposts][2] in the *Amazon S3 User Guide*. For information about S3
2863
- # replication on Outposts configuration, see [Replicating objects for
2864
- # Amazon Web Services Outposts][3] in the *Amazon S3 User Guide*.
2869
+ # replication on Outposts configuration, see [Replicating objects for S3
2870
+ # on Outposts][3] in the *Amazon S3 User Guide*.
2865
2871
  #
2866
2872
  # <note markdown="1"> It can take a while to propagate `PUT` or `DELETE` requests for a
2867
2873
  # replication configuration to all S3 on Outposts systems. Therefore,
@@ -3791,6 +3797,8 @@ module Aws::S3Control
3791
3797
  # resp.object_lambda_access_point_list #=> Array
3792
3798
  # resp.object_lambda_access_point_list[0].name #=> String
3793
3799
  # resp.object_lambda_access_point_list[0].object_lambda_access_point_arn #=> String
3800
+ # resp.object_lambda_access_point_list[0].alias.value #=> String
3801
+ # resp.object_lambda_access_point_list[0].alias.status #=> String, one of "PROVISIONING", "READY"
3794
3802
  # resp.next_token #=> String
3795
3803
  #
3796
3804
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/ListAccessPointsForObjectLambda AWS API Documentation
@@ -4488,8 +4496,8 @@ module Aws::S3Control
4488
4496
  #
4489
4497
  # Creates a replication configuration or replaces an existing one. For
4490
4498
  # information about S3 replication on Outposts configuration, see
4491
- # [Replicating objects for Amazon Web Services Outposts][2] in the
4492
- # *Amazon S3 User Guide*.
4499
+ # [Replicating objects for S3 on Outposts][2] in the *Amazon S3 User
4500
+ # Guide*.
4493
4501
  #
4494
4502
  # <note markdown="1"> It can take a while to propagate `PUT` or `DELETE` requests for a
4495
4503
  # replication configuration to all S3 on Outposts systems. Therefore,
@@ -4550,7 +4558,9 @@ module Aws::S3Control
4550
4558
  # buckets][6].
4551
4559
  #
4552
4560
  # <note markdown="1"> To perform this operation, the user or role must also have the
4553
- # [iam:PassRole][7] permission.
4561
+ # `iam:CreateRole` and `iam:PassRole` permissions. For more information,
4562
+ # see [Granting a user permissions to pass a role to an Amazon Web
4563
+ # Services service][7].
4554
4564
  #
4555
4565
  # </note>
4556
4566
  #
@@ -4571,13 +4581,13 @@ module Aws::S3Control
4571
4581
  #
4572
4582
  #
4573
4583
  # [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketReplication.html
4574
- # [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/AmazonS3/latest/userguide/S3OutpostsReplication.html
4584
+ # [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3OutpostsReplication.html
4575
4585
  # [3]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3OutpostsManagingVersioning.html
4576
4586
  # [4]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/outposts-replication-eventbridge.html#outposts-replication-failure-codes
4577
4587
  # [5]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3OutpostsIAM.html
4578
4588
  # [6]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3OutpostsBucketPolicy.html
4579
4589
  # [7]: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_use_passrole.html
4580
- # [8]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetBucketLifecycleConfiguration.html#API_control_GetBucketLifecycleConfiguration_Examples
4590
+ # [8]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutBucketReplication.html#API_control_PutBucketReplication_Examples
4581
4591
  # [9]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetBucketReplication.html
4582
4592
  # [10]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteBucketReplication.html
4583
4593
  #
@@ -4853,11 +4863,11 @@ module Aws::S3Control
4853
4863
  # and managing a lifecycle configuration for your S3 on Outposts
4854
4864
  # bucket][3] in the *Amazon S3 User Guide*.
4855
4865
  #
4856
- # If you have an object expiration lifecycle policy in your
4866
+ # If you have an object expiration lifecycle configuration in your
4857
4867
  # non-versioned bucket and you want to maintain the same permanent
4858
4868
  # delete behavior when you enable versioning, you must add a noncurrent
4859
- # expiration policy. The noncurrent expiration lifecycle policy will
4860
- # manage the deletions of the noncurrent object versions in the
4869
+ # expiration policy. The noncurrent expiration lifecycle configuration
4870
+ # will manage the deletes of the noncurrent object versions in the
4861
4871
  # version-enabled bucket. For more information, see [Versioning][4] in
4862
4872
  # the *Amazon S3 User Guide*.
4863
4873
  #
@@ -5538,7 +5548,7 @@ module Aws::S3Control
5538
5548
  params: params,
5539
5549
  config: config)
5540
5550
  context[:gem_name] = 'aws-sdk-s3control'
5541
- context[:gem_version] = '1.61.0'
5551
+ context[:gem_version] = '1.63.0'
5542
5552
  Seahorse::Client::Request.new(handlers, context)
5543
5553
  end
5544
5554
 
@@ -255,6 +255,9 @@ module Aws::S3Control
255
255
  NotFoundException = Shapes::StructureShape.new(name: 'NotFoundException')
256
256
  ObjectCreationTime = Shapes::TimestampShape.new(name: 'ObjectCreationTime')
257
257
  ObjectLambdaAccessPoint = Shapes::StructureShape.new(name: 'ObjectLambdaAccessPoint')
258
+ ObjectLambdaAccessPointAlias = Shapes::StructureShape.new(name: 'ObjectLambdaAccessPointAlias')
259
+ ObjectLambdaAccessPointAliasStatus = Shapes::StringShape.new(name: 'ObjectLambdaAccessPointAliasStatus')
260
+ ObjectLambdaAccessPointAliasValue = Shapes::StringShape.new(name: 'ObjectLambdaAccessPointAliasValue')
258
261
  ObjectLambdaAccessPointArn = Shapes::StringShape.new(name: 'ObjectLambdaAccessPointArn')
259
262
  ObjectLambdaAccessPointList = Shapes::ListShape.new(name: 'ObjectLambdaAccessPointList')
260
263
  ObjectLambdaAccessPointName = Shapes::StringShape.new(name: 'ObjectLambdaAccessPointName')
@@ -498,6 +501,7 @@ module Aws::S3Control
498
501
  CreateAccessPointForObjectLambdaRequest.struct_class = Types::CreateAccessPointForObjectLambdaRequest
499
502
 
500
503
  CreateAccessPointForObjectLambdaResult.add_member(:object_lambda_access_point_arn, Shapes::ShapeRef.new(shape: ObjectLambdaAccessPointArn, location_name: "ObjectLambdaAccessPointArn"))
504
+ CreateAccessPointForObjectLambdaResult.add_member(:alias, Shapes::ShapeRef.new(shape: ObjectLambdaAccessPointAlias, location_name: "Alias"))
501
505
  CreateAccessPointForObjectLambdaResult.struct_class = Types::CreateAccessPointForObjectLambdaResult
502
506
 
503
507
  CreateAccessPointRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location: "header", location_name: "x-amz-account-id", metadata: {"contextParam"=>{"name"=>"AccountId"}}))
@@ -691,6 +695,7 @@ module Aws::S3Control
691
695
  GetAccessPointForObjectLambdaResult.add_member(:name, Shapes::ShapeRef.new(shape: ObjectLambdaAccessPointName, location_name: "Name"))
692
696
  GetAccessPointForObjectLambdaResult.add_member(:public_access_block_configuration, Shapes::ShapeRef.new(shape: PublicAccessBlockConfiguration, location_name: "PublicAccessBlockConfiguration"))
693
697
  GetAccessPointForObjectLambdaResult.add_member(:creation_date, Shapes::ShapeRef.new(shape: CreationDate, location_name: "CreationDate"))
698
+ GetAccessPointForObjectLambdaResult.add_member(:alias, Shapes::ShapeRef.new(shape: ObjectLambdaAccessPointAlias, location_name: "Alias"))
694
699
  GetAccessPointForObjectLambdaResult.struct_class = Types::GetAccessPointForObjectLambdaResult
695
700
 
696
701
  GetAccessPointPolicyForObjectLambdaRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location: "header", location_name: "x-amz-account-id", metadata: {"contextParam"=>{"name"=>"AccountId"}}))
@@ -1104,8 +1109,13 @@ module Aws::S3Control
1104
1109
 
1105
1110
  ObjectLambdaAccessPoint.add_member(:name, Shapes::ShapeRef.new(shape: ObjectLambdaAccessPointName, required: true, location_name: "Name"))
1106
1111
  ObjectLambdaAccessPoint.add_member(:object_lambda_access_point_arn, Shapes::ShapeRef.new(shape: ObjectLambdaAccessPointArn, location_name: "ObjectLambdaAccessPointArn"))
1112
+ ObjectLambdaAccessPoint.add_member(:alias, Shapes::ShapeRef.new(shape: ObjectLambdaAccessPointAlias, location_name: "Alias"))
1107
1113
  ObjectLambdaAccessPoint.struct_class = Types::ObjectLambdaAccessPoint
1108
1114
 
1115
+ ObjectLambdaAccessPointAlias.add_member(:value, Shapes::ShapeRef.new(shape: ObjectLambdaAccessPointAliasValue, location_name: "Value"))
1116
+ ObjectLambdaAccessPointAlias.add_member(:status, Shapes::ShapeRef.new(shape: ObjectLambdaAccessPointAliasStatus, location_name: "Status"))
1117
+ ObjectLambdaAccessPointAlias.struct_class = Types::ObjectLambdaAccessPointAlias
1118
+
1109
1119
  ObjectLambdaAccessPointList.member = Shapes::ShapeRef.new(shape: ObjectLambdaAccessPoint, location_name: "ObjectLambdaAccessPoint")
1110
1120
 
1111
1121
  ObjectLambdaAllowedFeaturesList.member = Shapes::ShapeRef.new(shape: ObjectLambdaAllowedFeature, location_name: "AllowedFeature")
@@ -21,6 +21,18 @@ module Aws::S3Control
21
21
  access_point_name = parameters.access_point_name
22
22
  use_arn_region = parameters.use_arn_region
23
23
  if Aws::Endpoints::Matchers.set?(region)
24
+ if Aws::Endpoints::Matchers.string_equals?(region, "snow") && Aws::Endpoints::Matchers.set?(endpoint) && (url = Aws::Endpoints::Matchers.parse_url(endpoint))
25
+ if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
26
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
27
+ raise ArgumentError, "S3 Snow does not support Dual-stack"
28
+ end
29
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
30
+ raise ArgumentError, "S3 Snow does not support FIPS"
31
+ end
32
+ return Aws::Endpoints::Endpoint.new(url: "#{url['scheme']}://#{url['authority']}", headers: {}, properties: {"authSchemes"=>[{"disableDoubleEncoding"=>true, "name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"#{region}"}]})
33
+ end
34
+ raise ArgumentError, "A valid partition could not be determined"
35
+ end
24
36
  if Aws::Endpoints::Matchers.set?(outpost_id)
25
37
  if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
26
38
  if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-cn")
@@ -502,10 +502,15 @@ module Aws::S3Control
502
502
  # Specifies the ARN for the Object Lambda Access Point.
503
503
  # @return [String]
504
504
  #
505
+ # @!attribute [rw] alias
506
+ # The alias of the Object Lambda Access Point.
507
+ # @return [Types::ObjectLambdaAccessPointAlias]
508
+ #
505
509
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/CreateAccessPointForObjectLambdaResult AWS API Documentation
506
510
  #
507
511
  class CreateAccessPointForObjectLambdaResult < Struct.new(
508
- :object_lambda_access_point_arn)
512
+ :object_lambda_access_point_arn,
513
+ :alias)
509
514
  SENSITIVE = []
510
515
  include Aws::Structure
511
516
  end
@@ -1685,12 +1690,17 @@ module Aws::S3Control
1685
1690
  # created.
1686
1691
  # @return [Time]
1687
1692
  #
1693
+ # @!attribute [rw] alias
1694
+ # The alias of the Object Lambda Access Point.
1695
+ # @return [Types::ObjectLambdaAccessPointAlias]
1696
+ #
1688
1697
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetAccessPointForObjectLambdaResult AWS API Documentation
1689
1698
  #
1690
1699
  class GetAccessPointForObjectLambdaResult < Struct.new(
1691
1700
  :name,
1692
1701
  :public_access_block_configuration,
1693
- :creation_date)
1702
+ :creation_date,
1703
+ :alias)
1694
1704
  SENSITIVE = []
1695
1705
  include Aws::Structure
1696
1706
  end
@@ -3162,8 +3172,8 @@ module Aws::S3Control
3162
3172
  # Specifies the days since the initiation of an incomplete multipart
3163
3173
  # upload that Amazon S3 waits before permanently removing all parts of
3164
3174
  # the upload. For more information, see [ Aborting Incomplete
3165
- # Multipart Uploads Using a Bucket Lifecycle Policy][1] in the *Amazon
3166
- # S3 User Guide*.
3175
+ # Multipart Uploads Using a Bucket Lifecycle Configuration][1] in the
3176
+ # *Amazon S3 User Guide*.
3167
3177
  #
3168
3178
  #
3169
3179
  #
@@ -3898,11 +3908,45 @@ module Aws::S3Control
3898
3908
  # Specifies the ARN for the Object Lambda Access Point.
3899
3909
  # @return [String]
3900
3910
  #
3911
+ # @!attribute [rw] alias
3912
+ # The alias of the Object Lambda Access Point.
3913
+ # @return [Types::ObjectLambdaAccessPointAlias]
3914
+ #
3901
3915
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/ObjectLambdaAccessPoint AWS API Documentation
3902
3916
  #
3903
3917
  class ObjectLambdaAccessPoint < Struct.new(
3904
3918
  :name,
3905
- :object_lambda_access_point_arn)
3919
+ :object_lambda_access_point_arn,
3920
+ :alias)
3921
+ SENSITIVE = []
3922
+ include Aws::Structure
3923
+ end
3924
+
3925
+ # The alias of an Object Lambda Access Point. For more information, see
3926
+ # [How to use a bucket-style alias for your S3 bucket Object Lambda
3927
+ # Access Point][1].
3928
+ #
3929
+ #
3930
+ #
3931
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/olap-use.html#ol-access-points-alias
3932
+ #
3933
+ # @!attribute [rw] value
3934
+ # The alias value of the Object Lambda Access Point.
3935
+ # @return [String]
3936
+ #
3937
+ # @!attribute [rw] status
3938
+ # The status of the Object Lambda Access Point alias. If the status is
3939
+ # `PROVISIONING`, the Object Lambda Access Point is provisioning the
3940
+ # alias and the alias is not ready for use yet. If the status is
3941
+ # `READY`, the Object Lambda Access Point alias is successfully
3942
+ # provisioned and ready for use.
3943
+ # @return [String]
3944
+ #
3945
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/ObjectLambdaAccessPointAlias AWS API Documentation
3946
+ #
3947
+ class ObjectLambdaAccessPointAlias < Struct.new(
3948
+ :value,
3949
+ :status)
3906
3950
  SENSITIVE = []
3907
3951
  include Aws::Structure
3908
3952
  end
@@ -4727,7 +4771,7 @@ module Aws::S3Control
4727
4771
  # the highest priority. The higher the number, the higher the
4728
4772
  # priority.
4729
4773
  #
4730
- # For more information, see [Creating replication rules between
4774
+ # For more information, see [Creating replication rules on
4731
4775
  # Outposts][1] in the *Amazon S3 User Guide*.
4732
4776
  #
4733
4777
  #
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-s3control/customizations'
52
52
  # @!group service
53
53
  module Aws::S3Control
54
54
 
55
- GEM_VERSION = '1.61.0'
55
+ GEM_VERSION = '1.63.0'
56
56
 
57
57
  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.61.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: 2023-03-13 00:00:00.000000000 Z
11
+ date: 2023-04-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sigv4