aws-sdk-s3control 1.33.0 → 1.37.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -20,6 +20,7 @@ module Aws::S3Control
20
20
  AccountId = Shapes::StringShape.new(name: 'AccountId')
21
21
  AccountLevel = Shapes::StructureShape.new(name: 'AccountLevel')
22
22
  ActivityMetrics = Shapes::StructureShape.new(name: 'ActivityMetrics')
23
+ Alias = Shapes::StringShape.new(name: 'Alias')
23
24
  AwsLambdaTransformation = Shapes::StructureShape.new(name: 'AwsLambdaTransformation')
24
25
  AwsLambdaTransformationPayload = Shapes::StringShape.new(name: 'AwsLambdaTransformationPayload')
25
26
  AwsOrgArn = Shapes::StringShape.new(name: 'AwsOrgArn')
@@ -65,6 +66,7 @@ module Aws::S3Control
65
66
  DeleteStorageLensConfigurationTaggingResult = Shapes::StructureShape.new(name: 'DeleteStorageLensConfigurationTaggingResult')
66
67
  DescribeJobRequest = Shapes::StructureShape.new(name: 'DescribeJobRequest')
67
68
  DescribeJobResult = Shapes::StructureShape.new(name: 'DescribeJobResult')
69
+ Endpoints = Shapes::MapShape.new(name: 'Endpoints')
68
70
  ExceptionMessage = Shapes::StringShape.new(name: 'ExceptionMessage')
69
71
  Exclude = Shapes::StructureShape.new(name: 'Exclude')
70
72
  ExpirationStatus = Shapes::StringShape.new(name: 'ExpirationStatus')
@@ -186,7 +188,7 @@ module Aws::S3Control
186
188
  ObjectLambdaAllowedFeature = Shapes::StringShape.new(name: 'ObjectLambdaAllowedFeature')
187
189
  ObjectLambdaAllowedFeaturesList = Shapes::ListShape.new(name: 'ObjectLambdaAllowedFeaturesList')
188
190
  ObjectLambdaConfiguration = Shapes::StructureShape.new(name: 'ObjectLambdaConfiguration')
189
- ObjectLambdaContentTransformation = Shapes::StructureShape.new(name: 'ObjectLambdaContentTransformation')
191
+ ObjectLambdaContentTransformation = Shapes::UnionShape.new(name: 'ObjectLambdaContentTransformation')
190
192
  ObjectLambdaPolicy = Shapes::StringShape.new(name: 'ObjectLambdaPolicy')
191
193
  ObjectLambdaSupportingAccessPointArn = Shapes::StringShape.new(name: 'ObjectLambdaSupportingAccessPointArn')
192
194
  ObjectLambdaTransformationConfiguration = Shapes::StructureShape.new(name: 'ObjectLambdaTransformationConfiguration')
@@ -300,6 +302,7 @@ module Aws::S3Control
300
302
  AccessPoint.add_member(:vpc_configuration, Shapes::ShapeRef.new(shape: VpcConfiguration, location_name: "VpcConfiguration"))
301
303
  AccessPoint.add_member(:bucket, Shapes::ShapeRef.new(shape: BucketName, required: true, location_name: "Bucket"))
302
304
  AccessPoint.add_member(:access_point_arn, Shapes::ShapeRef.new(shape: S3AccessPointArn, location_name: "AccessPointArn"))
305
+ AccessPoint.add_member(:alias, Shapes::ShapeRef.new(shape: Alias, location_name: "Alias"))
303
306
  AccessPoint.struct_class = Types::AccessPoint
304
307
 
305
308
  AccessPointList.member = Shapes::ShapeRef.new(shape: AccessPoint, location_name: "AccessPoint")
@@ -344,6 +347,7 @@ module Aws::S3Control
344
347
  CreateAccessPointRequest.struct_class = Types::CreateAccessPointRequest
345
348
 
346
349
  CreateAccessPointResult.add_member(:access_point_arn, Shapes::ShapeRef.new(shape: S3AccessPointArn, location_name: "AccessPointArn"))
350
+ CreateAccessPointResult.add_member(:alias, Shapes::ShapeRef.new(shape: Alias, location_name: "Alias"))
347
351
  CreateAccessPointResult.struct_class = Types::CreateAccessPointResult
348
352
 
349
353
  CreateBucketConfiguration.add_member(:location_constraint, Shapes::ShapeRef.new(shape: BucketLocationConstraint, location_name: "LocationConstraint"))
@@ -440,6 +444,9 @@ module Aws::S3Control
440
444
  DescribeJobResult.add_member(:job, Shapes::ShapeRef.new(shape: JobDescriptor, location_name: "Job"))
441
445
  DescribeJobResult.struct_class = Types::DescribeJobResult
442
446
 
447
+ Endpoints.key = Shapes::ShapeRef.new(shape: NonEmptyMaxLength64String)
448
+ Endpoints.value = Shapes::ShapeRef.new(shape: NonEmptyMaxLength1024String)
449
+
443
450
  Exclude.add_member(:buckets, Shapes::ShapeRef.new(shape: Buckets, location_name: "Buckets"))
444
451
  Exclude.add_member(:regions, Shapes::ShapeRef.new(shape: Regions, location_name: "Regions"))
445
452
  Exclude.struct_class = Types::Exclude
@@ -498,6 +505,9 @@ module Aws::S3Control
498
505
  GetAccessPointResult.add_member(:vpc_configuration, Shapes::ShapeRef.new(shape: VpcConfiguration, location_name: "VpcConfiguration"))
499
506
  GetAccessPointResult.add_member(:public_access_block_configuration, Shapes::ShapeRef.new(shape: PublicAccessBlockConfiguration, location_name: "PublicAccessBlockConfiguration"))
500
507
  GetAccessPointResult.add_member(:creation_date, Shapes::ShapeRef.new(shape: CreationDate, location_name: "CreationDate"))
