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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c938aaacc8143b435047ecbdb919fd2fbd393a9a3490374be25f6a28d5045f74
4
- data.tar.gz: 7277869c3f4f38801620dbee4d115722299669cd14df56b3bf06e6c0037ad084
3
+ metadata.gz: ea5129d46a38124c873c776625a65786b6d9a8f7118d9bfb0965e4d7d9afab0b
4
+ data.tar.gz: '04866723490086afd622630027492a7796f7cf4941a30c0d3b288c275cb6d355'
5
5
  SHA512:
6
- metadata.gz: 743bd43e0e3a0217ca281bb5d5b9e6e5ac610849b414e39e87f7de1cb035e75f4b99e5faf79a9cdbc310916eb109b0d7ab3935c4b054c05d527e2216900c25cb
7
- data.tar.gz: 3d446bfbf4dda1c39d56c8ad7e273f06aa3b6ecf856d13bd606ebc97d02f5011c2662cd2fbe1d2a93766c2daf316469a045475d93793d86f835215f24ec69896
6
+ metadata.gz: b28c8720ed16659b2ed5f222f361bda8977ee387def0cf6dd47977c130cf9543d0f55845f7e6cf86ec87325aae152c168605f6586321f7dbcf75a49f1ec760a4
7
+ data.tar.gz: 2ba8f1f0929f66ce0aff2291b2a0504dc297fc56be909ecdcdbe1f87767a8ce498fdd35fbab71fec310fb73847768eae516fba074b551ab5d4ef79e0824b685a
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.104.0 (2025-05-29)
5
+ ------------------
6
+
7
+ * Feature - AgentArns field is made optional for Object Storage and Azure Blob location create requests. Location credentials are now managed via Secrets Manager, and may be encrypted with service managed or customer managed keys. Authentication is now optional for Azure Blob locations.
8
+
4
9
  1.103.0 (2025-05-20)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.103.0
1
+ 1.104.0
@@ -591,18 +591,18 @@ module Aws::DataSync
591
591
 
592
592
  # Creates a transfer *location* for a Microsoft Azure Blob Storage
593
593
  # container. DataSync can use this location as a transfer source or
594
- # destination.
594
+ # destination. You can make transfers with or without a [DataSync
595
+ # agent][1] that connects to your container.
595
596
  #
596
597
  # Before you begin, make sure you know [how DataSync accesses Azure Blob
597
- # Storage][1] and works with [access tiers][2] and [blob types][3]. You
598
- # also need a [DataSync agent][4] that can connect to your container.
598
+ # Storage][2] and works with [access tiers][3] and [blob types][4].
599
599
  #
600
600
  #
601
601
  #
602
- # [1]: https://docs.aws.amazon.com/datasync/latest/userguide/creating-azure-blob-location.html#azure-blob-access
603
- # [2]: https://docs.aws.amazon.com/datasync/latest/userguide/creating-azure-blob-location.html#azure-blob-access-tiers
604
- # [3]: https://docs.aws.amazon.com/datasync/latest/userguide/creating-azure-blob-location.html#blob-types
605
- # [4]: https://docs.aws.amazon.com/datasync/latest/userguide/creating-azure-blob-location.html#azure-blob-creating-agent
602
+ # [1]: https://docs.aws.amazon.com/datasync/latest/userguide/creating-azure-blob-location.html#azure-blob-creating-agent
603
+ # [2]: https://docs.aws.amazon.com/datasync/latest/userguide/creating-azure-blob-location.html#azure-blob-access
604
+ # [3]: https://docs.aws.amazon.com/datasync/latest/userguide/creating-azure-blob-location.html#azure-blob-access-tiers
605
+ # [4]: https://docs.aws.amazon.com/datasync/latest/userguide/creating-azure-blob-location.html#blob-types
606
606
  #
607
607
  # @option params [required, String] :container_url
608
608
  # Specifies the URL of the Azure Blob Storage container involved in your
@@ -617,6 +617,13 @@ module Aws::DataSync
617
617
  # Specifies the SAS configuration that allows DataSync to access your
618
618
  # Azure Blob Storage.
619
619
  #
620
+ # <note markdown="1"> If you provide an authentication token using `SasConfiguration`, but
621
+ # do not provide secret configuration details using `CmkSecretConfig` or
622
+ # `CustomSecretConfig`, then DataSync stores the token using your Amazon
623
+ # Web Services account's secrets manager secret.
624
+ #
625
+ # </note>
626
+ #
620
627
  # @option params [String] :blob_type
621
628
  # Specifies the type of blob that you want your objects or files to be
622
629
  # when transferring them into Azure Blob Storage. Currently, DataSync
@@ -641,13 +648,21 @@ module Aws::DataSync
641
648
  # Specifies path segments if you want to limit your transfer to a
642
649
  # virtual directory in your container (for example, `/my/images`).
643
650
  #
644
- # @option params [required, Array<String>] :agent_arns
645
- # Specifies the Amazon Resource Name (ARN) of the DataSync agent that
646
- # can connect with your Azure Blob Storage container.
651
+ # @option params [Array<String>] :agent_arns
652
+ # (Optional) Specifies the Amazon Resource Name (ARN) of the DataSync
653
+ # agent that can connect with your Azure Blob Storage container. If you
654
+ # are setting up an agentless cross-cloud transfer, you do not need to
655
+ # specify a value for this parameter.
647
656
  #
648
657
  # You can specify more than one agent. For more information, see [Using
649
658
  # multiple agents for your transfer][1].
650
659
  #
660
+ # <note markdown="1"> Make sure you configure this parameter correctly when you first create
661
+ # your storage location. You cannot add or remove agents from a storage
662
+ # location after you create it.
663
+ #
664
+ # </note>
665
+ #
651
666
  #
