aws-sdk-datasync 1.103.0 → 1.104.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.
@@ -103,6 +103,39 @@ module Aws::DataSync
103
103
  #
104
104
  class CancelTaskExecutionResponse < Aws::EmptyStructure; end
105
105
 
106
+ # Specifies configuration information for a DataSync-managed secret,
107
+ # such as an authentication token or secret key that DataSync uses to
108
+ # access a specific storage location, with a customer-managed KMS key.
109
+ #
110
+ # <note markdown="1"> You can use either `CmkSecretConfig` or `CustomSecretConfig` to
111
+ # provide credentials for a `CreateLocation` request. Do not provide
112
+ # both parameters for the same request.
113
+ #
114
+ # </note>
115
+ #
116
+ # @!attribute [rw] secret_arn
117
+ # Specifies the ARN for the DataSync-managed Secrets Manager secret
118
+ # that that is used to access a specific storage location. This
119
+ # property is generated by DataSync and is read-only. DataSync
120
+ # encrypts this secret with the KMS key that you specify for
121
+ # `KmsKeyArn`.
122
+ # @return [String]
123
+ #
124
+ # @!attribute [rw] kms_key_arn
125
+ # Specifies the ARN for the customer-managed KMS key that DataSync
126
+ # uses to encrypt the DataSync-managed secret stored for `SecretArn`.
127
+ # DataSync provides this key to Secrets Manager.
128
+ # @return [String]
129
+ #
130
+ # @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/CmkSecretConfig AWS API Documentation
131
+ #
132
+ class CmkSecretConfig < Struct.new(
133
+ :secret_arn,
134
+ :kms_key_arn)
135
+ SENSITIVE = []
136
+ include Aws::Structure
137
+ end
138
+
106
139
  # CreateAgentRequest
107
140
  #
108
141
  # @!attribute [rw] activation_key
@@ -196,6 +229,13 @@ module Aws::DataSync
196
229
  # @!attribute [rw] sas_configuration
197
230
  # Specifies the SAS configuration that allows DataSync to access your
198
231
  # Azure Blob Storage.
232
+ #
233
+ # <note markdown="1"> If you provide an authentication token using `SasConfiguration`, but
234
+ # do not provide secret configuration details using `CmkSecretConfig`
235
+ # or `CustomSecretConfig`, then DataSync stores the token using your
236
+ # Amazon Web Services account's secrets manager secret.
237
+ #
238
+ # </note>
199
239
  # @return [Types::AzureBlobSasConfiguration]
200
240
  #
201
241
  # @!attribute [rw] blob_type
@@ -226,12 +266,20 @@ module Aws::DataSync
226
266
  # @return [String]
227
267
  #
228
268
  # @!attribute [rw] agent_arns
229
- # Specifies the Amazon Resource Name (ARN) of the DataSync agent that
230
- # can connect with your Azure Blob Storage container.
269
+ # (Optional) Specifies the Amazon Resource Name (ARN) of the DataSync
270
+ # agent that can connect with your Azure Blob Storage container. If
271
+ # you are setting up an agentless cross-cloud transfer, you do not
272
+ # need to specify a value for this parameter.
231
273
  #
232
274
  # You can specify more than one agent. For more information, see
233
275
  # [Using multiple agents for your transfer][1].
234
276
  #
277
+ # <note markdown="1"> Make sure you configure this parameter correctly when you first
278
+ # create your storage location. You cannot add or remove agents from a
279
+ # storage location after you create it.
280
+ #
281
+ # </note>
282
+ #
235
283
  #
236
284
  #
237
285
  # [1]: https://docs.aws.amazon.com/datasync/latest/userguide/multiple-agents.html
@@ -243,6 +291,44 @@ module Aws::DataSync
243
291
  # name tag for your transfer location.
244
292
  # @return [Array<Types::TagListEntry>]
245
293
  #