508
+ GetAccessPointResult.add_member(:alias, Shapes::ShapeRef.new(shape: Alias, location_name: "Alias"))
509
+ GetAccessPointResult.add_member(:access_point_arn, Shapes::ShapeRef.new(shape: S3AccessPointArn, location_name: "AccessPointArn"))
510
+ GetAccessPointResult.add_member(:endpoints, Shapes::ShapeRef.new(shape: Endpoints, location_name: "Endpoints"))
501
511
  GetAccessPointResult.struct_class = Types::GetAccessPointResult
502
512
 
503
513
  GetBucketLifecycleConfigurationRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location: "header", location_name: "x-amz-account-id", metadata: {"hostLabel"=>true, "hostLabelName"=>"AccountId"}))
@@ -771,6 +781,9 @@ module Aws::S3Control
771
781
  ObjectLambdaConfiguration.struct_class = Types::ObjectLambdaConfiguration
772
782
 
773
783
  ObjectLambdaContentTransformation.add_member(:aws_lambda, Shapes::ShapeRef.new(shape: AwsLambdaTransformation, location_name: "AwsLambda"))
784
+ ObjectLambdaContentTransformation.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
785
+ ObjectLambdaContentTransformation.add_member_subclass(:aws_lambda, Types::ObjectLambdaContentTransformation::AwsLambda)
786
+ ObjectLambdaContentTransformation.add_member_subclass(:unknown, Types::ObjectLambdaContentTransformation::Unknown)
774
787
  ObjectLambdaContentTransformation.struct_class = Types::ObjectLambdaContentTransformation
775
788
 
776
789
  ObjectLambdaTransformationConfiguration.add_member(:actions, Shapes::ShapeRef.new(shape: ObjectLambdaTransformationConfigurationActionsList, required: true, location_name: "Actions"))
@@ -901,6 +914,7 @@ module Aws::S3Control
901
914
  S3CopyObjectOperation.add_member(:object_lock_legal_hold_status, Shapes::ShapeRef.new(shape: S3ObjectLockLegalHoldStatus, location_name: "ObjectLockLegalHoldStatus"))
902
915
  S3CopyObjectOperation.add_member(:object_lock_mode, Shapes::ShapeRef.new(shape: S3ObjectLockMode, location_name: "ObjectLockMode"))
903
916
  S3CopyObjectOperation.add_member(:object_lock_retain_until_date, Shapes::ShapeRef.new(shape: TimeStamp, location_name: "ObjectLockRetainUntilDate"))
917
+ S3CopyObjectOperation.add_member(:bucket_key_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "BucketKeyEnabled"))
904
918
  S3CopyObjectOperation.struct_class = Types::S3CopyObjectOperation
905
919
 
906
920
  S3DeleteObjectTaggingOperation.struct_class = Types::S3DeleteObjectTaggingOperation
@@ -52,7 +52,7 @@ module Aws::S3Control
52
52
  # if one exists.
53
53
  #
54
54
  # <note markdown="1"> This element is empty if this access point is an Amazon S3 on
55
- # Outposts access point that is used by other AWS services.
55
+ # Outposts access point that is used by other Amazon Web Services.
56
56
  #
57
57
  # </note>
58
58
  # @return [Types::VpcConfiguration]
@@ -65,6 +65,10 @@ module Aws::S3Control
65
65
  # The ARN for the access point.
66
66
  # @return [String]
67
67
  #
68
+ # @!attribute [rw] alias
69
+ # The name or alias of the access point.
70
+ # @return [String]
71
+ #
68
72
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/AccessPoint AWS API Documentation
69
73
  #
70
74
  class AccessPoint < Struct.new(
@@ -72,7 +76,8 @@ module Aws::S3Control
72
76
  :network_origin,
73
77
  :vpc_configuration,
74
78
  :bucket,
75
- :access_point_arn)
79
+ :access_point_arn,
80
+ :alias)
76
81
  SENSITIVE = []
77
82
  include Aws::Structure
78
83
  end
@@ -142,7 +147,7 @@ module Aws::S3Control
142
147
  include Aws::Structure
143
148
  end
144
149
 
145
- # AWS Lambda function used to transform objects through an Object Lambda
150
+ # Lambda function used to transform objects through an Object Lambda
146
151
  # Access Point.
147
152
  #
148
153
  # @note When making an API call, you may pass AwsLambdaTransformation
@@ -154,7 +159,7 @@ module Aws::S3Control
154
159
  # }
155
160
  #
156
161
  # @!attribute [rw] function_arn
157
- # The Amazon Resource Name (ARN) of the AWS Lambda function.
162
+ # The Amazon Resource Name (ARN) of the Lambda function.
158
163
  # @return [String]
159
164
  #
160
165
  # @!attribute [rw] function_payload
@@ -183,7 +188,7 @@ module Aws::S3Control
183
188
  end
184
189
 
185
190
  # The requested Outposts bucket name is not available. The bucket
186
- # namespace is shared by all users of the AWS Outposts in this Region.
191
+ # namespace is shared by all users of the Outposts in this Region.
187
192
  # Select a different name and try again.
188
193
  #
189
194
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/BucketAlreadyExists AWS API Documentation
@@ -262,7 +267,7 @@ module Aws::S3Control
262
267
  # }
263
268
  #
264
269
  # @!attribute [rw] account_id
265
- # The AWS account ID for owner of the specified Object Lambda Access
270
+ # The account ID for owner of the specified Object Lambda Access
266
271
  # Point.
267
272
  # @return [String]
268
273
  #
@@ -315,7 +320,7 @@ module Aws::S3Control
315
320
  # }
316
321
  #
317
322
  # @!attribute [rw] account_id
318
- # The AWS account ID for the owner of the bucket for which you want to
323
+ # The account ID for the owner of the bucket for which you want to
319
324
  # create an access point.
320
325
  # @return [String]
321
326
  #
@@ -330,8 +335,9 @@ module Aws::S3Control
330
335
  # For using this parameter with Amazon S3 on Outposts with the REST