652
667
  #
653
668
  # [1]: https://docs.aws.amazon.com/datasync/latest/userguide/multiple-agents.html
@@ -657,6 +672,41 @@ module Aws::DataSync
657
672
  # Amazon Web Services resources. We recommend creating at least a name
658
673
  # tag for your transfer location.
659
674
  #
675
+ # @option params [Types::CmkSecretConfig] :cmk_secret_config
676
+ # Specifies configuration information for a DataSync-managed secret,
677
+ # which includes the authentication token that DataSync uses to access a
678
+ # specific AzureBlob storage location, with a customer-managed KMS key.
679
+ #
680
+ # When you include this paramater as part of a `CreateLocationAzureBlob`
681
+ # request, you provide only the KMS key ARN. DataSync uses this KMS key
682
+ # together with the authentication token you specify for
683
+ # `SasConfiguration` to create a DataSync-managed secret to store the
684
+ # location access credentials.
685
+ #
686
+ # Make sure the DataSync has permission to access the KMS key that you
687
+ # specify.
688
+ #
689
+ # <note markdown="1"> You can use either `CmkSecretConfig` (with `SasConfiguration`) or
690
+ # `CustomSecretConfig` (without `SasConfiguration`) to provide
691
+ # credentials for a `CreateLocationAzureBlob` request. Do not provide
692
+ # both parameters for the same request.
693
+ #
694
+ # </note>
695
+ #
696
+ # @option params [Types::CustomSecretConfig] :custom_secret_config
697
+ # Specifies configuration information for a customer-managed Secrets
698
+ # Manager secret where the authentication token for an AzureBlob storage
699
+ # location is stored in plain text. This configuration includes the
700
+ # secret ARN, and the ARN for an IAM role that provides access to the
701
+ # secret.
702
+ #
703
+ # <note markdown="1"> You can use either `CmkSecretConfig` (with `SasConfiguration`) or
704
+ # `CustomSecretConfig` (without `SasConfiguration`) to provide
705
+ # credentials for a `CreateLocationAzureBlob` request. Do not provide
706
+ # both parameters for the same request.
707
+ #
708
+ # </note>
709
+ #
660
710
  # @return [Types::CreateLocationAzureBlobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
661
711
  #
662
712
  # * {Types::CreateLocationAzureBlobResponse#location_arn #location_arn} => String
@@ -665,20 +715,28 @@ module Aws::DataSync
665
715
  #
666
716
  # resp = client.create_location_azure_blob({
667
717
  # container_url: "AzureBlobContainerUrl", # required
668
- # authentication_type: "SAS", # required, accepts SAS
718
+ # authentication_type: "SAS", # required, accepts SAS, NONE
669
719
  # sas_configuration: {
670
720
  # token: "AzureBlobSasToken", # required
671
721
  # },
672
722
  # blob_type: "BLOCK", # accepts BLOCK
673
723
  # access_tier: "HOT", # accepts HOT, COOL, ARCHIVE
674
724
  # subdirectory: "AzureBlobSubdirectory",
675
- # agent_arns: ["AgentArn"], # required
725
+ # agent_arns: ["AgentArn"],
676
726
  # tags: [
677
727
  # {
678
728
  # key: "TagKey", # required
679
729
  # value: "TagValue",
680
730
  # },
681
731
  # ],
732
+ # cmk_secret_config: {
733
+ # secret_arn: "SecretArn",
734
+ # kms_key_arn: "KmsKeyArn",
735
+ # },
736
+ # custom_secret_config: {
737
+ # secret_arn: "SecretArn",
738
+ # secret_access_role_arn: "IamRoleArnOrEmptyString",
739
+ # },
682
740
  # })
683
741
  #
684
742
  # @example Response structure
@@ -1397,14 +1455,15 @@ module Aws::DataSync
1397
1455
 
1398
1456
  # Creates a transfer *location* for an object storage system. DataSync
1399
1457
  # can use this location as a source or destination for transferring
1400
- # data.
1458
+ # data. You can make transfers with or without a [DataSync agent][1].
1401
1459
  #
1402
- # Before you begin, make sure that you understand the [prerequisites][1]
1460
+ # Before you begin, make sure that you understand the [prerequisites][2]
1403
1461
  # for DataSync to work with object storage systems.
1404
1462
  #
1405
1463
  #
1406
1464
  #
1407
- # [1]: https://docs.aws.amazon.com/datasync/latest/userguide/create-object-location.html#create-object-location-prerequisites
1465
+ # [1]: https://docs.aws.amazon.com/datasync/latest/userguide/do-i-need-datasync-agent.html#when-agent-required
1466
+ # [2]: https://docs.aws.amazon.com/datasync/latest/userguide/create-object-location.html#create-object-location-prerequisites
1408
1467
  #
1409
1468
  # @option params [required, String] :server_hostname
1410
1469
  # Specifies the domain name or IP version 4 (IPv4) address of the object
@@ -1436,9 +1495,17 @@ module Aws::DataSync
1436
1495
  # Specifies the secret key (for example, a password) if credentials are
1437
1496
  # required to authenticate with the object storage server.
1438
1497
  #
1439
- # @option params [required, Array<String>] :agent_arns
1440
- # Specifies the Amazon Resource Names (ARNs) of the DataSync agents that
1441
- # can connect with your object storage system.
1498
+ # @option params [Array<String>] :agent_arns
1499
+ # (Optional) Specifies the Amazon Resource Names (ARNs) of the DataSync
1500
+ # agents that can connect with your object storage system. If you are
1501
+ # setting up an agentless cross-cloud transfer, you do not need to
1502
+ # specify a value for this parameter.
1503
+ #
1504
+ # <note markdown="1"> Make sure you configure this parameter correctly when you first create
1505
+ # your storage location. You cannot add or remove agents from a storage
1506
+ # location after you create it.
1507
+ #
1508
+ # </note>
1442
1509
  #
