aws-sdk-datasync 1.49.0 → 1.50.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: b982cb9b2c148223fc8280b38de78c603c532efab22fe1364f05edd5f06fac6e
4
- data.tar.gz: 3b9bd532bb4675bd78e528a514a6e521fbc7ebaa3faa7c2f948ef5f430dafcfe
3
+ metadata.gz: de98f67944d2f42d6f628d7a2382dfa14de614e403a227d99166201fa7c8846d
4
+ data.tar.gz: 1ba4385bf18d52321ee75346b0a307e1f86da888576cfe05a00a2caa0afe03c9
5
5
  SHA512:
6
- metadata.gz: 20246f3af604dd27eb182fc450d54b47daa43568a43fbcbe78c685d2fa43ff1735af4043028cba5d56b0483b65c353dbcb1f0223e1d6709c489ea11edc96927f
7
- data.tar.gz: 5d0e1a59e970026acdc89bc6ea7bc3175a7c6475f88041f4f3f27c315a919918f719e821f681f4e349dae78cf02f004f3716da582d291e3892cf5134bf5435a5
6
+ metadata.gz: bc657c9af1255c068800b3deeb49c9fdba7bfc1eef0eec9cb45a52729a68849ce580c7d4393431aae3965dd86fbeaa6892518ceffa1306060a72f8ccf3eeede9
7
+ data.tar.gz: 4fb0b061314a00049bf9c02516f266635cfd13d7eacdca44db9d61d7e948a6a12348d43f63ad5ca2af7e8448d26c81ba91e59800b65a7f1a30c8febbb4347c12
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.50.0 (2022-10-24)
5
+ ------------------
6
+
7
+ * Feature - Added support for self-signed certificates when using object storage locations; added BytesCompressed to the TaskExecution response.
8
+
4
9
  1.49.0 (2022-07-15)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.49.0
1
+ 1.50.0
@@ -361,20 +361,20 @@ module Aws::DataSync
361
361
 
362
362
  # @!group API Operations
363
363
 
364
- # Cancels execution of a task.
365
- #
366
- # When you cancel a task execution, the transfer of some files is
367
- # abruptly interrupted. The contents of files that are transferred to
368
- # the destination might be incomplete or inconsistent with the source
369
- # files. However, if you start a new task execution on the same task and
370
- # you allow the task execution to complete, file content on the
371
- # destination is complete and consistent. This applies to other
372
- # unexpected failures that interrupt a task execution. In all of these
373
- # cases, DataSync successfully complete the transfer when you start the
374
- # next task execution.
364
+ # Stops an DataSync task execution that's in progress. The transfer of
365
+ # some files are abruptly interrupted. File contents that're
366
+ # transferred to the destination might be incomplete or inconsistent
367
+ # with the source files.
368
+ #
369
+ # However, if you start a new task execution using the same task and
370
+ # allow it to finish, file content on the destination will be complete
371
+ # and consistent. This applies to other unexpected failures that
372
+ # interrupt a task execution. In all of these cases, DataSync
373
+ # successfully completes the transfer when you start the next task
374
+ # execution.
375
375
  #
376
376
  # @option params [required, String] :task_execution_arn
377
- # The Amazon Resource Name (ARN) of the task execution to cancel.
377
+ # The Amazon Resource Name (ARN) of the task execution to stop.
378
378
  #
379
379
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
380
380
  #
@@ -393,13 +393,13 @@ module Aws::DataSync
393
393
  req.send_request(options)
394
394
  end
395
395
 