294
+ # @!attribute [rw] cmk_secret_config
295
+ # Specifies configuration information for a DataSync-managed secret,
296
+ # which includes the authentication token that DataSync uses to access
297
+ # a specific AzureBlob storage location, with a customer-managed KMS
298
+ # key.
299
+ #
300
+ # When you include this paramater as part of a
301
+ # `CreateLocationAzureBlob` request, you provide only the KMS key ARN.
302
+ # DataSync uses this KMS key together with the authentication token
303
+ # you specify for `SasConfiguration` to create a DataSync-managed
304
+ # secret to store the location access credentials.
305
+ #
306
+ # Make sure the DataSync has permission to access the KMS key that you
307
+ # specify.
308
+ #
309
+ # <note markdown="1"> You can use either `CmkSecretConfig` (with `SasConfiguration`) or
310
+ # `CustomSecretConfig` (without `SasConfiguration`) to provide
311
+ # credentials for a `CreateLocationAzureBlob` request. Do not provide
312
+ # both parameters for the same request.
313
+ #
314
+ # </note>
315
+ # @return [Types::CmkSecretConfig]
316
+ #
317
+ # @!attribute [rw] custom_secret_config
318
+ # Specifies configuration information for a customer-managed Secrets
319
+ # Manager secret where the authentication token for an AzureBlob
320
+ # storage location is stored in plain text. This configuration
321
+ # includes the secret ARN, and the ARN for an IAM role that provides
322
+ # access to the secret.
323
+ #
324
+ # <note markdown="1"> You can use either `CmkSecretConfig` (with `SasConfiguration`) or
325
+ # `CustomSecretConfig` (without `SasConfiguration`) to provide
326
+ # credentials for a `CreateLocationAzureBlob` request. Do not provide
327
+ # both parameters for the same request.
328
+ #
329
+ # </note>
330
+ # @return [Types::CustomSecretConfig]
331
+ #
246
332
  # @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/CreateLocationAzureBlobRequest AWS API Documentation
247
333
  #
248
334
  class CreateLocationAzureBlobRequest < Struct.new(
@@ -253,7 +339,9 @@ module Aws::DataSync
253
339
  :access_tier,
254
340
  :subdirectory,
255
341
  :agent_arns,
256
- :tags)
342
+ :tags,
343
+ :cmk_secret_config,
344
+ :custom_secret_config)
257
345
  SENSITIVE = []
258
346
  include Aws::Structure
259
347
  end
@@ -893,8 +981,16 @@ module Aws::DataSync
893
981
  # @return [String]
894
982
  #
895
983
  # @!attribute [rw] agent_arns
896
- # Specifies the Amazon Resource Names (ARNs) of the DataSync agents
897
- # that can connect with your object storage system.
984
+ # (Optional) Specifies the Amazon Resource Names (ARNs) of the
985
+ # DataSync agents that can connect with your object storage system. If
986
+ # you are setting up an agentless cross-cloud transfer, you do not
987
+ # need to specify a value for this parameter.
988
+ #
989
+ # <note markdown="1"> Make sure you configure this parameter correctly when you first
990
+ # create your storage location. You cannot add or remove agents from a
991
+ # storage location after you create it.
992
+ #
993
+ # </note>
898
994
  # @return [Array<String>]
899
995
  #
900
996
  # @!attribute [rw] tags
@@ -930,6 +1026,43 @@ module Aws::DataSync
930
1026
  # To use this parameter, configure `ServerProtocol` to `HTTPS`.
931
1027
  # @return [String]
932
1028
  #
1029
+ # @!attribute [rw] cmk_secret_config
1030
+ # Specifies configuration information for a DataSync-managed secret,
1031
+ # which includes the `SecretKey` that DataSync uses to access a
1032
+ # specific object storage location, with a customer-managed KMS key.
1033
+ #
1034
+ # When you include this paramater as part of a
1035
+ # `CreateLocationObjectStorage` request, you provide only the KMS key
1036
+ # ARN. DataSync uses this KMS key together with the value you specify
1037
+ # for the `SecretKey` parameter to create a DataSync-managed secret to
1038
+ # store the location access credentials.
1039
+ #
1040
+ # Make sure the DataSync has permission to access the KMS key that you
1041
+ # specify.
1042
+ #
1043
+ # <note markdown="1"> You can use either `CmkSecretConfig` (with `SecretKey`) or
1044
+ # `CustomSecretConfig` (without `SecretKey`) to provide credentials
1045
+ # for a `CreateLocationObjectStorage` request. Do not provide both
1046
+ # parameters for the same request.
1047
+ #
1048
+ # </note>
1049
+ # @return [Types::CmkSecretConfig]
1050
+ #
1051
+ # @!attribute [rw] custom_secret_config
1052
+ # Specifies configuration information for a customer-managed Secrets
1053
+ # Manager secret where the secret key for a specific object storage
1054
+ # location is stored in plain text. This configuration includes the
1055
+ # secret ARN, and the ARN for an IAM role that provides access to the
1056
+ # secret.
1057
+ #
1058
+ # <note markdown="1"> You can use either `CmkSecretConfig` (with `SecretKey`) or
1059
+ # `CustomSecretConfig` (without `SecretKey`) to provide credentials
1060
+ # for a `CreateLocationObjectStorage` request. Do not provide both
1061
+ # parameters for the same request.
1062
+ #
1063
+ # </note>
1064
+ # @return [Types::CustomSecretConfig]
1065
+ #
933
1066
  # @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/CreateLocationObjectStorageRequest AWS API Documentation
