aws-sdk-datasync 1.102.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.
@@ -23,7 +23,7 @@ Aws::Plugins::GlobalConfiguration.add_identifier(:datasync)
23
23
  # structure.
24
24
  #
25
25
  # data_sync = Aws::DataSync::Client.new
26
- # resp = data_sync.add_storage_system(params)
26
+ # resp = data_sync.cancel_task_execution(params)
27
27
  #
28
28
  # See {Client} for more information.
29
29
  #
@@ -54,7 +54,7 @@ module Aws::DataSync
54
54
  autoload :EndpointProvider, 'aws-sdk-datasync/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-datasync/endpoints'
56
56
 
57
- GEM_VERSION = '1.102.0'
57
+ GEM_VERSION = '1.104.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -78,34 +78,6 @@ module Aws
78
78
  | (?Hash[Symbol, untyped]) -> instance
79
79
 
80
80
 
81
- interface _AddStorageSystemResponseSuccess
82
- include ::Seahorse::Client::_ResponseSuccess[Types::AddStorageSystemResponse]
83
- def storage_system_arn: () -> ::String
84
- end
85
- # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataSync/Client.html#add_storage_system-instance_method
86
- def add_storage_system: (
87
- server_configuration: {
88
- server_hostname: ::String,
89
- server_port: ::Integer?
90
- },
91
- system_type: ("NetAppONTAP"),
92
- agent_arns: Array[::String],
93
- ?cloud_watch_log_group_arn: ::String,
94
- ?tags: Array[
95
- {
96
- key: ::String,
97
- value: ::String?
98
- },
99
- ],
100
- ?name: ::String,
101
- client_token: ::String,
102
- credentials: {
103
- username: ::String,
104
- password: ::String
105
- }
106
- ) -> _AddStorageSystemResponseSuccess
107
- | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AddStorageSystemResponseSuccess
108
-
109
81
  interface _CancelTaskExecutionResponseSuccess
110
82
  include ::Seahorse::Client::_ResponseSuccess[Types::CancelTaskExecutionResponse]
111
83
  end
@@ -142,20 +114,28 @@ module Aws
142
114
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataSync/Client.html#create_location_azure_blob-instance_method
143
115
  def create_location_azure_blob: (
144
116
  container_url: ::String,
145
- authentication_type: ("SAS"),
117
+ authentication_type: ("SAS" | "NONE"),
146
118
  ?sas_configuration: {
147
119
  token: ::String
148
120
  },
149
121
  ?blob_type: ("BLOCK"),
150
122
  ?access_tier: ("HOT" | "COOL" | "ARCHIVE"),
151
123
  ?subdirectory: ::String,
152
- agent_arns: Array[::String],
124
+ ?agent_arns: Array[::String],
153
125
  ?tags: Array[
154
126
  {
155
127
  key: ::String,
156
128
  value: ::String?
157
129
  },
158
- ]
130
+ ],
131
+ ?cmk_secret_config: {
132
+ secret_arn: ::String?,
133
+ kms_key_arn: ::String?
134
+ },
135
+ ?custom_secret_config: {
136
+ secret_arn: ::String?,
137
+ secret_access_role_arn: ::String?
138
+ }
159
139
  ) -> _CreateLocationAzureBlobResponseSuccess
160
140
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateLocationAzureBlobResponseSuccess
161
141
 
@@ -359,14 +339,22 @@ module Aws
359
339
  bucket_name: ::String,
360
340
  ?access_key: ::String,
361
341
  ?secret_key: ::String,
362
- agent_arns: Array[::String],
342
+ ?agent_arns: Array[::String],
363
343
  ?tags: Array[
364
344
  {
365
345
  key: ::String,
366
346
  value: ::String?
367
347
  },
368
348
  ],
369
- ?server_certificate: ::String
349
+ ?server_certificate: ::String,
350
+ ?cmk_secret_config: {
351
+ secret_arn: ::String?,
352
+ kms_key_arn: ::String?
353
+ },
354
+ ?custom_secret_config: {
355
+ secret_arn: ::String?,
356
+ secret_access_role_arn: ::String?
357
+ }
370
358
  ) -> _CreateLocationObjectStorageResponseSuccess