396
- # Activates an DataSync agent that you have deployed on your host. The
397
- # activation process associates your agent with your account. In the
398
- # activation process, you specify information such as the Amazon Web
399
- # Services Region that you want to activate the agent in. You activate
400
- # the agent in the Amazon Web Services Region where your target
401
- # locations (in Amazon S3 or Amazon EFS) reside. Your tasks are created
402
- # in this Amazon Web Services Region.
396
+ # Activates an DataSync agent that you have deployed in your storage
397
+ # environment. The activation process associates your agent with your
398
+ # account. In the activation process, you specify information such as
399
+ # the Amazon Web Services Region that you want to activate the agent in.
400
+ # You activate the agent in the Amazon Web Services Region where your
401
+ # target locations (in Amazon S3 or Amazon EFS) reside. Your tasks are
402
+ # created in this Amazon Web Services Region.
403
403
  #
404
404
  # You can activate the agent in a VPC (virtual private cloud) or provide
405
405
  # the agent access to a VPC endpoint so you can run tasks without going
@@ -740,7 +740,18 @@ module Aws::DataSync
740
740
  req.send_request(options)
741
741
  end
742
742
 
743
- # Creates an endpoint for an Amazon FSx for OpenZFS file system.
743
+ # Creates an endpoint for an Amazon FSx for OpenZFS file system that
744
+ # DataSync can access for a transfer. For more information, see
745
+ # [Creating a location for FSx for OpenZFS][1].
746
+ #
747
+ # <note markdown="1"> Request parameters related to `SMB` aren't supported with the
748
+ # `CreateLocationFsxOpenZfs` operation.
749
+ #
750
+ # </note>
751
+ #
752
+ #
753
+ #
754
+ # [1]: https://docs.aws.amazon.com/datasync/latest/userguide/create-openzfs-location.html
744
755
  #
745
756
  # @option params [required, String] :fsx_filesystem_arn
746
757
  # The Amazon Resource Name (ARN) of the FSx for OpenZFS file system.
@@ -1181,6 +1192,15 @@ module Aws::DataSync
1181
1192
  # add to the resource. Tags can help you manage, filter, and search for
1182
1193
  # your resources. We recommend creating a name tag for your location.
1183
1194
  #
1195
+ # @option params [String, StringIO, File] :server_certificate
1196
+ # Specifies a certificate to authenticate with an object storage system
1197
+ # that uses a private or self-signed certificate authority (CA). You
1198
+ # must specify a Base64-encoded `.pem` file (for example,
1199
+ # `file:///home/user/.ssh/storage_sys_certificate.pem`). The certificate
1200
+ # can be up to 32768 bytes (before Base64 encoding).
1201
+ #
1202
+ # To use this parameter, configure `ServerProtocol` to `HTTPS`.
1203
+ #
1184
1204
  # @return [Types::CreateLocationObjectStorageResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1185
1205
  #
1186
1206
  # * {Types::CreateLocationObjectStorageResponse#location_arn #location_arn} => String
@@ -1202,6 +1222,7 @@ module Aws::DataSync
1202
1222
  # value: "TagValue",
1203
1223
  # },
1204
1224
  # ],
1225
+ # server_certificate: "data",
1205
1226
  # })
1206
1227
  #
1207
1228
  # @example Response structure
@@ -1217,7 +1238,8 @@ module Aws::DataSync
1217
1238
  req.send_request(options)
1218
1239
  end
1219
1240
 
1220
- # Creates an endpoint for an Amazon S3 bucket.
1241
+ # Creates an endpoint for an Amazon S3 bucket that DataSync can access
1242
+ # for a transfer.
1221
1243
  #
1222
1244
  # For more information, see [Create an Amazon S3 location][1] in the
1223
1245
  # *DataSync User Guide*.
@@ -1714,8 +1736,8 @@ module Aws::DataSync
1714
1736
  req.send_request(options)
1715
1737
  end
1716
1738
 
1717
- # Returns metadata about an Amazon FSx for Lustre location, such as
1718
- # information about its path.
1739
+ # Provides details about how an DataSync location for an Amazon FSx for
1740
+ # Lustre file system is configured.
1719
1741
  #
1720
1742
  # @option params [required, String] :location_arn
1721
1743
  # The Amazon Resource Name (ARN) of the FSx for Lustre location to