934
1067
  #
935
1068
  class CreateLocationObjectStorageRequest < Struct.new(
@@ -942,7 +1075,9 @@ module Aws::DataSync
942
1075
  :secret_key,
943
1076
  :agent_arns,
944
1077
  :tags,
945
- :server_certificate)
1078
+ :server_certificate,
1079
+ :cmk_secret_config,
1080
+ :custom_secret_config)
946
1081
  SENSITIVE = [:secret_key]
947
1082
  include Aws::Structure
948
1083
  end
@@ -1345,7 +1480,9 @@ module Aws::DataSync
1345
1480
  # higher performance than Basic mode. Enhanced mode tasks optimize
1346
1481
  # the data transfer process by listing, preparing, transferring, and
1347
1482
  # verifying data in parallel. Enhanced mode is currently available
1348
- # for transfers between Amazon S3 locations.
1483
+ # for transfers between Amazon S3 locations, transfers between Azure
1484
+ # Blob and Amazon S3 without an agent, and transfers between other
1485
+ # clouds and Amazon S3 without an agent.
1349
1486
  #
1350
1487
  # <note markdown="1"> To create an Enhanced mode task, the IAM role that you use to call
1351
1488
  # the `CreateTask` operation must have the
@@ -1401,6 +1538,35 @@ module Aws::DataSync
1401
1538
  include Aws::Structure
1402
1539
  end
1403
1540
 
1541
+ # Specifies configuration information for a customer-managed Secrets
1542
+ # Manager secret where a storage location authentication token or secret
1543
+ # key is stored in plain text. This configuration includes the secret
1544
+ # ARN, and the ARN for an IAM role that provides access to the secret.
1545
+ #
1546
+ # <note markdown="1"> You can use either `CmkSecretConfig` or `CustomSecretConfig` to
1547
+ # provide credentials for a `CreateLocation` request. Do not provide
1548
+ # both parameters for the same request.
1549
+ #
1550
+ # </note>
1551
+ #
1552
+ # @!attribute [rw] secret_arn
1553
+ # Specifies the ARN for an Secrets Manager secret.
1554
+ # @return [String]
1555
+ #
1556
+ # @!attribute [rw] secret_access_role_arn
1557
+ # Specifies the ARN for the Identity and Access Management role that
1558
+ # DataSync uses to access the secret specified for `SecretArn`.
1559
+ # @return [String]
1560
+ #
1561
+ # @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/CustomSecretConfig AWS API Documentation
1562
+ #
1563
+ class CustomSecretConfig < Struct.new(
1564
+ :secret_arn,
1565
+ :secret_access_role_arn)
1566
+ SENSITIVE = []
1567
+ include Aws::Structure
1568
+ end
1569
+
1404
1570
  # DeleteAgentRequest
1405
1571
  #
1406
1572
  # @!attribute [rw] agent_arn
@@ -1608,6 +1774,25 @@ module Aws::DataSync
1608
1774
  # The time that your Azure Blob Storage transfer location was created.
1609
1775
  # @return [Time]
1610
1776
  #
1777
+ # @!attribute [rw] managed_secret_config
1778
+ # Describes configuration information for a DataSync-managed secret,
1779
+ # such as an authentication token that DataSync uses to access a
1780
+ # specific storage location. DataSync uses the default Amazon Web
1781
+ # Services-managed KMS key to encrypt this secret in Secrets Manager.
1782
+ # @return [Types::ManagedSecretConfig]
1783
+ #
1784
+ # @!attribute [rw] cmk_secret_config
1785
+ # Describes configuration information for a DataSync-managed secret,
1786
+ # such as an authentication token that DataSync uses to access a
1787
+ # specific storage location, with a customer-managed KMS key.
1788
+ # @return [Types::CmkSecretConfig]
1789
+ #
1790
+ # @!attribute [rw] custom_secret_config
1791
+ # Describes configuration information for a customer-managed secret,
1792
+ # such as an authentication token that DataSync uses to access a
1793
+ # specific storage location, with a customer-managed KMS key.
1794
+ # @return [Types::CustomSecretConfig]
1795
+ #
1611
1796
  # @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/DescribeLocationAzureBlobResponse AWS API Documentation