1443
1510
  # @option params [Array<Types::TagListEntry>] :tags
1444
1511
  # Specifies the key-value pair that represents a tag that you want to
@@ -1470,6 +1537,41 @@ module Aws::DataSync
1470
1537
  #
1471
1538
  # To use this parameter, configure `ServerProtocol` to `HTTPS`.
1472
1539
  #
1540
+ # @option params [Types::CmkSecretConfig] :cmk_secret_config
1541
+ # Specifies configuration information for a DataSync-managed secret,
1542
+ # which includes the `SecretKey` that DataSync uses to access a specific
1543
+ # object storage location, with a customer-managed KMS key.
1544
+ #
1545
+ # When you include this paramater as part of a
1546
+ # `CreateLocationObjectStorage` request, you provide only the KMS key
1547
+ # ARN. DataSync uses this KMS key together with the value you specify
1548
+ # for the `SecretKey` parameter to create a DataSync-managed secret to
1549
+ # store the location access credentials.
1550
+ #
1551
+ # Make sure the DataSync has permission to access the KMS key that you
1552
+ # specify.
1553
+ #
1554
+ # <note markdown="1"> You can use either `CmkSecretConfig` (with `SecretKey`) or
1555
+ # `CustomSecretConfig` (without `SecretKey`) to provide credentials for
1556
+ # a `CreateLocationObjectStorage` request. Do not provide both
1557
+ # parameters for the same request.
1558
+ #
1559
+ # </note>
1560
+ #
1561
+ # @option params [Types::CustomSecretConfig] :custom_secret_config
1562
+ # Specifies configuration information for a customer-managed Secrets
1563
+ # Manager secret where the secret key for a specific object storage
1564
+ # location is stored in plain text. This configuration includes the
1565
+ # secret ARN, and the ARN for an IAM role that provides access to the
1566
+ # secret.
1567
+ #
1568
+ # <note markdown="1"> You can use either `CmkSecretConfig` (with `SecretKey`) or
1569
+ # `CustomSecretConfig` (without `SecretKey`) to provide credentials for
1570
+ # a `CreateLocationObjectStorage` request. Do not provide both
1571
+ # parameters for the same request.
1572
+ #
1573
+ # </note>
1574
+ #
1473
1575
  # @return [Types::CreateLocationObjectStorageResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1474
1576
  #
1475
1577
  # * {Types::CreateLocationObjectStorageResponse#location_arn #location_arn} => String
@@ -1484,7 +1586,7 @@ module Aws::DataSync
1484
1586
  # bucket_name: "ObjectStorageBucketName", # required
1485
1587
  # access_key: "ObjectStorageAccessKey",
1486
1588
  # secret_key: "ObjectStorageSecretKey",
1487
- # agent_arns: ["AgentArn"], # required
1589
+ # agent_arns: ["AgentArn"],
1488
1590
  # tags: [
1489
1591
  # {
1490
1592
  # key: "TagKey", # required
@@ -1492,6 +1594,14 @@ module Aws::DataSync
1492
1594
  # },
1493
1595
  # ],
1494
1596
  # server_certificate: "data",
1597
+ # cmk_secret_config: {
1598
+ # secret_arn: "SecretArn",
1599
+ # kms_key_arn: "KmsKeyArn",
1600
+ # },
1601
+ # custom_secret_config: {
1602
+ # secret_arn: "SecretArn",
1603
+ # secret_access_role_arn: "IamRoleArnOrEmptyString",
1604
+ # },
1495
1605
  # })
1496
1606
  #
1497
1607
  # @example Response structure
@@ -1905,7 +2015,9 @@ module Aws::DataSync
1905
2015
  # higher performance than Basic mode. Enhanced mode tasks optimize the
1906
2016
  # data transfer process by listing, preparing, transferring, and
1907
2017
  # verifying data in parallel. Enhanced mode is currently available for
1908
- # transfers between Amazon S3 locations.
2018
+ # transfers between Amazon S3 locations, transfers between Azure Blob
2019
+ # and Amazon S3 without an agent, and transfers between other clouds
2020
+ # and Amazon S3 without an agent.
1909
2021
  #
1910
2022
  # <note markdown="1"> To create an Enhanced mode task, the IAM role that you use to call
1911
2023
  # the `CreateTask` operation must have the
@@ -2176,6 +2288,9 @@ module Aws::DataSync
2176
2288
  # * {Types::DescribeLocationAzureBlobResponse#access_tier #access_tier} => String
2177
2289
  # * {Types::DescribeLocationAzureBlobResponse#agent_arns #agent_arns} => Array&lt;String&gt;
2178
2290
  # * {Types::DescribeLocationAzureBlobResponse#creation_time #creation_time} => Time
2291
+ # * {Types::DescribeLocationAzureBlobResponse#managed_secret_config #managed_secret_config} => Types::ManagedSecretConfig
2292
+ # * {Types::DescribeLocationAzureBlobResponse#cmk_secret_config #cmk_secret_config} => Types::CmkSecretConfig
2293
+ # * {Types::DescribeLocationAzureBlobResponse#custom_secret_config #custom_secret_config} => Types::CustomSecretConfig
2179
2294
  #
2180
2295
  # @example Request syntax with placeholder values
2181
2296
  #
@@ -2187,12 +2302,17 @@ module Aws::DataSync
2187
2302
  #
2188
2303
  # resp.location_arn #=> String
