aws-sdk-s3control 1.13.0 → 1.14.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 +4 -4
- data/lib/aws-sdk-s3control.rb +1 -1
- data/lib/aws-sdk-s3control/client.rb +344 -5
- data/lib/aws-sdk-s3control/client_api.rb +173 -0
- data/lib/aws-sdk-s3control/plugins/s3_signer.rb +2 -0
- data/lib/aws-sdk-s3control/types.rb +492 -3
- metadata +2 -2
@@ -8,6 +8,40 @@
|
|
8
8
|
module Aws::S3Control
|
9
9
|
module Types
|
10
10
|
|
11
|
+
# An access point used to access a bucket.
|
12
|
+
#
|
13
|
+
# @!attribute [rw] name
|
14
|
+
# The name of this access point.
|
15
|
+
# @return [String]
|
16
|
+
#
|
17
|
+
# @!attribute [rw] network_origin
|
18
|
+
# Indicates whether this access point allows access from the public
|
19
|
+
# Internet. If `VpcConfiguration` is specified for this access point,
|
20
|
+
# then `NetworkOrigin` is `VPC`, and the access point doesn't allow
|
21
|
+
# access from the public Internet. Otherwise, `NetworkOrigin` is
|
22
|
+
# `Internet`, and the access point allows access from the public
|
23
|
+
# Internet, subject to the access point and bucket access policies.
|
24
|
+
# @return [String]
|
25
|
+
#
|
26
|
+
# @!attribute [rw] vpc_configuration
|
27
|
+
# The Virtual Private Cloud (VPC) configuration for this access point,
|
28
|
+
# if one exists.
|
29
|
+
# @return [Types::VpcConfiguration]
|
30
|
+
#
|
31
|
+
# @!attribute [rw] bucket
|
32
|
+
# The name of the bucket associated with this access point.
|
33
|
+
# @return [String]
|
34
|
+
#
|
35
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/AccessPoint AWS API Documentation
|
36
|
+
#
|
37
|
+
class AccessPoint < Struct.new(
|
38
|
+
:name,
|
39
|
+
:network_origin,
|
40
|
+
:vpc_configuration,
|
41
|
+
:bucket)
|
42
|
+
include Aws::Structure
|
43
|
+
end
|
44
|
+
|
11
45
|
# @!attribute [rw] message
|
12
46
|
# @return [String]
|
13
47
|
#
|
@@ -18,6 +52,66 @@ module Aws::S3Control
|
|
18
52
|
include Aws::Structure
|
19
53
|
end
|
20
54
|
|
55
|
+
# @note When making an API call, you may pass CreateAccessPointRequest
|
56
|
+
# data as a hash:
|
57
|
+
#
|
58
|
+
# {
|
59
|
+
# account_id: "AccountId", # required
|
60
|
+
# name: "AccessPointName", # required
|
61
|
+
# bucket: "BucketName", # required
|
62
|
+
# vpc_configuration: {
|
63
|
+
# vpc_id: "VpcId", # required
|
64
|
+
# },
|
65
|
+
# public_access_block_configuration: {
|
66
|
+
# block_public_acls: false,
|
67
|
+
# ignore_public_acls: false,
|
68
|
+
# block_public_policy: false,
|
69
|
+
# restrict_public_buckets: false,
|
70
|
+
# },
|
71
|
+
# }
|
72
|
+
#
|
73
|
+
# @!attribute [rw] account_id
|
74
|
+
# The AWS account ID for the owner of the bucket for which you want to
|
75
|
+
# create an access point.
|
76
|
+
# @return [String]
|
77
|
+
#
|
78
|
+
# @!attribute [rw] name
|
79
|
+
# The name you want to assign to this access point.
|
80
|
+
# @return [String]
|
81
|
+
#
|
82
|
+
# @!attribute [rw] bucket
|
83
|
+
# The name of the bucket that you want to associate this access point
|
84
|
+
# with.
|
85
|
+
# @return [String]
|
86
|
+
#
|
87
|
+
# @!attribute [rw] vpc_configuration
|
88
|
+
# If you include this field, Amazon S3 restricts access to this access
|
89
|
+
# point to requests from the specified Virtual Private Cloud (VPC).
|
90
|
+
# @return [Types::VpcConfiguration]
|
91
|
+
#
|
92
|
+
# @!attribute [rw] public_access_block_configuration
|
93
|
+
# The `PublicAccessBlock` configuration that you want to apply to this
|
94
|
+
# Amazon S3 bucket. You can enable the configuration options in any
|
95
|
+
# combination. For more information about when Amazon S3 considers a
|
96
|
+
# bucket or object public, see [The Meaning of "Public"][1] in the
|
97
|
+
# Amazon Simple Storage Service Developer Guide.
|
98
|
+
#
|
99
|
+
#
|
100
|
+
#
|
101
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/access-control-block-public-access.html#access-control-block-public-access-policy-status
|
102
|
+
# @return [Types::PublicAccessBlockConfiguration]
|
103
|
+
#
|
104
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/CreateAccessPointRequest AWS API Documentation
|
105
|
+
#
|
106
|
+
class CreateAccessPointRequest < Struct.new(
|
107
|
+
:account_id,
|
108
|
+
:name,
|
109
|
+
:bucket,
|
110
|
+
:vpc_configuration,
|
111
|
+
:public_access_block_configuration)
|
112
|
+
include Aws::Structure
|
113
|
+
end
|
114
|
+
|
21
115
|
# @note When making an API call, you may pass CreateJobRequest
|
22
116
|
# data as a hash:
|
23
117
|
#
|
@@ -213,6 +307,54 @@ module Aws::S3Control
|
|
213
307
|
include Aws::Structure
|
214
308
|
end
|
215
309
|
|
310
|
+
# @note When making an API call, you may pass DeleteAccessPointPolicyRequest
|
311
|
+
# data as a hash:
|
312
|
+
#
|
313
|
+
# {
|
314
|
+
# account_id: "AccountId", # required
|
315
|
+
# name: "AccessPointName", # required
|
316
|
+
# }
|
317
|
+
#
|
318
|
+
# @!attribute [rw] account_id
|
319
|
+
# The account ID for the account that owns the specified access point.
|
320
|
+
# @return [String]
|
321
|
+
#
|
322
|
+
# @!attribute [rw] name
|
323
|
+
# The name of the access point whose policy you want to delete.
|
324
|
+
# @return [String]
|
325
|
+
#
|
326
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/DeleteAccessPointPolicyRequest AWS API Documentation
|
327
|
+
#
|
328
|
+
class DeleteAccessPointPolicyRequest < Struct.new(
|
329
|
+
:account_id,
|
330
|
+
:name)
|
331
|
+
include Aws::Structure
|
332
|
+
end
|
333
|
+
|
334
|
+
# @note When making an API call, you may pass DeleteAccessPointRequest
|
335
|
+
# data as a hash:
|
336
|
+
#
|
337
|
+
# {
|
338
|
+
# account_id: "AccountId", # required
|
339
|
+
# name: "AccessPointName", # required
|
340
|
+
# }
|
341
|
+
#
|
342
|
+
# @!attribute [rw] account_id
|
343
|
+
# The account ID for the account that owns the specified access point.
|
344
|
+
# @return [String]
|
345
|
+
#
|
346
|
+
# @!attribute [rw] name
|
347
|
+
# The name of the access point you want to delete.
|
348
|
+
# @return [String]
|
349
|
+
#
|
350
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/DeleteAccessPointRequest AWS API Documentation
|
351
|
+
#
|
352
|
+
class DeleteAccessPointRequest < Struct.new(
|
353
|
+
:account_id,
|
354
|
+
:name)
|
355
|
+
include Aws::Structure
|
356
|
+
end
|
357
|
+
|
216
358
|
# @note When making an API call, you may pass DeletePublicAccessBlockRequest
|
217
359
|
# data as a hash:
|
218
360
|
#
|
@@ -221,8 +363,8 @@ module Aws::S3Control
|
|
221
363
|
# }
|
222
364
|
#
|
223
365
|
# @!attribute [rw] account_id
|
224
|
-
# The account ID for the
|
225
|
-
# configuration you want to
|
366
|
+
# The account ID for the Amazon Web Services account whose
|
367
|
+
# `PublicAccessBlock` configuration you want to remove.
|
226
368
|
# @return [String]
|
227
369
|
#
|
228
370
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/DeletePublicAccessBlockRequest AWS API Documentation
|
@@ -267,7 +409,155 @@ module Aws::S3Control
|
|
267
409
|
include Aws::Structure
|
268
410
|
end
|
269
411
|
|
412
|
+
# @note When making an API call, you may pass GetAccessPointPolicyRequest
|
413
|
+
# data as a hash:
|
414
|
+
#
|
415
|
+
# {
|
416
|
+
# account_id: "AccountId", # required
|
417
|
+
# name: "AccessPointName", # required
|
418
|
+
# }
|
419
|
+
#
|
420
|
+
# @!attribute [rw] account_id
|
421
|
+
# The account ID for the account that owns the specified access point.
|
422
|
+
# @return [String]
|
423
|
+
#
|
424
|
+
# @!attribute [rw] name
|
425
|
+
# The name of the access point whose policy you want to retrieve.
|
426
|
+
# @return [String]
|
427
|
+
#
|
428
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetAccessPointPolicyRequest AWS API Documentation
|
429
|
+
#
|
430
|
+
class GetAccessPointPolicyRequest < Struct.new(
|
431
|
+
:account_id,
|
432
|
+
:name)
|
433
|
+
include Aws::Structure
|
434
|
+
end
|
435
|
+
|
436
|
+
# @!attribute [rw] policy
|
437
|
+
# The access point policy associated with the specified access point.
|
438
|
+
# @return [String]
|
439
|
+
#
|
440
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetAccessPointPolicyResult AWS API Documentation
|
441
|
+
#
|
442
|
+
class GetAccessPointPolicyResult < Struct.new(
|
443
|
+
:policy)
|
444
|
+
include Aws::Structure
|
445
|
+
end
|
446
|
+
|
447
|
+
# @note When making an API call, you may pass GetAccessPointPolicyStatusRequest
|
448
|
+
# data as a hash:
|
449
|
+
#
|
450
|
+
# {
|
451
|
+
# account_id: "AccountId", # required
|
452
|
+
# name: "AccessPointName", # required
|
453
|
+
# }
|
454
|
+
#
|
455
|
+
# @!attribute [rw] account_id
|
456
|
+
# The account ID for the account that owns the specified access point.
|
457
|
+
# @return [String]
|
458
|
+
#
|
459
|
+
# @!attribute [rw] name
|
460
|
+
# The name of the access point whose policy status you want to
|
461
|
+
# retrieve.
|
462
|
+
# @return [String]
|
463
|
+
#
|
464
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetAccessPointPolicyStatusRequest AWS API Documentation
|
465
|
+
#
|
466
|
+
class GetAccessPointPolicyStatusRequest < Struct.new(
|
467
|
+
:account_id,
|
468
|
+
:name)
|
469
|
+
include Aws::Structure
|
470
|
+
end
|
471
|
+
|
472
|
+
# @!attribute [rw] policy_status
|
473
|
+
# Indicates the current policy status of the specified access point.
|
474
|
+
# @return [Types::PolicyStatus]
|
475
|
+
#
|
476
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetAccessPointPolicyStatusResult AWS API Documentation
|
477
|
+
#
|
478
|
+
class GetAccessPointPolicyStatusResult < Struct.new(
|
479
|
+
:policy_status)
|
480
|
+
include Aws::Structure
|
481
|
+
end
|
482
|
+
|
483
|
+
# @note When making an API call, you may pass GetAccessPointRequest
|
484
|
+
# data as a hash:
|
485
|
+
#
|
486
|
+
# {
|
487
|
+
# account_id: "AccountId", # required
|
488
|
+
# name: "AccessPointName", # required
|
489
|
+
# }
|
490
|
+
#
|
491
|
+
# @!attribute [rw] account_id
|
492
|
+
# The account ID for the account that owns the specified access point.
|
493
|
+
# @return [String]
|
494
|
+
#
|
495
|
+
# @!attribute [rw] name
|
496
|
+
# The name of the access point whose configuration information you
|
497
|
+
# want to retrieve.
|
498
|
+
# @return [String]
|
499
|
+
#
|
500
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetAccessPointRequest AWS API Documentation
|
501
|
+
#
|
502
|
+
class GetAccessPointRequest < Struct.new(
|
503
|
+
:account_id,
|
504
|
+
:name)
|
505
|
+
include Aws::Structure
|
506
|
+
end
|
507
|
+
|
508
|
+
# @!attribute [rw] name
|
509
|
+
# The name of the specified access point.
|
510
|
+
# @return [String]
|
511
|
+
#
|
512
|
+
# @!attribute [rw] bucket
|
513
|
+
# The name of the bucket associated with the specified access point.
|
514
|
+
# @return [String]
|
515
|
+
#
|
516
|
+
# @!attribute [rw] network_origin
|
517
|
+
# Indicates whether this access point allows access from the public
|
518
|
+
# Internet. If `VpcConfiguration` is specified for this access point,
|
519
|
+
# then `NetworkOrigin` is `VPC`, and the access point doesn't allow
|
520
|
+
# access from the public Internet. Otherwise, `NetworkOrigin` is
|
521
|
+
# `Internet`, and the access point allows access from the public
|
522
|
+
# Internet, subject to the access point and bucket access policies.
|
523
|
+
# @return [String]
|
524
|
+
#
|
525
|
+
# @!attribute [rw] vpc_configuration
|
526
|
+
# Contains the Virtual Private Cloud (VPC) configuration for the
|
527
|
+
# specified access point.
|
528
|
+
# @return [Types::VpcConfiguration]
|
529
|
+
#
|
270
530
|
# @!attribute [rw] public_access_block_configuration
|
531
|
+
# The `PublicAccessBlock` configuration that you want to apply to this
|
532
|
+
# Amazon S3 bucket. You can enable the configuration options in any
|
533
|
+
# combination. For more information about when Amazon S3 considers a
|
534
|
+
# bucket or object public, see [The Meaning of "Public"][1] in the
|
535
|
+
# Amazon Simple Storage Service Developer Guide.
|
536
|
+
#
|
537
|
+
#
|
538
|
+
#
|
539
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/access-control-block-public-access.html#access-control-block-public-access-policy-status
|
540
|
+
# @return [Types::PublicAccessBlockConfiguration]
|
541
|
+
#
|
542
|
+
# @!attribute [rw] creation_date
|
543
|
+
# The date and time when the specified access point was created.
|
544
|
+
# @return [Time]
|
545
|
+
#
|
546
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetAccessPointResult AWS API Documentation
|
547
|
+
#
|
548
|
+
class GetAccessPointResult < Struct.new(
|
549
|
+
:name,
|
550
|
+
:bucket,
|
551
|
+
:network_origin,
|
552
|
+
:vpc_configuration,
|
553
|
+
:public_access_block_configuration,
|
554
|
+
:creation_date)
|
555
|
+
include Aws::Structure
|
556
|
+
end
|
557
|
+
|
558
|
+
# @!attribute [rw] public_access_block_configuration
|
559
|
+
# The `PublicAccessBlock` configuration currently in effect for this
|
560
|
+
# Amazon Web Services account.
|
271
561
|
# @return [Types::PublicAccessBlockConfiguration]
|
272
562
|
#
|
273
563
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetPublicAccessBlockOutput AWS API Documentation
|
@@ -285,6 +575,8 @@ module Aws::S3Control
|
|
285
575
|
# }
|
286
576
|
#
|
287
577
|
# @!attribute [rw] account_id
|
578
|
+
# The account ID for the Amazon Web Services account whose
|
579
|
+
# `PublicAccessBlock` configuration you want to retrieve.
|
288
580
|
# @return [String]
|
289
581
|
#
|
290
582
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetPublicAccessBlockRequest AWS API Documentation
|
@@ -784,7 +1076,8 @@ module Aws::S3Control
|
|
784
1076
|
# }
|
785
1077
|
#
|
786
1078
|
# @!attribute [rw] bucket
|
787
|
-
# The
|
1079
|
+
# The Amazon Resource Name (ARN) for the bucket where specified
|
1080
|
+
# job-completion report will be stored.
|
788
1081
|
# @return [String]
|
789
1082
|
#
|
790
1083
|
# @!attribute [rw] format
|
@@ -850,6 +1143,71 @@ module Aws::S3Control
|
|
850
1143
|
include Aws::Structure
|
851
1144
|
end
|
852
1145
|
|
1146
|
+
# @note When making an API call, you may pass ListAccessPointsRequest
|
1147
|
+
# data as a hash:
|
1148
|
+
#
|
1149
|
+
# {
|
1150
|
+
# account_id: "AccountId", # required
|
1151
|
+
# bucket: "BucketName",
|
1152
|
+
# next_token: "NonEmptyMaxLength1024String",
|
1153
|
+
# max_results: 1,
|
1154
|
+
# }
|
1155
|
+
#
|
1156
|
+
# @!attribute [rw] account_id
|
1157
|
+
# The AWS account ID for owner of the bucket whose access points you
|
1158
|
+
# want to list.
|
1159
|
+
# @return [String]
|
1160
|
+
#
|
1161
|
+
# @!attribute [rw] bucket
|
1162
|
+
# The name of the bucket whose associated access points you want to
|
1163
|
+
# list.
|
1164
|
+
# @return [String]
|
1165
|
+
#
|
1166
|
+
# @!attribute [rw] next_token
|
1167
|
+
# A continuation token. If a previous call to `ListAccessPoints`
|
1168
|
+
# returned a continuation token in the `NextToken` field, then
|
1169
|
+
# providing that value here causes Amazon S3 to retrieve the next page
|
1170
|
+
# of results.
|
1171
|
+
# @return [String]
|
1172
|
+
#
|
1173
|
+
# @!attribute [rw] max_results
|
1174
|
+
# The maximum number of access points that you want to include in the
|
1175
|
+
# list. If the specified bucket has more than this number of access
|
1176
|
+
# points, then the response will include a continuation token in the
|
1177
|
+
# `NextToken` field that you can use to retrieve the next page of
|
1178
|
+
# access points.
|
1179
|
+
# @return [Integer]
|
1180
|
+
#
|
1181
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/ListAccessPointsRequest AWS API Documentation
|
1182
|
+
#
|
1183
|
+
class ListAccessPointsRequest < Struct.new(
|
1184
|
+
:account_id,
|
1185
|
+
:bucket,
|
1186
|
+
:next_token,
|
1187
|
+
:max_results)
|
1188
|
+
include Aws::Structure
|
1189
|
+
end
|
1190
|
+
|
1191
|
+
# @!attribute [rw] access_point_list
|
1192
|
+
# Contains identification and configuration information for one or
|
1193
|
+
# more access points associated with the specified bucket.
|
1194
|
+
# @return [Array<Types::AccessPoint>]
|
1195
|
+
#
|
1196
|
+
# @!attribute [rw] next_token
|
1197
|
+
# If the specified bucket has more access points than can be returned
|
1198
|
+
# in one call to this API, then this field contains a continuation
|
1199
|
+
# token that you can provide in subsequent calls to this API to
|
1200
|
+
# retrieve additional access points.
|
1201
|
+
# @return [String]
|
1202
|
+
#
|
1203
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/ListAccessPointsResult AWS API Documentation
|
1204
|
+
#
|
1205
|
+
class ListAccessPointsResult < Struct.new(
|
1206
|
+
:access_point_list,
|
1207
|
+
:next_token)
|
1208
|
+
include Aws::Structure
|
1209
|
+
end
|
1210
|
+
|
853
1211
|
# @note When making an API call, you may pass ListJobsRequest
|
854
1212
|
# data as a hash:
|
855
1213
|
#
|
@@ -910,6 +1268,10 @@ module Aws::S3Control
|
|
910
1268
|
include Aws::Structure
|
911
1269
|
end
|
912
1270
|
|
1271
|
+
# Amazon S3 throws this exception if you make a `GetPublicAccessBlock`
|
1272
|
+
# request against an account that doesn't have a
|
1273
|
+
# `PublicAccessBlockConfiguration` set.
|
1274
|
+
#
|
913
1275
|
# @!attribute [rw] message
|
914
1276
|
# @return [String]
|
915
1277
|
#
|
@@ -930,6 +1292,35 @@ module Aws::S3Control
|
|
930
1292
|
include Aws::Structure
|
931
1293
|
end
|
932
1294
|
|
1295
|
+
# Indicates whether this access point policy is public. For more
|
1296
|
+
# information about how Amazon S3 evaluates policies to determine
|
1297
|
+
# whether they are public, see [The Meaning of "Public"][1] in the
|
1298
|
+
# *Amazon Simple Storage Service Developer Guide*.
|
1299
|
+
#
|
1300
|
+
#
|
1301
|
+
#
|
1302
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/access-control-block-public-access.html#access-control-block-public-access-policy-status
|
1303
|
+
#
|
1304
|
+
# @!attribute [rw] is_public
|
1305
|
+
# @return [Boolean]
|
1306
|
+
#
|
1307
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/PolicyStatus AWS API Documentation
|
1308
|
+
#
|
1309
|
+
class PolicyStatus < Struct.new(
|
1310
|
+
:is_public)
|
1311
|
+
include Aws::Structure
|
1312
|
+
end
|
1313
|
+
|
1314
|
+
# The `PublicAccessBlock` configuration that you want to apply to this
|
1315
|
+
# Amazon S3 bucket. You can enable the configuration options in any
|
1316
|
+
# combination. For more information about when Amazon S3 considers a
|
1317
|
+
# bucket or object public, see [The Meaning of "Public"][1] in the
|
1318
|
+
# Amazon Simple Storage Service Developer Guide.
|
1319
|
+
#
|
1320
|
+
#
|
1321
|
+
#
|
1322
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/access-control-block-public-access.html#access-control-block-public-access-policy-status
|
1323
|
+
#
|
933
1324
|
# @note When making an API call, you may pass PublicAccessBlockConfiguration
|
934
1325
|
# data as a hash:
|
935
1326
|
#
|
@@ -941,15 +1332,49 @@ module Aws::S3Control
|
|
941
1332
|
# }
|
942
1333
|
#
|
943
1334
|
# @!attribute [rw] block_public_acls
|
1335
|
+
# Specifies whether Amazon S3 should block public access control lists
|
1336
|
+
# (ACLs) for buckets in this account. Setting this element to `TRUE`
|
1337
|
+
# causes the following behavior:
|
1338
|
+
#
|
1339
|
+
# * PUT Bucket acl and PUT Object acl calls fail if the specified ACL
|
1340
|
+
# is public.
|
1341
|
+
#
|
1342
|
+
# * PUT Object calls fail if the request includes a public ACL.
|
1343
|
+
#
|
1344
|
+
# * PUT Bucket calls fail if the request includes a public ACL.
|
1345
|
+
#
|
1346
|
+
# Enabling this setting doesn't affect existing policies or ACLs.
|
944
1347
|
# @return [Boolean]
|
945
1348
|
#
|
946
1349
|
# @!attribute [rw] ignore_public_acls
|
1350
|
+
# Specifies whether Amazon S3 should ignore public ACLs for buckets in
|
1351
|
+
# this account. Setting this element to `TRUE` causes Amazon S3 to
|
1352
|
+
# ignore all public ACLs on buckets in this account and any objects
|
1353
|
+
# that they contain.
|
1354
|
+
#
|
1355
|
+
# Enabling this setting doesn't affect the persistence of any
|
1356
|
+
# existing ACLs and doesn't prevent new public ACLs from being set.
|
947
1357
|
# @return [Boolean]
|
948
1358
|
#
|
949
1359
|
# @!attribute [rw] block_public_policy
|
1360
|
+
# Specifies whether Amazon S3 should block public bucket policies for
|
1361
|
+
# buckets in this account. Setting this element to `TRUE` causes
|
1362
|
+
# Amazon S3 to reject calls to PUT Bucket policy if the specified
|
1363
|
+
# bucket policy allows public access.
|
1364
|
+
#
|
1365
|
+
# Enabling this setting doesn't affect existing bucket policies.
|
950
1366
|
# @return [Boolean]
|
951
1367
|
#
|
952
1368
|
# @!attribute [rw] restrict_public_buckets
|
1369
|
+
# Specifies whether Amazon S3 should restrict public bucket policies
|
1370
|
+
# for buckets in this account. Setting this element to `TRUE`
|
1371
|
+
# restricts access to buckets with public policies to only AWS
|
1372
|
+
# services and authorized users within this account.
|
1373
|
+
#
|
1374
|
+
# Enabling this setting doesn't affect previously stored bucket
|
1375
|
+
# policies, except that public and cross-account access within any
|
1376
|
+
# public bucket policy, including non-public delegation to specific
|
1377
|
+
# accounts, is blocked.
|
953
1378
|
# @return [Boolean]
|
954
1379
|
#
|
955
1380
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/PublicAccessBlockConfiguration AWS API Documentation
|
@@ -962,6 +1387,45 @@ module Aws::S3Control
|
|
962
1387
|
include Aws::Structure
|
963
1388
|
end
|
964
1389
|
|
1390
|
+
# @note When making an API call, you may pass PutAccessPointPolicyRequest
|
1391
|
+
# data as a hash:
|
1392
|
+
#
|
1393
|
+
# {
|
1394
|
+
# account_id: "AccountId", # required
|
1395
|
+
# name: "AccessPointName", # required
|
1396
|
+
# policy: "Policy", # required
|
1397
|
+
# }
|
1398
|
+
#
|
1399
|
+
# @!attribute [rw] account_id
|
1400
|
+
# The AWS account ID for owner of the bucket associated with the
|
1401
|
+
# specified access point.
|
1402
|
+
# @return [String]
|
1403
|
+
#
|
1404
|
+
# @!attribute [rw] name
|
1405
|
+
# The name of the access point that you want to associate with the
|
1406
|
+
# specified policy.
|
1407
|
+
# @return [String]
|
1408
|
+
#
|
1409
|
+
# @!attribute [rw] policy
|
1410
|
+
# The policy that you want to apply to the specified access point. For
|
1411
|
+
# more information about access point policies, see [Managing Data
|
1412
|
+
# Access with Amazon S3 Access Points][1] in the *Amazon Simple
|
1413
|
+
# Storage Service Developer Guide*.
|
1414
|
+
#
|
1415
|
+
#
|
1416
|
+
#
|
1417
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/access-points.html
|
1418
|
+
# @return [String]
|
1419
|
+
#
|
1420
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/PutAccessPointPolicyRequest AWS API Documentation
|
1421
|
+
#
|
1422
|
+
class PutAccessPointPolicyRequest < Struct.new(
|
1423
|
+
:account_id,
|
1424
|
+
:name,
|
1425
|
+
:policy)
|
1426
|
+
include Aws::Structure
|
1427
|
+
end
|
1428
|
+
|
965
1429
|
# @note When making an API call, you may pass PutPublicAccessBlockRequest
|
966
1430
|
# data as a hash:
|
967
1431
|
#
|
@@ -976,9 +1440,13 @@ module Aws::S3Control
|
|
976
1440
|
# }
|
977
1441
|
#
|
978
1442
|
# @!attribute [rw] public_access_block_configuration
|
1443
|
+
# The `PublicAccessBlock` configuration that you want to apply to the
|
1444
|
+
# specified Amazon Web Services account.
|
979
1445
|
# @return [Types::PublicAccessBlockConfiguration]
|
980
1446
|
#
|
981
1447
|
# @!attribute [rw] account_id
|
1448
|
+
# The account ID for the Amazon Web Services account whose
|
1449
|
+
# `PublicAccessBlock` configuration you want to set.
|
982
1450
|
# @return [String]
|
983
1451
|
#
|
984
1452
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/PutPublicAccessBlockRequest AWS API Documentation
|
@@ -1574,5 +2042,26 @@ module Aws::S3Control
|
|
1574
2042
|
include Aws::Structure
|
1575
2043
|
end
|
1576
2044
|
|
2045
|
+
# The Virtual Private Cloud (VPC) configuration for an access point.
|
2046
|
+
#
|
2047
|
+
# @note When making an API call, you may pass VpcConfiguration
|
2048
|
+
# data as a hash:
|
2049
|
+
#
|
2050
|
+
# {
|
2051
|
+
# vpc_id: "VpcId", # required
|
2052
|
+
# }
|
2053
|
+
#
|
2054
|
+
# @!attribute [rw] vpc_id
|
2055
|
+
# If this field is specified, this access point will only allow
|
2056
|
+
# connections from the specified VPC ID.
|
2057
|
+
# @return [String]
|
2058
|
+
#
|
2059
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/VpcConfiguration AWS API Documentation
|
2060
|
+
#
|
2061
|
+
class VpcConfiguration < Struct.new(
|
2062
|
+
:vpc_id)
|
2063
|
+
include Aws::Structure
|
2064
|
+
end
|
2065
|
+
|
1577
2066
|
end
|
1578
2067
|
end
|