1612
1797
  #
1613
1798
  class DescribeLocationAzureBlobResponse < Struct.new(
@@ -1617,7 +1802,10 @@ module Aws::DataSync
1617
1802
  :blob_type,
1618
1803
  :access_tier,
1619
1804
  :agent_arns,
1620
- :creation_time)
1805
+ :creation_time,
1806
+ :managed_secret_config,
1807
+ :cmk_secret_config,
1808
+ :custom_secret_config)
1621
1809
  SENSITIVE = []
1622
1810
  include Aws::Structure
1623
1811
  end
@@ -2107,6 +2295,28 @@ module Aws::DataSync
2107
2295
  # certificate authority (CA).
2108
2296
  # @return [String]
2109
2297
  #
2298
+ # @!attribute [rw] managed_secret_config
2299
+ # Describes configuration information for a DataSync-managed secret,
2300
+ # such as an authentication token or set of credentials that DataSync
2301
+ # uses to access a specific transfer location. DataSync uses the
2302
+ # default Amazon Web Services-managed KMS key to encrypt this secret
2303
+ # in Secrets Manager.
2304
+ # @return [Types::ManagedSecretConfig]
2305
+ #
2306
+ # @!attribute [rw] cmk_secret_config
2307
+ # Describes configuration information for a DataSync-managed secret,
2308
+ # such as an authentication token or set of credentials that DataSync
2309
+ # uses to access a specific transfer location, and a customer-managed
2310
+ # KMS key.
2311
+ # @return [Types::CmkSecretConfig]
2312
+ #
2313
+ # @!attribute [rw] custom_secret_config
2314
+ # Describes configuration information for a customer-managed secret,
2315
+ # such as an authentication token or set of credentials that DataSync
2316
+ # uses to access a specific transfer location, and a customer-managed
2317
+ # KMS key.
2318
+ # @return [Types::CustomSecretConfig]
2319
+ #
2110
2320
  # @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/DescribeLocationObjectStorageResponse AWS API Documentation
2111
2321
  #
2112
2322
  class DescribeLocationObjectStorageResponse < Struct.new(
@@ -2117,7 +2327,10 @@ module Aws::DataSync
2117
2327
  :server_protocol,
2118
2328
  :agent_arns,
2119
2329
  :creation_time,
2120
- :server_certificate)
2330
+ :server_certificate,
2331
+ :managed_secret_config,
2332
+ :cmk_secret_config,
2333
+ :custom_secret_config)
2121
2334
  SENSITIVE = []
2122
2335
  include Aws::Structure
2123
2336
  end
@@ -2365,7 +2578,11 @@ module Aws::DataSync
2365
2578
  # @return [Types::ManifestConfig]
2366
2579
  #
2367
2580
  # @!attribute [rw] start_time
2368
- # The time when the task execution started.
2581
+ # The time that DataSync sends the request to start the task
2582
+ # execution. For non-queued tasks, `LaunchTime` and `StartTime` are
2583
+ # typically the same. For queued tasks, `LaunchTime` is typically
2584
+ # later than `StartTime` because previously queued tasks must finish
2585
+ # running before newer tasks can begin.
2369
2586
  # @return [Time]
2370
2587
  #
2371
2588
  # @!attribute [rw] estimated_files_to_transfer
@@ -2564,6 +2781,18 @@ module Aws::DataSync
2564
2781
  # [1]: https://docs.aws.amazon.com/datasync/latest/userguide/choosing-task-mode.html
2565
2782
  # @return [Types::TaskExecutionFilesFailedDetail]
2566
2783
  #
2784
+ # @!attribute [rw] launch_time
2785
+ # The time that the task execution actually begins. For non-queued
2786
+ # tasks, `LaunchTime` and `StartTime` are typically the same. For
2787
+ # queued tasks, `LaunchTime` is typically later than `StartTime`
2788
+ # because previously queued tasks must finish running before newer
2789
+ # tasks can begin.
2790
+ # @return [Time]
2791
+ #
2792
+ # @!attribute [rw] end_time
2793
+ # The time that the transfer task ends.
2794
+ # @return [Time]
2795
+ #
2567
2796
  # @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/DescribeTaskExecutionResponse AWS API Documentation