@@ -1754,6 +1776,11 @@ module Aws::DataSync
1754
1776
  # Provides details about how an DataSync location for an Amazon FSx for
1755
1777
  # NetApp ONTAP file system is configured.
1756
1778
  #
1779
+ # <note markdown="1"> If your location uses SMB, the `DescribeLocationFsxOntap` operation
1780
+ # doesn't actually return a `Password`.
1781
+ #
1782
+ # </note>
1783
+ #
1757
1784
  # @option params [required, String] :location_arn
1758
1785
  # Specifies the Amazon Resource Name (ARN) of the FSx for ONTAP file
1759
1786
  # system location that you want information about.
@@ -1798,8 +1825,13 @@ module Aws::DataSync
1798
1825
  req.send_request(options)
1799
1826
  end
1800
1827
 
1801
- # Returns metadata about an Amazon FSx for OpenZFS location, such as
1802
- # information about its path.
1828
+ # Provides details about how an DataSync location for an Amazon FSx for
1829
+ # OpenZFS file system is configured.
1830
+ #
1831
+ # <note markdown="1"> Response elements related to `SMB` aren't supported with the
1832
+ # `DescribeLocationFsxOpenZfs` operation.
1833
+ #
1834
+ # </note>
1803
1835
  #
1804
1836
  # @option params [required, String] :location_arn
1805
1837
  # The Amazon Resource Name (ARN) of the FSx for OpenZFS location to
@@ -1991,6 +2023,7 @@ module Aws::DataSync
1991
2023
  # * {Types::DescribeLocationObjectStorageResponse#server_protocol #server_protocol} => String
1992
2024
  # * {Types::DescribeLocationObjectStorageResponse#agent_arns #agent_arns} => Array&lt;String&gt;
1993
2025
  # * {Types::DescribeLocationObjectStorageResponse#creation_time #creation_time} => Time
2026
+ # * {Types::DescribeLocationObjectStorageResponse#server_certificate #server_certificate} => String
1994
2027
  #
1995
2028
  # @example Request syntax with placeholder values
1996
2029
  #
@@ -2008,6 +2041,7 @@ module Aws::DataSync
2008
2041
  # resp.agent_arns #=> Array
2009
2042
  # resp.agent_arns[0] #=> String
2010
2043
  # resp.creation_time #=> Time
2044
+ # resp.server_certificate #=> String
2011
2045
  #
2012
2046
  # @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/DescribeLocationObjectStorage AWS API Documentation
2013
2047
  #
@@ -2198,6 +2232,7 @@ module Aws::DataSync
2198
2232
  # * {Types::DescribeTaskExecutionResponse#bytes_written #bytes_written} => Integer
2199
2233
  # * {Types::DescribeTaskExecutionResponse#bytes_transferred #bytes_transferred} => Integer
2200
2234
  # * {Types::DescribeTaskExecutionResponse#result #result} => Types::TaskExecutionResultDetail
2235
+ # * {Types::DescribeTaskExecutionResponse#bytes_compressed #bytes_compressed} => Integer
2201
2236
  #
2202
2237
  # @example Request syntax with placeholder values
2203
2238
  #
@@ -2245,6 +2280,7 @@ module Aws::DataSync
2245
2280
  # resp.result.verify_status #=> String, one of "PENDING", "SUCCESS", "ERROR"
2246
2281
  # resp.result.error_code #=> String
2247
2282
  # resp.result.error_detail #=> String
2283
+ # resp.bytes_compressed #=> Integer
2248
2284
  #
2249
2285
  # @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/DescribeTaskExecution AWS API Documentation
2250
2286
  #
@@ -2848,48 +2884,56 @@ module Aws::DataSync
2848
2884
  req.send_request(options)
2849
2885
  end
2850
2886
 