371
359
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateLocationObjectStorageResponseSuccess
372
360
 
@@ -556,30 +544,18 @@ module Aws
556
544
  ) -> _DescribeAgentResponseSuccess
557
545
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeAgentResponseSuccess
558
546
 
559
- interface _DescribeDiscoveryJobResponseSuccess
560
- include ::Seahorse::Client::_ResponseSuccess[Types::DescribeDiscoveryJobResponse]
561
- def storage_system_arn: () -> ::String
562
- def discovery_job_arn: () -> ::String
563
- def collection_duration_minutes: () -> ::Integer
564
- def status: () -> ("RUNNING" | "WARNING" | "TERMINATED" | "FAILED" | "STOPPED" | "COMPLETED" | "COMPLETED_WITH_ISSUES")
565
- def job_start_time: () -> ::Time
566
- def job_end_time: () -> ::Time
567
- end
568
- # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataSync/Client.html#describe_discovery_job-instance_method
569
- def describe_discovery_job: (
570
- discovery_job_arn: ::String
571
- ) -> _DescribeDiscoveryJobResponseSuccess
572
- | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeDiscoveryJobResponseSuccess
573
-
574
547
  interface _DescribeLocationAzureBlobResponseSuccess
575
548
  include ::Seahorse::Client::_ResponseSuccess[Types::DescribeLocationAzureBlobResponse]
576
549
  def location_arn: () -> ::String
577
550
  def location_uri: () -> ::String
578
- def authentication_type: () -> ("SAS")
551
+ def authentication_type: () -> ("SAS" | "NONE")
579
552
  def blob_type: () -> ("BLOCK")
580
553
  def access_tier: () -> ("HOT" | "COOL" | "ARCHIVE")
581
554
  def agent_arns: () -> ::Array[::String]
582
555
  def creation_time: () -> ::Time
556
+ def managed_secret_config: () -> Types::ManagedSecretConfig
557
+ def cmk_secret_config: () -> Types::CmkSecretConfig
558
+ def custom_secret_config: () -> Types::CustomSecretConfig
583
559
  end