2568
2797
  #
2569
2798
  class DescribeTaskExecutionResponse < Struct.new(
@@ -2590,7 +2819,9 @@ module Aws::DataSync
2590
2819
  :task_mode,
2591
2820
  :files_prepared,
2592
2821
  :files_listed,
2593
- :files_failed)
2822
+ :files_failed,
2823
+ :launch_time,
2824
+ :end_time)
2594
2825
  SENSITIVE = []
2595
2826
  include Aws::Structure
2596
2827
  end
@@ -3419,6 +3650,24 @@ module Aws::DataSync
3419
3650
  include Aws::Structure
3420
3651
  end
3421
3652
 
3653
+ # Specifies configuration information for a DataSync-managed secret,
3654
+ # such as an authentication token or set of credentials that DataSync
3655
+ # uses to access a specific transfer location. DataSync uses the default
3656
+ # Amazon Web Services-managed KMS key to encrypt this secret in Secrets
3657
+ # Manager.
3658
+ #
3659
+ # @!attribute [rw] secret_arn
3660
+ # Specifies the ARN for an Secrets Manager secret.
3661
+ # @return [String]
3662
+ #
3663
+ # @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/ManagedSecretConfig AWS API Documentation
3664
+ #
3665
+ class ManagedSecretConfig < Struct.new(
3666
+ :secret_arn)
3667
+ SENSITIVE = []
3668
+ include Aws::Structure
3669
+ end
3670
+
3422
3671
  # Configures a manifest, which is a list of files or objects that you
3423
3672
  # want DataSync to transfer. For more information and configuration
3424
3673
  # examples, see [Specifying what DataSync transfers by using a
@@ -5021,17 +5270,38 @@ module Aws::DataSync
5021
5270
  # @return [String]
5022
5271
  #
5023
5272
  # @!attribute [rw] agent_arns
5024
- # Specifies the Amazon Resource Name (ARN) of the DataSync agent that
5025
- # can connect with your Azure Blob Storage container.
5273
+ # (Optional) Specifies the Amazon Resource Name (ARN) of the DataSync
5274
+ # agent that can connect with your Azure Blob Storage container. If
5275
+ # you are setting up an agentless cross-cloud transfer, you do not
5276
+ # need to specify a value for this parameter.
5026
5277
  #
5027
5278
  # You can specify more than one agent. For more information, see
5028
5279
  # [Using multiple agents for your transfer][1].
5029
5280
  #
5281
+ # <note markdown="1"> You cannot add or remove agents from a storage location after you
5282
+ # initially create it.
5283
+ #
5284
+ # </note>
5285
+ #
5030
5286
  #
5031
5287
  #
5032
5288
  # [1]: https://docs.aws.amazon.com/datasync/latest/userguide/multiple-agents.html
5033
5289
  # @return [Array<String>]
5034
5290
  #
5291
+ # @!attribute [rw] cmk_secret_config
5292
+ # Specifies configuration information for a DataSync-managed secret,
5293
+ # such as an authentication token or set of credentials that DataSync
5294
+ # uses to access a specific transfer location, and a customer-managed
5295
+ # KMS key.
5296
+ # @return [Types::CmkSecretConfig]
5297
+ #
5298
+ # @!attribute [rw] custom_secret_config
5299
+ # Specifies configuration information for a customer-managed secret,
5300
+ # such as an authentication token or set of credentials that DataSync
5301
+ # uses to access a specific transfer location, and a customer-managed
5302
+ # KMS key.
5303
+ # @return [Types::CustomSecretConfig]
5304
+ #
5035
5305
  # @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/UpdateLocationAzureBlobRequest AWS API Documentation
5036
5306
  #
5037
5307
  class UpdateLocationAzureBlobRequest < Struct.new(
@@ -5041,7 +5311,9 @@ module Aws::DataSync
5041
5311
  :sas_configuration,
5042
5312
  :blob_type,
5043
5313
  :access_tier,
5044
- :agent_arns)
5314
+ :agent_arns,
5315
+ :cmk_secret_config,
5316
+ :custom_secret_config)
5045
5317
  SENSITIVE = []
5046
5318
  include Aws::Structure
5047
5319
  end