2189
2304
  # resp.location_uri #=> String
2190
- # resp.authentication_type #=> String, one of "SAS"
2305
+ # resp.authentication_type #=> String, one of "SAS", "NONE"
2191
2306
  # resp.blob_type #=> String, one of "BLOCK"
2192
2307
  # resp.access_tier #=> String, one of "HOT", "COOL", "ARCHIVE"
2193
2308
  # resp.agent_arns #=> Array
2194
2309
  # resp.agent_arns[0] #=> String
2195
2310
  # resp.creation_time #=> Time
2311
+ # resp.managed_secret_config.secret_arn #=> String
2312
+ # resp.cmk_secret_config.secret_arn #=> String
2313
+ # resp.cmk_secret_config.kms_key_arn #=> String
2314
+ # resp.custom_secret_config.secret_arn #=> String
2315
+ # resp.custom_secret_config.secret_access_role_arn #=> String
2196
2316
  #
2197
2317
  # @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/DescribeLocationAzureBlob AWS API Documentation
2198
2318
  #
@@ -2536,6 +2656,9 @@ module Aws::DataSync
2536
2656
  # * {Types::DescribeLocationObjectStorageResponse#agent_arns #agent_arns} => Array&lt;String&gt;
2537
2657
  # * {Types::DescribeLocationObjectStorageResponse#creation_time #creation_time} => Time
2538
2658
  # * {Types::DescribeLocationObjectStorageResponse#server_certificate #server_certificate} => String
2659
+ # * {Types::DescribeLocationObjectStorageResponse#managed_secret_config #managed_secret_config} => Types::ManagedSecretConfig
2660
+ # * {Types::DescribeLocationObjectStorageResponse#cmk_secret_config #cmk_secret_config} => Types::CmkSecretConfig
2661
+ # * {Types::DescribeLocationObjectStorageResponse#custom_secret_config #custom_secret_config} => Types::CustomSecretConfig
2539
2662
  #
2540
2663
  # @example Request syntax with placeholder values
2541
2664
  #
@@ -2554,6 +2677,11 @@ module Aws::DataSync
2554
2677
  # resp.agent_arns[0] #=> String
2555
2678
  # resp.creation_time #=> Time
2556
2679
  # resp.server_certificate #=> String
2680
+ # resp.managed_secret_config.secret_arn #=> String
2681
+ # resp.cmk_secret_config.secret_arn #=> String
2682
+ # resp.cmk_secret_config.kms_key_arn #=> String
2683
+ # resp.custom_secret_config.secret_arn #=> String
2684
+ # resp.custom_secret_config.secret_access_role_arn #=> String
2557
2685
  #
2558
2686
  # @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/DescribeLocationObjectStorage AWS API Documentation
2559
2687
  #
@@ -2805,6 +2933,8 @@ module Aws::DataSync
2805
2933
  # * {Types::DescribeTaskExecutionResponse#files_prepared #files_prepared} => Integer
2806
2934
  # * {Types::DescribeTaskExecutionResponse#files_listed #files_listed} => Types::TaskExecutionFilesListedDetail
2807
2935
  # * {Types::DescribeTaskExecutionResponse#files_failed #files_failed} => Types::TaskExecutionFilesFailedDetail
2936
+ # * {Types::DescribeTaskExecutionResponse#launch_time #launch_time} => Time
2937
+ # * {Types::DescribeTaskExecutionResponse#end_time #end_time} => Time
2808
2938
  #
2809
2939
  # @example Request syntax with placeholder values
2810
2940
  #
@@ -2884,6 +3014,8 @@ module Aws::DataSync
2884
3014
  # resp.files_failed.transfer #=> Integer
2885
3015
  # resp.files_failed.verify #=> Integer
2886
3016
  # resp.files_failed.delete #=> Integer
3017
+ # resp.launch_time #=> Time
3018
+ # resp.end_time #=> Time
2887
3019
  #
2888
3020
  # @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/DescribeTaskExecution AWS API Documentation
2889
3021
  #
@@ -3482,16 +3614,35 @@ module Aws::DataSync
3482
3614
  # [1]: https://docs.aws.amazon.com/datasync/latest/userguide/creating-azure-blob-location.html#azure-blob-access-tiers
3483
3615
  #
3484
3616
  # @option params [Array<String>] :agent_arns
3485
- # Specifies the Amazon Resource Name (ARN) of the DataSync agent that
3486
- # can connect with your Azure Blob Storage container.
3617
+ # (Optional) Specifies the Amazon Resource Name (ARN) of the DataSync
3618
+ # agent that can connect with your Azure Blob Storage container. If you
3619
+ # are setting up an agentless cross-cloud transfer, you do not need to
3620
+ # specify a value for this parameter.
3487
3621
  #
3488
3622
  # You can specify more than one agent. For more information, see [Using
3489
3623
  # multiple agents for your transfer][1].
3490
3624
  #
3625
+ # <note markdown="1"> You cannot add or remove agents from a storage location after you
3626
+ # initially create it.
3627
+ #
3628
+ # </note>
3629
+ #
3491
3630
  #
3492
3631
  #
3493
3632
  # [1]: https://docs.aws.amazon.com/datasync/latest/userguide/multiple-agents.html
3494
3633
  #
3634
+ # @option params [Types::CmkSecretConfig] :cmk_secret_config
3635
+ # Specifies configuration information for a DataSync-managed secret,
3636
+ # such as an authentication token or set of credentials that DataSync
3637
+ # uses to access a specific transfer location, and a customer-managed
3638
+ # KMS key.
3639
+ #
3640
+ # @option params [Types::CustomSecretConfig] :custom_secret_config
3641
+ # Specifies configuration information for a customer-managed secret,
3642
+ # such as an authentication token or set of credentials that DataSync
3643
+ # uses to access a specific transfer location, and a customer-managed
3644
+ # KMS key.
3645
+ #
3495
3646
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
3496
3647
  #