584
560
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataSync/Client.html#describe_location_azure_blob-instance_method
585
561
  def describe_location_azure_blob: (
@@ -706,6 +682,9 @@ module Aws
706
682
  def agent_arns: () -> ::Array[::String]
707
683
  def creation_time: () -> ::Time
708
684
  def server_certificate: () -> ::String
685
+ def managed_secret_config: () -> Types::ManagedSecretConfig
686
+ def cmk_secret_config: () -> Types::CmkSecretConfig
687
+ def custom_secret_config: () -> Types::CustomSecretConfig
709
688
  end
710
689
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataSync/Client.html#describe_location_object_storage-instance_method
711
690
  def describe_location_object_storage: (
@@ -747,58 +726,6 @@ module Aws
747
726
  ) -> _DescribeLocationSmbResponseSuccess
748
727
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeLocationSmbResponseSuccess
749
728
 
750
- interface _DescribeStorageSystemResponseSuccess
751
- include ::Seahorse::Client::_ResponseSuccess[Types::DescribeStorageSystemResponse]
752
- def storage_system_arn: () -> ::String
753
- def server_configuration: () -> Types::DiscoveryServerConfiguration
754
- def system_type: () -> ("NetAppONTAP")
755
- def agent_arns: () -> ::Array[::String]
756
- def name: () -> ::String
757
- def error_message: () -> ::String
758
- def connectivity_status: () -> ("PASS" | "FAIL" | "UNKNOWN")
759
- def cloud_watch_log_group_arn: () -> ::String
760
- def creation_time: () -> ::Time
761
- def secrets_manager_arn: () -> ::String
762
- end
763
- # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataSync/Client.html#describe_storage_system-instance_method
764
- def describe_storage_system: (
765
- storage_system_arn: ::String
766
- ) -> _DescribeStorageSystemResponseSuccess
767
- | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeStorageSystemResponseSuccess
768
-
769
- interface _DescribeStorageSystemResourceMetricsResponseSuccess
770
- include ::Seahorse::Client::_ResponseSuccess[Types::DescribeStorageSystemResourceMetricsResponse]
771
- def metrics: () -> ::Array[Types::ResourceMetrics]
772
- def next_token: () -> ::String
773
- end
774
- # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataSync/Client.html#describe_storage_system_resource_metrics-instance_method
775
- def describe_storage_system_resource_metrics: (
776
- discovery_job_arn: ::String,
777
- resource_type: ("SVM" | "VOLUME" | "CLUSTER"),
778
- resource_id: ::String,
779
- ?start_time: ::Time,
780
- ?end_time: ::Time,
781
- ?max_results: ::Integer,
782
- ?next_token: ::String
783
- ) -> _DescribeStorageSystemResourceMetricsResponseSuccess
784
- | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeStorageSystemResourceMetricsResponseSuccess
785
-
786
- interface _DescribeStorageSystemResourcesResponseSuccess
787
- include ::Seahorse::Client::_ResponseSuccess[Types::DescribeStorageSystemResourcesResponse]
788
- def resource_details: () -> Types::ResourceDetails
789
- def next_token: () -> ::String
790
- end
791
- # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataSync/Client.html#describe_storage_system_resources-instance_method
792
- def describe_storage_system_resources: (
793
- discovery_job_arn: ::String,
794
- resource_type: ("SVM" | "VOLUME" | "CLUSTER"),
795
- ?resource_ids: Array[::String],
796
- ?filter: Hash[("SVM"), Array[::String]],
797
- ?max_results: ::Integer,
798
- ?next_token: ::String
799
- ) -> _DescribeStorageSystemResourcesResponseSuccess
800
- | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeStorageSystemResourcesResponseSuccess
801
-
802
729
  interface _DescribeTaskResponseSuccess
803
730
  include ::Seahorse::Client::_ResponseSuccess[Types::DescribeTaskResponse]
804
731
  def task_arn: () -> ::String
@@ -854,6 +781,8 @@ module Aws
854
781
  def files_prepared: () -> ::Integer
855
782
  def files_listed: () -> Types::TaskExecutionFilesListedDetail
856
783
  def files_failed: () -> Types::TaskExecutionFilesFailedDetail
784
+ def launch_time: () -> ::Time
785
+ def end_time: () -> ::Time
857
786
  end
858
787
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataSync/Client.html#describe_task_execution-instance_method
859
788
  def describe_task_execution: (
@@ -861,17 +790,6 @@ module Aws
861
790
  ) -> _DescribeTaskExecutionResponseSuccess
862
791
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeTaskExecutionResponseSuccess
863
792
 
864
- interface _GenerateRecommendationsResponseSuccess
865
- include ::Seahorse::Client::_ResponseSuccess[Types::GenerateRecommendationsResponse]
866
- end
867
- # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataSync/Client.html#generate_recommendations-instance_method
868
- def generate_recommendations: (
869
- discovery_job_arn: ::String,
870
- resource_ids: Array[::String],
871
- resource_type: ("SVM" | "VOLUME" | "CLUSTER")
872
- ) -> _GenerateRecommendationsResponseSuccess
873
- | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GenerateRecommendationsResponseSuccess
874
-
875
793
  interface _ListAgentsResponseSuccess
876
794
  include ::Seahorse::Client::_ResponseSuccess[Types::ListAgentsResponse]
877
795
  def agents: () -> ::Array[Types::AgentListEntry]
@@ -884,19 +802,6 @@ module Aws
884
802
  ) -> _ListAgentsResponseSuccess
885
803
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAgentsResponseSuccess
886
804
 