2851
- # Updates some of the parameters of a previously created location for
2852
- # self-managed object storage server access. For information about
2853
- # creating a self-managed object storage location, see [Creating a
2854
- # location for object storage][1].
2887
+ # Updates some parameters of an existing object storage location that
2888
+ # DataSync accesses for a transfer. For information about creating a
2889
+ # self-managed object storage location, see [Creating a location for
2890
+ # object storage][1].
2855
2891
  #
2856
2892
  #
2857
2893
  #
2858
2894
  # [1]: https://docs.aws.amazon.com/datasync/latest/userguide/create-object-location.html
2859
2895
  #
2860
2896
  # @option params [required, String] :location_arn
2861
- # The Amazon Resource Name (ARN) of the self-managed object storage
2862
- # server location to be updated.
2897
+ # Specifies the ARN of the object storage system location that you're
2898
+ # updating.
2863
2899
  #
2864
2900
  # @option params [Integer] :server_port
2865
- # The port that your self-managed object storage server accepts inbound
2866
- # network traffic on. The server port is set by default to TCP 80 (HTTP)
2867
- # or TCP 443 (HTTPS). You can specify a custom port if your self-managed
2868
- # object storage server requires one.
2901
+ # Specifies the port that your object storage server accepts inbound
2902
+ # network traffic on (for example, port 443).
2869
2903
  #
2870
2904
  # @option params [String] :server_protocol
2871
- # The protocol that the object storage server uses to communicate. Valid
2872
- # values are `HTTP` or `HTTPS`.
2905
+ # Specifies the protocol that your object storage server uses to
2906
+ # communicate.
2873
2907
  #
2874
2908
  # @option params [String] :subdirectory
2875
- # The subdirectory in the self-managed object storage server that is
2876
- # used to read data from.
2909
+ # Specifies the object prefix for your object storage server. If this is
2910
+ # a source location, DataSync only copies objects with this prefix. If
2911
+ # this is a destination location, DataSync writes all objects with this
2912
+ # prefix.
2877
2913
  #
2878
2914
  # @option params [String] :access_key
2879
- # Optional. The access key is used if credentials are required to access
2880
- # the self-managed object storage server. If your object storage
2881
- # requires a user name and password to authenticate, use `AccessKey` and
2882
- # `SecretKey` to provide the user name and password, respectively.
2915
+ # Specifies the access key (for example, a user name) if credentials are
2916
+ # required to authenticate with the object storage server.
2883
2917
  #
2884
2918
  # @option params [String] :secret_key
2885
- # Optional. The secret key is used if credentials are required to access
2886
- # the self-managed object storage server. If your object storage
2887
- # requires a user name and password to authenticate, use `AccessKey` and
2888
- # `SecretKey` to provide the user name and password, respectively.
2919
+ # Specifies the secret key (for example, a password) if credentials are
2920
+ # required to authenticate with the object storage server.
2889
2921
  #
2890
2922
  # @option params [Array<String>] :agent_arns
2891
- # The Amazon Resource Name (ARN) of the agents associated with the
2892
- # self-managed object storage server location.
2923
+ # Specifies the Amazon Resource Names (ARNs) of the DataSync agents that
2924
+ # can securely connect with your location.
2925
+ #
2926
+ # @option params [String, StringIO, File] :server_certificate
2927
+ # Specifies a certificate to authenticate with an object storage system
2928
+ # that uses a private or self-signed certificate authority (CA). You
2929
+ # must specify a Base64-encoded `.pem` file (for example,
2930
+ # `file:///home/user/.ssh/storage_sys_certificate.pem`). The certificate
2931
+ # can be up to 32768 bytes (before Base64 encoding).
2932
+ #
2933
+ # To use this parameter, configure `ServerProtocol` to `HTTPS`.
2934
+ #
2935
+ # Updating the certificate doesn't interfere with tasks that you have
2936
+ # in progress.
2893
2937
  #
2894
2938
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2895
2939
  #