3497
3648
  # @example Request syntax with placeholder values
@@ -3499,13 +3650,21 @@ module Aws::DataSync
3499
3650
  # resp = client.update_location_azure_blob({
3500
3651
  # location_arn: "LocationArn", # required
3501
3652
  # subdirectory: "AzureBlobSubdirectory",
3502
- # authentication_type: "SAS", # accepts SAS
3653
+ # authentication_type: "SAS", # accepts SAS, NONE
3503
3654
  # sas_configuration: {
3504
3655
  # token: "AzureBlobSasToken", # required
3505
3656
  # },
3506
3657
  # blob_type: "BLOCK", # accepts BLOCK
3507
3658
  # access_tier: "HOT", # accepts HOT, COOL, ARCHIVE
3508
3659
  # agent_arns: ["AgentArn"],
3660
+ # cmk_secret_config: {
3661
+ # secret_arn: "SecretArn",
3662
+ # kms_key_arn: "KmsKeyArn",
3663
+ # },
3664
+ # custom_secret_config: {
3665
+ # secret_arn: "SecretArn",
3666
+ # secret_access_role_arn: "IamRoleArnOrEmptyString",
3667
+ # },
3509
3668
  # })
3510
3669
  #
3511
3670
  # @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/UpdateLocationAzureBlob AWS API Documentation
@@ -4041,8 +4200,15 @@ module Aws::DataSync
4041
4200
  # required to authenticate with the object storage server.
4042
4201
  #
4043
4202
  # @option params [Array<String>] :agent_arns
4044
- # Specifies the Amazon Resource Names (ARNs) of the DataSync agents that
4045
- # can connect with your object storage system.
4203
+ # (Optional) Specifies the Amazon Resource Names (ARNs) of the DataSync
4204
+ # agents that can connect with your object storage system. If you are
4205
+ # setting up an agentless cross-cloud transfer, you do not need to
4206
+ # specify a value for this parameter.
4207
+ #
4208
+ # <note markdown="1"> You cannot add or remove agents from a storage location after you
4209
+ # initially create it.
4210
+ #
4211
+ # </note>
4046
4212
  #
4047
4213
  # @option params [String, StringIO, File] :server_certificate
4048
4214
  # Specifies a certificate chain for DataSync to authenticate with your
@@ -4072,6 +4238,18 @@ module Aws::DataSync
4072
4238
  # Updating this parameter doesn't interfere with tasks that you have in
4073
4239
  # progress.
4074
4240
  #
4241
+ # @option params [Types::CmkSecretConfig] :cmk_secret_config
4242
+ # Specifies configuration information for a DataSync-managed secret,
4243
+ # such as an authentication token or set of credentials that DataSync
4244
+ # uses to access a specific transfer location, and a customer-managed
4245
+ # KMS key.
4246
+ #
4247
+ # @option params [Types::CustomSecretConfig] :custom_secret_config
4248
+ # Specifies configuration information for a customer-managed secret,
4249
+ # such as an authentication token or set of credentials that DataSync
4250
+ # uses to access a specific transfer location, and a customer-managed
4251
+ # KMS key.
4252
+ #
4075
4253
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
4076
4254
  #
4077
4255
  # @example Request syntax with placeholder values
@@ -4086,6 +4264,14 @@ module Aws::DataSync
4086
4264
  # secret_key: "ObjectStorageSecretKey",
4087
4265
  # agent_arns: ["AgentArn"],
4088
4266
  # server_certificate: "data",
4267
+ # cmk_secret_config: {
4268
+ # secret_arn: "SecretArn",
4269
+ # kms_key_arn: "KmsKeyArn",
4270
+ # },
4271
+ # custom_secret_config: {
4272
+ # secret_arn: "SecretArn",
4273
+ # secret_access_role_arn: "IamRoleArnOrEmptyString",
4274
+ # },
4089
4275
  # })
4090
4276
  #
4091
4277
  # @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/UpdateLocationObjectStorage AWS API Documentation
@@ -4609,7 +4795,7 @@ module Aws::DataSync
4609
4795
  tracer: tracer
4610
4796
  )
4611
4797
  context[:gem_name] = 'aws-sdk-datasync'
4612
- context[:gem_version] = '1.103.0'
4798
+ context[:gem_version] = '1.104.0'
4613
4799
  Seahorse::Client::Request.new(handlers, context)
4614
4800
  end
4615
4801
 
@@ -32,6 +32,7 @@ module Aws::DataSync
32
32
  BytesPerSecond = Shapes::IntegerShape.new(name: 'BytesPerSecond')
33
33
  CancelTaskExecutionRequest = Shapes::StructureShape.new(name: 'CancelTaskExecutionRequest')
34
34
  CancelTaskExecutionResponse = Shapes::StructureShape.new(name: 'CancelTaskExecutionResponse')
35
+ CmkSecretConfig = Shapes::StructureShape.new(name: 'CmkSecretConfig')
35
36
  CreateAgentRequest = Shapes::StructureShape.new(name: 'CreateAgentRequest')
36
37
  CreateAgentResponse = Shapes::StructureShape.new(name: 'CreateAgentResponse')
37
38
  CreateLocationAzureBlobRequest = Shapes::StructureShape.new(name: 'CreateLocationAzureBlobRequest')
@@ -58,6 +59,7 @@ module Aws::DataSync
58
59
  CreateLocationSmbResponse = Shapes::StructureShape.new(name: 'CreateLocationSmbResponse')