@@ -5457,8 +5729,15 @@ module Aws::DataSync
5457
5729
  # @return [String]
5458
5730
  #
5459
5731
  # @!attribute [rw] agent_arns
5460
- # Specifies the Amazon Resource Names (ARNs) of the DataSync agents
5461
- # that can connect with your object storage system.
5732
+ # (Optional) Specifies the Amazon Resource Names (ARNs) of the
5733
+ # DataSync agents that can connect with your object storage system. If
5734
+ # you are setting up an agentless cross-cloud transfer, you do not
5735
+ # need to specify a value for this parameter.
5736
+ #
5737
+ # <note markdown="1"> You cannot add or remove agents from a storage location after you
5738
+ # initially create it.
5739
+ #
5740
+ # </note>
5462
5741
  # @return [Array<String>]
5463
5742
  #
5464
5743
  # @!attribute [rw] server_certificate
@@ -5490,6 +5769,20 @@ module Aws::DataSync
5490
5769
  # in progress.
5491
5770
  # @return [String]
5492
5771
  #
5772
+ # @!attribute [rw] cmk_secret_config
5773
+ # Specifies configuration information for a DataSync-managed secret,
5774
+ # such as an authentication token or set of credentials that DataSync
5775
+ # uses to access a specific transfer location, and a customer-managed
5776
+ # KMS key.
5777
+ # @return [Types::CmkSecretConfig]
5778
+ #
5779
+ # @!attribute [rw] custom_secret_config
5780
+ # Specifies configuration information for a customer-managed secret,
5781
+ # such as an authentication token or set of credentials that DataSync
5782
+ # uses to access a specific transfer location, and a customer-managed
5783
+ # KMS key.
5784
+ # @return [Types::CustomSecretConfig]
5785
+ #
5493
5786
  # @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/UpdateLocationObjectStorageRequest AWS API Documentation
5494
5787
  #
5495
5788
  class UpdateLocationObjectStorageRequest < Struct.new(
@@ -5501,7 +5794,9 @@ module Aws::DataSync
5501
5794
  :access_key,
5502
5795
  :secret_key,
5503
5796
  :agent_arns,
5504
- :server_certificate)
5797
+ :server_certificate,
5798
+ :cmk_secret_config,
5799
+ :custom_secret_config)
5505
5800
  SENSITIVE = [:secret_key]
5506
5801
  include Aws::Structure
5507
5802
  end
@@ -54,7 +54,7 @@ module Aws::DataSync
54
54
  autoload :EndpointProvider, 'aws-sdk-datasync/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-datasync/endpoints'
56
56
 
57
- GEM_VERSION = '1.103.0'
57
+ GEM_VERSION = '1.104.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -114,20 +114,28 @@ module Aws
114
114
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataSync/Client.html#create_location_azure_blob-instance_method
115
115
  def create_location_azure_blob: (
116
116
  container_url: ::String,
117
- authentication_type: ("SAS"),
117
+ authentication_type: ("SAS" | "NONE"),
118
118
  ?sas_configuration: {
119
119
  token: ::String
120
120
  },
121
121
  ?blob_type: ("BLOCK"),
122
122
  ?access_tier: ("HOT" | "COOL" | "ARCHIVE"),
123
123
  ?subdirectory: ::String,
124
- agent_arns: Array[::String],
124
+ ?agent_arns: Array[::String],
125
125
  ?tags: Array[
126
126
  {
127
127
  key: ::String,
128
128
  value: ::String?
129
129
  },
130
- ]
130
+ ],
131
+ ?cmk_secret_config: {
132
+ secret_arn: ::String?,
133
+ kms_key_arn: ::String?
134
+ },
135
+ ?custom_secret_config: {
136
+ secret_arn: ::String?,
137
+ secret_access_role_arn: ::String?
138
+ }
131
139
  ) -> _CreateLocationAzureBlobResponseSuccess
132
140
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateLocationAzureBlobResponseSuccess
133
141
 
@@ -331,14 +339,22 @@ module Aws
331
339
  bucket_name: ::String,
332
340
  ?access_key: ::String,
333
341
  ?secret_key: ::String,
334
- agent_arns: Array[::String],
342
+ ?agent_arns: Array[::String],
335
343
  ?tags: Array[
336
344
  {
337
345
  key: ::String,
338
346
  value: ::String?
339
347
  },
340
348
  ],