@@ -2903,6 +2947,7 @@ module Aws::DataSync
2903
2947
  # access_key: "ObjectStorageAccessKey",
2904
2948
  # secret_key: "ObjectStorageSecretKey",
2905
2949
  # agent_arns: ["AgentArn"],
2950
+ # server_certificate: "data",
2906
2951
  # })
2907
2952
  #
2908
2953
  # @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/UpdateLocationObjectStorage AWS API Documentation
@@ -3181,7 +3226,7 @@ module Aws::DataSync
3181
3226
  params: params,
3182
3227
  config: config)
3183
3228
  context[:gem_name] = 'aws-sdk-datasync'
3184
- context[:gem_version] = '1.49.0'
3229
+ context[:gem_version] = '1.50.0'
3185
3230
  Seahorse::Client::Request.new(handlers, context)
3186
3231
  end
3187
3232
 
@@ -153,6 +153,7 @@ module Aws::DataSync
153
153
  NfsVersion = Shapes::StringShape.new(name: 'NfsVersion')
154
154
  ObjectStorageAccessKey = Shapes::StringShape.new(name: 'ObjectStorageAccessKey')
155
155
  ObjectStorageBucketName = Shapes::StringShape.new(name: 'ObjectStorageBucketName')
156
+ ObjectStorageCertificate = Shapes::BlobShape.new(name: 'ObjectStorageCertificate')
156
157
  ObjectStorageSecretKey = Shapes::StringShape.new(name: 'ObjectStorageSecretKey')
157
158
  ObjectStorageServerPort = Shapes::IntegerShape.new(name: 'ObjectStorageServerPort')
158
159
  ObjectStorageServerProtocol = Shapes::StringShape.new(name: 'ObjectStorageServerProtocol')
@@ -347,6 +348,7 @@ module Aws::DataSync
347
348
  CreateLocationObjectStorageRequest.add_member(:secret_key, Shapes::ShapeRef.new(shape: ObjectStorageSecretKey, location_name: "SecretKey"))
348
349
  CreateLocationObjectStorageRequest.add_member(:agent_arns, Shapes::ShapeRef.new(shape: AgentArnList, required: true, location_name: "AgentArns"))
349
350
  CreateLocationObjectStorageRequest.add_member(:tags, Shapes::ShapeRef.new(shape: InputTagList, location_name: "Tags"))
351
+ CreateLocationObjectStorageRequest.add_member(:server_certificate, Shapes::ShapeRef.new(shape: ObjectStorageCertificate, location_name: "ServerCertificate"))
350
352
  CreateLocationObjectStorageRequest.struct_class = Types::CreateLocationObjectStorageRequest
351
353
 
352
354
  CreateLocationObjectStorageResponse.add_member(:location_arn, Shapes::ShapeRef.new(shape: LocationArn, location_name: "LocationArn"))
@@ -508,6 +510,7 @@ module Aws::DataSync
508
510
  DescribeLocationObjectStorageResponse.add_member(:server_protocol, Shapes::ShapeRef.new(shape: ObjectStorageServerProtocol, location_name: "ServerProtocol"))
509
511
  DescribeLocationObjectStorageResponse.add_member(:agent_arns, Shapes::ShapeRef.new(shape: AgentArnList, location_name: "AgentArns"))
510
512
  DescribeLocationObjectStorageResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: Time, location_name: "CreationTime"))
513
+ DescribeLocationObjectStorageResponse.add_member(:server_certificate, Shapes::ShapeRef.new(shape: ObjectStorageCertificate, location_name: "ServerCertificate"))
511
514
  DescribeLocationObjectStorageResponse.struct_class = Types::DescribeLocationObjectStorageResponse
512
515
 
513
516
  DescribeLocationS3Request.add_member(:location_arn, Shapes::ShapeRef.new(shape: LocationArn, required: true, location_name: "LocationArn"))
