aws-sdk-datasync 1.23.0 → 1.24.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-datasync.rb +1 -1
- data/lib/aws-sdk-datasync/client.rb +19 -1
- data/lib/aws-sdk-datasync/client_api.rb +27 -0
- data/lib/aws-sdk-datasync/types.rb +80 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bd4e4eb52922e40de3ae28c044d2bc79d49441c7b7417850bab6f2bc178b6acc
|
4
|
+
data.tar.gz: 1adadb23cdfa68167b747d141f75e4e89e3bb3dbb6c3c7918adfc85d0a6ade33
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 980ea1cd0713826eba119a0ac462e5fda8e747ba82f700b401cd5a6f1f33d656c97d358e519722d3e2e500af6723b5a2a153bcc26fba14c16e5ed587207e37f0
|
7
|
+
data.tar.gz: 5e0a259bef0c5d0910d366f84eb8519f9588aa31b42e58fcbe1778e97d3a4a666b85fdb2348ca80d77272d68b9268c7a0bff2863354b9c35bddaa770ed678cc4
|
data/lib/aws-sdk-datasync.rb
CHANGED
@@ -1652,6 +1652,8 @@ module Aws::DataSync
|
|
1652
1652
|
# An opaque string that indicates the position at which to begin the
|
1653
1653
|
# next list of locations.
|
1654
1654
|
#
|
1655
|
+
# @option params [Array<Types::LocationFilter>] :filters
|
1656
|
+
#
|
1655
1657
|
# @return [Types::ListLocationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1656
1658
|
#
|
1657
1659
|
# * {Types::ListLocationsResponse#locations #locations} => Array<Types::LocationListEntry>
|
@@ -1664,6 +1666,13 @@ module Aws::DataSync
|
|
1664
1666
|
# resp = client.list_locations({
|
1665
1667
|
# max_results: 1,
|
1666
1668
|
# next_token: "NextToken",
|
1669
|
+
# filters: [
|
1670
|
+
# {
|
1671
|
+
# name: "LocationUri", # required, accepts LocationUri, LocationType, CreationTime
|
1672
|
+
# values: ["FilterAttributeValue"], # required
|
1673
|
+
# operator: "Equals", # required, accepts Equals, NotEquals, In, LessThanOrEqual, LessThan, GreaterThanOrEqual, GreaterThan, Contains, NotContains, BeginsWith
|
1674
|
+
# },
|
1675
|
+
# ],
|
1667
1676
|
# })
|
1668
1677
|
#
|
1669
1678
|
# @example Response structure
|
@@ -1778,6 +1787,8 @@ module Aws::DataSync
|
|
1778
1787
|
# An opaque string that indicates the position at which to begin the
|
1779
1788
|
# next list of tasks.
|
1780
1789
|
#
|
1790
|
+
# @option params [Array<Types::TaskFilter>] :filters
|
1791
|
+
#
|
1781
1792
|
# @return [Types::ListTasksResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1782
1793
|
#
|
1783
1794
|
# * {Types::ListTasksResponse#tasks #tasks} => Array<Types::TaskListEntry>
|
@@ -1790,6 +1801,13 @@ module Aws::DataSync
|
|
1790
1801
|
# resp = client.list_tasks({
|
1791
1802
|
# max_results: 1,
|
1792
1803
|
# next_token: "NextToken",
|
1804
|
+
# filters: [
|
1805
|
+
# {
|
1806
|
+
# name: "LocationId", # required, accepts LocationId, CreationTime
|
1807
|
+
# values: ["FilterAttributeValue"], # required
|
1808
|
+
# operator: "Equals", # required, accepts Equals, NotEquals, In, LessThanOrEqual, LessThan, GreaterThanOrEqual, GreaterThan, Contains, NotContains, BeginsWith
|
1809
|
+
# },
|
1810
|
+
# ],
|
1793
1811
|
# })
|
1794
1812
|
#
|
1795
1813
|
# @example Response structure
|
@@ -2061,7 +2079,7 @@ module Aws::DataSync
|
|
2061
2079
|
params: params,
|
2062
2080
|
config: config)
|
2063
2081
|
context[:gem_name] = 'aws-sdk-datasync'
|
2064
|
-
context[:gem_version] = '1.
|
2082
|
+
context[:gem_version] = '1.24.0'
|
2065
2083
|
Seahorse::Client::Request.new(handlers, context)
|
2066
2084
|
end
|
2067
2085
|
|
@@ -73,10 +73,12 @@ module Aws::DataSync
|
|
73
73
|
EfsSubdirectory = Shapes::StringShape.new(name: 'EfsSubdirectory')
|
74
74
|
Endpoint = Shapes::StringShape.new(name: 'Endpoint')
|
75
75
|
EndpointType = Shapes::StringShape.new(name: 'EndpointType')
|
76
|
+
FilterAttributeValue = Shapes::StringShape.new(name: 'FilterAttributeValue')
|
76
77
|
FilterList = Shapes::ListShape.new(name: 'FilterList')
|
77
78
|
FilterRule = Shapes::StructureShape.new(name: 'FilterRule')
|
78
79
|
FilterType = Shapes::StringShape.new(name: 'FilterType')
|
79
80
|
FilterValue = Shapes::StringShape.new(name: 'FilterValue')
|
81
|
+
FilterValues = Shapes::ListShape.new(name: 'FilterValues')
|
80
82
|
FsxFilesystemArn = Shapes::StringShape.new(name: 'FsxFilesystemArn')
|
81
83
|
FsxWindowsSubdirectory = Shapes::StringShape.new(name: 'FsxWindowsSubdirectory')
|
82
84
|
Gid = Shapes::StringShape.new(name: 'Gid')
|
@@ -95,6 +97,9 @@ module Aws::DataSync
|
|
95
97
|
ListTasksRequest = Shapes::StructureShape.new(name: 'ListTasksRequest')
|
96
98
|
ListTasksResponse = Shapes::StructureShape.new(name: 'ListTasksResponse')
|
97
99
|
LocationArn = Shapes::StringShape.new(name: 'LocationArn')
|
100
|
+
LocationFilter = Shapes::StructureShape.new(name: 'LocationFilter')
|
101
|
+
LocationFilterName = Shapes::StringShape.new(name: 'LocationFilterName')
|
102
|
+
LocationFilters = Shapes::ListShape.new(name: 'LocationFilters')
|
98
103
|
LocationList = Shapes::ListShape.new(name: 'LocationList')
|
99
104
|
LocationListEntry = Shapes::StructureShape.new(name: 'LocationListEntry')
|
100
105
|
LocationUri = Shapes::StringShape.new(name: 'LocationUri')
|
@@ -113,6 +118,7 @@ module Aws::DataSync
|
|
113
118
|
ObjectStorageServerPort = Shapes::IntegerShape.new(name: 'ObjectStorageServerPort')
|
114
119
|
ObjectStorageServerProtocol = Shapes::StringShape.new(name: 'ObjectStorageServerProtocol')
|
115
120
|
OnPremConfig = Shapes::StructureShape.new(name: 'OnPremConfig')
|
121
|
+
Operator = Shapes::StringShape.new(name: 'Operator')
|
116
122
|
Options = Shapes::StructureShape.new(name: 'Options')
|
117
123
|
OutputTagList = Shapes::ListShape.new(name: 'OutputTagList')
|
118
124
|
OverwriteMode = Shapes::StringShape.new(name: 'OverwriteMode')
|
@@ -151,6 +157,9 @@ module Aws::DataSync
|
|
151
157
|
TaskExecutionListEntry = Shapes::StructureShape.new(name: 'TaskExecutionListEntry')
|
152
158
|
TaskExecutionResultDetail = Shapes::StructureShape.new(name: 'TaskExecutionResultDetail')
|
153
159
|
TaskExecutionStatus = Shapes::StringShape.new(name: 'TaskExecutionStatus')
|
160
|
+
TaskFilter = Shapes::StructureShape.new(name: 'TaskFilter')
|
161
|
+
TaskFilterName = Shapes::StringShape.new(name: 'TaskFilterName')
|
162
|
+
TaskFilters = Shapes::ListShape.new(name: 'TaskFilters')
|
154
163
|
TaskList = Shapes::ListShape.new(name: 'TaskList')
|
155
164
|
TaskListEntry = Shapes::StructureShape.new(name: 'TaskListEntry')
|
156
165
|
TaskQueueing = Shapes::StringShape.new(name: 'TaskQueueing')
|
@@ -418,6 +427,8 @@ module Aws::DataSync
|
|
418
427
|
FilterRule.add_member(:value, Shapes::ShapeRef.new(shape: FilterValue, location_name: "Value"))
|
419
428
|
FilterRule.struct_class = Types::FilterRule
|
420
429
|
|
430
|
+
FilterValues.member = Shapes::ShapeRef.new(shape: FilterAttributeValue)
|
431
|
+
|
421
432
|
InputTagList.member = Shapes::ShapeRef.new(shape: TagListEntry)
|
422
433
|
|
423
434
|
InternalException.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "message"))
|
@@ -438,6 +449,7 @@ module Aws::DataSync
|
|
438
449
|
|
439
450
|
ListLocationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
440
451
|
ListLocationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
452
|
+
ListLocationsRequest.add_member(:filters, Shapes::ShapeRef.new(shape: LocationFilters, location_name: "Filters"))
|
441
453
|
ListLocationsRequest.struct_class = Types::ListLocationsRequest
|
442
454
|
|
443
455
|
ListLocationsResponse.add_member(:locations, Shapes::ShapeRef.new(shape: LocationList, location_name: "Locations"))
|
@@ -464,12 +476,20 @@ module Aws::DataSync
|
|
464
476
|
|
465
477
|
ListTasksRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
466
478
|
ListTasksRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
479
|
+
ListTasksRequest.add_member(:filters, Shapes::ShapeRef.new(shape: TaskFilters, location_name: "Filters"))
|
467
480
|
ListTasksRequest.struct_class = Types::ListTasksRequest
|
468
481
|
|
469
482
|
ListTasksResponse.add_member(:tasks, Shapes::ShapeRef.new(shape: TaskList, location_name: "Tasks"))
|
470
483
|
ListTasksResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
471
484
|
ListTasksResponse.struct_class = Types::ListTasksResponse
|
472
485
|
|
486
|
+
LocationFilter.add_member(:name, Shapes::ShapeRef.new(shape: LocationFilterName, required: true, location_name: "Name"))
|
487
|
+
LocationFilter.add_member(:values, Shapes::ShapeRef.new(shape: FilterValues, required: true, location_name: "Values"))
|
488
|
+
LocationFilter.add_member(:operator, Shapes::ShapeRef.new(shape: Operator, required: true, location_name: "Operator"))
|
489
|
+
LocationFilter.struct_class = Types::LocationFilter
|
490
|
+
|
491
|
+
LocationFilters.member = Shapes::ShapeRef.new(shape: LocationFilter)
|
492
|
+
|
473
493
|
LocationList.member = Shapes::ShapeRef.new(shape: LocationListEntry)
|
474
494
|
|
475
495
|
LocationListEntry.add_member(:location_arn, Shapes::ShapeRef.new(shape: LocationArn, location_name: "LocationArn"))
|
@@ -554,6 +574,13 @@ module Aws::DataSync
|
|
554
574
|
TaskExecutionResultDetail.add_member(:error_detail, Shapes::ShapeRef.new(shape: string, location_name: "ErrorDetail"))
|
555
575
|
TaskExecutionResultDetail.struct_class = Types::TaskExecutionResultDetail
|
556
576
|
|
577
|
+
TaskFilter.add_member(:name, Shapes::ShapeRef.new(shape: TaskFilterName, required: true, location_name: "Name"))
|
578
|
+
TaskFilter.add_member(:values, Shapes::ShapeRef.new(shape: FilterValues, required: true, location_name: "Values"))
|
579
|
+
TaskFilter.add_member(:operator, Shapes::ShapeRef.new(shape: Operator, required: true, location_name: "Operator"))
|
580
|
+
TaskFilter.struct_class = Types::TaskFilter
|
581
|
+
|
582
|
+
TaskFilters.member = Shapes::ShapeRef.new(shape: TaskFilter)
|
583
|
+
|
557
584
|
TaskList.member = Shapes::ShapeRef.new(shape: TaskListEntry)
|
558
585
|
|
559
586
|
TaskListEntry.add_member(:task_arn, Shapes::ShapeRef.new(shape: TaskArn, location_name: "TaskArn"))
|
@@ -1851,6 +1851,13 @@ module Aws::DataSync
|
|
1851
1851
|
# {
|
1852
1852
|
# max_results: 1,
|
1853
1853
|
# next_token: "NextToken",
|
1854
|
+
# filters: [
|
1855
|
+
# {
|
1856
|
+
# name: "LocationUri", # required, accepts LocationUri, LocationType, CreationTime
|
1857
|
+
# values: ["FilterAttributeValue"], # required
|
1858
|
+
# operator: "Equals", # required, accepts Equals, NotEquals, In, LessThanOrEqual, LessThan, GreaterThanOrEqual, GreaterThan, Contains, NotContains, BeginsWith
|
1859
|
+
# },
|
1860
|
+
# ],
|
1854
1861
|
# }
|
1855
1862
|
#
|
1856
1863
|
# @!attribute [rw] max_results
|
@@ -1862,11 +1869,15 @@ module Aws::DataSync
|
|
1862
1869
|
# next list of locations.
|
1863
1870
|
# @return [String]
|
1864
1871
|
#
|
1872
|
+
# @!attribute [rw] filters
|
1873
|
+
# @return [Array<Types::LocationFilter>]
|
1874
|
+
#
|
1865
1875
|
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/ListLocationsRequest AWS API Documentation
|
1866
1876
|
#
|
1867
1877
|
class ListLocationsRequest < Struct.new(
|
1868
1878
|
:max_results,
|
1869
|
-
:next_token
|
1879
|
+
:next_token,
|
1880
|
+
:filters)
|
1870
1881
|
SENSITIVE = []
|
1871
1882
|
include Aws::Structure
|
1872
1883
|
end
|
@@ -2008,6 +2019,13 @@ module Aws::DataSync
|
|
2008
2019
|
# {
|
2009
2020
|
# max_results: 1,
|
2010
2021
|
# next_token: "NextToken",
|
2022
|
+
# filters: [
|
2023
|
+
# {
|
2024
|
+
# name: "LocationId", # required, accepts LocationId, CreationTime
|
2025
|
+
# values: ["FilterAttributeValue"], # required
|
2026
|
+
# operator: "Equals", # required, accepts Equals, NotEquals, In, LessThanOrEqual, LessThan, GreaterThanOrEqual, GreaterThan, Contains, NotContains, BeginsWith
|
2027
|
+
# },
|
2028
|
+
# ],
|
2011
2029
|
# }
|
2012
2030
|
#
|
2013
2031
|
# @!attribute [rw] max_results
|
@@ -2019,11 +2037,15 @@ module Aws::DataSync
|
|
2019
2037
|
# next list of tasks.
|
2020
2038
|
# @return [String]
|
2021
2039
|
#
|
2040
|
+
# @!attribute [rw] filters
|
2041
|
+
# @return [Array<Types::TaskFilter>]
|
2042
|
+
#
|
2022
2043
|
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/ListTasksRequest AWS API Documentation
|
2023
2044
|
#
|
2024
2045
|
class ListTasksRequest < Struct.new(
|
2025
2046
|
:max_results,
|
2026
|
-
:next_token
|
2047
|
+
:next_token,
|
2048
|
+
:filters)
|
2027
2049
|
SENSITIVE = []
|
2028
2050
|
include Aws::Structure
|
2029
2051
|
end
|
@@ -2048,6 +2070,34 @@ module Aws::DataSync
|
|
2048
2070
|
include Aws::Structure
|
2049
2071
|
end
|
2050
2072
|
|
2073
|
+
# @note When making an API call, you may pass LocationFilter
|
2074
|
+
# data as a hash:
|
2075
|
+
#
|
2076
|
+
# {
|
2077
|
+
# name: "LocationUri", # required, accepts LocationUri, LocationType, CreationTime
|
2078
|
+
# values: ["FilterAttributeValue"], # required
|
2079
|
+
# operator: "Equals", # required, accepts Equals, NotEquals, In, LessThanOrEqual, LessThan, GreaterThanOrEqual, GreaterThan, Contains, NotContains, BeginsWith
|
2080
|
+
# }
|
2081
|
+
#
|
2082
|
+
# @!attribute [rw] name
|
2083
|
+
# @return [String]
|
2084
|
+
#
|
2085
|
+
# @!attribute [rw] values
|
2086
|
+
# @return [Array<String>]
|
2087
|
+
#
|
2088
|
+
# @!attribute [rw] operator
|
2089
|
+
# @return [String]
|
2090
|
+
#
|
2091
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/LocationFilter AWS API Documentation
|
2092
|
+
#
|
2093
|
+
class LocationFilter < Struct.new(
|
2094
|
+
:name,
|
2095
|
+
:values,
|
2096
|
+
:operator)
|
2097
|
+
SENSITIVE = []
|
2098
|
+
include Aws::Structure
|
2099
|
+
end
|
2100
|
+
|
2051
2101
|
# Represents a single entry in a list of locations. `LocationListEntry`
|
2052
2102
|
# returns an array that contains a list of locations when the
|
2053
2103
|
# ListLocations operation is called.
|
@@ -2713,6 +2763,34 @@ module Aws::DataSync
|
|
2713
2763
|
include Aws::Structure
|
2714
2764
|
end
|
2715
2765
|
|
2766
|
+
# @note When making an API call, you may pass TaskFilter
|
2767
|
+
# data as a hash:
|
2768
|
+
#
|
2769
|
+
# {
|
2770
|
+
# name: "LocationId", # required, accepts LocationId, CreationTime
|
2771
|
+
# values: ["FilterAttributeValue"], # required
|
2772
|
+
# operator: "Equals", # required, accepts Equals, NotEquals, In, LessThanOrEqual, LessThan, GreaterThanOrEqual, GreaterThan, Contains, NotContains, BeginsWith
|
2773
|
+
# }
|
2774
|
+
#
|
2775
|
+
# @!attribute [rw] name
|
2776
|
+
# @return [String]
|
2777
|
+
#
|
2778
|
+
# @!attribute [rw] values
|
2779
|
+
# @return [Array<String>]
|
2780
|
+
#
|
2781
|
+
# @!attribute [rw] operator
|
2782
|
+
# @return [String]
|
2783
|
+
#
|
2784
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/TaskFilter AWS API Documentation
|
2785
|
+
#
|
2786
|
+
class TaskFilter < Struct.new(
|
2787
|
+
:name,
|
2788
|
+
:values,
|
2789
|
+
:operator)
|
2790
|
+
SENSITIVE = []
|
2791
|
+
include Aws::Structure
|
2792
|
+
end
|
2793
|
+
|
2716
2794
|
# Represents a single entry in a list of tasks. `TaskListEntry` returns
|
2717
2795
|
# an array that contains a list of tasks when the ListTasks operation is
|
2718
2796
|
# called. A task includes the source and destination file systems to
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-datasync
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.24.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-08-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|