341
- ?server_certificate: ::String
349
+ ?server_certificate: ::String,
350
+ ?cmk_secret_config: {
351
+ secret_arn: ::String?,
352
+ kms_key_arn: ::String?
353
+ },
354
+ ?custom_secret_config: {
355
+ secret_arn: ::String?,
356
+ secret_access_role_arn: ::String?
357
+ }
342
358
  ) -> _CreateLocationObjectStorageResponseSuccess
343
359
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateLocationObjectStorageResponseSuccess
344
360
 
@@ -532,11 +548,14 @@ module Aws
532
548
  include ::Seahorse::Client::_ResponseSuccess[Types::DescribeLocationAzureBlobResponse]
533
549
  def location_arn: () -> ::String
534
550
  def location_uri: () -> ::String
535
- def authentication_type: () -> ("SAS")
551
+ def authentication_type: () -> ("SAS" | "NONE")
536
552
  def blob_type: () -> ("BLOCK")
537
553
  def access_tier: () -> ("HOT" | "COOL" | "ARCHIVE")
538
554
  def agent_arns: () -> ::Array[::String]
539
555
  def creation_time: () -> ::Time
556
+ def managed_secret_config: () -> Types::ManagedSecretConfig
557
+ def cmk_secret_config: () -> Types::CmkSecretConfig
558
+ def custom_secret_config: () -> Types::CustomSecretConfig
540
559
  end
541
560
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataSync/Client.html#describe_location_azure_blob-instance_method
542
561
  def describe_location_azure_blob: (
@@ -663,6 +682,9 @@ module Aws
663
682
  def agent_arns: () -> ::Array[::String]
664
683
  def creation_time: () -> ::Time
665
684
  def server_certificate: () -> ::String
685
+ def managed_secret_config: () -> Types::ManagedSecretConfig
686
+ def cmk_secret_config: () -> Types::CmkSecretConfig
687
+ def custom_secret_config: () -> Types::CustomSecretConfig
666
688
  end
667
689
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataSync/Client.html#describe_location_object_storage-instance_method
668
690
  def describe_location_object_storage: (
@@ -759,6 +781,8 @@ module Aws
759
781
  def files_prepared: () -> ::Integer
760
782
  def files_listed: () -> Types::TaskExecutionFilesListedDetail
761
783
  def files_failed: () -> Types::TaskExecutionFilesFailedDetail
784
+ def launch_time: () -> ::Time
785
+ def end_time: () -> ::Time
762
786
  end
763
787
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataSync/Client.html#describe_task_execution-instance_method
764
788
  def describe_task_execution: (
@@ -967,13 +991,21 @@ module Aws
967
991
  def update_location_azure_blob: (
968
992
  location_arn: ::String,
969
993
  ?subdirectory: ::String,
970
- ?authentication_type: ("SAS"),
994
+ ?authentication_type: ("SAS" | "NONE"),
971
995
  ?sas_configuration: {
972
996
  token: ::String
973
997
  },
974
998
  ?blob_type: ("BLOCK"),
975
999
  ?access_tier: ("HOT" | "COOL" | "ARCHIVE"),
976
- ?agent_arns: Array[::String]
1000
+ ?agent_arns: Array[::String],
1001
+ ?cmk_secret_config: {
1002
+ secret_arn: ::String?,
1003
+ kms_key_arn: ::String?
1004
+ },
1005
+ ?custom_secret_config: {
1006
+ secret_arn: ::String?,
1007
+ secret_access_role_arn: ::String?
1008
+ }
977
1009
  ) -> _UpdateLocationAzureBlobResponseSuccess
978
1010
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateLocationAzureBlobResponseSuccess
979
1011
 
@@ -1122,7 +1154,15 @@ module Aws
1122
1154
  ?access_key: ::String,
1123
1155
  ?secret_key: ::String,
1124
1156
  ?agent_arns: Array[::String],
1125
- ?server_certificate: ::String
1157
+ ?server_certificate: ::String,
1158
+ ?cmk_secret_config: {
1159
+ secret_arn: ::String?,
1160
+ kms_key_arn: ::String?
1161
+ },
1162
+ ?custom_secret_config: {
1163
+ secret_arn: ::String?,
1164
+ secret_access_role_arn: ::String?
1165
+ }
1126
1166
  ) -> _UpdateLocationObjectStorageResponseSuccess
1127
1167
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateLocationObjectStorageResponseSuccess
1128
1168