887
- interface _ListDiscoveryJobsResponseSuccess
888
- include ::Seahorse::Client::_ResponseSuccess[Types::ListDiscoveryJobsResponse]
889
- def discovery_jobs: () -> ::Array[Types::DiscoveryJobListEntry]
890
- def next_token: () -> ::String
891
- end
892
- # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataSync/Client.html#list_discovery_jobs-instance_method
893
- def list_discovery_jobs: (
894
- ?storage_system_arn: ::String,
895
- ?max_results: ::Integer,
896
- ?next_token: ::String
897
- ) -> _ListDiscoveryJobsResponseSuccess
898
- | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListDiscoveryJobsResponseSuccess
899
-
900
805
  interface _ListLocationsResponseSuccess
901
806
  include ::Seahorse::Client::_ResponseSuccess[Types::ListLocationsResponse]
902
807
  def locations: () -> ::Array[Types::LocationListEntry]
@@ -916,18 +821,6 @@ module Aws
916
821
  ) -> _ListLocationsResponseSuccess
917
822
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListLocationsResponseSuccess
918
823
 
919
- interface _ListStorageSystemsResponseSuccess
920
- include ::Seahorse::Client::_ResponseSuccess[Types::ListStorageSystemsResponse]
921
- def storage_systems: () -> ::Array[Types::StorageSystemListEntry]
922
- def next_token: () -> ::String
923
- end
924
- # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataSync/Client.html#list_storage_systems-instance_method
925
- def list_storage_systems: (
926
- ?max_results: ::Integer,
927
- ?next_token: ::String
928
- ) -> _ListStorageSystemsResponseSuccess
929
- | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListStorageSystemsResponseSuccess
930
-
931
824
  interface _ListTagsForResourceResponseSuccess
932
825
  include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
933
826
  def tags: () -> ::Array[Types::TagListEntry]
@@ -973,33 +866,6 @@ module Aws
973
866
  ) -> _ListTasksResponseSuccess
974
867
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTasksResponseSuccess
975
868
 
976
- interface _RemoveStorageSystemResponseSuccess
977
- include ::Seahorse::Client::_ResponseSuccess[Types::RemoveStorageSystemResponse]
978
- end
979
- # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataSync/Client.html#remove_storage_system-instance_method
980
- def remove_storage_system: (
981
- storage_system_arn: ::String
982
- ) -> _RemoveStorageSystemResponseSuccess
983
- | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RemoveStorageSystemResponseSuccess
984
-
985
- interface _StartDiscoveryJobResponseSuccess
986
- include ::Seahorse::Client::_ResponseSuccess[Types::StartDiscoveryJobResponse]
987
- def discovery_job_arn: () -> ::String
988
- end
989
- # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataSync/Client.html#start_discovery_job-instance_method
990
- def start_discovery_job: (
991
- storage_system_arn: ::String,
992
- collection_duration_minutes: ::Integer,
993
- client_token: ::String,
994
- ?tags: Array[
995
- {
996
- key: ::String,
997
- value: ::String?
998
- },
999
- ]
1000
- ) -> _StartDiscoveryJobResponseSuccess
1001
- | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartDiscoveryJobResponseSuccess
1002
-
1003
869
  interface _StartTaskExecutionResponseSuccess
1004
870
  include ::Seahorse::Client::_ResponseSuccess[Types::StartTaskExecutionResponse]
1005
871
  def task_execution_arn: () -> ::String
@@ -1083,15 +949,6 @@ module Aws
1083
949
  ) -> _StartTaskExecutionResponseSuccess
1084
950
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartTaskExecutionResponseSuccess
1085
951
 
1086
- interface _StopDiscoveryJobResponseSuccess
1087
- include ::Seahorse::Client::_ResponseSuccess[Types::StopDiscoveryJobResponse]
1088
- end
1089
- # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataSync/Client.html#stop_discovery_job-instance_method
1090
- def stop_discovery_job: (
1091
- discovery_job_arn: ::String
1092
- ) -> _StopDiscoveryJobResponseSuccess
1093
- | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StopDiscoveryJobResponseSuccess
1094
-
1095
952
  interface _TagResourceResponseSuccess
1096
953
  include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceResponse]
1097
954
  end