59
60
  CreateTaskRequest = Shapes::StructureShape.new(name: 'CreateTaskRequest')
60
61
  CreateTaskResponse = Shapes::StructureShape.new(name: 'CreateTaskResponse')
62
+ CustomSecretConfig = Shapes::StructureShape.new(name: 'CustomSecretConfig')
61
63
  DeleteAgentRequest = Shapes::StructureShape.new(name: 'DeleteAgentRequest')
62
64
  DeleteAgentResponse = Shapes::StructureShape.new(name: 'DeleteAgentResponse')
63
65
  DeleteLocationRequest = Shapes::StructureShape.new(name: 'DeleteLocationRequest')
@@ -134,12 +136,14 @@ module Aws::DataSync
134
136
  HdfsSubdirectory = Shapes::StringShape.new(name: 'HdfsSubdirectory')
135
137
  HdfsUser = Shapes::StringShape.new(name: 'HdfsUser')
136
138
  IamRoleArn = Shapes::StringShape.new(name: 'IamRoleArn')
139
+ IamRoleArnOrEmptyString = Shapes::StringShape.new(name: 'IamRoleArnOrEmptyString')
137
140
  InputTagList = Shapes::ListShape.new(name: 'InputTagList')
138
141
  InternalException = Shapes::StructureShape.new(name: 'InternalException')
139
142
  InvalidRequestException = Shapes::StructureShape.new(name: 'InvalidRequestException')
140
143
  KerberosKeytabFile = Shapes::BlobShape.new(name: 'KerberosKeytabFile')
141
144
  KerberosKrb5ConfFile = Shapes::BlobShape.new(name: 'KerberosKrb5ConfFile')
142
145
  KerberosPrincipal = Shapes::StringShape.new(name: 'KerberosPrincipal')
146
+ KmsKeyArn = Shapes::StringShape.new(name: 'KmsKeyArn')
143
147
  KmsKeyProviderUri = Shapes::StringShape.new(name: 'KmsKeyProviderUri')
144
148
  ListAgentsRequest = Shapes::StructureShape.new(name: 'ListAgentsRequest')
145
149
  ListAgentsResponse = Shapes::StructureShape.new(name: 'ListAgentsResponse')
@@ -160,6 +164,7 @@ module Aws::DataSync
160
164
  LocationUri = Shapes::StringShape.new(name: 'LocationUri')
161
165
  LogGroupArn = Shapes::StringShape.new(name: 'LogGroupArn')
162
166
  LogLevel = Shapes::StringShape.new(name: 'LogLevel')
167
+ ManagedSecretConfig = Shapes::StructureShape.new(name: 'ManagedSecretConfig')
163
168
  ManifestAction = Shapes::StringShape.new(name: 'ManifestAction')
164
169
  ManifestConfig = Shapes::StructureShape.new(name: 'ManifestConfig')
165
170
  ManifestFormat = Shapes::StringShape.new(name: 'ManifestFormat')
@@ -209,6 +214,7 @@ module Aws::DataSync
209
214
  ScheduleDisabledReason = Shapes::StringShape.new(name: 'ScheduleDisabledReason')
210
215
  ScheduleExpressionCron = Shapes::StringShape.new(name: 'ScheduleExpressionCron')
211
216
  ScheduleStatus = Shapes::StringShape.new(name: 'ScheduleStatus')
217
+ SecretArn = Shapes::StringShape.new(name: 'SecretArn')
212
218
  ServerHostname = Shapes::StringShape.new(name: 'ServerHostname')
213
219
  ServerIpAddress = Shapes::StringShape.new(name: 'ServerIpAddress')
214
220
  SmbAuthenticationType = Shapes::StringShape.new(name: 'SmbAuthenticationType')
@@ -309,6 +315,10 @@ module Aws::DataSync
309
315
 
310
316
  CancelTaskExecutionResponse.struct_class = Types::CancelTaskExecutionResponse
311
317
 
318
+ CmkSecretConfig.add_member(:secret_arn, Shapes::ShapeRef.new(shape: SecretArn, location_name: "SecretArn"))
319
+ CmkSecretConfig.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "KmsKeyArn"))
320
+ CmkSecretConfig.struct_class = Types::CmkSecretConfig
321
+
312
322
  CreateAgentRequest.add_member(:activation_key, Shapes::ShapeRef.new(shape: ActivationKey, required: true, location_name: "ActivationKey"))
313
323
  CreateAgentRequest.add_member(:agent_name, Shapes::ShapeRef.new(shape: TagValue, location_name: "AgentName"))
314
324
  CreateAgentRequest.add_member(:tags, Shapes::ShapeRef.new(shape: InputTagList, location_name: "Tags"))
@@ -326,8 +336,10 @@ module Aws::DataSync
326
336
  CreateLocationAzureBlobRequest.add_member(:blob_type, Shapes::ShapeRef.new(shape: AzureBlobType, location_name: "BlobType"))
327
337
  CreateLocationAzureBlobRequest.add_member(:access_tier, Shapes::ShapeRef.new(shape: AzureAccessTier, location_name: "AccessTier"))
328
338
  CreateLocationAzureBlobRequest.add_member(:subdirectory, Shapes::ShapeRef.new(shape: AzureBlobSubdirectory, location_name: "Subdirectory"))
329
- CreateLocationAzureBlobRequest.add_member(:agent_arns, Shapes::ShapeRef.new(shape: AgentArnList, required: true, location_name: "AgentArns"))
339
+ CreateLocationAzureBlobRequest.add_member(:agent_arns, Shapes::ShapeRef.new(shape: AgentArnList, location_name: "AgentArns"))
330
340
  CreateLocationAzureBlobRequest.add_member(:tags, Shapes::ShapeRef.new(shape: InputTagList, location_name: "Tags"))