@@ -548,6 +551,7 @@ module Aws::DataSync
548
551
  DescribeTaskExecutionResponse.add_member(:bytes_written, Shapes::ShapeRef.new(shape: long, location_name: "BytesWritten"))
549
552
  DescribeTaskExecutionResponse.add_member(:bytes_transferred, Shapes::ShapeRef.new(shape: long, location_name: "BytesTransferred"))
550
553
  DescribeTaskExecutionResponse.add_member(:result, Shapes::ShapeRef.new(shape: TaskExecutionResultDetail, location_name: "Result"))
554
+ DescribeTaskExecutionResponse.add_member(:bytes_compressed, Shapes::ShapeRef.new(shape: long, location_name: "BytesCompressed"))
551
555
  DescribeTaskExecutionResponse.struct_class = Types::DescribeTaskExecutionResponse
552
556
 
553
557
  DescribeTaskRequest.add_member(:task_arn, Shapes::ShapeRef.new(shape: TaskArn, required: true, location_name: "TaskArn"))
@@ -820,6 +824,7 @@ module Aws::DataSync
820
824
  UpdateLocationObjectStorageRequest.add_member(:access_key, Shapes::ShapeRef.new(shape: ObjectStorageAccessKey, location_name: "AccessKey"))
821
825
  UpdateLocationObjectStorageRequest.add_member(:secret_key, Shapes::ShapeRef.new(shape: ObjectStorageSecretKey, location_name: "SecretKey"))
822
826
  UpdateLocationObjectStorageRequest.add_member(:agent_arns, Shapes::ShapeRef.new(shape: AgentArnList, location_name: "AgentArns"))
827
+ UpdateLocationObjectStorageRequest.add_member(:server_certificate, Shapes::ShapeRef.new(shape: ObjectStorageCertificate, location_name: "ServerCertificate"))
823
828
  UpdateLocationObjectStorageRequest.struct_class = Types::UpdateLocationObjectStorageRequest
824
829
 
825
830
  UpdateLocationObjectStorageResponse.struct_class = Types::UpdateLocationObjectStorageResponse
@@ -50,7 +50,7 @@ module Aws::DataSync
50
50
  # }
51
51
  #
52
52
  # @!attribute [rw] task_execution_arn
53
- # The Amazon Resource Name (ARN) of the task execution to cancel.
53
+ # The Amazon Resource Name (ARN) of the task execution to stop.
54
54
  # @return [String]
55
55
  #
56
56
  # @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/CancelTaskExecutionRequest AWS API Documentation
@@ -927,6 +927,7 @@ module Aws::DataSync
927
927
  # value: "TagValue",
928
928
  # },
929
929
  # ],
930
+ # server_certificate: "data",
930
931
  # }
931
932
  #
932
933
  # @!attribute [rw] server_hostname
@@ -979,6 +980,16 @@ module Aws::DataSync
979
980
  # location.
980
981
  # @return [Array<Types::TagListEntry>]
981
982
  #
983
+ # @!attribute [rw] server_certificate
984
+ # Specifies a certificate to authenticate with an object storage
985
+ # system that uses a private or self-signed certificate authority
986
+ # (CA). You must specify a Base64-encoded `.pem` file (for example,
987
+ # `file:///home/user/.ssh/storage_sys_certificate.pem`). The
988
+ # certificate can be up to 32768 bytes (before Base64 encoding).
989
+ #
990
+ # To use this parameter, configure `ServerProtocol` to `HTTPS`.
991
+ # @return [String]
992
+ #
982
993
  # @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/CreateLocationObjectStorageRequest AWS API Documentation
983
994
  #
984
995
  class CreateLocationObjectStorageRequest < Struct.new(
@@ -990,7 +1001,8 @@ module Aws::DataSync
990
1001
  :access_key,
991
1002
  :secret_key,
992
1003
  :agent_arns,
993
- :tags)
1004
+ :tags,
1005
+ :server_certificate)
994
1006
  SENSITIVE = [:secret_key]