331
336
  # API, you must specify the name and the x-amz-outpost-id as well.
332
337
  #
333
- # For using this parameter with S3 on Outposts with the AWS SDK and
334
- # CLI, you must specify the ARN of the bucket accessed in the format
338
+ # For using this parameter with S3 on Outposts with the Amazon Web
339
+ # Services SDK and CLI, you must specify the ARN of the bucket
340
+ # accessed in the format
335
341
  # `arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>`.
336
342
  # For example, to access the bucket `reports` through outpost
337
343
  # `my-outpost` owned by account `123456789012` in Region `us-west-2`,
@@ -375,10 +381,15 @@ module Aws::S3Control
375
381
  # </note>
376
382
  # @return [String]
377
383
  #
384
+ # @!attribute [rw] alias
385
+ # The name or alias of the access point.
386
+ # @return [String]
387
+ #
378
388
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/CreateAccessPointResult AWS API Documentation
379
389
  #
380
390
  class CreateAccessPointResult < Struct.new(
381
- :access_point_arn)
391
+ :access_point_arn,
392
+ :alias)
382
393
  SENSITIVE = []
383
394
  include Aws::Structure
384
395
  end
@@ -538,8 +549,9 @@ module Aws::S3Control
538
549
  # For using this parameter with Amazon S3 on Outposts with the REST
539
550
  # API, you must specify the name and the x-amz-outpost-id as well.
540
551
  #
541
- # For using this parameter with S3 on Outposts with the AWS SDK and
542
- # CLI, you must specify the ARN of the bucket accessed in the format
552
+ # For using this parameter with S3 on Outposts with the Amazon Web
553
+ # Services SDK and CLI, you must specify the ARN of the bucket
554
+ # accessed in the format
543
555
  # `arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>`.
544
556
  # For example, to access the bucket `reports` through outpost
545
557
  # `my-outpost` owned by account `123456789012` in Region `us-west-2`,
@@ -612,6 +624,7 @@ module Aws::S3Control
612
624
  # object_lock_legal_hold_status: "OFF", # accepts OFF, ON
613
625
  # object_lock_mode: "COMPLIANCE", # accepts COMPLIANCE, GOVERNANCE
614
626
  # object_lock_retain_until_date: Time.now,
627
+ # bucket_key_enabled: false,
615
628
  # },
616
629
  # s3_put_object_acl: {
617
630
  # access_control_policy: {
@@ -692,7 +705,7 @@ module Aws::S3Control
692
705
  # }
693
706
  #
694
707
  # @!attribute [rw] account_id
695
- # The AWS account ID that creates the job.
708
+ # The account ID that creates the job.
696
709
  # @return [String]
697
710
  #
698
711
  # @!attribute [rw] confirmation_required
@@ -740,7 +753,7 @@ module Aws::S3Control
740
753
  # @return [Integer]
741
754
  #
742
755
  # @!attribute [rw] role_arn
743
- # The Amazon Resource Name (ARN) for the AWS Identity and Access
756
+ # The Amazon Resource Name (ARN) for the Identity and Access
744
757
  # Management (IAM) role that Batch Operations will use to run this
745
758
  # job's action on every object in the manifest.
746
759
  # @return [String]
@@ -851,9 +864,9 @@ module Aws::S3Control
851
864
  # For using this parameter with Amazon S3 on Outposts with the REST
852
865
  # API, you must specify the name and the x-amz-outpost-id as well.
853
866
  #
854
- # For using this parameter with S3 on Outposts with the AWS SDK and
855
- # CLI, you must specify the ARN of the access point accessed in the
856
- # format
867
+ # For using this parameter with S3 on Outposts with the Amazon Web
868
+ # Services SDK and CLI, you must specify the ARN of the access point
869
+ # accessed in the format
857
870
  # `arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/accesspoint/<my-accesspoint-name>`.
858
871
  # For example, to access the access point `reports-ap` through outpost
859
872
  # `my-outpost` owned by account `123456789012` in Region `us-west-2`,
@@ -889,9 +902,9 @@ module Aws::S3Control
889
902
  # For using this parameter with Amazon S3 on Outposts with the REST
890
903
  # API, you must specify the name and the x-amz-outpost-id as well.
891
904
  #
892
- # For using this parameter with S3 on Outposts with the AWS SDK and
893
- # CLI, you must specify the ARN of the access point accessed in the
894
- # format
905
+ # For using this parameter with S3 on Outposts with the Amazon Web
906
+ # Services SDK and CLI, you must specify the ARN of the access point
907
+ # accessed in the format
895
908
  # `arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/accesspoint/<my-accesspoint-name>`.
896
909
  # For example, to access the access point `reports-ap` through outpost
897
910
  # `my-outpost` owned by account `123456789012` in Region `us-west-2`,
@@ -927,8 +940,9 @@ module Aws::S3Control
927
940
  # For using this parameter with Amazon S3 on Outposts with the REST
928
941
  # API, you must specify the name and the x-amz-outpost-id as well.
929
942
  #
930
- # For using this parameter with S3 on Outposts with the AWS SDK and
931
- # CLI, you must specify the ARN of the bucket accessed in the format
943
+ # For using this parameter with S3 on Outposts with the Amazon Web
944
+ # Services SDK and CLI, you must specify the ARN of the bucket
945
+ # accessed in the format
932
946
  # `arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>`.
933
947
  # For example, to access the bucket `reports` through outpost
934
948
  # `my-outpost` owned by account `123456789012` in Region `us-west-2`,
@@ -964,8 +978,9 @@ module Aws::S3Control
964
978
  # For using this parameter with Amazon S3 on Outposts with the REST
965
979
  # API, you must specify the name and the x-amz-outpost-id as well.
966
980
  #
967
- # For using this parameter with S3 on Outposts with the AWS SDK and
968
- # CLI, you must specify the ARN of the bucket accessed in the format
981
+ # For using this parameter with S3 on Outposts with the Amazon Web
982
+ # Services SDK and CLI, you must specify the ARN of the bucket
983
+ # accessed in the format
969
984
  # `arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>`.