@@ -1127,16 +984,6 @@ module Aws
1127
984
  ) -> _UpdateAgentResponseSuccess
1128
985
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateAgentResponseSuccess
1129
986
 
1130
- interface _UpdateDiscoveryJobResponseSuccess
1131
- include ::Seahorse::Client::_ResponseSuccess[Types::UpdateDiscoveryJobResponse]
1132
- end
1133
- # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataSync/Client.html#update_discovery_job-instance_method
1134
- def update_discovery_job: (
1135
- discovery_job_arn: ::String,
1136
- collection_duration_minutes: ::Integer
1137
- ) -> _UpdateDiscoveryJobResponseSuccess
1138
- | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateDiscoveryJobResponseSuccess
1139
-
1140
987
  interface _UpdateLocationAzureBlobResponseSuccess
1141
988
  include ::Seahorse::Client::_ResponseSuccess[Types::UpdateLocationAzureBlobResponse]
1142
989
  end
@@ -1144,13 +991,21 @@ module Aws
1144
991
  def update_location_azure_blob: (
1145
992
  location_arn: ::String,
1146
993
  ?subdirectory: ::String,
1147
- ?authentication_type: ("SAS"),
994
+ ?authentication_type: ("SAS" | "NONE"),
1148
995
  ?sas_configuration: {
1149
996
  token: ::String
1150
997
  },
1151
998
  ?blob_type: ("BLOCK"),
1152
999
  ?access_tier: ("HOT" | "COOL" | "ARCHIVE"),
1153
- ?agent_arns: Array[::String]
1000
+ ?agent_arns: Array[::String],
1001
+ ?cmk_secret_config: {
1002
+ secret_arn: ::String?,
1003
+ kms_key_arn: ::String?
1004
+ },
1005
+ ?custom_secret_config: {
1006
+ secret_arn: ::String?,
1007
+ secret_access_role_arn: ::String?
1008
+ }
1154
1009
  ) -> _UpdateLocationAzureBlobResponseSuccess
1155
1010
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateLocationAzureBlobResponseSuccess
1156
1011
 
@@ -1299,7 +1154,15 @@ module Aws
1299
1154
  ?access_key: ::String,
1300
1155
  ?secret_key: ::String,
1301
1156
  ?agent_arns: Array[::String],
1302
- ?server_certificate: ::String
1157
+ ?server_certificate: ::String,
1158
+ ?cmk_secret_config: {
1159
+ secret_arn: ::String?,
1160
+ kms_key_arn: ::String?
1161
+ },
1162
+ ?custom_secret_config: {
1163
+ secret_arn: ::String?,
1164
+ secret_access_role_arn: ::String?
1165
+ }
1303
1166
  ) -> _UpdateLocationObjectStorageResponseSuccess
1304
1167
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateLocationObjectStorageResponseSuccess
1305
1168
 
@@ -1340,26 +1203,6 @@ module Aws
1340
1203
  ) -> _UpdateLocationSmbResponseSuccess
1341
1204
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateLocationSmbResponseSuccess
1342
1205
 
1343
- interface _UpdateStorageSystemResponseSuccess
1344
- include ::Seahorse::Client::_ResponseSuccess[Types::UpdateStorageSystemResponse]
1345
- end
1346
- # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataSync/Client.html#update_storage_system-instance_method
1347
- def update_storage_system: (
1348
- storage_system_arn: ::String,
1349
- ?server_configuration: {
1350
- server_hostname: ::String,
1351
- server_port: ::Integer?
1352
- },
1353
- ?agent_arns: Array[::String],
1354
- ?name: ::String,
1355
- ?cloud_watch_log_group_arn: ::String,
1356
- ?credentials: {
1357
- username: ::String,
1358
- password: ::String
1359
- }
1360
- ) -> _UpdateStorageSystemResponseSuccess
1361
- | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateStorageSystemResponseSuccess
1362
-
1363
1206
  interface _UpdateTaskResponseSuccess
1364
1207
  include ::Seahorse::Client::_ResponseSuccess[Types::UpdateTaskResponse]
1365
1208
  end