995
1007
  include Aws::Structure
996
1008
  end
@@ -2021,7 +2033,7 @@ module Aws::DataSync
2021
2033
  #
2022
2034
  # @!attribute [rw] access_key
2023
2035
  # The access key (for example, a user name) required to authenticate
2024
- # with the object storage server.
2036
+ # with the object storage system.
2025
2037
  # @return [String]
2026
2038
  #
2027
2039
  # @!attribute [rw] server_port
@@ -2030,7 +2042,7 @@ module Aws::DataSync
2030
2042
  # @return [Integer]
2031
2043
  #
2032
2044
  # @!attribute [rw] server_protocol
2033
- # The protocol that your object storage server uses to communicate.
2045
+ # The protocol that your object storage system uses to communicate.
2034
2046
  # @return [String]
2035
2047
  #
2036
2048
  # @!attribute [rw] agent_arns
@@ -2042,6 +2054,11 @@ module Aws::DataSync
2042
2054
  # The time that the location was created.
2043
2055
  # @return [Time]
2044
2056
  #
2057
+ # @!attribute [rw] server_certificate
2058
+ # The self-signed certificate that DataSync uses to securely
2059
+ # authenticate with your object storage system.
2060
+ # @return [String]
2061
+ #
2045
2062
  # @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/DescribeLocationObjectStorageResponse AWS API Documentation
2046
2063
  #
2047
2064
  class DescribeLocationObjectStorageResponse < Struct.new(
@@ -2051,7 +2068,8 @@ module Aws::DataSync
2051
2068
  :server_port,
2052
2069
  :server_protocol,
2053
2070
  :agent_arns,
2054
- :creation_time)
2071
+ :creation_time,
2072
+ :server_certificate)
2055
2073
  SENSITIVE = []
2056
2074
  include Aws::Structure
2057
2075
  end
@@ -2327,6 +2345,12 @@ module Aws::DataSync
2327
2345
  # The result of the task execution.
2328
2346
  # @return [Types::TaskExecutionResultDetail]
2329
2347
  #
2348
+ # @!attribute [rw] bytes_compressed
2349
+ # The physical number of bytes transferred over the network after
2350
+ # compression was applied. In most cases, this number is less than
2351
+ # `BytesTransferred`.
2352
+ # @return [Integer]
2353
+ #
2330
2354
  # @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/DescribeTaskExecutionResponse AWS API Documentation
2331
2355
  #
2332
2356
  class DescribeTaskExecutionResponse < Struct.new(
@@ -2341,7 +2365,8 @@ module Aws::DataSync
2341
2365
  :files_transferred,
2342
2366
  :bytes_written,
2343
2367
  :bytes_transferred,
2344
- :result)
2368
+ :result,
2369
+ :bytes_compressed)
2345
2370
  SENSITIVE = []
2346
2371
  include Aws::Structure
2347
2372
  end
@@ -4339,51 +4364,59 @@ module Aws::DataSync
4339
4364
  # access_key: "ObjectStorageAccessKey",
4340
4365
  # secret_key: "ObjectStorageSecretKey",
4341
4366
  # agent_arns: ["AgentArn"],
4367
+ # server_certificate: "data",
4342
4368
  # }
4343
4369
  #
4344
4370
  # @!attribute [rw] location_arn
4345
- # The Amazon Resource Name (ARN) of the self-managed object storage
4346
- # server location to be updated.
4371
+ # Specifies the ARN of the object storage system location that you're
4372
+ # updating.
4347
4373
  # @return [String]
4348
4374
  #
4349
4375
  # @!attribute [rw] server_port
4350
- # The port that your self-managed object storage server accepts
4351
- # inbound network traffic on. The server port is set by default to TCP
4352
- # 80 (HTTP) or TCP 443 (HTTPS). You can specify a custom port if your
4353
- # self-managed object storage server requires one.
4376
+ # Specifies the port that your object storage server accepts inbound
4377
+ # network traffic on (for example, port 443).
4354
4378
  # @return [Integer]