970
985
  # For example, to access the bucket `reports` through outpost
971
986
  # `my-outpost` owned by account `123456789012` in Region `us-west-2`,
@@ -1001,8 +1016,9 @@ module Aws::S3Control
1001
1016
  # For using this parameter with Amazon S3 on Outposts with the REST
1002
1017
  # API, you must specify the name and the x-amz-outpost-id as well.
1003
1018
  #
1004
- # For using this parameter with S3 on Outposts with the AWS SDK and
1005
- # CLI, you must specify the ARN of the bucket accessed in the format
1019
+ # For using this parameter with S3 on Outposts with the Amazon Web
1020
+ # Services SDK and CLI, you must specify the ARN of the bucket
1021
+ # accessed in the format
1006
1022
  # `arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>`.
1007
1023
  # For example, to access the bucket `reports` through outpost
1008
1024
  # `my-outpost` owned by account `123456789012` in Region `us-west-2`,
@@ -1029,7 +1045,7 @@ module Aws::S3Control
1029
1045
  # }
1030
1046
  #
1031
1047
  # @!attribute [rw] account_id
1032
- # The AWS account ID of the Outposts bucket tag set to be removed.
1048
+ # The account ID of the Outposts bucket tag set to be removed.
1033
1049
  # @return [String]
1034
1050
  #
1035
1051
  # @!attribute [rw] bucket
@@ -1038,8 +1054,9 @@ module Aws::S3Control
1038
1054
  # For using this parameter with Amazon S3 on Outposts with the REST
1039
1055
  # API, you must specify the name and the x-amz-outpost-id as well.
1040
1056
  #
1041
- # For using this parameter with S3 on Outposts with the AWS SDK and
1042
- # CLI, you must specify the ARN of the bucket accessed in the format
1057
+ # For using this parameter with S3 on Outposts with the Amazon Web
1058
+ # Services SDK and CLI, you must specify the ARN of the bucket
1059
+ # accessed in the format
1043
1060
  # `arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>`.
1044
1061
  # For example, to access the bucket `reports` through outpost
1045
1062
  # `my-outpost` owned by account `123456789012` in Region `us-west-2`,
@@ -1066,7 +1083,7 @@ module Aws::S3Control
1066
1083
  # }
1067
1084
  #
1068
1085
  # @!attribute [rw] account_id
1069
- # The AWS account ID associated with the S3 Batch Operations job.
1086
+ # The account ID associated with the S3 Batch Operations job.
1070
1087
  # @return [String]
1071
1088
  #
1072
1089
  # @!attribute [rw] job_id
@@ -1095,7 +1112,7 @@ module Aws::S3Control
1095
1112
  # }
1096
1113
  #
1097
1114
  # @!attribute [rw] account_id
1098
- # The account ID for the AWS account whose `PublicAccessBlock`
1115
+ # The account ID for the account whose `PublicAccessBlock`
1099
1116
  # configuration you want to remove.
1100
1117
  # @return [String]
1101
1118
  #
@@ -1170,7 +1187,7 @@ module Aws::S3Control
1170
1187
  # }
1171
1188
  #
1172
1189
  # @!attribute [rw] account_id
1173
- # The AWS account ID associated with the S3 Batch Operations job.
1190
+ # The account ID associated with the S3 Batch Operations job.
1174
1191
  # @return [String]
1175
1192
  #
1176
1193
  # @!attribute [rw] job_id
@@ -1371,9 +1388,9 @@ module Aws::S3Control
1371
1388
  # For using this parameter with Amazon S3 on Outposts with the REST
1372
1389
  # API, you must specify the name and the x-amz-outpost-id as well.
1373
1390
  #
1374
- # For using this parameter with S3 on Outposts with the AWS SDK and
1375
- # CLI, you must specify the ARN of the access point accessed in the
1376
- # format
1391
+ # For using this parameter with S3 on Outposts with the Amazon Web
1392
+ # Services SDK and CLI, you must specify the ARN of the access point
1393
+ # accessed in the format
1377
1394
  # `arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/accesspoint/<my-accesspoint-name>`.
1378
1395
  # For example, to access the access point `reports-ap` through outpost
1379
1396
  # `my-outpost` owned by account `123456789012` in Region `us-west-2`,
@@ -1505,9 +1522,9 @@ module Aws::S3Control
1505
1522
  # For using this parameter with Amazon S3 on Outposts with the REST
1506
1523
  # API, you must specify the name and the x-amz-outpost-id as well.
1507
1524
  #
1508
- # For using this parameter with S3 on Outposts with the AWS SDK and
1509
- # CLI, you must specify the ARN of the access point accessed in the
1510
- # format
1525
+ # For using this parameter with S3 on Outposts with the Amazon Web
1526
+ # Services SDK and CLI, you must specify the ARN of the access point
1527
+ # accessed in the format
1511
1528
  # `arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/accesspoint/<my-accesspoint-name>`.
1512
1529
  # For example, to access the access point `reports-ap` through outpost
1513
1530
  # `my-outpost` owned by account `123456789012` in Region `us-west-2`,
@@ -1549,7 +1566,7 @@ module Aws::S3Control
1549
1566
  # specified access point.
1550
1567
  #
1551
1568
  # <note markdown="1"> This element is empty if this access point is an Amazon S3 on
1552
- # Outposts access point that is used by other AWS services.
1569
+ # Outposts access point that is used by other Amazon Web Services.
1553
1570
  #
1554
1571
  # </note>
1555
1572
  # @return [Types::VpcConfiguration]
@@ -1572,6 +1589,18 @@ module Aws::S3Control
1572
1589
  # The date and time when the specified access point was created.
1573
1590
  # @return [Time]
1574
1591
  #