341
+ CreateLocationAzureBlobRequest.add_member(:cmk_secret_config, Shapes::ShapeRef.new(shape: CmkSecretConfig, location_name: "CmkSecretConfig"))
342
+ CreateLocationAzureBlobRequest.add_member(:custom_secret_config, Shapes::ShapeRef.new(shape: CustomSecretConfig, location_name: "CustomSecretConfig"))
331
343
  CreateLocationAzureBlobRequest.struct_class = Types::CreateLocationAzureBlobRequest
332
344
 
333
345
  CreateLocationAzureBlobResponse.add_member(:location_arn, Shapes::ShapeRef.new(shape: LocationArn, location_name: "LocationArn"))
@@ -421,9 +433,11 @@ module Aws::DataSync
421
433
  CreateLocationObjectStorageRequest.add_member(:bucket_name, Shapes::ShapeRef.new(shape: ObjectStorageBucketName, required: true, location_name: "BucketName"))
422
434
  CreateLocationObjectStorageRequest.add_member(:access_key, Shapes::ShapeRef.new(shape: ObjectStorageAccessKey, location_name: "AccessKey"))
423
435
  CreateLocationObjectStorageRequest.add_member(:secret_key, Shapes::ShapeRef.new(shape: ObjectStorageSecretKey, location_name: "SecretKey"))
424
- CreateLocationObjectStorageRequest.add_member(:agent_arns, Shapes::ShapeRef.new(shape: AgentArnList, required: true, location_name: "AgentArns"))
436
+ CreateLocationObjectStorageRequest.add_member(:agent_arns, Shapes::ShapeRef.new(shape: AgentArnList, location_name: "AgentArns"))
425
437
  CreateLocationObjectStorageRequest.add_member(:tags, Shapes::ShapeRef.new(shape: InputTagList, location_name: "Tags"))
426
438
  CreateLocationObjectStorageRequest.add_member(:server_certificate, Shapes::ShapeRef.new(shape: ObjectStorageCertificate, location_name: "ServerCertificate"))
439
+ CreateLocationObjectStorageRequest.add_member(:cmk_secret_config, Shapes::ShapeRef.new(shape: CmkSecretConfig, location_name: "CmkSecretConfig"))
440
+ CreateLocationObjectStorageRequest.add_member(:custom_secret_config, Shapes::ShapeRef.new(shape: CustomSecretConfig, location_name: "CustomSecretConfig"))
427
441
  CreateLocationObjectStorageRequest.struct_class = Types::CreateLocationObjectStorageRequest
428
442
 
429
443
  CreateLocationObjectStorageResponse.add_member(:location_arn, Shapes::ShapeRef.new(shape: LocationArn, location_name: "LocationArn"))
@@ -475,6 +489,10 @@ module Aws::DataSync
475
489
  CreateTaskResponse.add_member(:task_arn, Shapes::ShapeRef.new(shape: TaskArn, location_name: "TaskArn"))
476
490
  CreateTaskResponse.struct_class = Types::CreateTaskResponse
477
491
 
492
+ CustomSecretConfig.add_member(:secret_arn, Shapes::ShapeRef.new(shape: SecretArn, location_name: "SecretArn"))
493
+ CustomSecretConfig.add_member(:secret_access_role_arn, Shapes::ShapeRef.new(shape: IamRoleArnOrEmptyString, location_name: "SecretAccessRoleArn"))
494
+ CustomSecretConfig.struct_class = Types::CustomSecretConfig
495
+
478
496
  DeleteAgentRequest.add_member(:agent_arn, Shapes::ShapeRef.new(shape: AgentArn, required: true, location_name: "AgentArn"))
479
497
  DeleteAgentRequest.struct_class = Types::DeleteAgentRequest
480
498
 
@@ -513,6 +531,9 @@ module Aws::DataSync
513
531
  DescribeLocationAzureBlobResponse.add_member(:access_tier, Shapes::ShapeRef.new(shape: AzureAccessTier, location_name: "AccessTier"))
514
532
  DescribeLocationAzureBlobResponse.add_member(:agent_arns, Shapes::ShapeRef.new(shape: AgentArnList, location_name: "AgentArns"))
515
533
  DescribeLocationAzureBlobResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: Time, location_name: "CreationTime"))
534
+ DescribeLocationAzureBlobResponse.add_member(:managed_secret_config, Shapes::ShapeRef.new(shape: ManagedSecretConfig, location_name: "ManagedSecretConfig"))
535
+ DescribeLocationAzureBlobResponse.add_member(:cmk_secret_config, Shapes::ShapeRef.new(shape: CmkSecretConfig, location_name: "CmkSecretConfig"))
536
+ DescribeLocationAzureBlobResponse.add_member(:custom_secret_config, Shapes::ShapeRef.new(shape: CustomSecretConfig, location_name: "CustomSecretConfig"))
516
537
  DescribeLocationAzureBlobResponse.struct_class = Types::DescribeLocationAzureBlobResponse
517
538
 
518
539
  DescribeLocationEfsRequest.add_member(:location_arn, Shapes::ShapeRef.new(shape: LocationArn, required: true, location_name: "LocationArn"))
@@ -607,6 +628,9 @@ module Aws::DataSync
607
628
  DescribeLocationObjectStorageResponse.add_member(:agent_arns, Shapes::ShapeRef.new(shape: AgentArnList, location_name: "AgentArns"))
608
629
  DescribeLocationObjectStorageResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: Time, location_name: "CreationTime"))
609
630
  DescribeLocationObjectStorageResponse.add_member(:server_certificate, Shapes::ShapeRef.new(shape: ObjectStorageCertificate, location_name: "ServerCertificate"))
