aws-sdk-datasync 1.115.0 → 1.116.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 +109 -11
- data/lib/aws-sdk-datasync/client_api.rb +30 -0
- data/lib/aws-sdk-datasync/types.rb +430 -46
- data/lib/aws-sdk-datasync.rb +1 -1
- data/sig/client.rbs +28 -0
- data/sig/types.rbs +31 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0365fb70414ecc848e8ea470430ffd2cfaaf0e022ca8267285e989be9bcdd525
|
|
4
|
+
data.tar.gz: 0a7e61a963e36f4ada522b30e805716b717ec70295497e7d2a13186187d935f0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5dd7f9e27f21d3be41509078d490a5d1a7b28e93e968a3c622c3f1280f70862d3df44e79845b4bd1e91f2317253a2b84b1016efce374ed04f4e5d7bc76df5aa2
|
|
7
|
+
data.tar.gz: 1870e5cf56e55a4faa22c7414ea9c1aa66e7e7ebecf1edb4efe2bf36a784f622e863453839ccf32abe77cb27b0a6ecb6b8d4fd683788db99cfb3a87253f6e4f3
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.116.0 (2025-12-12)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Adds Enhanced mode support for NFS and SMB locations. SMB credentials are now managed via Secrets Manager, and may be encrypted with service or customer managed keys. Increases AgentArns maximum count to 8 (max 4 per TaskMode). Adds folder counters to DescribeTaskExecution for Enhanced mode tasks.
|
|
8
|
+
|
|
4
9
|
1.115.0 (2025-11-21)
|
|
5
10
|
------------------
|
|
6
11
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.116.0
|
|
@@ -684,13 +684,13 @@ module Aws::DataSync
|
|
|
684
684
|
# which includes the authentication token that DataSync uses to access a
|
|
685
685
|
# specific AzureBlob storage location, with a customer-managed KMS key.
|
|
686
686
|
#
|
|
687
|
-
# When you include this
|
|
687
|
+
# When you include this parameter as part of a `CreateLocationAzureBlob`
|
|
688
688
|
# request, you provide only the KMS key ARN. DataSync uses this KMS key
|
|
689
689
|
# together with the authentication token you specify for
|
|
690
690
|
# `SasConfiguration` to create a DataSync-managed secret to store the
|
|
691
691
|
# location access credentials.
|
|
692
692
|
#
|
|
693
|
-
# Make sure
|
|
693
|
+
# Make sure that DataSync has permission to access the KMS key that you
|
|
694
694
|
# specify.
|
|
695
695
|
#
|
|
696
696
|
# <note markdown="1"> You can use either `CmkSecretConfig` (with `SasConfiguration`) or
|
|
@@ -703,9 +703,9 @@ module Aws::DataSync
|
|
|
703
703
|
# @option params [Types::CustomSecretConfig] :custom_secret_config
|
|
704
704
|
# Specifies configuration information for a customer-managed Secrets
|
|
705
705
|
# Manager secret where the authentication token for an AzureBlob storage
|
|
706
|
-
# location is stored in plain text
|
|
707
|
-
# secret ARN, and the ARN for an IAM role
|
|
708
|
-
# secret.
|
|
706
|
+
# location is stored in plain text, in Secrets Manager. This
|
|
707
|
+
# configuration includes the secret ARN, and the ARN for an IAM role
|
|
708
|
+
# that provides access to the secret.
|
|
709
709
|
#
|
|
710
710
|
# <note markdown="1"> You can use either `CmkSecretConfig` (with `SasConfiguration`) or
|
|
711
711
|
# `CustomSecretConfig` (without `SasConfiguration`) to provide
|
|
@@ -1556,13 +1556,13 @@ module Aws::DataSync
|
|
|
1556
1556
|
# which includes the `SecretKey` that DataSync uses to access a specific
|
|
1557
1557
|
# object storage location, with a customer-managed KMS key.
|
|
1558
1558
|
#
|
|
1559
|
-
# When you include this
|
|
1559
|
+
# When you include this parameter as part of a
|
|
1560
1560
|
# `CreateLocationObjectStorage` request, you provide only the KMS key
|
|
1561
1561
|
# ARN. DataSync uses this KMS key together with the value you specify
|
|
1562
1562
|
# for the `SecretKey` parameter to create a DataSync-managed secret to
|
|
1563
1563
|
# store the location access credentials.
|
|
1564
1564
|
#
|
|
1565
|
-
# Make sure
|
|
1565
|
+
# Make sure that DataSync has permission to access the KMS key that you
|
|
1566
1566
|
# specify.
|
|
1567
1567
|
#
|
|
1568
1568
|
# <note markdown="1"> You can use either `CmkSecretConfig` (with `SecretKey`) or
|
|
@@ -1575,9 +1575,9 @@ module Aws::DataSync
|
|
|
1575
1575
|
# @option params [Types::CustomSecretConfig] :custom_secret_config
|
|
1576
1576
|
# Specifies configuration information for a customer-managed Secrets
|
|
1577
1577
|
# Manager secret where the secret key for a specific object storage
|
|
1578
|
-
# location is stored in plain text
|
|
1579
|
-
# secret ARN, and the ARN for an IAM role
|
|
1580
|
-
# secret.
|
|
1578
|
+
# location is stored in plain text, in Secrets Manager. This
|
|
1579
|
+
# configuration includes the secret ARN, and the ARN for an IAM role
|
|
1580
|
+
# that provides access to the secret.
|
|
1581
1581
|
#
|
|
1582
1582
|
# <note markdown="1"> You can use either `CmkSecretConfig` (with `SecretKey`) or
|
|
1583
1583
|
# `CustomSecretConfig` (without `SecretKey`) to provide credentials for
|
|
@@ -1817,6 +1817,45 @@ module Aws::DataSync
|
|
|
1817
1817
|
# transfer. This parameter applies only if `AuthenticationType` is set
|
|
1818
1818
|
# to `NTLM`.
|
|
1819
1819
|
#
|
|
1820
|
+
# @option params [Types::CmkSecretConfig] :cmk_secret_config
|
|
1821
|
+
# Specifies configuration information for a DataSync-managed secret,
|
|
1822
|
+
# either a `Password` or `KerberosKeytab` (for `NTLM` (default) and
|
|
1823
|
+
# `KERBEROS` authentication types, respectively) that DataSync uses to
|
|
1824
|
+
# access a specific SMB storage location, with a customer-managed KMS
|
|
1825
|
+
# key.
|
|
1826
|
+
#
|
|
1827
|
+
# When you include this parameter as part of a
|
|
1828
|
+
# `CreateLocationSmbRequest` request, you provide only the KMS key ARN.
|
|
1829
|
+
# DataSync uses this KMS key together with either the `Password` or
|
|
1830
|
+
# `KerberosKeytab` you specify to create a DataSync-managed secret to
|
|
1831
|
+
# store the location access credentials.
|
|
1832
|
+
#
|
|
1833
|
+
# Make sure that DataSync has permission to access the KMS key that you
|
|
1834
|
+
# specify.
|
|
1835
|
+
#
|
|
1836
|
+
# <note markdown="1"> You can use either `CmkSecretConfig` (with either `Password` or
|
|
1837
|
+
# `KerberosKeytab`) or `CustomSecretConfig` (without any `Password` and
|
|
1838
|
+
# `KerberosKeytab`) to provide credentials for a
|
|
1839
|
+
# `CreateLocationSmbRequest` request. Do not provide both
|
|
1840
|
+
# `CmkSecretConfig` and `CustomSecretConfig` parameters for the same
|
|
1841
|
+
# request.
|
|
1842
|
+
#
|
|
1843
|
+
# </note>
|
|
1844
|
+
#
|
|
1845
|
+
# @option params [Types::CustomSecretConfig] :custom_secret_config
|
|
1846
|
+
# Specifies configuration information for a customer-managed Secrets
|
|
1847
|
+
# Manager secret where the SMB storage location credentials is stored in
|
|
1848
|
+
# Secrets Manager as plain text (for `Password`) or binary (for
|
|
1849
|
+
# `KerberosKeytab`). This configuration includes the secret ARN, and the
|
|
1850
|
+
# ARN for an IAM role that provides access to the secret.
|
|
1851
|
+
#
|
|
1852
|
+
# <note markdown="1"> You can use either `CmkSecretConfig` (with `SasConfiguration`) or
|
|
1853
|
+
# `CustomSecretConfig` (without `SasConfiguration`) to provide
|
|
1854
|
+
# credentials for a `CreateLocationSmbRequest` request. Do not provide
|
|
1855
|
+
# both parameters for the same request.
|
|
1856
|
+
#
|
|
1857
|
+
# </note>
|
|
1858
|
+
#
|
|
1820
1859
|
# @option params [required, Array<String>] :agent_arns
|
|
1821
1860
|
# Specifies the DataSync agent (or agents) that can connect to your SMB
|
|
1822
1861
|
# file server. You specify an agent by using its Amazon Resource Name
|
|
@@ -1890,6 +1929,14 @@ module Aws::DataSync
|
|
|
1890
1929
|
# user: "SmbUser",
|
|
1891
1930
|
# domain: "SmbDomain",
|
|
1892
1931
|
# password: "SmbPassword",
|
|
1932
|
+
# cmk_secret_config: {
|
|
1933
|
+
# secret_arn: "SecretArn",
|
|
1934
|
+
# kms_key_arn: "KmsKeyArn",
|
|
1935
|
+
# },
|
|
1936
|
+
# custom_secret_config: {
|
|
1937
|
+
# secret_arn: "SecretArn",
|
|
1938
|
+
# secret_access_role_arn: "IamRoleArnOrEmptyString",
|
|
1939
|
+
# },
|
|
1893
1940
|
# agent_arns: ["AgentArn"], # required
|
|
1894
1941
|
# mount_options: {
|
|
1895
1942
|
# version: "AUTOMATIC", # accepts AUTOMATIC, SMB2, SMB3, SMB1, SMB2_0
|
|
@@ -2763,6 +2810,9 @@ module Aws::DataSync
|
|
|
2763
2810
|
# * {Types::DescribeLocationSmbResponse#dns_ip_addresses #dns_ip_addresses} => Array<String>
|
|
2764
2811
|
# * {Types::DescribeLocationSmbResponse#kerberos_principal #kerberos_principal} => String
|
|
2765
2812
|
# * {Types::DescribeLocationSmbResponse#authentication_type #authentication_type} => String
|
|
2813
|
+
# * {Types::DescribeLocationSmbResponse#managed_secret_config #managed_secret_config} => Types::ManagedSecretConfig
|
|
2814
|
+
# * {Types::DescribeLocationSmbResponse#cmk_secret_config #cmk_secret_config} => Types::CmkSecretConfig
|
|
2815
|
+
# * {Types::DescribeLocationSmbResponse#custom_secret_config #custom_secret_config} => Types::CustomSecretConfig
|
|
2766
2816
|
#
|
|
2767
2817
|
# @example Request syntax with placeholder values
|
|
2768
2818
|
#
|
|
@@ -2784,6 +2834,11 @@ module Aws::DataSync
|
|
|
2784
2834
|
# resp.dns_ip_addresses[0] #=> String
|
|
2785
2835
|
# resp.kerberos_principal #=> String
|
|
2786
2836
|
# resp.authentication_type #=> String, one of "NTLM", "KERBEROS"
|
|
2837
|
+
# resp.managed_secret_config.secret_arn #=> String
|
|
2838
|
+
# resp.cmk_secret_config.secret_arn #=> String
|
|
2839
|
+
# resp.cmk_secret_config.kms_key_arn #=> String
|
|
2840
|
+
# resp.custom_secret_config.secret_arn #=> String
|
|
2841
|
+
# resp.custom_secret_config.secret_access_role_arn #=> String
|
|
2787
2842
|
#
|
|
2788
2843
|
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/DescribeLocationSmb AWS API Documentation
|
|
2789
2844
|
#
|
|
@@ -2945,6 +3000,15 @@ module Aws::DataSync
|
|
|
2945
3000
|
# * {Types::DescribeTaskExecutionResponse#files_prepared #files_prepared} => Integer
|
|
2946
3001
|
# * {Types::DescribeTaskExecutionResponse#files_listed #files_listed} => Types::TaskExecutionFilesListedDetail
|
|
2947
3002
|
# * {Types::DescribeTaskExecutionResponse#files_failed #files_failed} => Types::TaskExecutionFilesFailedDetail
|
|
3003
|
+
# * {Types::DescribeTaskExecutionResponse#estimated_folders_to_delete #estimated_folders_to_delete} => Integer
|
|
3004
|
+
# * {Types::DescribeTaskExecutionResponse#estimated_folders_to_transfer #estimated_folders_to_transfer} => Integer
|
|
3005
|
+
# * {Types::DescribeTaskExecutionResponse#folders_skipped #folders_skipped} => Integer
|
|
3006
|
+
# * {Types::DescribeTaskExecutionResponse#folders_prepared #folders_prepared} => Integer
|
|
3007
|
+
# * {Types::DescribeTaskExecutionResponse#folders_transferred #folders_transferred} => Integer
|
|
3008
|
+
# * {Types::DescribeTaskExecutionResponse#folders_verified #folders_verified} => Integer
|
|
3009
|
+
# * {Types::DescribeTaskExecutionResponse#folders_deleted #folders_deleted} => Integer
|
|
3010
|
+
# * {Types::DescribeTaskExecutionResponse#folders_listed #folders_listed} => Types::TaskExecutionFoldersListedDetail
|
|
3011
|
+
# * {Types::DescribeTaskExecutionResponse#folders_failed #folders_failed} => Types::TaskExecutionFoldersFailedDetail
|
|
2948
3012
|
# * {Types::DescribeTaskExecutionResponse#launch_time #launch_time} => Time
|
|
2949
3013
|
# * {Types::DescribeTaskExecutionResponse#end_time #end_time} => Time
|
|
2950
3014
|
#
|
|
@@ -3026,6 +3090,20 @@ module Aws::DataSync
|
|
|
3026
3090
|
# resp.files_failed.transfer #=> Integer
|
|
3027
3091
|
# resp.files_failed.verify #=> Integer
|
|
3028
3092
|
# resp.files_failed.delete #=> Integer
|
|
3093
|
+
# resp.estimated_folders_to_delete #=> Integer
|
|
3094
|
+
# resp.estimated_folders_to_transfer #=> Integer
|
|
3095
|
+
# resp.folders_skipped #=> Integer
|
|
3096
|
+
# resp.folders_prepared #=> Integer
|
|
3097
|
+
# resp.folders_transferred #=> Integer
|
|
3098
|
+
# resp.folders_verified #=> Integer
|
|
3099
|
+
# resp.folders_deleted #=> Integer
|
|
3100
|
+
# resp.folders_listed.at_source #=> Integer
|
|
3101
|
+
# resp.folders_listed.at_destination_for_delete #=> Integer
|
|
3102
|
+
# resp.folders_failed.list #=> Integer
|
|
3103
|
+
# resp.folders_failed.prepare #=> Integer
|
|
3104
|
+
# resp.folders_failed.transfer #=> Integer
|
|
3105
|
+
# resp.folders_failed.verify #=> Integer
|
|
3106
|
+
# resp.folders_failed.delete #=> Integer
|
|
3029
3107
|
# resp.launch_time #=> Time
|
|
3030
3108
|
# resp.end_time #=> Time
|
|
3031
3109
|
#
|
|
@@ -4449,6 +4527,18 @@ module Aws::DataSync
|
|
|
4449
4527
|
# transfer. This parameter applies only if `AuthenticationType` is set
|
|
4450
4528
|
# to `NTLM`.
|
|
4451
4529
|
#
|
|
4530
|
+
# @option params [Types::CmkSecretConfig] :cmk_secret_config
|
|
4531
|
+
# Specifies configuration information for a DataSync-managed secret,
|
|
4532
|
+
# such as a `Password` or `KerberosKeytab` or set of credentials that
|
|
4533
|
+
# DataSync uses to access a specific transfer location, and a
|
|
4534
|
+
# customer-managed KMS key.
|
|
4535
|
+
#
|
|
4536
|
+
# @option params [Types::CustomSecretConfig] :custom_secret_config
|
|
4537
|
+
# Specifies configuration information for a customer-managed secret,
|
|
4538
|
+
# such as a `Password` or `KerberosKeytab` or set of credentials that
|
|
4539
|
+
# DataSync uses to access a specific transfer location, and a
|
|
4540
|
+
# customer-managed KMS key.
|
|
4541
|
+
#
|
|
4452
4542
|
# @option params [Array<String>] :agent_arns
|
|
4453
4543
|
# Specifies the DataSync agent (or agents) that can connect to your SMB
|
|
4454
4544
|
# file server. You specify an agent by using its Amazon Resource Name
|
|
@@ -4516,6 +4606,14 @@ module Aws::DataSync
|
|
|
4516
4606
|
# user: "SmbUser",
|
|
4517
4607
|
# domain: "SmbDomain",
|
|
4518
4608
|
# password: "SmbPassword",
|
|
4609
|
+
# cmk_secret_config: {
|
|
4610
|
+
# secret_arn: "SecretArn",
|
|
4611
|
+
# kms_key_arn: "KmsKeyArn",
|
|
4612
|
+
# },
|
|
4613
|
+
# custom_secret_config: {
|
|
4614
|
+
# secret_arn: "SecretArn",
|
|
4615
|
+
# secret_access_role_arn: "IamRoleArnOrEmptyString",
|
|
4616
|
+
# },
|
|
4519
4617
|
# agent_arns: ["AgentArn"],
|
|
4520
4618
|
# mount_options: {
|
|
4521
4619
|
# version: "AUTOMATIC", # accepts AUTOMATIC, SMB2, SMB3, SMB1, SMB2_0
|
|
@@ -4812,7 +4910,7 @@ module Aws::DataSync
|
|
|
4812
4910
|
tracer: tracer
|
|
4813
4911
|
)
|
|
4814
4912
|
context[:gem_name] = 'aws-sdk-datasync'
|
|
4815
|
-
context[:gem_version] = '1.
|
|
4913
|
+
context[:gem_version] = '1.116.0'
|
|
4816
4914
|
Seahorse::Client::Request.new(handlers, context)
|
|
4817
4915
|
end
|
|
4818
4916
|
|
|
@@ -140,6 +140,7 @@ module Aws::DataSync
|
|
|
140
140
|
InputTagList = Shapes::ListShape.new(name: 'InputTagList')
|
|
141
141
|
InternalException = Shapes::StructureShape.new(name: 'InternalException')
|
|
142
142
|
InvalidRequestException = Shapes::StructureShape.new(name: 'InvalidRequestException')
|
|
143
|
+
ItemCount = Shapes::IntegerShape.new(name: 'ItemCount')
|
|
143
144
|
KerberosKeytabFile = Shapes::BlobShape.new(name: 'KerberosKeytabFile')
|
|
144
145
|
KerberosKrb5ConfFile = Shapes::BlobShape.new(name: 'KerberosKrb5ConfFile')
|
|
145
146
|
KerberosPrincipal = Shapes::StringShape.new(name: 'KerberosPrincipal')
|
|
@@ -241,6 +242,8 @@ module Aws::DataSync
|
|
|
241
242
|
TaskExecutionArn = Shapes::StringShape.new(name: 'TaskExecutionArn')
|
|
242
243
|
TaskExecutionFilesFailedDetail = Shapes::StructureShape.new(name: 'TaskExecutionFilesFailedDetail')
|
|
243
244
|
TaskExecutionFilesListedDetail = Shapes::StructureShape.new(name: 'TaskExecutionFilesListedDetail')
|
|
245
|
+
TaskExecutionFoldersFailedDetail = Shapes::StructureShape.new(name: 'TaskExecutionFoldersFailedDetail')
|
|
246
|
+
TaskExecutionFoldersListedDetail = Shapes::StructureShape.new(name: 'TaskExecutionFoldersListedDetail')
|
|
244
247
|
TaskExecutionList = Shapes::ListShape.new(name: 'TaskExecutionList')
|
|
245
248
|
TaskExecutionListEntry = Shapes::StructureShape.new(name: 'TaskExecutionListEntry')
|
|
246
249
|
TaskExecutionResultDetail = Shapes::StructureShape.new(name: 'TaskExecutionResultDetail')
|
|
@@ -459,6 +462,8 @@ module Aws::DataSync
|
|
|
459
462
|
CreateLocationSmbRequest.add_member(:user, Shapes::ShapeRef.new(shape: SmbUser, location_name: "User"))
|
|
460
463
|
CreateLocationSmbRequest.add_member(:domain, Shapes::ShapeRef.new(shape: SmbDomain, location_name: "Domain"))
|
|
461
464
|
CreateLocationSmbRequest.add_member(:password, Shapes::ShapeRef.new(shape: SmbPassword, location_name: "Password"))
|
|
465
|
+
CreateLocationSmbRequest.add_member(:cmk_secret_config, Shapes::ShapeRef.new(shape: CmkSecretConfig, location_name: "CmkSecretConfig"))
|
|
466
|
+
CreateLocationSmbRequest.add_member(:custom_secret_config, Shapes::ShapeRef.new(shape: CustomSecretConfig, location_name: "CustomSecretConfig"))
|
|
462
467
|
CreateLocationSmbRequest.add_member(:agent_arns, Shapes::ShapeRef.new(shape: AgentArnList, required: true, location_name: "AgentArns"))
|
|
463
468
|
CreateLocationSmbRequest.add_member(:mount_options, Shapes::ShapeRef.new(shape: SmbMountOptions, location_name: "MountOptions"))
|
|
464
469
|
CreateLocationSmbRequest.add_member(:tags, Shapes::ShapeRef.new(shape: InputTagList, location_name: "Tags"))
|
|
@@ -657,6 +662,9 @@ module Aws::DataSync
|
|
|
657
662
|
DescribeLocationSmbResponse.add_member(:dns_ip_addresses, Shapes::ShapeRef.new(shape: DnsIpList, location_name: "DnsIpAddresses"))
|
|
658
663
|
DescribeLocationSmbResponse.add_member(:kerberos_principal, Shapes::ShapeRef.new(shape: KerberosPrincipal, location_name: "KerberosPrincipal"))
|
|
659
664
|
DescribeLocationSmbResponse.add_member(:authentication_type, Shapes::ShapeRef.new(shape: SmbAuthenticationType, location_name: "AuthenticationType"))
|
|
665
|
+
DescribeLocationSmbResponse.add_member(:managed_secret_config, Shapes::ShapeRef.new(shape: ManagedSecretConfig, location_name: "ManagedSecretConfig"))
|
|
666
|
+
DescribeLocationSmbResponse.add_member(:cmk_secret_config, Shapes::ShapeRef.new(shape: CmkSecretConfig, location_name: "CmkSecretConfig"))
|
|
667
|
+
DescribeLocationSmbResponse.add_member(:custom_secret_config, Shapes::ShapeRef.new(shape: CustomSecretConfig, location_name: "CustomSecretConfig"))
|
|
660
668
|
DescribeLocationSmbResponse.struct_class = Types::DescribeLocationSmbResponse
|
|
661
669
|
|
|
662
670
|
DescribeTaskExecutionRequest.add_member(:task_execution_arn, Shapes::ShapeRef.new(shape: TaskExecutionArn, required: true, location_name: "TaskExecutionArn"))
|
|
@@ -686,6 +694,15 @@ module Aws::DataSync
|
|
|
686
694
|
DescribeTaskExecutionResponse.add_member(:files_prepared, Shapes::ShapeRef.new(shape: long, location_name: "FilesPrepared"))
|
|
687
695
|
DescribeTaskExecutionResponse.add_member(:files_listed, Shapes::ShapeRef.new(shape: TaskExecutionFilesListedDetail, location_name: "FilesListed"))
|
|
688
696
|
DescribeTaskExecutionResponse.add_member(:files_failed, Shapes::ShapeRef.new(shape: TaskExecutionFilesFailedDetail, location_name: "FilesFailed"))
|
|
697
|
+
DescribeTaskExecutionResponse.add_member(:estimated_folders_to_delete, Shapes::ShapeRef.new(shape: ItemCount, location_name: "EstimatedFoldersToDelete"))
|
|
698
|
+
DescribeTaskExecutionResponse.add_member(:estimated_folders_to_transfer, Shapes::ShapeRef.new(shape: ItemCount, location_name: "EstimatedFoldersToTransfer"))
|
|
699
|
+
DescribeTaskExecutionResponse.add_member(:folders_skipped, Shapes::ShapeRef.new(shape: ItemCount, location_name: "FoldersSkipped"))
|
|
700
|
+
DescribeTaskExecutionResponse.add_member(:folders_prepared, Shapes::ShapeRef.new(shape: ItemCount, location_name: "FoldersPrepared"))
|
|
701
|
+
DescribeTaskExecutionResponse.add_member(:folders_transferred, Shapes::ShapeRef.new(shape: ItemCount, location_name: "FoldersTransferred"))
|
|
702
|
+
DescribeTaskExecutionResponse.add_member(:folders_verified, Shapes::ShapeRef.new(shape: ItemCount, location_name: "FoldersVerified"))
|
|
703
|
+
DescribeTaskExecutionResponse.add_member(:folders_deleted, Shapes::ShapeRef.new(shape: ItemCount, location_name: "FoldersDeleted"))
|
|
704
|
+
DescribeTaskExecutionResponse.add_member(:folders_listed, Shapes::ShapeRef.new(shape: TaskExecutionFoldersListedDetail, location_name: "FoldersListed"))
|
|
705
|
+
DescribeTaskExecutionResponse.add_member(:folders_failed, Shapes::ShapeRef.new(shape: TaskExecutionFoldersFailedDetail, location_name: "FoldersFailed"))
|
|
689
706
|
DescribeTaskExecutionResponse.add_member(:launch_time, Shapes::ShapeRef.new(shape: Time, location_name: "LaunchTime"))
|
|
690
707
|
DescribeTaskExecutionResponse.add_member(:end_time, Shapes::ShapeRef.new(shape: Time, location_name: "EndTime"))
|
|
691
708
|
DescribeTaskExecutionResponse.struct_class = Types::DescribeTaskExecutionResponse
|
|
@@ -953,6 +970,17 @@ module Aws::DataSync
|
|
|
953
970
|
TaskExecutionFilesListedDetail.add_member(:at_destination_for_delete, Shapes::ShapeRef.new(shape: long, location_name: "AtDestinationForDelete"))
|
|
954
971
|
TaskExecutionFilesListedDetail.struct_class = Types::TaskExecutionFilesListedDetail
|
|
955
972
|
|
|
973
|
+
TaskExecutionFoldersFailedDetail.add_member(:list, Shapes::ShapeRef.new(shape: long, location_name: "List"))
|
|
974
|
+
TaskExecutionFoldersFailedDetail.add_member(:prepare, Shapes::ShapeRef.new(shape: long, location_name: "Prepare"))
|
|
975
|
+
TaskExecutionFoldersFailedDetail.add_member(:transfer, Shapes::ShapeRef.new(shape: long, location_name: "Transfer"))
|
|
976
|
+
TaskExecutionFoldersFailedDetail.add_member(:verify, Shapes::ShapeRef.new(shape: long, location_name: "Verify"))
|
|
977
|
+
TaskExecutionFoldersFailedDetail.add_member(:delete, Shapes::ShapeRef.new(shape: long, location_name: "Delete"))
|
|
978
|
+
TaskExecutionFoldersFailedDetail.struct_class = Types::TaskExecutionFoldersFailedDetail
|
|
979
|
+
|
|
980
|
+
TaskExecutionFoldersListedDetail.add_member(:at_source, Shapes::ShapeRef.new(shape: long, location_name: "AtSource"))
|
|
981
|
+
TaskExecutionFoldersListedDetail.add_member(:at_destination_for_delete, Shapes::ShapeRef.new(shape: long, location_name: "AtDestinationForDelete"))
|
|
982
|
+
TaskExecutionFoldersListedDetail.struct_class = Types::TaskExecutionFoldersListedDetail
|
|
983
|
+
|
|
956
984
|
TaskExecutionList.member = Shapes::ShapeRef.new(shape: TaskExecutionListEntry)
|
|
957
985
|
|
|
958
986
|
TaskExecutionListEntry.add_member(:task_execution_arn, Shapes::ShapeRef.new(shape: TaskExecutionArn, location_name: "TaskExecutionArn"))
|
|
@@ -1120,6 +1148,8 @@ module Aws::DataSync
|
|
|
1120
1148
|
UpdateLocationSmbRequest.add_member(:user, Shapes::ShapeRef.new(shape: SmbUser, location_name: "User"))
|
|
1121
1149
|
UpdateLocationSmbRequest.add_member(:domain, Shapes::ShapeRef.new(shape: SmbDomain, location_name: "Domain"))
|
|
1122
1150
|
UpdateLocationSmbRequest.add_member(:password, Shapes::ShapeRef.new(shape: SmbPassword, location_name: "Password"))
|
|
1151
|
+
UpdateLocationSmbRequest.add_member(:cmk_secret_config, Shapes::ShapeRef.new(shape: CmkSecretConfig, location_name: "CmkSecretConfig"))
|
|
1152
|
+
UpdateLocationSmbRequest.add_member(:custom_secret_config, Shapes::ShapeRef.new(shape: CustomSecretConfig, location_name: "CustomSecretConfig"))
|
|
1123
1153
|
UpdateLocationSmbRequest.add_member(:agent_arns, Shapes::ShapeRef.new(shape: AgentArnList, location_name: "AgentArns"))
|
|
1124
1154
|
UpdateLocationSmbRequest.add_member(:mount_options, Shapes::ShapeRef.new(shape: SmbMountOptions, location_name: "MountOptions"))
|
|
1125
1155
|
UpdateLocationSmbRequest.add_member(:authentication_type, Shapes::ShapeRef.new(shape: SmbAuthenticationType, location_name: "AuthenticationType"))
|
|
@@ -104,8 +104,9 @@ module Aws::DataSync
|
|
|
104
104
|
class CancelTaskExecutionResponse < Aws::EmptyStructure; end
|
|
105
105
|
|
|
106
106
|
# Specifies configuration information for a DataSync-managed secret,
|
|
107
|
-
# such as an authentication token
|
|
108
|
-
# access a specific storage location, with
|
|
107
|
+
# such as an authentication token, secret key, password, or Kerberos
|
|
108
|
+
# keytab that DataSync uses to access a specific storage location, with
|
|
109
|
+
# a customer-managed KMS key.
|
|
109
110
|
#
|
|
110
111
|
# <note markdown="1"> You can use either `CmkSecretConfig` or `CustomSecretConfig` to
|
|
111
112
|
# provide credentials for a `CreateLocation` request. Do not provide
|
|
@@ -297,14 +298,14 @@ module Aws::DataSync
|
|
|
297
298
|
# a specific AzureBlob storage location, with a customer-managed KMS
|
|
298
299
|
# key.
|
|
299
300
|
#
|
|
300
|
-
# When you include this
|
|
301
|
+
# When you include this parameter as part of a
|
|
301
302
|
# `CreateLocationAzureBlob` request, you provide only the KMS key ARN.
|
|
302
303
|
# DataSync uses this KMS key together with the authentication token
|
|
303
304
|
# you specify for `SasConfiguration` to create a DataSync-managed
|
|
304
305
|
# secret to store the location access credentials.
|
|
305
306
|
#
|
|
306
|
-
# Make sure
|
|
307
|
-
# specify.
|
|
307
|
+
# Make sure that DataSync has permission to access the KMS key that
|
|
308
|
+
# you specify.
|
|
308
309
|
#
|
|
309
310
|
# <note markdown="1"> You can use either `CmkSecretConfig` (with `SasConfiguration`) or
|
|
310
311
|
# `CustomSecretConfig` (without `SasConfiguration`) to provide
|
|
@@ -317,9 +318,9 @@ module Aws::DataSync
|
|
|
317
318
|
# @!attribute [rw] custom_secret_config
|
|
318
319
|
# Specifies configuration information for a customer-managed Secrets
|
|
319
320
|
# Manager secret where the authentication token for an AzureBlob
|
|
320
|
-
# storage location is stored in plain text. This
|
|
321
|
-
# includes the secret ARN, and the ARN for an IAM role
|
|
322
|
-
# access to the secret.
|
|
321
|
+
# storage location is stored in plain text, in Secrets Manager. This
|
|
322
|
+
# configuration includes the secret ARN, and the ARN for an IAM role
|
|
323
|
+
# that provides access to the secret.
|
|
323
324
|
#
|
|
324
325
|
# <note markdown="1"> You can use either `CmkSecretConfig` (with `SasConfiguration`) or
|
|
325
326
|
# `CustomSecretConfig` (without `SasConfiguration`) to provide
|
|
@@ -1038,14 +1039,14 @@ module Aws::DataSync
|
|
|
1038
1039
|
# which includes the `SecretKey` that DataSync uses to access a
|
|
1039
1040
|
# specific object storage location, with a customer-managed KMS key.
|
|
1040
1041
|
#
|
|
1041
|
-
# When you include this
|
|
1042
|
+
# When you include this parameter as part of a
|
|
1042
1043
|
# `CreateLocationObjectStorage` request, you provide only the KMS key
|
|
1043
1044
|
# ARN. DataSync uses this KMS key together with the value you specify
|
|
1044
1045
|
# for the `SecretKey` parameter to create a DataSync-managed secret to
|
|
1045
1046
|
# store the location access credentials.
|
|
1046
1047
|
#
|
|
1047
|
-
# Make sure
|
|
1048
|
-
# specify.
|
|
1048
|
+
# Make sure that DataSync has permission to access the KMS key that
|
|
1049
|
+
# you specify.
|
|
1049
1050
|
#
|
|
1050
1051
|
# <note markdown="1"> You can use either `CmkSecretConfig` (with `SecretKey`) or
|
|
1051
1052
|
# `CustomSecretConfig` (without `SecretKey`) to provide credentials
|
|
@@ -1058,9 +1059,9 @@ module Aws::DataSync
|
|
|
1058
1059
|
# @!attribute [rw] custom_secret_config
|
|
1059
1060
|
# Specifies configuration information for a customer-managed Secrets
|
|
1060
1061
|
# Manager secret where the secret key for a specific object storage
|
|
1061
|
-
# location is stored in plain text
|
|
1062
|
-
# secret ARN, and the ARN for an IAM role
|
|
1063
|
-
# secret.
|
|
1062
|
+
# location is stored in plain text, in Secrets Manager. This
|
|
1063
|
+
# configuration includes the secret ARN, and the ARN for an IAM role
|
|
1064
|
+
# that provides access to the secret.
|
|
1064
1065
|
#
|
|
1065
1066
|
# <note markdown="1"> You can use either `CmkSecretConfig` (with `SecretKey`) or
|
|
1066
1067
|
# `CustomSecretConfig` (without `SecretKey`) to provide credentials
|
|
@@ -1273,6 +1274,47 @@ module Aws::DataSync
|
|
|
1273
1274
|
# `AuthenticationType` is set to `NTLM`.
|
|
1274
1275
|
# @return [String]
|
|
1275
1276
|
#
|
|
1277
|
+
# @!attribute [rw] cmk_secret_config
|
|
1278
|
+
# Specifies configuration information for a DataSync-managed secret,
|
|
1279
|
+
# either a `Password` or `KerberosKeytab` (for `NTLM` (default) and
|
|
1280
|
+
# `KERBEROS` authentication types, respectively) that DataSync uses to
|
|
1281
|
+
# access a specific SMB storage location, with a customer-managed KMS
|
|
1282
|
+
# key.
|
|
1283
|
+
#
|
|
1284
|
+
# When you include this parameter as part of a
|
|
1285
|
+
# `CreateLocationSmbRequest` request, you provide only the KMS key
|
|
1286
|
+
# ARN. DataSync uses this KMS key together with either the `Password`
|
|
1287
|
+
# or `KerberosKeytab` you specify to create a DataSync-managed secret
|
|
1288
|
+
# to store the location access credentials.
|
|
1289
|
+
#
|
|
1290
|
+
# Make sure that DataSync has permission to access the KMS key that
|
|
1291
|
+
# you specify.
|
|
1292
|
+
#
|
|
1293
|
+
# <note markdown="1"> You can use either `CmkSecretConfig` (with either `Password` or
|
|
1294
|
+
# `KerberosKeytab`) or `CustomSecretConfig` (without any `Password`
|
|
1295
|
+
# and `KerberosKeytab`) to provide credentials for a
|
|
1296
|
+
# `CreateLocationSmbRequest` request. Do not provide both
|
|
1297
|
+
# `CmkSecretConfig` and `CustomSecretConfig` parameters for the same
|
|
1298
|
+
# request.
|
|
1299
|
+
#
|
|
1300
|
+
# </note>
|
|
1301
|
+
# @return [Types::CmkSecretConfig]
|
|
1302
|
+
#
|
|
1303
|
+
# @!attribute [rw] custom_secret_config
|
|
1304
|
+
# Specifies configuration information for a customer-managed Secrets
|
|
1305
|
+
# Manager secret where the SMB storage location credentials is stored
|
|
1306
|
+
# in Secrets Manager as plain text (for `Password`) or binary (for
|
|
1307
|
+
# `KerberosKeytab`). This configuration includes the secret ARN, and
|
|
1308
|
+
# the ARN for an IAM role that provides access to the secret.
|
|
1309
|
+
#
|
|
1310
|
+
# <note markdown="1"> You can use either `CmkSecretConfig` (with `SasConfiguration`) or
|
|
1311
|
+
# `CustomSecretConfig` (without `SasConfiguration`) to provide
|
|
1312
|
+
# credentials for a `CreateLocationSmbRequest` request. Do not provide
|
|
1313
|
+
# both parameters for the same request.
|
|
1314
|
+
#
|
|
1315
|
+
# </note>
|
|
1316
|
+
# @return [Types::CustomSecretConfig]
|
|
1317
|
+
#
|
|
1276
1318
|
# @!attribute [rw] agent_arns
|
|
1277
1319
|
# Specifies the DataSync agent (or agents) that can connect to your
|
|
1278
1320
|
# SMB file server. You specify an agent by using its Amazon Resource
|
|
@@ -1352,6 +1394,8 @@ module Aws::DataSync
|
|
|
1352
1394
|
:user,
|
|
1353
1395
|
:domain,
|
|
1354
1396
|
:password,
|
|
1397
|
+
:cmk_secret_config,
|
|
1398
|
+
:custom_secret_config,
|
|
1355
1399
|
:agent_arns,
|
|
1356
1400
|
:mount_options,
|
|
1357
1401
|
:tags,
|
|
@@ -1544,9 +1588,11 @@ module Aws::DataSync
|
|
|
1544
1588
|
end
|
|
1545
1589
|
|
|
1546
1590
|
# Specifies configuration information for a customer-managed Secrets
|
|
1547
|
-
# Manager secret where a storage location
|
|
1548
|
-
#
|
|
1549
|
-
#
|
|
1591
|
+
# Manager secret where a storage location credentials is stored in
|
|
1592
|
+
# Secrets Manager as plain text (for authentication token, secret key,
|
|
1593
|
+
# or password) or as binary (for Kerberos keytab). This configuration
|
|
1594
|
+
# includes the secret ARN, and the ARN for an IAM role that provides
|
|
1595
|
+
# access to the secret.
|
|
1550
1596
|
#
|
|
1551
1597
|
# <note markdown="1"> You can use either `CmkSecretConfig` or `CustomSecretConfig` to
|
|
1552
1598
|
# provide credentials for a `CreateLocation` request. Do not provide
|
|
@@ -2484,6 +2530,26 @@ module Aws::DataSync
|
|
|
2484
2530
|
# SMB file server.
|
|
2485
2531
|
# @return [String]
|
|
2486
2532
|
#
|
|
2533
|
+
# @!attribute [rw] managed_secret_config
|
|
2534
|
+
# Describes configuration information for a DataSync-managed secret,
|
|
2535
|
+
# such as a `Password` or `KerberosKeytab` that DataSync uses to
|
|
2536
|
+
# access a specific storage location. DataSync uses the default Amazon
|
|
2537
|
+
# Web Services-managed KMS key to encrypt this secret in Secrets
|
|
2538
|
+
# Manager.
|
|
2539
|
+
# @return [Types::ManagedSecretConfig]
|
|
2540
|
+
#
|
|
2541
|
+
# @!attribute [rw] cmk_secret_config
|
|
2542
|
+
# Describes configuration information for a DataSync-managed secret,
|
|
2543
|
+
# such as a `Password` or `KerberosKeytab` that DataSync uses to
|
|
2544
|
+
# access a specific storage location, with a customer-managed KMS key.
|
|
2545
|
+
# @return [Types::CmkSecretConfig]
|
|
2546
|
+
#
|
|
2547
|
+
# @!attribute [rw] custom_secret_config
|
|
2548
|
+
# Describes configuration information for a customer-managed secret,
|
|
2549
|
+
# such as a `Password` or `KerberosKeytab` that DataSync uses to
|
|
2550
|
+
# access a specific storage location, with a customer-managed KMS key.
|
|
2551
|
+
# @return [Types::CustomSecretConfig]
|
|
2552
|
+
#
|
|
2487
2553
|
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/DescribeLocationSmbResponse AWS API Documentation
|
|
2488
2554
|
#
|
|
2489
2555
|
class DescribeLocationSmbResponse < Struct.new(
|
|
@@ -2496,7 +2562,10 @@ module Aws::DataSync
|
|
|
2496
2562
|
:creation_time,
|
|
2497
2563
|
:dns_ip_addresses,
|
|
2498
2564
|
:kerberos_principal,
|
|
2499
|
-
:authentication_type
|
|
2565
|
+
:authentication_type,
|
|
2566
|
+
:managed_secret_config,
|
|
2567
|
+
:cmk_secret_config,
|
|
2568
|
+
:custom_secret_config)
|
|
2500
2569
|
SENSITIVE = []
|
|
2501
2570
|
include Aws::Structure
|
|
2502
2571
|
end
|
|
@@ -2615,12 +2684,19 @@ module Aws::DataSync
|
|
|
2615
2684
|
# * If `TranserMode` is set to `ALL` - The calculation is based only
|
|
2616
2685
|
# on the items that DataSync finds at the source location.
|
|
2617
2686
|
#
|
|
2687
|
+
# <note markdown="1"> For [Enhanced mode tasks][5], this counter only includes files or
|
|
2688
|
+
# objects. Directories are counted in [EstimatedFoldersToTransfer][6].
|
|
2689
|
+
#
|
|
2690
|
+
# </note>
|
|
2691
|
+
#
|
|
2618
2692
|
#
|
|
2619
2693
|
#
|
|
2620
2694
|
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/run-task.html#understand-task-execution-statuses
|
|
2621
2695
|
# [2]: https://docs.aws.amazon.com/datasync/latest/userguide/API_Options.html#DataSync-Type-Options-TransferMode
|
|
2622
2696
|
# [3]: https://docs.aws.amazon.com/datasync/latest/userguide/API_Options.html#DataSync-Type-Options-OverwriteMode
|
|
2623
2697
|
# [4]: https://docs.aws.amazon.com/datasync/latest/userguide/API_Options.html#DataSync-Type-Options-PreserveDeletedFiles
|
|
2698
|
+
# [5]: https://docs.aws.amazon.com/datasync/latest/userguide/choosing-task-mode.html
|
|
2699
|
+
# [6]: https://docs.aws.amazon.com/datasync/latest/userguide/API_DescribeTaskExecution.html#DataSync-DescribeTaskExecution-response-EstimatedFoldersToTransfer
|
|
2624
2700
|
# @return [Integer]
|
|
2625
2701
|
#
|
|
2626
2702
|
# @!attribute [rw] estimated_bytes_to_transfer
|
|
@@ -2640,6 +2716,16 @@ module Aws::DataSync
|
|
|
2640
2716
|
# implementation-specific for some location types, so don't use it as
|
|
2641
2717
|
# an exact indication of what's transferring or to monitor your task
|
|
2642
2718
|
# execution.
|
|
2719
|
+
#
|
|
2720
|
+
# <note markdown="1"> For [Enhanced mode tasks][1], this counter only includes files or
|
|
2721
|
+
# objects. Directories are counted in [FoldersTransferred][2].
|
|
2722
|
+
#
|
|
2723
|
+
# </note>
|
|
2724
|
+
#
|
|
2725
|
+
#
|
|
2726
|
+
#
|
|
2727
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/choosing-task-mode.html
|
|
2728
|
+
# [2]: https://docs.aws.amazon.com/datasync/latest/userguide/API_DescribeTaskExecution.html#DataSync-DescribeTaskExecution-response-FoldersTransferred
|
|
2643
2729
|
# @return [Integer]
|
|
2644
2730
|
#
|
|
2645
2731
|
# @!attribute [rw] bytes_written
|
|
@@ -2688,14 +2774,31 @@ module Aws::DataSync
|
|
|
2688
2774
|
# task to [delete data in the destination that isn't in the
|
|
2689
2775
|
# source][1], the value is always `0`.
|
|
2690
2776
|
#
|
|
2777
|
+
# <note markdown="1"> For [Enhanced mode tasks][2], this counter only includes files or
|
|
2778
|
+
# objects. Directories are counted in [FoldersDeleted][3].
|
|
2779
|
+
#
|
|
2780
|
+
# </note>
|
|
2781
|
+
#
|
|
2691
2782
|
#
|
|
2692
2783
|
#
|
|
2693
2784
|
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/configure-metadata.html
|
|
2785
|
+
# [2]: https://docs.aws.amazon.com/datasync/latest/userguide/choosing-task-mode.html
|
|
2786
|
+
# [3]: https://docs.aws.amazon.com/datasync/latest/userguide/API_DescribeTaskExecution.html#DataSync-DescribeTaskExecution-response-FoldersDeleted
|
|
2694
2787
|
# @return [Integer]
|
|
2695
2788
|
#
|
|
2696
2789
|
# @!attribute [rw] files_skipped
|
|
2697
2790
|
# The number of files, objects, and directories that DataSync skips
|
|
2698
2791
|
# during your transfer.
|
|
2792
|
+
#
|
|
2793
|
+
# <note markdown="1"> For [Enhanced mode tasks][1], this counter only includes files or
|
|
2794
|
+
# objects. Directories are counted in [FoldersSkipped][2].
|
|
2795
|
+
#
|
|
2796
|
+
# </note>
|
|
2797
|
+
#
|
|
2798
|
+
#
|
|
2799
|
+
#
|
|
2800
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/choosing-task-mode.html
|
|
2801
|
+
# [2]: https://docs.aws.amazon.com/datasync/latest/userguide/API_DescribeTaskExecution.html#DataSync-DescribeTaskExecution-response-FoldersSkipped
|
|
2699
2802
|
# @return [Integer]
|
|
2700
2803
|
#
|
|
2701
2804
|
# @!attribute [rw] files_verified
|
|
@@ -2706,11 +2809,16 @@ module Aws::DataSync
|
|
|
2706
2809
|
# transferred][1], DataSync doesn't verify directories in some
|
|
2707
2810
|
# situations or files that fail to transfer.
|
|
2708
2811
|
#
|
|
2812
|
+
# For [Enhanced mode tasks][2], this counter only includes files or
|
|
2813
|
+
# objects. Directories are counted in [FoldersVerified][3].
|
|
2814
|
+
#
|
|
2709
2815
|
# </note>
|
|
2710
2816
|
#
|
|
2711
2817
|
#
|
|
2712
2818
|
#
|
|
2713
2819
|
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/configure-data-verification-options.html
|
|
2820
|
+
# [2]: https://docs.aws.amazon.com/datasync/latest/userguide/choosing-task-mode.html
|
|
2821
|
+
# [3]: https://docs.aws.amazon.com/datasync/latest/userguide/API_DescribeTaskExecution.html#DataSync-DescribeTaskExecution-response-FoldersVerified
|
|
2714
2822
|
# @return [Integer]
|
|
2715
2823
|
#
|
|
2716
2824
|
# @!attribute [rw] report_result
|
|
@@ -2728,9 +2836,16 @@ module Aws::DataSync
|
|
|
2728
2836
|
# task to [delete data in the destination that isn't in the
|
|
2729
2837
|
# source][1], the value is always `0`.
|
|
2730
2838
|
#
|
|
2839
|
+
# <note markdown="1"> For [Enhanced mode tasks][2], this counter only includes files or
|
|
2840
|
+
# objects. Directories are counted in [EstimatedFoldersToDelete][3].
|
|
2841
|
+
#
|
|
2842
|
+
# </note>
|
|
2843
|
+
#
|
|
2731
2844
|
#
|
|
2732
2845
|
#
|
|
2733
2846
|
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/configure-metadata.html
|
|
2847
|
+
# [2]: https://docs.aws.amazon.com/datasync/latest/userguide/choosing-task-mode.html
|
|
2848
|
+
# [3]: https://docs.aws.amazon.com/datasync/latest/userguide/API_DescribeTaskExecution.html#DataSync-DescribeTaskExecution-response-EstimatedFoldersToDelete
|
|
2734
2849
|
# @return [Integer]
|
|
2735
2850
|
#
|
|
2736
2851
|
# @!attribute [rw] task_mode
|
|
@@ -2743,8 +2858,8 @@ module Aws::DataSync
|
|
|
2743
2858
|
# @return [String]
|
|
2744
2859
|
#
|
|
2745
2860
|
# @!attribute [rw] files_prepared
|
|
2746
|
-
# The number of objects that DataSync will attempt to
|
|
2747
|
-
# comparing your source and destination locations.
|
|
2861
|
+
# The number of files or objects that DataSync will attempt to
|
|
2862
|
+
# transfer after comparing your source and destination locations.
|
|
2748
2863
|
#
|
|
2749
2864
|
# <note markdown="1"> Applies only to [Enhanced mode tasks][1].
|
|
2750
2865
|
#
|
|
@@ -2762,7 +2877,8 @@ module Aws::DataSync
|
|
|
2762
2877
|
# @return [Integer]
|
|
2763
2878
|
#
|
|
2764
2879
|
# @!attribute [rw] files_listed
|
|
2765
|
-
# The number of objects that DataSync finds at your
|
|
2880
|
+
# The number of files or objects that DataSync finds at your
|
|
2881
|
+
# locations.
|
|
2766
2882
|
#
|
|
2767
2883
|
# <note markdown="1"> Applies only to [Enhanced mode tasks][1].
|
|
2768
2884
|
#
|
|
@@ -2774,8 +2890,8 @@ module Aws::DataSync
|
|
|
2774
2890
|
# @return [Types::TaskExecutionFilesListedDetail]
|
|
2775
2891
|
#
|
|
2776
2892
|
# @!attribute [rw] files_failed
|
|
2777
|
-
# The number of objects that DataSync fails to prepare,
|
|
2778
|
-
# verify, and delete during your task execution.
|
|
2893
|
+
# The number of files or objects that DataSync fails to prepare,
|
|
2894
|
+
# transfer, verify, and delete during your task execution.
|
|
2779
2895
|
#
|
|
2780
2896
|
# <note markdown="1"> Applies only to [Enhanced mode tasks][1].
|
|
2781
2897
|
#
|
|
@@ -2786,6 +2902,159 @@ module Aws::DataSync
|
|
|
2786
2902
|
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/choosing-task-mode.html
|
|
2787
2903
|
# @return [Types::TaskExecutionFilesFailedDetail]
|
|
2788
2904
|
#
|
|
2905
|
+
# @!attribute [rw] estimated_folders_to_delete
|
|
2906
|
+
# The number of directories that DataSync expects to delete in your
|
|
2907
|
+
# destination location. If you don't configure your task to [delete
|
|
2908
|
+
# data in the destination that isn't in the source][1], the value is
|
|
2909
|
+
# always `0`.
|
|
2910
|
+
#
|
|
2911
|
+
# <note markdown="1"> Applies only to [Enhanced mode tasks][2].
|
|
2912
|
+
#
|
|
2913
|
+
# </note>
|
|
2914
|
+
#
|
|
2915
|
+
#
|
|
2916
|
+
#
|
|
2917
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/configure-metadata.html
|
|
2918
|
+
# [2]: https://docs.aws.amazon.com/datasync/latest/userguide/choosing-task-mode.html
|
|
2919
|
+
# @return [Integer]
|
|
2920
|
+
#
|
|
2921
|
+
# @!attribute [rw] estimated_folders_to_transfer
|
|
2922
|
+
# The number of directories that DataSync expects to transfer over the
|
|
2923
|
+
# network. This value is calculated as DataSync [prepares][1]
|
|
2924
|
+
# directories to transfer.
|
|
2925
|
+
#
|
|
2926
|
+
# How this gets calculated depends primarily on your task’s [transfer
|
|
2927
|
+
# mode][2] configuration:
|
|
2928
|
+
#
|
|
2929
|
+
# * If `TranserMode` is set to `CHANGED` - The calculation is based on
|
|
2930
|
+
# comparing the content of the source and destination locations and
|
|
2931
|
+
# determining the difference that needs to be transferred. The
|
|
2932
|
+
# difference can include:
|
|
2933
|
+
#
|
|
2934
|
+
# * Anything that's added or modified at the source location.
|
|
2935
|
+
#
|
|
2936
|
+
# * Anything that's in both locations and modified at the
|
|
2937
|
+
# destination after an initial transfer (unless [OverwriteMode][3]
|
|
2938
|
+
# is set to `NEVER`).
|
|
2939
|
+
# * If `TranserMode` is set to `ALL` - The calculation is based only
|
|
2940
|
+
# on the items that DataSync finds at the source location.
|
|
2941
|
+
#
|
|
2942
|
+
# <note markdown="1"> Applies only to [Enhanced mode tasks][4].
|
|
2943
|
+
#
|
|
2944
|
+
# </note>
|
|
2945
|
+
#
|
|
2946
|
+
#
|
|
2947
|
+
#
|
|
2948
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/run-task.html#understand-task-execution-statuses
|
|
2949
|
+
# [2]: https://docs.aws.amazon.com/datasync/latest/userguide/API_Options.html#DataSync-Type-Options-TransferMode
|
|
2950
|
+
# [3]: https://docs.aws.amazon.com/datasync/latest/userguide/API_Options.html#DataSync-Type-Options-OverwriteMode
|
|
2951
|
+
# [4]: https://docs.aws.amazon.com/datasync/latest/userguide/choosing-task-mode.html
|
|
2952
|
+
# @return [Integer]
|
|
2953
|
+
#
|
|
2954
|
+
# @!attribute [rw] folders_skipped
|
|
2955
|
+
# The number of directories that DataSync skips during your transfer.
|
|
2956
|
+
#
|
|
2957
|
+
# <note markdown="1"> Applies only to [Enhanced mode tasks][1].
|
|
2958
|
+
#
|
|
2959
|
+
# </note>
|
|
2960
|
+
#
|
|
2961
|
+
#
|
|
2962
|
+
#
|
|
2963
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/choosing-task-mode.html
|
|
2964
|
+
# @return [Integer]
|
|
2965
|
+
#
|
|
2966
|
+
# @!attribute [rw] folders_prepared
|
|
2967
|
+
# The number of directories that DataSync will attempt to transfer
|
|
2968
|
+
# after comparing your source and destination locations.
|
|
2969
|
+
#
|
|
2970
|
+
# <note markdown="1"> Applies only to [Enhanced mode tasks][1].
|
|
2971
|
+
#
|
|
2972
|
+
# </note>
|
|
2973
|
+
#
|
|
2974
|
+
# This counter isn't applicable if you configure your task to
|
|
2975
|
+
# [transfer all data][2]. In that scenario, DataSync copies everything
|
|
2976
|
+
# from the source to the destination without comparing differences
|
|
2977
|
+
# between the locations.
|
|
2978
|
+
#
|
|
2979
|
+
#
|
|
2980
|
+
#
|
|
2981
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/choosing-task-mode.html
|
|
2982
|
+
# [2]: https://docs.aws.amazon.com/datasync/latest/userguide/configure-metadata.html#task-option-transfer-mode
|
|
2983
|
+
# @return [Integer]
|
|
2984
|
+
#
|
|
2985
|
+
# @!attribute [rw] folders_transferred
|
|
2986
|
+
# The number of directories that DataSync actually transfers over the
|
|
2987
|
+
# network. This value is updated periodically during your task
|
|
2988
|
+
# execution when something is read from the source and sent over the
|
|
2989
|
+
# network.
|
|
2990
|
+
#
|
|
2991
|
+
# If DataSync fails to transfer something, this value can be less than
|
|
2992
|
+
# `EstimatedFoldersToTransfer`. In some cases, this value can also be
|
|
2993
|
+
# greater than `EstimatedFoldersToTransfer`.
|
|
2994
|
+
#
|
|
2995
|
+
# <note markdown="1"> Applies only to [Enhanced mode tasks][1].
|
|
2996
|
+
#
|
|
2997
|
+
# </note>
|
|
2998
|
+
#
|
|
2999
|
+
#
|
|
3000
|
+
#
|
|
3001
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/choosing-task-mode.html
|
|
3002
|
+
# @return [Integer]
|
|
3003
|
+
#
|
|
3004
|
+
# @!attribute [rw] folders_verified
|
|
3005
|
+
# The number of directories that DataSync verifies during your
|
|
3006
|
+
# transfer.
|
|
3007
|
+
#
|
|
3008
|
+
# <note markdown="1"> Applies only to [Enhanced mode tasks][1].
|
|
3009
|
+
#
|
|
3010
|
+
# </note>
|
|
3011
|
+
#
|
|
3012
|
+
#
|
|
3013
|
+
#
|
|
3014
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/choosing-task-mode.html
|
|
3015
|
+
# @return [Integer]
|
|
3016
|
+
#
|
|
3017
|
+
# @!attribute [rw] folders_deleted
|
|
3018
|
+
# The number of directories that DataSync actually deletes in your
|
|
3019
|
+
# destination location. If you don't configure your task to [delete
|
|
3020
|
+
# data in the destination that isn't in the source][1], the value is
|
|
3021
|
+
# always `0`.
|
|
3022
|
+
#
|
|
3023
|
+
# <note markdown="1"> Applies only to [Enhanced mode tasks][2].
|
|
3024
|
+
#
|
|
3025
|
+
# </note>
|
|
3026
|
+
#
|
|
3027
|
+
#
|
|
3028
|
+
#
|
|
3029
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/configure-metadata.html
|
|
3030
|
+
# [2]: https://docs.aws.amazon.com/datasync/latest/userguide/choosing-task-mode.html
|
|
3031
|
+
# @return [Integer]
|
|
3032
|
+
#
|
|
3033
|
+
# @!attribute [rw] folders_listed
|
|
3034
|
+
# The number of directories that DataSync finds at your locations.
|
|
3035
|
+
#
|
|
3036
|
+
# <note markdown="1"> Applies only to [Enhanced mode tasks][1].
|
|
3037
|
+
#
|
|
3038
|
+
# </note>
|
|
3039
|
+
#
|
|
3040
|
+
#
|
|
3041
|
+
#
|
|
3042
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/choosing-task-mode.html
|
|
3043
|
+
# @return [Types::TaskExecutionFoldersListedDetail]
|
|
3044
|
+
#
|
|
3045
|
+
# @!attribute [rw] folders_failed
|
|
3046
|
+
# The number of directories that DataSync fails to list, prepare,
|
|
3047
|
+
# transfer, verify, and delete during your task execution.
|
|
3048
|
+
#
|
|
3049
|
+
# <note markdown="1"> Applies only to [Enhanced mode tasks][1].
|
|
3050
|
+
#
|
|
3051
|
+
# </note>
|
|
3052
|
+
#
|
|
3053
|
+
#
|
|
3054
|
+
#
|
|
3055
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/choosing-task-mode.html
|
|
3056
|
+
# @return [Types::TaskExecutionFoldersFailedDetail]
|
|
3057
|
+
#
|
|
2789
3058
|
# @!attribute [rw] launch_time
|
|
2790
3059
|
# The time that the task execution actually begins. For non-queued
|
|
2791
3060
|
# tasks, `LaunchTime` and `StartTime` are typically the same. For
|
|
@@ -2825,6 +3094,15 @@ module Aws::DataSync
|
|
|
2825
3094
|
:files_prepared,
|
|
2826
3095
|
:files_listed,
|
|
2827
3096
|
:files_failed,
|
|
3097
|
+
:estimated_folders_to_delete,
|
|
3098
|
+
:estimated_folders_to_transfer,
|
|
3099
|
+
:folders_skipped,
|
|
3100
|
+
:folders_prepared,
|
|
3101
|
+
:folders_transferred,
|
|
3102
|
+
:folders_verified,
|
|
3103
|
+
:folders_deleted,
|
|
3104
|
+
:folders_listed,
|
|
3105
|
+
:folders_failed,
|
|
2828
3106
|
:launch_time,
|
|
2829
3107
|
:end_time)
|
|
2830
3108
|
SENSITIVE = []
|
|
@@ -4009,14 +4287,6 @@ module Aws::DataSync
|
|
|
4009
4287
|
# Limits the bandwidth used by a DataSync task. For example, if you
|
|
4010
4288
|
# want DataSync to use a maximum of 1 MB, set this value to `1048576`
|
|
4011
4289
|
# (`=1024*1024`).
|
|
4012
|
-
#
|
|
4013
|
-
# <note markdown="1"> Not applicable to [Enhanced mode tasks][1].
|
|
4014
|
-
#
|
|
4015
|
-
# </note>
|
|
4016
|
-
#
|
|
4017
|
-
#
|
|
4018
|
-
#
|
|
4019
|
-
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/choosing-task-mode.html
|
|
4020
4290
|
# @return [Integer]
|
|
4021
4291
|
#
|
|
4022
4292
|
# @!attribute [rw] task_queueing
|
|
@@ -4685,8 +4955,8 @@ module Aws::DataSync
|
|
|
4685
4955
|
#
|
|
4686
4956
|
class TagResourceResponse < Aws::EmptyStructure; end
|
|
4687
4957
|
|
|
4688
|
-
# The number of objects that DataSync fails to prepare,
|
|
4689
|
-
# verify, and delete during your task execution.
|
|
4958
|
+
# The number of files or objects that DataSync fails to prepare,
|
|
4959
|
+
# transfer, verify, and delete during your task execution.
|
|
4690
4960
|
#
|
|
4691
4961
|
# <note markdown="1"> Applies only to [Enhanced mode tasks][1].
|
|
4692
4962
|
#
|
|
@@ -4697,23 +4967,23 @@ module Aws::DataSync
|
|
|
4697
4967
|
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/choosing-task-mode.html
|
|
4698
4968
|
#
|
|
4699
4969
|
# @!attribute [rw] prepare
|
|
4700
|
-
# The number of objects that DataSync fails to prepare during
|
|
4701
|
-
# task execution.
|
|
4970
|
+
# The number of files or objects that DataSync fails to prepare during
|
|
4971
|
+
# your task execution.
|
|
4702
4972
|
# @return [Integer]
|
|
4703
4973
|
#
|
|
4704
4974
|
# @!attribute [rw] transfer
|
|
4705
|
-
# The number of objects that DataSync fails to transfer
|
|
4706
|
-
# task execution.
|
|
4975
|
+
# The number of files or objects that DataSync fails to transfer
|
|
4976
|
+
# during your task execution.
|
|
4707
4977
|
# @return [Integer]
|
|
4708
4978
|
#
|
|
4709
4979
|
# @!attribute [rw] verify
|
|
4710
|
-
# The number of objects that DataSync fails to verify during
|
|
4711
|
-
# execution.
|
|
4980
|
+
# The number of files or objects that DataSync fails to verify during
|
|
4981
|
+
# your task execution.
|
|
4712
4982
|
# @return [Integer]
|
|
4713
4983
|
#
|
|
4714
4984
|
# @!attribute [rw] delete
|
|
4715
|
-
# The number of objects that DataSync fails to delete during
|
|
4716
|
-
# execution.
|
|
4985
|
+
# The number of files or objects that DataSync fails to delete during
|
|
4986
|
+
# your task execution.
|
|
4717
4987
|
# @return [Integer]
|
|
4718
4988
|
#
|
|
4719
4989
|
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/TaskExecutionFilesFailedDetail AWS API Documentation
|
|
@@ -4727,7 +4997,7 @@ module Aws::DataSync
|
|
|
4727
4997
|
include Aws::Structure
|
|
4728
4998
|
end
|
|
4729
4999
|
|
|
4730
|
-
# The number of objects that DataSync finds at your locations.
|
|
5000
|
+
# The number of files or objects that DataSync finds at your locations.
|
|
4731
5001
|
#
|
|
4732
5002
|
# <note markdown="1"> Applies only to [Enhanced mode tasks][1].
|
|
4733
5003
|
#
|
|
@@ -4738,7 +5008,8 @@ module Aws::DataSync
|
|
|
4738
5008
|
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/choosing-task-mode.html
|
|
4739
5009
|
#
|
|
4740
5010
|
# @!attribute [rw] at_source
|
|
4741
|
-
# The number of objects that DataSync finds at your source
|
|
5011
|
+
# The number of files or objects that DataSync finds at your source
|
|
5012
|
+
# location.
|
|
4742
5013
|
#
|
|
4743
5014
|
# * With a [manifest][1], DataSync lists only what's in your manifest
|
|
4744
5015
|
# (and not everything at your source location).
|
|
@@ -4756,7 +5027,104 @@ module Aws::DataSync
|
|
|
4756
5027
|
# @return [Integer]
|
|
4757
5028
|
#
|
|
4758
5029
|
# @!attribute [rw] at_destination_for_delete
|
|
4759
|
-
# The number of objects that DataSync finds at your
|
|
5030
|
+
# The number of files or objects that DataSync finds at your
|
|
5031
|
+
# destination location. This counter is only applicable if you
|
|
5032
|
+
# [configure your task][1] to delete data in the destination that
|
|
5033
|
+
# isn't in the source.
|
|
5034
|
+
#
|
|
5035
|
+
#
|
|
5036
|
+
#
|
|
5037
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/configure-metadata.html#task-option-file-object-handling
|
|
5038
|
+
# @return [Integer]
|
|
5039
|
+
#
|
|
5040
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/TaskExecutionFilesListedDetail AWS API Documentation
|
|
5041
|
+
#
|
|
5042
|
+
class TaskExecutionFilesListedDetail < Struct.new(
|
|
5043
|
+
:at_source,
|
|
5044
|
+
:at_destination_for_delete)
|
|
5045
|
+
SENSITIVE = []
|
|
5046
|
+
include Aws::Structure
|
|
5047
|
+
end
|
|
5048
|
+
|
|
5049
|
+
# The number of directories that DataSync fails to list, prepare,
|
|
5050
|
+
# transfer, verify, and delete during your task execution.
|
|
5051
|
+
#
|
|
5052
|
+
# <note markdown="1"> Applies only to [Enhanced mode tasks][1].
|
|
5053
|
+
#
|
|
5054
|
+
# </note>
|
|
5055
|
+
#
|
|
5056
|
+
#
|
|
5057
|
+
#
|
|
5058
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/choosing-task-mode.html
|
|
5059
|
+
#
|
|
5060
|
+
# @!attribute [rw] list
|
|
5061
|
+
# The number of directories that DataSync fails to list during your
|
|
5062
|
+
# task execution.
|
|
5063
|
+
# @return [Integer]
|
|
5064
|
+
#
|
|
5065
|
+
# @!attribute [rw] prepare
|
|
5066
|
+
# The number of directories that DataSync fails to prepare during your
|
|
5067
|
+
# task execution.
|
|
5068
|
+
# @return [Integer]
|
|
5069
|
+
#
|
|
5070
|
+
# @!attribute [rw] transfer
|
|
5071
|
+
# The number of directories that DataSync fails to transfer during
|
|
5072
|
+
# your task execution.
|
|
5073
|
+
# @return [Integer]
|
|
5074
|
+
#
|
|
5075
|
+
# @!attribute [rw] verify
|
|
5076
|
+
# The number of directories that DataSync fails to verify during your
|
|
5077
|
+
# task execution.
|
|
5078
|
+
# @return [Integer]
|
|
5079
|
+
#
|
|
5080
|
+
# @!attribute [rw] delete
|
|
5081
|
+
# The number of directories that DataSync fails to delete during your
|
|
5082
|
+
# task execution.
|
|
5083
|
+
# @return [Integer]
|
|
5084
|
+
#
|
|
5085
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/TaskExecutionFoldersFailedDetail AWS API Documentation
|
|
5086
|
+
#
|
|
5087
|
+
class TaskExecutionFoldersFailedDetail < Struct.new(
|
|
5088
|
+
:list,
|
|
5089
|
+
:prepare,
|
|
5090
|
+
:transfer,
|
|
5091
|
+
:verify,
|
|
5092
|
+
:delete)
|
|
5093
|
+
SENSITIVE = []
|
|
5094
|
+
include Aws::Structure
|
|
5095
|
+
end
|
|
5096
|
+
|
|
5097
|
+
# The number of directories that DataSync finds at your locations.
|
|
5098
|
+
#
|
|
5099
|
+
# <note markdown="1"> Applies only to [Enhanced mode tasks][1].
|
|
5100
|
+
#
|
|
5101
|
+
# </note>
|
|
5102
|
+
#
|
|
5103
|
+
#
|
|
5104
|
+
#
|
|
5105
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/choosing-task-mode.html
|
|
5106
|
+
#
|
|
5107
|
+
# @!attribute [rw] at_source
|
|
5108
|
+
# The number of directories that DataSync finds at your source
|
|
5109
|
+
# location.
|
|
5110
|
+
#
|
|
5111
|
+
# * With a [manifest][1], DataSync lists only what's in your manifest
|
|
5112
|
+
# (and not everything at your source location).
|
|
5113
|
+
#
|
|
5114
|
+
# * With an include [filter][2], DataSync lists only what matches the
|
|
5115
|
+
# filter at your source location.
|
|
5116
|
+
#
|
|
5117
|
+
# * With an exclude filter, DataSync lists everything at your source
|
|
5118
|
+
# location before applying the filter.
|
|
5119
|
+
#
|
|
5120
|
+
#
|
|
5121
|
+
#
|
|
5122
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/transferring-with-manifest.html
|
|
5123
|
+
# [2]: https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html
|
|
5124
|
+
# @return [Integer]
|
|
5125
|
+
#
|
|
5126
|
+
# @!attribute [rw] at_destination_for_delete
|
|
5127
|
+
# The number of directories that DataSync finds at your destination
|
|
4760
5128
|
# location. This counter is only applicable if you [configure your
|
|
4761
5129
|
# task][1] to delete data in the destination that isn't in the
|
|
4762
5130
|
# source.
|
|
@@ -4766,9 +5134,9 @@ module Aws::DataSync
|
|
|
4766
5134
|
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/configure-metadata.html#task-option-file-object-handling
|
|
4767
5135
|
# @return [Integer]
|
|
4768
5136
|
#
|
|
4769
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/
|
|
5137
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/TaskExecutionFoldersListedDetail AWS API Documentation
|
|
4770
5138
|
#
|
|
4771
|
-
class
|
|
5139
|
+
class TaskExecutionFoldersListedDetail < Struct.new(
|
|
4772
5140
|
:at_source,
|
|
4773
5141
|
:at_destination_for_delete)
|
|
4774
5142
|
SENSITIVE = []
|
|
@@ -5947,6 +6315,20 @@ module Aws::DataSync
|
|
|
5947
6315
|
# `AuthenticationType` is set to `NTLM`.
|
|
5948
6316
|
# @return [String]
|
|
5949
6317
|
#
|
|
6318
|
+
# @!attribute [rw] cmk_secret_config
|
|
6319
|
+
# Specifies configuration information for a DataSync-managed secret,
|
|
6320
|
+
# such as a `Password` or `KerberosKeytab` or set of credentials that
|
|
6321
|
+
# DataSync uses to access a specific transfer location, and a
|
|
6322
|
+
# customer-managed KMS key.
|
|
6323
|
+
# @return [Types::CmkSecretConfig]
|
|
6324
|
+
#
|
|
6325
|
+
# @!attribute [rw] custom_secret_config
|
|
6326
|
+
# Specifies configuration information for a customer-managed secret,
|
|
6327
|
+
# such as a `Password` or `KerberosKeytab` or set of credentials that
|
|
6328
|
+
# DataSync uses to access a specific transfer location, and a
|
|
6329
|
+
# customer-managed KMS key.
|
|
6330
|
+
# @return [Types::CustomSecretConfig]
|
|
6331
|
+
#
|
|
5950
6332
|
# @!attribute [rw] agent_arns
|
|
5951
6333
|
# Specifies the DataSync agent (or agents) that can connect to your
|
|
5952
6334
|
# SMB file server. You specify an agent by using its Amazon Resource
|
|
@@ -6021,6 +6403,8 @@ module Aws::DataSync
|
|
|
6021
6403
|
:user,
|
|
6022
6404
|
:domain,
|
|
6023
6405
|
:password,
|
|
6406
|
+
:cmk_secret_config,
|
|
6407
|
+
:custom_secret_config,
|
|
6024
6408
|
:agent_arns,
|
|
6025
6409
|
:mount_options,
|
|
6026
6410
|
:authentication_type,
|
data/lib/aws-sdk-datasync.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -392,6 +392,14 @@ module Aws
|
|
|
392
392
|
?user: ::String,
|
|
393
393
|
?domain: ::String,
|
|
394
394
|
?password: ::String,
|
|
395
|
+
?cmk_secret_config: {
|
|
396
|
+
secret_arn: ::String?,
|
|
397
|
+
kms_key_arn: ::String?
|
|
398
|
+
},
|
|
399
|
+
?custom_secret_config: {
|
|
400
|
+
secret_arn: ::String?,
|
|
401
|
+
secret_access_role_arn: ::String?
|
|
402
|
+
},
|
|
395
403
|
agent_arns: Array[::String],
|
|
396
404
|
?mount_options: {
|
|
397
405
|
version: ("AUTOMATIC" | "SMB2" | "SMB3" | "SMB1" | "SMB2_0")?
|
|
@@ -720,6 +728,9 @@ module Aws
|
|
|
720
728
|
def dns_ip_addresses: () -> ::Array[::String]
|
|
721
729
|
def kerberos_principal: () -> ::String
|
|
722
730
|
def authentication_type: () -> ("NTLM" | "KERBEROS")
|
|
731
|
+
def managed_secret_config: () -> Types::ManagedSecretConfig
|
|
732
|
+
def cmk_secret_config: () -> Types::CmkSecretConfig
|
|
733
|
+
def custom_secret_config: () -> Types::CustomSecretConfig
|
|
723
734
|
end
|
|
724
735
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataSync/Client.html#describe_location_smb-instance_method
|
|
725
736
|
def describe_location_smb: (
|
|
@@ -782,6 +793,15 @@ module Aws
|
|
|
782
793
|
def files_prepared: () -> ::Integer
|
|
783
794
|
def files_listed: () -> Types::TaskExecutionFilesListedDetail
|
|
784
795
|
def files_failed: () -> Types::TaskExecutionFilesFailedDetail
|
|
796
|
+
def estimated_folders_to_delete: () -> ::Integer
|
|
797
|
+
def estimated_folders_to_transfer: () -> ::Integer
|
|
798
|
+
def folders_skipped: () -> ::Integer
|
|
799
|
+
def folders_prepared: () -> ::Integer
|
|
800
|
+
def folders_transferred: () -> ::Integer
|
|
801
|
+
def folders_verified: () -> ::Integer
|
|
802
|
+
def folders_deleted: () -> ::Integer
|
|
803
|
+
def folders_listed: () -> Types::TaskExecutionFoldersListedDetail
|
|
804
|
+
def folders_failed: () -> Types::TaskExecutionFoldersFailedDetail
|
|
785
805
|
def launch_time: () -> ::Time
|
|
786
806
|
def end_time: () -> ::Time
|
|
787
807
|
end
|
|
@@ -1192,6 +1212,14 @@ module Aws
|
|
|
1192
1212
|
?user: ::String,
|
|
1193
1213
|
?domain: ::String,
|
|
1194
1214
|
?password: ::String,
|
|
1215
|
+
?cmk_secret_config: {
|
|
1216
|
+
secret_arn: ::String?,
|
|
1217
|
+
kms_key_arn: ::String?
|
|
1218
|
+
},
|
|
1219
|
+
?custom_secret_config: {
|
|
1220
|
+
secret_arn: ::String?,
|
|
1221
|
+
secret_access_role_arn: ::String?
|
|
1222
|
+
},
|
|
1195
1223
|
?agent_arns: Array[::String],
|
|
1196
1224
|
?mount_options: {
|
|
1197
1225
|
version: ("AUTOMATIC" | "SMB2" | "SMB3" | "SMB1" | "SMB2_0")?
|
data/sig/types.rbs
CHANGED
|
@@ -220,6 +220,8 @@ module Aws::DataSync
|
|
|
220
220
|
attr_accessor user: ::String
|
|
221
221
|
attr_accessor domain: ::String
|
|
222
222
|
attr_accessor password: ::String
|
|
223
|
+
attr_accessor cmk_secret_config: Types::CmkSecretConfig
|
|
224
|
+
attr_accessor custom_secret_config: Types::CustomSecretConfig
|
|
223
225
|
attr_accessor agent_arns: ::Array[::String]
|
|
224
226
|
attr_accessor mount_options: Types::SmbMountOptions
|
|
225
227
|
attr_accessor tags: ::Array[Types::TagListEntry]
|
|
@@ -483,6 +485,9 @@ module Aws::DataSync
|
|
|
483
485
|
attr_accessor dns_ip_addresses: ::Array[::String]
|
|
484
486
|
attr_accessor kerberos_principal: ::String
|
|
485
487
|
attr_accessor authentication_type: ("NTLM" | "KERBEROS")
|
|
488
|
+
attr_accessor managed_secret_config: Types::ManagedSecretConfig
|
|
489
|
+
attr_accessor cmk_secret_config: Types::CmkSecretConfig
|
|
490
|
+
attr_accessor custom_secret_config: Types::CustomSecretConfig
|
|
486
491
|
SENSITIVE: []
|
|
487
492
|
end
|
|
488
493
|
|
|
@@ -516,6 +521,15 @@ module Aws::DataSync
|
|
|
516
521
|
attr_accessor files_prepared: ::Integer
|
|
517
522
|
attr_accessor files_listed: Types::TaskExecutionFilesListedDetail
|
|
518
523
|
attr_accessor files_failed: Types::TaskExecutionFilesFailedDetail
|
|
524
|
+
attr_accessor estimated_folders_to_delete: ::Integer
|
|
525
|
+
attr_accessor estimated_folders_to_transfer: ::Integer
|
|
526
|
+
attr_accessor folders_skipped: ::Integer
|
|
527
|
+
attr_accessor folders_prepared: ::Integer
|
|
528
|
+
attr_accessor folders_transferred: ::Integer
|
|
529
|
+
attr_accessor folders_verified: ::Integer
|
|
530
|
+
attr_accessor folders_deleted: ::Integer
|
|
531
|
+
attr_accessor folders_listed: Types::TaskExecutionFoldersListedDetail
|
|
532
|
+
attr_accessor folders_failed: Types::TaskExecutionFoldersFailedDetail
|
|
519
533
|
attr_accessor launch_time: ::Time
|
|
520
534
|
attr_accessor end_time: ::Time
|
|
521
535
|
SENSITIVE: []
|
|
@@ -851,6 +865,21 @@ module Aws::DataSync
|
|
|
851
865
|
SENSITIVE: []
|
|
852
866
|
end
|
|
853
867
|
|
|
868
|
+
class TaskExecutionFoldersFailedDetail
|
|
869
|
+
attr_accessor list: ::Integer
|
|
870
|
+
attr_accessor prepare: ::Integer
|
|
871
|
+
attr_accessor transfer: ::Integer
|
|
872
|
+
attr_accessor verify: ::Integer
|
|
873
|
+
attr_accessor delete: ::Integer
|
|
874
|
+
SENSITIVE: []
|
|
875
|
+
end
|
|
876
|
+
|
|
877
|
+
class TaskExecutionFoldersListedDetail
|
|
878
|
+
attr_accessor at_source: ::Integer
|
|
879
|
+
attr_accessor at_destination_for_delete: ::Integer
|
|
880
|
+
SENSITIVE: []
|
|
881
|
+
end
|
|
882
|
+
|
|
854
883
|
class TaskExecutionListEntry
|
|
855
884
|
attr_accessor task_execution_arn: ::String
|
|
856
885
|
attr_accessor status: ("QUEUED" | "CANCELLING" | "LAUNCHING" | "PREPARING" | "TRANSFERRING" | "VERIFYING" | "SUCCESS" | "ERROR")
|
|
@@ -1063,6 +1092,8 @@ module Aws::DataSync
|
|
|
1063
1092
|
attr_accessor user: ::String
|
|
1064
1093
|
attr_accessor domain: ::String
|
|
1065
1094
|
attr_accessor password: ::String
|
|
1095
|
+
attr_accessor cmk_secret_config: Types::CmkSecretConfig
|
|
1096
|
+
attr_accessor custom_secret_config: Types::CustomSecretConfig
|
|
1066
1097
|
attr_accessor agent_arns: ::Array[::String]
|
|
1067
1098
|
attr_accessor mount_options: Types::SmbMountOptions
|
|
1068
1099
|
attr_accessor authentication_type: ("NTLM" | "KERBEROS")
|