1592
+ # @!attribute [rw] alias
1593
+ # The name or alias of the access point.
1594
+ # @return [String]
1595
+ #
1596
+ # @!attribute [rw] access_point_arn
1597
+ # The ARN of the access point.
1598
+ # @return [String]
1599
+ #
1600
+ # @!attribute [rw] endpoints
1601
+ # The VPC endpoint for the access point.
1602
+ # @return [Hash<String,String>]
1603
+ #
1575
1604
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetAccessPointResult AWS API Documentation
1576
1605
  #
1577
1606
  class GetAccessPointResult < Struct.new(
@@ -1580,7 +1609,10 @@ module Aws::S3Control
1580
1609
  :network_origin,
1581
1610
  :vpc_configuration,
1582
1611
  :public_access_block_configuration,
1583
- :creation_date)
1612
+ :creation_date,
1613
+ :alias,
1614
+ :access_point_arn,
1615
+ :endpoints)
1584
1616
  SENSITIVE = []
1585
1617
  include Aws::Structure
1586
1618
  end
@@ -1594,7 +1626,7 @@ module Aws::S3Control
1594
1626
  # }
1595
1627
  #
1596
1628
  # @!attribute [rw] account_id
1597
- # The AWS account ID of the Outposts bucket.
1629
+ # The account ID of the Outposts bucket.
1598
1630
  # @return [String]
1599
1631
  #
1600
1632
  # @!attribute [rw] bucket
@@ -1603,8 +1635,9 @@ module Aws::S3Control
1603
1635
  # For using this parameter with Amazon S3 on Outposts with the REST
1604
1636
  # API, you must specify the name and the x-amz-outpost-id as well.
1605
1637
  #
1606
- # For using this parameter with S3 on Outposts with the AWS SDK and
1607
- # CLI, you must specify the ARN of the bucket accessed in the format
1638
+ # For using this parameter with S3 on Outposts with the Amazon Web
1639
+ # Services SDK and CLI, you must specify the ARN of the bucket
1640
+ # accessed in the format
1608
1641
  # `arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>`.
1609
1642
  # For example, to access the bucket `reports` through outpost
1610
1643
  # `my-outpost` owned by account `123456789012` in Region `us-west-2`,
@@ -1643,7 +1676,7 @@ module Aws::S3Control
1643
1676
  # }
1644
1677
  #
1645
1678
  # @!attribute [rw] account_id
1646
- # The AWS account ID of the Outposts bucket.
1679
+ # The account ID of the Outposts bucket.
1647
1680
  # @return [String]
1648
1681
  #
1649
1682
  # @!attribute [rw] bucket
@@ -1652,8 +1685,9 @@ module Aws::S3Control
1652
1685
  # For using this parameter with Amazon S3 on Outposts with the REST
1653
1686
  # API, you must specify the name and the x-amz-outpost-id as well.
1654
1687
  #
1655
- # For using this parameter with S3 on Outposts with the AWS SDK and
1656
- # CLI, you must specify the ARN of the bucket accessed in the format
1688
+ # For using this parameter with S3 on Outposts with the Amazon Web
1689
+ # Services SDK and CLI, you must specify the ARN of the bucket
1690
+ # accessed in the format
1657
1691
  # `arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>`.
1658
1692
  # For example, to access the bucket `reports` through outpost
1659
1693
  # `my-outpost` owned by account `123456789012` in Region `us-west-2`,
@@ -1692,7 +1726,7 @@ module Aws::S3Control
1692
1726
  # }
1693
1727
  #
1694
1728
  # @!attribute [rw] account_id
1695
- # The AWS account ID of the Outposts bucket.
1729
+ # The account ID of the Outposts bucket.
1696
1730
  # @return [String]
1697
1731
  #
1698
1732
  # @!attribute [rw] bucket
@@ -1701,8 +1735,9 @@ module Aws::S3Control
1701
1735
  # For using this parameter with Amazon S3 on Outposts with the REST
1702
1736
  # API, you must specify the name and the x-amz-outpost-id as well.
1703
1737
  #
1704
- # For using this parameter with S3 on Outposts with the AWS SDK and
1705
- # CLI, you must specify the ARN of the bucket accessed in the format
1738
+ # For using this parameter with S3 on Outposts with the Amazon Web
1739
+ # Services SDK and CLI, you must specify the ARN of the bucket
1740
+ # accessed in the format
1706
1741
  # `arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>`.
1707
1742
  # For example, to access the bucket `reports` through outpost
1708
1743
  # `my-outpost` owned by account `123456789012` in Region `us-west-2`,
@@ -1750,7 +1785,7 @@ module Aws::S3Control
1750
1785
  # }
1751
1786
  #
1752
1787
  # @!attribute [rw] account_id
1753
- # The AWS account ID of the Outposts bucket.
1788
+ # The account ID of the Outposts bucket.
1754
1789
  # @return [String]
1755
1790
  #
1756
1791
  # @!attribute [rw] bucket
@@ -1759,8 +1794,9 @@ module Aws::S3Control
1759
1794
  # For using this parameter with Amazon S3 on Outposts with the REST
1760
1795
  # API, you must specify the name and the x-amz-outpost-id as well.
1761
1796
  #
1762
- # For using this parameter with S3 on Outposts with the AWS SDK and
1763
- # CLI, you must specify the ARN of the bucket accessed in the format
1797
+ # For using this parameter with S3 on Outposts with the Amazon Web
1798
+ # Services SDK and CLI, you must specify the ARN of the bucket
1799
+ # accessed in the format
1764
1800
  # `arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>`.
1765
1801
  # For example, to access the bucket `reports` through outpost
1766
1802
  # `my-outpost` owned by account `123456789012` in Region `us-west-2`,
@@ -1799,7 +1835,7 @@ module Aws::S3Control
1799
1835
  # }
1800
1836
  #
1801
1837
  # @!attribute [rw] account_id
1802
- # The AWS account ID associated with the S3 Batch Operations job.
1838
+ # The account ID associated with the S3 Batch Operations job.
1803
1839
  # @return [String]
1804
1840
  #
1805
1841
  # @!attribute [rw] job_id