631
+ DescribeLocationObjectStorageResponse.add_member(:managed_secret_config, Shapes::ShapeRef.new(shape: ManagedSecretConfig, location_name: "ManagedSecretConfig"))
632
+ DescribeLocationObjectStorageResponse.add_member(:cmk_secret_config, Shapes::ShapeRef.new(shape: CmkSecretConfig, location_name: "CmkSecretConfig"))
633
+ DescribeLocationObjectStorageResponse.add_member(:custom_secret_config, Shapes::ShapeRef.new(shape: CustomSecretConfig, location_name: "CustomSecretConfig"))
610
634
  DescribeLocationObjectStorageResponse.struct_class = Types::DescribeLocationObjectStorageResponse
611
635
 
612
636
  DescribeLocationS3Request.add_member(:location_arn, Shapes::ShapeRef.new(shape: LocationArn, required: true, location_name: "LocationArn"))
@@ -662,6 +686,8 @@ module Aws::DataSync
662
686
  DescribeTaskExecutionResponse.add_member(:files_prepared, Shapes::ShapeRef.new(shape: long, location_name: "FilesPrepared"))
663
687
  DescribeTaskExecutionResponse.add_member(:files_listed, Shapes::ShapeRef.new(shape: TaskExecutionFilesListedDetail, location_name: "FilesListed"))
664
688
  DescribeTaskExecutionResponse.add_member(:files_failed, Shapes::ShapeRef.new(shape: TaskExecutionFilesFailedDetail, location_name: "FilesFailed"))
689
+ DescribeTaskExecutionResponse.add_member(:launch_time, Shapes::ShapeRef.new(shape: Time, location_name: "LaunchTime"))
690
+ DescribeTaskExecutionResponse.add_member(:end_time, Shapes::ShapeRef.new(shape: Time, location_name: "EndTime"))
665
691
  DescribeTaskExecutionResponse.struct_class = Types::DescribeTaskExecutionResponse
666
692
 
667
693
  DescribeTaskRequest.add_member(:task_arn, Shapes::ShapeRef.new(shape: TaskArn, required: true, location_name: "TaskArn"))
@@ -804,6 +830,9 @@ module Aws::DataSync
804
830
  LocationListEntry.add_member(:location_uri, Shapes::ShapeRef.new(shape: LocationUri, location_name: "LocationUri"))
805
831
  LocationListEntry.struct_class = Types::LocationListEntry
806
832
 
833
+ ManagedSecretConfig.add_member(:secret_arn, Shapes::ShapeRef.new(shape: SecretArn, location_name: "SecretArn"))
834
+ ManagedSecretConfig.struct_class = Types::ManagedSecretConfig
835
+
807
836
  ManifestConfig.add_member(:action, Shapes::ShapeRef.new(shape: ManifestAction, location_name: "Action"))
808
837
  ManifestConfig.add_member(:format, Shapes::ShapeRef.new(shape: ManifestFormat, location_name: "Format"))
809
838
  ManifestConfig.add_member(:source, Shapes::ShapeRef.new(shape: SourceManifestConfig, location_name: "Source"))
@@ -992,6 +1021,8 @@ module Aws::DataSync
992
1021
  UpdateLocationAzureBlobRequest.add_member(:blob_type, Shapes::ShapeRef.new(shape: AzureBlobType, location_name: "BlobType"))
993
1022
  UpdateLocationAzureBlobRequest.add_member(:access_tier, Shapes::ShapeRef.new(shape: AzureAccessTier, location_name: "AccessTier"))
994
1023
  UpdateLocationAzureBlobRequest.add_member(:agent_arns, Shapes::ShapeRef.new(shape: AgentArnList, location_name: "AgentArns"))
1024
+ UpdateLocationAzureBlobRequest.add_member(:cmk_secret_config, Shapes::ShapeRef.new(shape: CmkSecretConfig, location_name: "CmkSecretConfig"))
1025
+ UpdateLocationAzureBlobRequest.add_member(:custom_secret_config, Shapes::ShapeRef.new(shape: CustomSecretConfig, location_name: "CustomSecretConfig"))
995
1026
  UpdateLocationAzureBlobRequest.struct_class = Types::UpdateLocationAzureBlobRequest
996
1027
 
997
1028
  UpdateLocationAzureBlobResponse.struct_class = Types::UpdateLocationAzureBlobResponse
@@ -1069,6 +1100,8 @@ module Aws::DataSync
1069
1100
  UpdateLocationObjectStorageRequest.add_member(:secret_key, Shapes::ShapeRef.new(shape: ObjectStorageSecretKey, location_name: "SecretKey"))
1070
1101
  UpdateLocationObjectStorageRequest.add_member(:agent_arns, Shapes::ShapeRef.new(shape: AgentArnList, location_name: "AgentArns"))
1071
1102
  UpdateLocationObjectStorageRequest.add_member(:server_certificate, Shapes::ShapeRef.new(shape: ObjectStorageCertificate, location_name: "ServerCertificate"))
1103
+ UpdateLocationObjectStorageRequest.add_member(:cmk_secret_config, Shapes::ShapeRef.new(shape: CmkSecretConfig, location_name: "CmkSecretConfig"))
1104
+ UpdateLocationObjectStorageRequest.add_member(:custom_secret_config, Shapes::ShapeRef.new(shape: CustomSecretConfig, location_name: "CustomSecretConfig"))
1072
1105
  UpdateLocationObjectStorageRequest.struct_class = Types::UpdateLocationObjectStorageRequest
1073
1106
 
1074
1107
  UpdateLocationObjectStorageResponse.struct_class = Types::UpdateLocationObjectStorageResponse