aws-sdk-datasync 1.45.0 → 1.46.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/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-datasync/client.rb +7 -1
- data/lib/aws-sdk-datasync/client_api.rb +3 -0
- data/lib/aws-sdk-datasync/errors.rb +5 -0
- data/lib/aws-sdk-datasync/types.rb +23 -5
- data/lib/aws-sdk-datasync.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: a55193f2d81610b8a139fd4a3141f92836988303e8be894a6518f83fba89205b
|
|
4
|
+
data.tar.gz: 01e7df4e5ef7c720976b87ff1b6774b31cdcd739c363abf42df8b692222615a2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2ee5e6f414f53b6bf6ad322c411cbcc597bea3d4edb7b44dc31714b07cc9c569f4c8f8707e9b2475f20e9ea2c4499aa429330a0f9e735456bddcc8b08f572e88
|
|
7
|
+
data.tar.gz: 9017a3c21891d2e4fdf9589f6799baf47ecfd70eabe1503e4b8829215f0d072586a2db2e482154f28ea276e9dd8f00d91771f6512663b0f83b186887b4b1a666
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.46.0 (2022-05-05)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - AWS DataSync now supports a new ObjectTags Task API option that can be used to control whether Object Tags are transferred.
|
|
8
|
+
|
|
4
9
|
1.45.0 (2022-04-05)
|
|
5
10
|
------------------
|
|
6
11
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.46.0
|
|
@@ -1404,6 +1404,7 @@ module Aws::DataSync
|
|
|
1404
1404
|
# log_level: "OFF", # accepts OFF, BASIC, TRANSFER
|
|
1405
1405
|
# transfer_mode: "CHANGED", # accepts CHANGED, ALL
|
|
1406
1406
|
# security_descriptor_copy_flags: "NONE", # accepts NONE, OWNER_DACL, OWNER_DACL_SACL
|
|
1407
|
+
# object_tags: "PRESERVE", # accepts PRESERVE, NONE
|
|
1407
1408
|
# },
|
|
1408
1409
|
# excludes: [
|
|
1409
1410
|
# {
|
|
@@ -1996,6 +1997,7 @@ module Aws::DataSync
|
|
|
1996
1997
|
# resp.options.log_level #=> String, one of "OFF", "BASIC", "TRANSFER"
|
|
1997
1998
|
# resp.options.transfer_mode #=> String, one of "CHANGED", "ALL"
|
|
1998
1999
|
# resp.options.security_descriptor_copy_flags #=> String, one of "NONE", "OWNER_DACL", "OWNER_DACL_SACL"
|
|
2000
|
+
# resp.options.object_tags #=> String, one of "PRESERVE", "NONE"
|
|
1999
2001
|
# resp.excludes #=> Array
|
|
2000
2002
|
# resp.excludes[0].filter_type #=> String, one of "SIMPLE_PATTERN"
|
|
2001
2003
|
# resp.excludes[0].value #=> String
|
|
@@ -2060,6 +2062,7 @@ module Aws::DataSync
|
|
|
2060
2062
|
# resp.options.log_level #=> String, one of "OFF", "BASIC", "TRANSFER"
|
|
2061
2063
|
# resp.options.transfer_mode #=> String, one of "CHANGED", "ALL"
|
|
2062
2064
|
# resp.options.security_descriptor_copy_flags #=> String, one of "NONE", "OWNER_DACL", "OWNER_DACL_SACL"
|
|
2065
|
+
# resp.options.object_tags #=> String, one of "PRESERVE", "NONE"
|
|
2063
2066
|
# resp.excludes #=> Array
|
|
2064
2067
|
# resp.excludes[0].filter_type #=> String, one of "SIMPLE_PATTERN"
|
|
2065
2068
|
# resp.excludes[0].value #=> String
|
|
@@ -2403,6 +2406,7 @@ module Aws::DataSync
|
|
|
2403
2406
|
# log_level: "OFF", # accepts OFF, BASIC, TRANSFER
|
|
2404
2407
|
# transfer_mode: "CHANGED", # accepts CHANGED, ALL
|
|
2405
2408
|
# security_descriptor_copy_flags: "NONE", # accepts NONE, OWNER_DACL, OWNER_DACL_SACL
|
|
2409
|
+
# object_tags: "PRESERVE", # accepts PRESERVE, NONE
|
|
2406
2410
|
# },
|
|
2407
2411
|
# includes: [
|
|
2408
2412
|
# {
|
|
@@ -2906,6 +2910,7 @@ module Aws::DataSync
|
|
|
2906
2910
|
# log_level: "OFF", # accepts OFF, BASIC, TRANSFER
|
|
2907
2911
|
# transfer_mode: "CHANGED", # accepts CHANGED, ALL
|
|
2908
2912
|
# security_descriptor_copy_flags: "NONE", # accepts NONE, OWNER_DACL, OWNER_DACL_SACL
|
|
2913
|
+
# object_tags: "PRESERVE", # accepts PRESERVE, NONE
|
|
2909
2914
|
# },
|
|
2910
2915
|
# excludes: [
|
|
2911
2916
|
# {
|
|
@@ -2991,6 +2996,7 @@ module Aws::DataSync
|
|
|
2991
2996
|
# log_level: "OFF", # accepts OFF, BASIC, TRANSFER
|
|
2992
2997
|
# transfer_mode: "CHANGED", # accepts CHANGED, ALL
|
|
2993
2998
|
# security_descriptor_copy_flags: "NONE", # accepts NONE, OWNER_DACL, OWNER_DACL_SACL
|
|
2999
|
+
# object_tags: "PRESERVE", # accepts PRESERVE, NONE
|
|
2994
3000
|
# },
|
|
2995
3001
|
# })
|
|
2996
3002
|
#
|
|
@@ -3016,7 +3022,7 @@ module Aws::DataSync
|
|
|
3016
3022
|
params: params,
|
|
3017
3023
|
config: config)
|
|
3018
3024
|
context[:gem_name] = 'aws-sdk-datasync'
|
|
3019
|
-
context[:gem_version] = '1.
|
|
3025
|
+
context[:gem_version] = '1.46.0'
|
|
3020
3026
|
Seahorse::Client::Request.new(handlers, context)
|
|
3021
3027
|
end
|
|
3022
3028
|
|
|
@@ -148,6 +148,7 @@ module Aws::DataSync
|
|
|
148
148
|
ObjectStorageSecretKey = Shapes::StringShape.new(name: 'ObjectStorageSecretKey')
|
|
149
149
|
ObjectStorageServerPort = Shapes::IntegerShape.new(name: 'ObjectStorageServerPort')
|
|
150
150
|
ObjectStorageServerProtocol = Shapes::StringShape.new(name: 'ObjectStorageServerProtocol')
|
|
151
|
+
ObjectTags = Shapes::StringShape.new(name: 'ObjectTags')
|
|
151
152
|
OnPremConfig = Shapes::StructureShape.new(name: 'OnPremConfig')
|
|
152
153
|
Operator = Shapes::StringShape.new(name: 'Operator')
|
|
153
154
|
Options = Shapes::StructureShape.new(name: 'Options')
|
|
@@ -569,6 +570,7 @@ module Aws::DataSync
|
|
|
569
570
|
|
|
570
571
|
InvalidRequestException.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "message"))
|
|
571
572
|
InvalidRequestException.add_member(:error_code, Shapes::ShapeRef.new(shape: string, location_name: "errorCode"))
|
|
573
|
+
InvalidRequestException.add_member(:datasync_error_code, Shapes::ShapeRef.new(shape: string, location_name: "datasyncErrorCode"))
|
|
572
574
|
InvalidRequestException.struct_class = Types::InvalidRequestException
|
|
573
575
|
|
|
574
576
|
ListAgentsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
|
@@ -648,6 +650,7 @@ module Aws::DataSync
|
|
|
648
650
|
Options.add_member(:log_level, Shapes::ShapeRef.new(shape: LogLevel, location_name: "LogLevel"))
|
|
649
651
|
Options.add_member(:transfer_mode, Shapes::ShapeRef.new(shape: TransferMode, location_name: "TransferMode"))
|
|
650
652
|
Options.add_member(:security_descriptor_copy_flags, Shapes::ShapeRef.new(shape: SmbSecurityDescriptorCopyFlags, location_name: "SecurityDescriptorCopyFlags"))
|
|
653
|
+
Options.add_member(:object_tags, Shapes::ShapeRef.new(shape: ObjectTags, location_name: "ObjectTags"))
|
|
651
654
|
Options.struct_class = Types::Options
|
|
652
655
|
|
|
653
656
|
OutputTagList.member = Shapes::ShapeRef.new(shape: TagListEntry)
|
|
@@ -1143,6 +1143,7 @@ module Aws::DataSync
|
|
|
1143
1143
|
# log_level: "OFF", # accepts OFF, BASIC, TRANSFER
|
|
1144
1144
|
# transfer_mode: "CHANGED", # accepts CHANGED, ALL
|
|
1145
1145
|
# security_descriptor_copy_flags: "NONE", # accepts NONE, OWNER_DACL, OWNER_DACL_SACL
|
|
1146
|
+
# object_tags: "PRESERVE", # accepts PRESERVE, NONE
|
|
1146
1147
|
# },
|
|
1147
1148
|
# excludes: [
|
|
1148
1149
|
# {
|
|
@@ -2471,11 +2472,15 @@ module Aws::DataSync
|
|
|
2471
2472
|
# @!attribute [rw] error_code
|
|
2472
2473
|
# @return [String]
|
|
2473
2474
|
#
|
|
2475
|
+
# @!attribute [rw] datasync_error_code
|
|
2476
|
+
# @return [String]
|
|
2477
|
+
#
|
|
2474
2478
|
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/InvalidRequestException AWS API Documentation
|
|
2475
2479
|
#
|
|
2476
2480
|
class InvalidRequestException < Struct.new(
|
|
2477
2481
|
:message,
|
|
2478
|
-
:error_code
|
|
2482
|
+
:error_code,
|
|
2483
|
+
:datasync_error_code)
|
|
2479
2484
|
SENSITIVE = []
|
|
2480
2485
|
include Aws::Structure
|
|
2481
2486
|
end
|
|
@@ -2955,6 +2960,7 @@ module Aws::DataSync
|
|
|
2955
2960
|
# log_level: "OFF", # accepts OFF, BASIC, TRANSFER
|
|
2956
2961
|
# transfer_mode: "CHANGED", # accepts CHANGED, ALL
|
|
2957
2962
|
# security_descriptor_copy_flags: "NONE", # accepts NONE, OWNER_DACL, OWNER_DACL_SACL
|
|
2963
|
+
# object_tags: "PRESERVE", # accepts PRESERVE, NONE
|
|
2958
2964
|
# }
|
|
2959
2965
|
#
|
|
2960
2966
|
# @!attribute [rw] verify_mode
|
|
@@ -2971,8 +2977,8 @@ module Aws::DataSync
|
|
|
2971
2977
|
# POINT\_IN\_TIME\_CONSISTENT: Scan the entire source and entire
|
|
2972
2978
|
# destination at the end of the transfer to verify that source and
|
|
2973
2979
|
# destination are fully synchronized. This option isn't supported
|
|
2974
|
-
# when transferring to S3 Glacier or S3 Glacier
|
|
2975
|
-
# classes.
|
|
2980
|
+
# when transferring to S3 Glacier Flexible Retrieval or S3 Glacier
|
|
2981
|
+
# Deep Archive storage classes.
|
|
2976
2982
|
#
|
|
2977
2983
|
# NONE: No additional verification is done at the end of the transfer,
|
|
2978
2984
|
# but all data transmissions are integrity-checked with checksum
|
|
@@ -3030,7 +3036,7 @@ module Aws::DataSync
|
|
|
3030
3036
|
# is required for cases when you need to run the same task more than
|
|
3031
3037
|
# one time.
|
|
3032
3038
|
#
|
|
3033
|
-
# Default
|
|
3039
|
+
# Default Value: `PRESERVE`
|
|
3034
3040
|
#
|
|
3035
3041
|
# PRESERVE: Preserve original `Mtime` (recommended)
|
|
3036
3042
|
#
|
|
@@ -3242,6 +3248,14 @@ module Aws::DataSync
|
|
|
3242
3248
|
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/special-files.html
|
|
3243
3249
|
# @return [String]
|
|
3244
3250
|
#
|
|
3251
|
+
# @!attribute [rw] object_tags
|
|
3252
|
+
# Specifies whether object tags are maintained when transferring
|
|
3253
|
+
# between object storage systems. If you want your DataSync task to
|
|
3254
|
+
# ignore object tags, specify the `NONE` value.
|
|
3255
|
+
#
|
|
3256
|
+
# Default Value: `PRESERVE`
|
|
3257
|
+
# @return [String]
|
|
3258
|
+
#
|
|
3245
3259
|
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/Options AWS API Documentation
|
|
3246
3260
|
#
|
|
3247
3261
|
class Options < Struct.new(
|
|
@@ -3258,7 +3272,8 @@ module Aws::DataSync
|
|
|
3258
3272
|
:task_queueing,
|
|
3259
3273
|
:log_level,
|
|
3260
3274
|
:transfer_mode,
|
|
3261
|
-
:security_descriptor_copy_flags
|
|
3275
|
+
:security_descriptor_copy_flags,
|
|
3276
|
+
:object_tags)
|
|
3262
3277
|
SENSITIVE = []
|
|
3263
3278
|
include Aws::Structure
|
|
3264
3279
|
end
|
|
@@ -3410,6 +3425,7 @@ module Aws::DataSync
|
|
|
3410
3425
|
# log_level: "OFF", # accepts OFF, BASIC, TRANSFER
|
|
3411
3426
|
# transfer_mode: "CHANGED", # accepts CHANGED, ALL
|
|
3412
3427
|
# security_descriptor_copy_flags: "NONE", # accepts NONE, OWNER_DACL, OWNER_DACL_SACL
|
|
3428
|
+
# object_tags: "PRESERVE", # accepts PRESERVE, NONE
|
|
3413
3429
|
# },
|
|
3414
3430
|
# includes: [
|
|
3415
3431
|
# {
|
|
@@ -4191,6 +4207,7 @@ module Aws::DataSync
|
|
|
4191
4207
|
# log_level: "OFF", # accepts OFF, BASIC, TRANSFER
|
|
4192
4208
|
# transfer_mode: "CHANGED", # accepts CHANGED, ALL
|
|
4193
4209
|
# security_descriptor_copy_flags: "NONE", # accepts NONE, OWNER_DACL, OWNER_DACL_SACL
|
|
4210
|
+
# object_tags: "PRESERVE", # accepts PRESERVE, NONE
|
|
4194
4211
|
# },
|
|
4195
4212
|
# }
|
|
4196
4213
|
#
|
|
@@ -4252,6 +4269,7 @@ module Aws::DataSync
|
|
|
4252
4269
|
# log_level: "OFF", # accepts OFF, BASIC, TRANSFER
|
|
4253
4270
|
# transfer_mode: "CHANGED", # accepts CHANGED, ALL
|
|
4254
4271
|
# security_descriptor_copy_flags: "NONE", # accepts NONE, OWNER_DACL, OWNER_DACL_SACL
|
|
4272
|
+
# object_tags: "PRESERVE", # accepts PRESERVE, NONE
|
|
4255
4273
|
# },
|
|
4256
4274
|
# excludes: [
|
|
4257
4275
|
# {
|
data/lib/aws-sdk-datasync.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: aws-sdk-datasync
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.46.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Amazon Web Services
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2022-
|
|
11
|
+
date: 2022-05-05 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: aws-sdk-core
|