@@ -1830,7 +1866,7 @@ module Aws::S3Control
1830
1866
 
1831
1867
  # @!attribute [rw] public_access_block_configuration
1832
1868
  # The `PublicAccessBlock` configuration currently in effect for this
1833
- # AWS account.
1869
+ # account.
1834
1870
  # @return [Types::PublicAccessBlockConfiguration]
1835
1871
  #
1836
1872
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetPublicAccessBlockOutput AWS API Documentation
@@ -1849,7 +1885,7 @@ module Aws::S3Control
1849
1885
  # }
1850
1886
  #
1851
1887
  # @!attribute [rw] account_id
1852
- # The account ID for the AWS account whose `PublicAccessBlock`
1888
+ # The account ID for the account whose `PublicAccessBlock`
1853
1889
  # configuration you want to retrieve.
1854
1890
  # @return [String]
1855
1891
  #
@@ -2077,7 +2113,7 @@ module Aws::S3Control
2077
2113
  # @return [Time]
2078
2114
  #
2079
2115
  # @!attribute [rw] role_arn
2080
- # The Amazon Resource Name (ARN) for the AWS Identity and Access
2116
+ # The Amazon Resource Name (ARN) for the Identity and Access
2081
2117
  # Management (IAM) role assigned to run the tasks for this job.
2082
2118
  # @return [String]
2083
2119
  #
@@ -2362,6 +2398,7 @@ module Aws::S3Control
2362
2398
  # object_lock_legal_hold_status: "OFF", # accepts OFF, ON
2363
2399
  # object_lock_mode: "COMPLIANCE", # accepts COMPLIANCE, GOVERNANCE
2364
2400
  # object_lock_retain_until_date: Time.now,
2401
+ # bucket_key_enabled: false,
2365
2402
  # },
2366
2403
  # s3_put_object_acl: {
2367
2404
  # access_control_policy: {
@@ -2413,7 +2450,7 @@ module Aws::S3Control
2413
2450
  # }
2414
2451
  #
2415
2452
  # @!attribute [rw] lambda_invoke
2416
- # Directs the specified job to invoke an AWS Lambda function on every
2453
+ # Directs the specified job to invoke an Lambda function on every
2417
2454
  # object in the manifest.
2418
2455
  # @return [Types::LambdaInvokeOperation]
2419
2456
  #
@@ -2575,7 +2612,7 @@ module Aws::S3Control
2575
2612
  # }
2576
2613
  #
2577
2614
  # @!attribute [rw] function_arn
2578
- # The Amazon Resource Name (ARN) for the AWS Lambda function that the
2615
+ # The Amazon Resource Name (ARN) for the Lambda function that the
2579
2616
  # specified job will invoke on every object in the manifest.
2580
2617
  # @return [String]
2581
2618
  #
@@ -2970,8 +3007,8 @@ module Aws::S3Control
2970
3007
  # }
2971
3008
  #
2972
3009
  # @!attribute [rw] account_id
2973
- # The AWS account ID for owner of the bucket whose access points you
2974
- # want to list.
3010
+ # The account ID for owner of the bucket whose access points you want
3011
+ # to list.
2975
3012
  # @return [String]
2976
3013
  #
2977
3014
  # @!attribute [rw] bucket
@@ -2981,8 +3018,9 @@ module Aws::S3Control
2981
3018
  # For using this parameter with Amazon S3 on Outposts with the REST
2982
3019
  # API, you must specify the name and the x-amz-outpost-id as well.
2983
3020
  #
2984
- # For using this parameter with S3 on Outposts with the AWS SDK and
2985
- # CLI, you must specify the ARN of the bucket accessed in the format
3021
+ # For using this parameter with S3 on Outposts with the Amazon Web
3022
+ # Services SDK and CLI, you must specify the ARN of the bucket
3023
+ # accessed in the format
2986
3024
  # `arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>`.
2987
3025
  # For example, to access the bucket `reports` through outpost
2988
3026
  # `my-outpost` owned by account `123456789012` in Region `us-west-2`,
@@ -3049,7 +3087,7 @@ module Aws::S3Control
3049
3087
  # }
3050
3088
  #
3051
3089
  # @!attribute [rw] account_id
3052
- # The AWS account ID associated with the S3 Batch Operations job.
3090
+ # The account ID associated with the S3 Batch Operations job.
3053
3091
  # @return [String]
3054
3092
  #
3055
3093
  # @!attribute [rw] job_statuses
@@ -3112,7 +3150,7 @@ module Aws::S3Control
3112
3150
  # }
3113
3151
  #
3114
3152
  # @!attribute [rw] account_id
3115
- # The AWS account ID of the Outposts bucket.
3153
+ # The account ID of the Outposts bucket.
3116
3154
  # @return [String]
3117
3155
  #
3118
3156
  # @!attribute [rw] next_token
@@ -3122,7 +3160,7 @@ module Aws::S3Control
3122
3160
  # @return [Integer]
3123
3161
  #
3124
3162
  # @!attribute [rw] outpost_id
3125
- # The ID of the AWS Outposts.
3163
+ # The ID of the Outposts.
3126
3164
  #
3127
3165
  # <note markdown="1"> This is required by Amazon S3 on Outposts buckets.
3128
3166
  #
@@ -3327,7 +3365,7 @@ module Aws::S3Control
3327
3365
  include Aws::Structure
3328
3366
  end
3329
3367
 
3330
- # An access point with an attached AWS Lambda function used to access
3368
+ # An access point with an attached Lambda function used to access
3331
3369
  # transformed data from an Amazon S3 bucket.
3332
3370
  #
3333
3371
  # @!attribute [rw] name
@@ -3402,26 +3440,25 @@ module Aws::S3Control
3402
3440
 
3403
3441
  # A container for AwsLambdaTransformation.
3404
3442
  #
3405
- # @note When making an API call, you may pass ObjectLambdaContentTransformation
3406
- # data as a hash:
3443
+ # @note ObjectLambdaContentTransformation is a union - when making an API calls you must set exactly one of the members.
3407
3444
  #