4355
4379
  #
4356
4380
  # @!attribute [rw] server_protocol
4357
- # The protocol that the object storage server uses to communicate.
4358
- # Valid values are `HTTP` or `HTTPS`.
4381
+ # Specifies the protocol that your object storage server uses to
4382
+ # communicate.
4359
4383
  # @return [String]
4360
4384
  #
4361
4385
  # @!attribute [rw] subdirectory
4362
- # The subdirectory in the self-managed object storage server that is
4363
- # used to read data from.
4386
+ # Specifies the object prefix for your object storage server. If this
4387
+ # is a source location, DataSync only copies objects with this prefix.
4388
+ # If this is a destination location, DataSync writes all objects with
4389
+ # this prefix.
4364
4390
  # @return [String]
4365
4391
  #
4366
4392
  # @!attribute [rw] access_key
4367
- # Optional. The access key is used if credentials are required to
4368
- # access the self-managed object storage server. If your object
4369
- # storage requires a user name and password to authenticate, use
4370
- # `AccessKey` and `SecretKey` to provide the user name and password,
4371
- # respectively.
4393
+ # Specifies the access key (for example, a user name) if credentials
4394
+ # are required to authenticate with the object storage server.
4372
4395
  # @return [String]
4373
4396
  #
4374
4397
  # @!attribute [rw] secret_key
4375
- # Optional. The secret key is used if credentials are required to
4376
- # access the self-managed object storage server. If your object
4377
- # storage requires a user name and password to authenticate, use
4378
- # `AccessKey` and `SecretKey` to provide the user name and password,
4379
- # respectively.
4398
+ # Specifies the secret key (for example, a password) if credentials
4399
+ # are required to authenticate with the object storage server.
4380
4400
  # @return [String]
4381
4401
  #
4382
4402
  # @!attribute [rw] agent_arns
4383
- # The Amazon Resource Name (ARN) of the agents associated with the
4384
- # self-managed object storage server location.
4403
+ # Specifies the Amazon Resource Names (ARNs) of the DataSync agents
4404
+ # that can securely connect with your location.
4385
4405
  # @return [Array<String>]
4386
4406
  #
4407
+ # @!attribute [rw] server_certificate
4408
+ # Specifies a certificate to authenticate with an object storage
4409
+ # system that uses a private or self-signed certificate authority
4410
+ # (CA). You must specify a Base64-encoded `.pem` file (for example,
4411
+ # `file:///home/user/.ssh/storage_sys_certificate.pem`). The
4412
+ # certificate can be up to 32768 bytes (before Base64 encoding).
4413
+ #
4414
+ # To use this parameter, configure `ServerProtocol` to `HTTPS`.
4415
+ #
4416
+ # Updating the certificate doesn't interfere with tasks that you have
4417
+ # in progress.
4418
+ # @return [String]
4419
+ #
4387
4420
  # @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/UpdateLocationObjectStorageRequest AWS API Documentation
4388
4421
  #
4389
4422
  class UpdateLocationObjectStorageRequest < Struct.new(
@@ -4393,7 +4426,8 @@ module Aws::DataSync
4393
4426
  :subdirectory,
4394
4427
  :access_key,
4395
4428
  :secret_key,
4396
- :agent_arns)
4429
+ :agent_arns,
4430
+ :server_certificate)
4397
4431
  SENSITIVE = [:secret_key]
4398
4432
  include Aws::Structure
4399
4433
  end
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-datasync/customizations'
48
48
  # @!group service
49
49
  module Aws::DataSync
50
50
 
51
- GEM_VERSION = '1.49.0'
51
+ GEM_VERSION = '1.50.0'
52
52
 
53
53
  end
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.49.0
4
+ version: 1.50.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-07-15 00:00:00.000000000 Z
11
+ date: 2022-10-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core