aws-sdk-s3control 1.42.0 → 1.43.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-s3control/client.rb +6 -2
- data/lib/aws-sdk-s3control/client_api.rb +6 -1
- data/lib/aws-sdk-s3control/types.rb +51 -4
- data/lib/aws-sdk-s3control.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 87652068908ee179c73f75cd1b51c54d47af2d6bd939b1d2df45c9d1b0b29b94
|
4
|
+
data.tar.gz: 272033beb0df35f8f5eff22e13b9fd779b0503e515ffb6c53aae06de1c935d8f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d6f1c5e7115a4ad1d2831aae3685e1540cff6f6c9269fe5780f8ad927cc1faacffea320a1a2c7371a6b08e87bb1365104fd5102831547ba36e3a39cc19b61d8e
|
7
|
+
data.tar.gz: d1ee19d88714be6323c6a5c53cf854223e200ee04dc4537493081e86eb7f6f422e61ef9bcf7bf3cbe6cde7285207e175353931c5a9b663739e2d73e2369bf825
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.43.0
|
@@ -3100,6 +3100,7 @@ module Aws::S3Control
|
|
3100
3100
|
# resp.storage_lens_configuration.data_export.s3_bucket_destination.arn #=> String
|
3101
3101
|
# resp.storage_lens_configuration.data_export.s3_bucket_destination.prefix #=> String
|
3102
3102
|
# resp.storage_lens_configuration.data_export.s3_bucket_destination.encryption.ssekms.key_id #=> String
|
3103
|
+
# resp.storage_lens_configuration.data_export.cloud_watch_metrics.is_enabled #=> Boolean
|
3103
3104
|
# resp.storage_lens_configuration.is_enabled #=> Boolean
|
3104
3105
|
# resp.storage_lens_configuration.aws_org.arn #=> String
|
3105
3106
|
# resp.storage_lens_configuration.storage_lens_arn #=> String
|
@@ -4422,7 +4423,7 @@ module Aws::S3Control
|
|
4422
4423
|
# regions: ["S3AWSRegion"],
|
4423
4424
|
# },
|
4424
4425
|
# data_export: {
|
4425
|
-
# s3_bucket_destination: {
|
4426
|
+
# s3_bucket_destination: {
|
4426
4427
|
# format: "CSV", # required, accepts CSV, Parquet
|
4427
4428
|
# output_schema_version: "V_1", # required, accepts V_1
|
4428
4429
|
# account_id: "AccountId", # required
|
@@ -4436,6 +4437,9 @@ module Aws::S3Control
|
|
4436
4437
|
# },
|
4437
4438
|
# },
|
4438
4439
|
# },
|
4440
|
+
# cloud_watch_metrics: {
|
4441
|
+
# is_enabled: false, # required
|
4442
|
+
# },
|
4439
4443
|
# },
|
4440
4444
|
# is_enabled: false, # required
|
4441
4445
|
# aws_org: {
|
@@ -4657,7 +4661,7 @@ module Aws::S3Control
|
|
4657
4661
|
params: params,
|
4658
4662
|
config: config)
|
4659
4663
|
context[:gem_name] = 'aws-sdk-s3control'
|
4660
|
-
context[:gem_version] = '1.
|
4664
|
+
context[:gem_version] = '1.43.0'
|
4661
4665
|
Seahorse::Client::Request.new(handlers, context)
|
4662
4666
|
end
|
4663
4667
|
|
@@ -41,6 +41,7 @@ module Aws::S3Control
|
|
41
41
|
BucketLocationConstraint = Shapes::StringShape.new(name: 'BucketLocationConstraint')
|
42
42
|
BucketName = Shapes::StringShape.new(name: 'BucketName')
|
43
43
|
Buckets = Shapes::ListShape.new(name: 'Buckets')
|
44
|
+
CloudWatchMetrics = Shapes::StructureShape.new(name: 'CloudWatchMetrics')
|
44
45
|
ConfigId = Shapes::StringShape.new(name: 'ConfigId')
|
45
46
|
ConfirmRemoveSelfBucketAccess = Shapes::BooleanShape.new(name: 'ConfirmRemoveSelfBucketAccess')
|
46
47
|
ConfirmationRequired = Shapes::BooleanShape.new(name: 'ConfirmationRequired')
|
@@ -399,6 +400,9 @@ module Aws::S3Control
|
|
399
400
|
|
400
401
|
Buckets.member = Shapes::ShapeRef.new(shape: S3BucketArnString, location_name: "Arn")
|
401
402
|
|
403
|
+
CloudWatchMetrics.add_member(:is_enabled, Shapes::ShapeRef.new(shape: IsEnabled, required: true, location_name: "IsEnabled"))
|
404
|
+
CloudWatchMetrics.struct_class = Types::CloudWatchMetrics
|
405
|
+
|
402
406
|
CreateAccessPointForObjectLambdaRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location: "header", location_name: "x-amz-account-id", metadata: {"hostLabel"=>true, "hostLabelName"=>"AccountId"}))
|
403
407
|
CreateAccessPointForObjectLambdaRequest.add_member(:name, Shapes::ShapeRef.new(shape: ObjectLambdaAccessPointName, required: true, location: "uri", location_name: "name"))
|
404
408
|
CreateAccessPointForObjectLambdaRequest.add_member(:configuration, Shapes::ShapeRef.new(shape: ObjectLambdaConfiguration, required: true, location_name: "Configuration"))
|
@@ -1186,7 +1190,8 @@ module Aws::S3Control
|
|
1186
1190
|
|
1187
1191
|
StorageLensConfigurationList.member = Shapes::ShapeRef.new(shape: ListStorageLensConfigurationEntry, location_name: "StorageLensConfiguration")
|
1188
1192
|
|
1189
|
-
StorageLensDataExport.add_member(:s3_bucket_destination, Shapes::ShapeRef.new(shape: S3BucketDestination,
|
1193
|
+
StorageLensDataExport.add_member(:s3_bucket_destination, Shapes::ShapeRef.new(shape: S3BucketDestination, location_name: "S3BucketDestination"))
|
1194
|
+
StorageLensDataExport.add_member(:cloud_watch_metrics, Shapes::ShapeRef.new(shape: CloudWatchMetrics, location_name: "CloudWatchMetrics"))
|
1190
1195
|
StorageLensDataExport.struct_class = Types::StorageLensDataExport
|
1191
1196
|
|
1192
1197
|
StorageLensDataExportEncryption.add_member(:sses3, Shapes::ShapeRef.new(shape: SSES3, location_name: "SSE-S3"))
|
@@ -370,6 +370,38 @@ module Aws::S3Control
|
|
370
370
|
include Aws::Structure
|
371
371
|
end
|
372
372
|
|
373
|
+
# A container for enabling Amazon CloudWatch publishing for S3 Storage
|
374
|
+
# Lens metrics.
|
375
|
+
#
|
376
|
+
# For more information about publishing S3 Storage Lens metrics to
|
377
|
+
# CloudWatch, see [Monitor S3 Storage Lens metrics in CloudWatch][1] in
|
378
|
+
# the *Amazon S3 User Guide*.
|
379
|
+
#
|
380
|
+
#
|
381
|
+
#
|
382
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage_lens_view_metrics_cloudwatch.html
|
383
|
+
#
|
384
|
+
# @note When making an API call, you may pass CloudWatchMetrics
|
385
|
+
# data as a hash:
|
386
|
+
#
|
387
|
+
# {
|
388
|
+
# is_enabled: false, # required
|
389
|
+
# }
|
390
|
+
#
|
391
|
+
# @!attribute [rw] is_enabled
|
392
|
+
# A container that indicates whether CloudWatch publishing for S3
|
393
|
+
# Storage Lens metrics is enabled. A value of `true` indicates that
|
394
|
+
# CloudWatch publishing for S3 Storage Lens metrics is enabled.
|
395
|
+
# @return [Boolean]
|
396
|
+
#
|
397
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/CloudWatchMetrics AWS API Documentation
|
398
|
+
#
|
399
|
+
class CloudWatchMetrics < Struct.new(
|
400
|
+
:is_enabled)
|
401
|
+
SENSITIVE = []
|
402
|
+
include Aws::Structure
|
403
|
+
end
|
404
|
+
|
373
405
|
# @note When making an API call, you may pass CreateAccessPointForObjectLambdaRequest
|
374
406
|
# data as a hash:
|
375
407
|
#
|
@@ -4932,7 +4964,7 @@ module Aws::S3Control
|
|
4932
4964
|
# regions: ["S3AWSRegion"],
|
4933
4965
|
# },
|
4934
4966
|
# data_export: {
|
4935
|
-
# s3_bucket_destination: {
|
4967
|
+
# s3_bucket_destination: {
|
4936
4968
|
# format: "CSV", # required, accepts CSV, Parquet
|
4937
4969
|
# output_schema_version: "V_1", # required, accepts V_1
|
4938
4970
|
# account_id: "AccountId", # required
|
@@ -4946,6 +4978,9 @@ module Aws::S3Control
|
|
4946
4978
|
# },
|
4947
4979
|
# },
|
4948
4980
|
# },
|
4981
|
+
# cloud_watch_metrics: {
|
4982
|
+
# is_enabled: false, # required
|
4983
|
+
# },
|
4949
4984
|
# },
|
4950
4985
|
# is_enabled: false, # required
|
4951
4986
|
# aws_org: {
|
@@ -5980,7 +6015,7 @@ module Aws::S3Control
|
|
5980
6015
|
# regions: ["S3AWSRegion"],
|
5981
6016
|
# },
|
5982
6017
|
# data_export: {
|
5983
|
-
# s3_bucket_destination: {
|
6018
|
+
# s3_bucket_destination: {
|
5984
6019
|
# format: "CSV", # required, accepts CSV, Parquet
|
5985
6020
|
# output_schema_version: "V_1", # required, accepts V_1
|
5986
6021
|
# account_id: "AccountId", # required
|
@@ -5994,6 +6029,9 @@ module Aws::S3Control
|
|
5994
6029
|
# },
|
5995
6030
|
# },
|
5996
6031
|
# },
|
6032
|
+
# cloud_watch_metrics: {
|
6033
|
+
# is_enabled: false, # required
|
6034
|
+
# },
|
5997
6035
|
# },
|
5998
6036
|
# is_enabled: false, # required
|
5999
6037
|
# aws_org: {
|
@@ -6067,7 +6105,7 @@ module Aws::S3Control
|
|
6067
6105
|
# data as a hash:
|
6068
6106
|
#
|
6069
6107
|
# {
|
6070
|
-
# s3_bucket_destination: {
|
6108
|
+
# s3_bucket_destination: {
|
6071
6109
|
# format: "CSV", # required, accepts CSV, Parquet
|
6072
6110
|
# output_schema_version: "V_1", # required, accepts V_1
|
6073
6111
|
# account_id: "AccountId", # required
|
@@ -6081,6 +6119,9 @@ module Aws::S3Control
|
|
6081
6119
|
# },
|
6082
6120
|
# },
|
6083
6121
|
# },
|
6122
|
+
# cloud_watch_metrics: {
|
6123
|
+
# is_enabled: false, # required
|
6124
|
+
# },
|
6084
6125
|
# }
|
6085
6126
|
#
|
6086
6127
|
# @!attribute [rw] s3_bucket_destination
|
@@ -6093,10 +6134,16 @@ module Aws::S3Control
|
|
6093
6134
|
# </note>
|
6094
6135
|
# @return [Types::S3BucketDestination]
|
6095
6136
|
#
|
6137
|
+
# @!attribute [rw] cloud_watch_metrics
|
6138
|
+
# A container for enabling Amazon CloudWatch publishing for S3 Storage
|
6139
|
+
# Lens metrics.
|
6140
|
+
# @return [Types::CloudWatchMetrics]
|
6141
|
+
#
|
6096
6142
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/StorageLensDataExport AWS API Documentation
|
6097
6143
|
#
|
6098
6144
|
class StorageLensDataExport < Struct.new(
|
6099
|
-
:s3_bucket_destination
|
6145
|
+
:s3_bucket_destination,
|
6146
|
+
:cloud_watch_metrics)
|
6100
6147
|
SENSITIVE = []
|
6101
6148
|
include Aws::Structure
|
6102
6149
|
end
|
data/lib/aws-sdk-s3control.rb
CHANGED
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.
|
4
|
+
version: 1.43.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: 2021-11-
|
11
|
+
date: 2021-11-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sigv4
|