3408
- # {
3409
- # aws_lambda: {
3410
- # function_arn: "FunctionArnString", # required
3411
- # function_payload: "AwsLambdaTransformationPayload",
3412
- # },
3413
- # }
3445
+ # @note ObjectLambdaContentTransformation is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of ObjectLambdaContentTransformation corresponding to the set member.
3414
3446
  #
3415
3447
  # @!attribute [rw] aws_lambda
3416
- # A container for an AWS Lambda function.
3448
+ # A container for an Lambda function.
3417
3449
  # @return [Types::AwsLambdaTransformation]
3418
3450
  #
3419
3451
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/ObjectLambdaContentTransformation AWS API Documentation
3420
3452
  #
3421
3453
  class ObjectLambdaContentTransformation < Struct.new(
3422
- :aws_lambda)
3454
+ :aws_lambda,
3455
+ :unknown)
3423
3456
  SENSITIVE = []
3424
3457
  include Aws::Structure
3458
+ include Aws::Structure::Union
3459
+
3460
+ class AwsLambda < ObjectLambdaContentTransformation; end
3461
+ class Unknown < ObjectLambdaContentTransformation; end
3425
3462
  end
3426
3463
 
3427
3464
  # A configuration used when creating an Object Lambda Access Point
@@ -3603,8 +3640,8 @@ module Aws::S3Control
3603
3640
  # @!attribute [rw] restrict_public_buckets
3604
3641
  # Specifies whether Amazon S3 should restrict public bucket policies
3605
3642
  # for buckets in this account. Setting this element to `TRUE`
3606
- # restricts access to buckets with public policies to only AWS service
3607
- # principals and authorized users within this account.
3643
+ # restricts access to buckets with public policies to only Amazon Web
3644
+ # Service principals and authorized users within this account.
3608
3645
  #
3609
3646
  # Enabling this setting doesn't affect previously stored bucket
3610
3647
  # policies, except that public and cross-account access within any
@@ -3714,8 +3751,8 @@ module Aws::S3Control
3714
3751
  # }
3715
3752
  #
3716
3753
  # @!attribute [rw] account_id
3717
- # The AWS account ID for owner of the bucket associated with the
3718
- # specified access point.
3754
+ # The account ID for owner of the bucket associated with the specified
3755
+ # access point.
3719
3756
  # @return [String]
3720
3757
  #
3721
3758
  # @!attribute [rw] name
@@ -3725,9 +3762,9 @@ module Aws::S3Control
3725
3762
  # For using this parameter with Amazon S3 on Outposts with the REST
3726
3763
  # API, you must specify the name and the x-amz-outpost-id as well.
3727
3764
  #
3728
- # For using this parameter with S3 on Outposts with the AWS SDK and
3729
- # CLI, you must specify the ARN of the access point accessed in the
3730
- # format
3765
+ # For using this parameter with S3 on Outposts with the Amazon Web
3766
+ # Services SDK and CLI, you must specify the ARN of the access point
3767
+ # accessed in the format
3731
3768
  # `arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/accesspoint/<my-accesspoint-name>`.
3732
3769
  # For example, to access the access point `reports-ap` through outpost
3733
3770
  # `my-outpost` owned by account `123456789012` in Region `us-west-2`,
@@ -3814,7 +3851,7 @@ module Aws::S3Control
3814
3851
  # }
3815
3852
  #
3816
3853
  # @!attribute [rw] account_id
3817
- # The AWS account ID of the Outposts bucket.
3854
+ # The account ID of the Outposts bucket.
3818
3855
  # @return [String]
3819
3856
  #
3820
3857
  # @!attribute [rw] bucket
@@ -3846,7 +3883,7 @@ module Aws::S3Control
3846
3883
  # }
3847
3884
  #
3848
3885
  # @!attribute [rw] account_id
3849
- # The AWS account ID of the Outposts bucket.
3886
+ # The account ID of the Outposts bucket.
3850
3887
  # @return [String]
3851
3888
  #
3852
3889
  # @!attribute [rw] bucket
@@ -3855,8 +3892,9 @@ module Aws::S3Control
3855
3892
  # For using this parameter with Amazon S3 on Outposts with the REST
3856
3893
  # API, you must specify the name and the x-amz-outpost-id as well.
3857
3894
  #
3858
- # For using this parameter with S3 on Outposts with the AWS SDK and
3859
- # CLI, you must specify the ARN of the bucket accessed in the format
3895
+ # For using this parameter with S3 on Outposts with the Amazon Web
3896
+ # Services SDK and CLI, you must specify the ARN of the bucket
3897
+ # accessed in the format
3860
3898
  # `arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>`.
3861
3899
  # For example, to access the bucket `reports` through outpost
3862
3900
  # `my-outpost` owned by account `123456789012` in Region `us-west-2`,
@@ -3906,7 +3944,7 @@ module Aws::S3Control
3906
3944
  # }
3907
3945
  #
3908
3946
  # @!attribute [rw] account_id
3909
- # The AWS account ID of the Outposts bucket.
3947
+ # The account ID of the Outposts bucket.
3910
3948
  # @return [String]
3911
3949
  #
3912
3950
  # @!attribute [rw] bucket
@@ -3915,8 +3953,9 @@ module Aws::S3Control
3915
3953
  # For using this parameter with Amazon S3 on Outposts with the REST
3916
3954
  # API, you must specify the name and the x-amz-outpost-id as well.
3917
3955
  #
3918
- # For using this parameter with S3 on Outposts with the AWS SDK and
3919
- # CLI, you must specify the ARN of the bucket accessed in the format
3956
+ # For using this parameter with S3 on Outposts with the Amazon Web
3957
+ # Services SDK and CLI, you must specify the ARN of the bucket
3958
+ # accessed in the format
3920
3959
  # `arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>`.
3921
3960
  # For example, to access the bucket `reports` through outpost
3922
3961
  # `my-outpost` owned by account `123456789012` in Region `us-west-2`,
@@ -3953,7 +3992,7 @@ module Aws::S3Control
3953
3992
  # }
3954
3993
  #
3955
3994
  # @!attribute [rw] account_id
3956
- # The AWS account ID associated with the S3 Batch Operations job.
3995
+ # The account ID associated with the S3 Batch Operations job.
3957
3996
  # @return [String]
3958
3997
  #
3959
3998
  # @!attribute [rw] job_id
@@ -3994,11 +4033,11 @@ module Aws::S3Control
3994
4033
  #
3995
4034
  # @!attribute [rw] public_access_block_configuration
3996
4035
  # The `PublicAccessBlock` configuration that you want to apply to the
3997
- # specified AWS account.
4036
+ # specified account.
3998
4037
  # @return [Types::PublicAccessBlockConfiguration]
3999
4038
  #
4000
4039
  # @!attribute [rw] account_id
4001
- # The account ID for the AWS account whose `PublicAccessBlock`
4040
+ # The account ID for the account whose `PublicAccessBlock`
4002
4041
  # configuration you want to set.
4003
4042
  # @return [String]
4004
4043
  #
@@ -4169,7 +4208,7 @@ module Aws::S3Control
4169
4208
  # @return [Time]
4170
4209
  #
4171
4210
  # @!attribute [rw] outpost_id
4172
- # The AWS Outposts ID of the regional bucket.
4211
+ # The Outposts ID of the regional bucket.
4173
4212
  # @return [String]
4174
4213
  #
4175
4214
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/RegionalBucket AWS API Documentation
@@ -4377,6 +4416,7 @@ module Aws::S3Control
4377
4416
  # object_lock_legal_hold_status: "OFF", # accepts OFF, ON
4378
4417
  # object_lock_mode: "COMPLIANCE", # accepts COMPLIANCE, GOVERNANCE
4379
4418
  # object_lock_retain_until_date: Time.now,
4419
+ # bucket_key_enabled: false,
4380
4420
  # }
4381
4421
  #
4382
4422
  # @!attribute [rw] target_resource
@@ -4444,6 +4484,16 @@ module Aws::S3Control
4444
4484
  # all objects in the Batch Operations job.
4445
4485
  # @return [Time]
4446
4486
  #
4487
+ # @!attribute [rw] bucket_key_enabled
4488
+ # Specifies whether Amazon S3 should use an S3 Bucket Key for object
4489
+ # encryption with server-side encryption using Amazon Web Services KMS
4490
+ # (SSE-KMS). Setting this header to `true` causes Amazon S3 to use an
4491
+ # S3 Bucket Key for object encryption with SSE-KMS.
4492
+ #
4493
+ # Specifying this header with an *object* action doesn’t affect
4494
+ # *bucket-level* settings for S3 Bucket Key.
4495
+ # @return [Boolean]
4496
+ #
4447
4497
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/S3CopyObjectOperation AWS API Documentation
4448
4498
  #
4449
4499
  class S3CopyObjectOperation < Struct.new(
@@ -4462,7 +4512,8 @@ module Aws::S3Control
4462
4512
  :target_key_prefix,
4463
4513
  :object_lock_legal_hold_status,
4464
4514
  :object_lock_mode,
4465
- :object_lock_retain_until_date)
4515
+ :object_lock_retain_until_date,
4516
+ :bucket_key_enabled)
4466
4517
  SENSITIVE = []
4467
4518
  include Aws::Structure
4468
4519
  end
@@ -4981,7 +5032,7 @@ module Aws::S3Control
4981
5032
  include Aws::Structure
4982
5033
  end
4983
5034
 
4984
- # The AWS organization for your S3 Storage Lens.
5035
+ # The Amazon Web Services organization for your S3 Storage Lens.
4985
5036
  #
4986
5037
  # @note When making an API call, you may pass StorageLensAwsOrg
4987
5038
  # data as a hash:
@@ -4991,9 +5042,9 @@ module Aws::S3Control
4991
5042
  # }
4992
5043
  #
4993
5044
  # @!attribute [rw] arn
4994
- # A container for the Amazon Resource Name (ARN) of the AWS
4995
- # organization. This property is read-only and follows the following
4996
- # format: `
5045
+ # A container for the Amazon Resource Name (ARN) of the Amazon Web
5046
+ # Services organization. This property is read-only and follows the
5047
+ # following format: `
4997
5048
  # arn:aws:organizations:us-east-1:example-account-id:organization/o-ex2l495dck
4998
5049
  # `
4999
5050
  # @return [String]
@@ -5096,8 +5147,8 @@ module Aws::S3Control
5096
5147
  # @return [Boolean]
5097
5148
  #
5098
5149
  # @!attribute [rw] aws_org
5099
- # A container for the AWS organization for this S3 Storage Lens
5100
- # configuration.
5150
+ # A container for the Amazon Web Services organization for this S3
5151
+ # Storage Lens configuration.
5101
5152
  # @return [Types::StorageLensAwsOrg]
5102
5153
  #
5103
5154
  # @!attribute [rw] storage_lens_arn
@@ -5317,7 +5368,7 @@ module Aws::S3Control
5317
5368
  # }
5318
5369
  #
5319
5370
  # @!attribute [rw] account_id
5320
- # The AWS account ID associated with the S3 Batch Operations job.
5371
+ # The account ID associated with the S3 Batch Operations job.
5321
5372
  # @return [String]
5322
5373
  #
5323
5374
  # @!attribute [rw] job_id
@@ -5366,7 +5417,7 @@ module Aws::S3Control
5366
5417
  # }
5367
5418
  #
5368
5419
  # @!attribute [rw] account_id
5369
- # The AWS account ID associated with the S3 Batch Operations job.
5420
+ # The account ID associated with the S3 Batch Operations job.
5370
5421
  # @return [String]
5371
5422
  #
5372
5423
  # @!attribute [rw] job_id