aws-sdk-datasync 1.6.0 → 1.7.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/lib/aws-sdk-datasync.rb +1 -1
- data/lib/aws-sdk-datasync/client.rb +10 -1
- data/lib/aws-sdk-datasync/client_api.rb +28 -0
- data/lib/aws-sdk-datasync/errors.rb +42 -0
- data/lib/aws-sdk-datasync/types.rb +74 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bc9734f34f71fa2276fc5f0214e1515a1cd027d2
|
4
|
+
data.tar.gz: 4e8cdc965935f36bf69a5905d88ee98af0ce9f9c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 47ac04f92254465f091c1ae6229a74b68ec0b4c40f4dff2887f6cea037748a2c779ef3ef825216e5f290a2bcdf67a68733c1bb37097c3a431f4ca8484190797f
|
7
|
+
data.tar.gz: 9a9b8b7dc3641d4734aab778589944e36810f1754854a99cae22f09fedb30e4b985b0e3057a2253469be33bf2a0d180b6d6f1214ec70a7d7997cd69ba1f06072
|
data/lib/aws-sdk-datasync.rb
CHANGED
@@ -798,6 +798,8 @@ module Aws::DataSync
|
|
798
798
|
# * {Types::DescribeAgentResponse#status #status} => String
|
799
799
|
# * {Types::DescribeAgentResponse#last_connection_time #last_connection_time} => Time
|
800
800
|
# * {Types::DescribeAgentResponse#creation_time #creation_time} => Time
|
801
|
+
# * {Types::DescribeAgentResponse#endpoint_options #endpoint_options} => Types::EndpointOptions
|
802
|
+
# * {Types::DescribeAgentResponse#private_link_config #private_link_config} => Types::PrivateLinkConfig
|
801
803
|
#
|
802
804
|
# @example Request syntax with placeholder values
|
803
805
|
#
|
@@ -812,6 +814,13 @@ module Aws::DataSync
|
|
812
814
|
# resp.status #=> String, one of "ONLINE", "OFFLINE"
|
813
815
|
# resp.last_connection_time #=> Time
|
814
816
|
# resp.creation_time #=> Time
|
817
|
+
# resp.endpoint_options.fips #=> Boolean
|
818
|
+
# resp.endpoint_options.private_link #=> Boolean
|
819
|
+
# resp.private_link_config.private_link_endpoint #=> String
|
820
|
+
# resp.private_link_config.subnet_arns #=> Array
|
821
|
+
# resp.private_link_config.subnet_arns[0] #=> String
|
822
|
+
# resp.private_link_config.security_group_arns #=> Array
|
823
|
+
# resp.private_link_config.security_group_arns[0] #=> String
|
815
824
|
#
|
816
825
|
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/DescribeAgent AWS API Documentation
|
817
826
|
#
|
@@ -1506,7 +1515,7 @@ module Aws::DataSync
|
|
1506
1515
|
params: params,
|
1507
1516
|
config: config)
|
1508
1517
|
context[:gem_name] = 'aws-sdk-datasync'
|
1509
|
-
context[:gem_version] = '1.
|
1518
|
+
context[:gem_version] = '1.7.0'
|
1510
1519
|
Seahorse::Client::Request.new(handlers, context)
|
1511
1520
|
end
|
1512
1521
|
|
@@ -55,6 +55,7 @@ module Aws::DataSync
|
|
55
55
|
Ec2SecurityGroupArnList = Shapes::ListShape.new(name: 'Ec2SecurityGroupArnList')
|
56
56
|
Ec2SubnetArn = Shapes::StringShape.new(name: 'Ec2SubnetArn')
|
57
57
|
EfsFilesystemArn = Shapes::StringShape.new(name: 'EfsFilesystemArn')
|
58
|
+
EndpointOptions = Shapes::StructureShape.new(name: 'EndpointOptions')
|
58
59
|
FilterList = Shapes::ListShape.new(name: 'FilterList')
|
59
60
|
FilterRule = Shapes::StructureShape.new(name: 'FilterRule')
|
60
61
|
FilterType = Shapes::StringShape.new(name: 'FilterType')
|
@@ -86,10 +87,13 @@ module Aws::DataSync
|
|
86
87
|
NonEmptySubdirectory = Shapes::StringShape.new(name: 'NonEmptySubdirectory')
|
87
88
|
OnPremConfig = Shapes::StructureShape.new(name: 'OnPremConfig')
|
88
89
|
Options = Shapes::StructureShape.new(name: 'Options')
|
90
|
+
PLSecurityGroupArnList = Shapes::ListShape.new(name: 'PLSecurityGroupArnList')
|
91
|
+
PLSubnetArnList = Shapes::ListShape.new(name: 'PLSubnetArnList')
|
89
92
|
PhaseStatus = Shapes::StringShape.new(name: 'PhaseStatus')
|
90
93
|
PosixPermissions = Shapes::StringShape.new(name: 'PosixPermissions')
|
91
94
|
PreserveDeletedFiles = Shapes::StringShape.new(name: 'PreserveDeletedFiles')
|
92
95
|
PreserveDevices = Shapes::StringShape.new(name: 'PreserveDevices')
|
96
|
+
PrivateLinkConfig = Shapes::StructureShape.new(name: 'PrivateLinkConfig')
|
93
97
|
S3BucketArn = Shapes::StringShape.new(name: 'S3BucketArn')
|
94
98
|
S3Config = Shapes::StructureShape.new(name: 'S3Config')
|
95
99
|
ServerHostname = Shapes::StringShape.new(name: 'ServerHostname')
|
@@ -122,6 +126,7 @@ module Aws::DataSync
|
|
122
126
|
UpdateTaskRequest = Shapes::StructureShape.new(name: 'UpdateTaskRequest')
|
123
127
|
UpdateTaskResponse = Shapes::StructureShape.new(name: 'UpdateTaskResponse')
|
124
128
|
VerifyMode = Shapes::StringShape.new(name: 'VerifyMode')
|
129
|
+
boolean = Shapes::BooleanShape.new(name: 'boolean')
|
125
130
|
long = Shapes::IntegerShape.new(name: 'long')
|
126
131
|
string = Shapes::StringShape.new(name: 'string')
|
127
132
|
|
@@ -210,6 +215,8 @@ module Aws::DataSync
|
|
210
215
|
DescribeAgentResponse.add_member(:status, Shapes::ShapeRef.new(shape: AgentStatus, location_name: "Status"))
|
211
216
|
DescribeAgentResponse.add_member(:last_connection_time, Shapes::ShapeRef.new(shape: Time, location_name: "LastConnectionTime"))
|
212
217
|
DescribeAgentResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: Time, location_name: "CreationTime"))
|
218
|
+
DescribeAgentResponse.add_member(:endpoint_options, Shapes::ShapeRef.new(shape: EndpointOptions, location_name: "EndpointOptions"))
|
219
|
+
DescribeAgentResponse.add_member(:private_link_config, Shapes::ShapeRef.new(shape: PrivateLinkConfig, location_name: "PrivateLinkConfig"))
|
213
220
|
DescribeAgentResponse.struct_class = Types::DescribeAgentResponse
|
214
221
|
|
215
222
|
DescribeLocationEfsRequest.add_member(:location_arn, Shapes::ShapeRef.new(shape: LocationArn, required: true, location_name: "LocationArn"))
|
@@ -280,12 +287,24 @@ module Aws::DataSync
|
|
280
287
|
|
281
288
|
Ec2SecurityGroupArnList.member = Shapes::ShapeRef.new(shape: Ec2SecurityGroupArn)
|
282
289
|
|
290
|
+
EndpointOptions.add_member(:fips, Shapes::ShapeRef.new(shape: boolean, location_name: "Fips"))
|
291
|
+
EndpointOptions.add_member(:private_link, Shapes::ShapeRef.new(shape: boolean, location_name: "PrivateLink"))
|
292
|
+
EndpointOptions.struct_class = Types::EndpointOptions
|
293
|
+
|
283
294
|
FilterList.member = Shapes::ShapeRef.new(shape: FilterRule)
|
284
295
|
|
285
296
|
FilterRule.add_member(:filter_type, Shapes::ShapeRef.new(shape: FilterType, location_name: "FilterType"))
|
286
297
|
FilterRule.add_member(:value, Shapes::ShapeRef.new(shape: FilterValue, location_name: "Value"))
|
287
298
|
FilterRule.struct_class = Types::FilterRule
|
288
299
|
|
300
|
+
InternalException.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "message"))
|
301
|
+
InternalException.add_member(:error_code, Shapes::ShapeRef.new(shape: string, location_name: "errorCode"))
|
302
|
+
InternalException.struct_class = Types::InternalException
|
303
|
+
|
304
|
+
InvalidRequestException.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "message"))
|
305
|
+
InvalidRequestException.add_member(:error_code, Shapes::ShapeRef.new(shape: string, location_name: "errorCode"))
|
306
|
+
InvalidRequestException.struct_class = Types::InvalidRequestException
|
307
|
+
|
289
308
|
ListAgentsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
290
309
|
ListAgentsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
291
310
|
ListAgentsRequest.struct_class = Types::ListAgentsRequest
|
@@ -351,6 +370,15 @@ module Aws::DataSync
|
|
351
370
|
Options.add_member(:bytes_per_second, Shapes::ShapeRef.new(shape: BytesPerSecond, location_name: "BytesPerSecond"))
|
352
371
|
Options.struct_class = Types::Options
|
353
372
|
|
373
|
+
PLSecurityGroupArnList.member = Shapes::ShapeRef.new(shape: Ec2SecurityGroupArn)
|
374
|
+
|
375
|
+
PLSubnetArnList.member = Shapes::ShapeRef.new(shape: Ec2SubnetArn)
|
376
|
+
|
377
|
+
PrivateLinkConfig.add_member(:private_link_endpoint, Shapes::ShapeRef.new(shape: string, location_name: "PrivateLinkEndpoint"))
|
378
|
+
PrivateLinkConfig.add_member(:subnet_arns, Shapes::ShapeRef.new(shape: PLSubnetArnList, location_name: "SubnetArns"))
|
379
|
+
PrivateLinkConfig.add_member(:security_group_arns, Shapes::ShapeRef.new(shape: PLSecurityGroupArnList, location_name: "SecurityGroupArns"))
|
380
|
+
PrivateLinkConfig.struct_class = Types::PrivateLinkConfig
|
381
|
+
|
354
382
|
S3Config.add_member(:bucket_access_role_arn, Shapes::ShapeRef.new(shape: IamRoleArn, required: true, location_name: "BucketAccessRoleArn"))
|
355
383
|
S3Config.struct_class = Types::S3Config
|
356
384
|
|
@@ -10,5 +10,47 @@ module Aws::DataSync
|
|
10
10
|
|
11
11
|
extend Aws::Errors::DynamicErrors
|
12
12
|
|
13
|
+
class InternalException < ServiceError
|
14
|
+
|
15
|
+
# @param [Seahorse::Client::RequestContext] context
|
16
|
+
# @param [String] message
|
17
|
+
# @param [Aws::DataSync::Types::InternalException] data
|
18
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
19
|
+
super(context, message, data)
|
20
|
+
end
|
21
|
+
|
22
|
+
# @return [String]
|
23
|
+
def message
|
24
|
+
@message || @data[:message]
|
25
|
+
end
|
26
|
+
|
27
|
+
# @return [String]
|
28
|
+
def error_code
|
29
|
+
@data[:error_code]
|
30
|
+
end
|
31
|
+
|
32
|
+
end
|
33
|
+
|
34
|
+
class InvalidRequestException < ServiceError
|
35
|
+
|
36
|
+
# @param [Seahorse::Client::RequestContext] context
|
37
|
+
# @param [String] message
|
38
|
+
# @param [Aws::DataSync::Types::InvalidRequestException] data
|
39
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
40
|
+
super(context, message, data)
|
41
|
+
end
|
42
|
+
|
43
|
+
# @return [String]
|
44
|
+
def message
|
45
|
+
@message || @data[:message]
|
46
|
+
end
|
47
|
+
|
48
|
+
# @return [String]
|
49
|
+
def error_code
|
50
|
+
@data[:error_code]
|
51
|
+
end
|
52
|
+
|
53
|
+
end
|
54
|
+
|
13
55
|
end
|
14
56
|
end
|
@@ -624,6 +624,12 @@ module Aws::DataSync
|
|
624
624
|
# account).
|
625
625
|
# @return [Time]
|
626
626
|
#
|
627
|
+
# @!attribute [rw] endpoint_options
|
628
|
+
# @return [Types::EndpointOptions]
|
629
|
+
#
|
630
|
+
# @!attribute [rw] private_link_config
|
631
|
+
# @return [Types::PrivateLinkConfig]
|
632
|
+
#
|
627
633
|
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/DescribeAgentResponse AWS API Documentation
|
628
634
|
#
|
629
635
|
class DescribeAgentResponse < Struct.new(
|
@@ -631,7 +637,9 @@ module Aws::DataSync
|
|
631
637
|
:name,
|
632
638
|
:status,
|
633
639
|
:last_connection_time,
|
634
|
-
:creation_time
|
640
|
+
:creation_time,
|
641
|
+
:endpoint_options,
|
642
|
+
:private_link_config)
|
635
643
|
include Aws::Structure
|
636
644
|
end
|
637
645
|
|
@@ -1073,6 +1081,20 @@ module Aws::DataSync
|
|
1073
1081
|
include Aws::Structure
|
1074
1082
|
end
|
1075
1083
|
|
1084
|
+
# @!attribute [rw] fips
|
1085
|
+
# @return [Boolean]
|
1086
|
+
#
|
1087
|
+
# @!attribute [rw] private_link
|
1088
|
+
# @return [Boolean]
|
1089
|
+
#
|
1090
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/EndpointOptions AWS API Documentation
|
1091
|
+
#
|
1092
|
+
class EndpointOptions < Struct.new(
|
1093
|
+
:fips,
|
1094
|
+
:private_link)
|
1095
|
+
include Aws::Structure
|
1096
|
+
end
|
1097
|
+
|
1076
1098
|
# A pattern that determines which files to include in the transfer or
|
1077
1099
|
# which files to exclude.
|
1078
1100
|
#
|
@@ -1102,6 +1124,39 @@ module Aws::DataSync
|
|
1102
1124
|
include Aws::Structure
|
1103
1125
|
end
|
1104
1126
|
|
1127
|
+
# This exception is thrown when an error occurs in the AWS DataSync
|
1128
|
+
# service.
|
1129
|
+
#
|
1130
|
+
# @!attribute [rw] message
|
1131
|
+
# @return [String]
|
1132
|
+
#
|
1133
|
+
# @!attribute [rw] error_code
|
1134
|
+
# @return [String]
|
1135
|
+
#
|
1136
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/InternalException AWS API Documentation
|
1137
|
+
#
|
1138
|
+
class InternalException < Struct.new(
|
1139
|
+
:message,
|
1140
|
+
:error_code)
|
1141
|
+
include Aws::Structure
|
1142
|
+
end
|
1143
|
+
|
1144
|
+
# This exception is thrown when the client submits a malformed request.
|
1145
|
+
#
|
1146
|
+
# @!attribute [rw] message
|
1147
|
+
# @return [String]
|
1148
|
+
#
|
1149
|
+
# @!attribute [rw] error_code
|
1150
|
+
# @return [String]
|
1151
|
+
#
|
1152
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/InvalidRequestException AWS API Documentation
|
1153
|
+
#
|
1154
|
+
class InvalidRequestException < Struct.new(
|
1155
|
+
:message,
|
1156
|
+
:error_code)
|
1157
|
+
include Aws::Structure
|
1158
|
+
end
|
1159
|
+
|
1105
1160
|
# ListAgentsRequest
|
1106
1161
|
#
|
1107
1162
|
# @note When making an API call, you may pass ListAgentsRequest
|
@@ -1601,6 +1656,24 @@ module Aws::DataSync
|
|
1601
1656
|
include Aws::Structure
|
1602
1657
|
end
|
1603
1658
|
|
1659
|
+
# @!attribute [rw] private_link_endpoint
|
1660
|
+
# @return [String]
|
1661
|
+
#
|
1662
|
+
# @!attribute [rw] subnet_arns
|
1663
|
+
# @return [Array<String>]
|
1664
|
+
#
|
1665
|
+
# @!attribute [rw] security_group_arns
|
1666
|
+
# @return [Array<String>]
|
1667
|
+
#
|
1668
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/PrivateLinkConfig AWS API Documentation
|
1669
|
+
#
|
1670
|
+
class PrivateLinkConfig < Struct.new(
|
1671
|
+
:private_link_endpoint,
|
1672
|
+
:subnet_arns,
|
1673
|
+
:security_group_arns)
|
1674
|
+
include Aws::Structure
|
1675
|
+
end
|
1676
|
+
|
1604
1677
|
# The Amazon Resource Name (ARN) of the AWS Identity and Access
|
1605
1678
|
# Management (IAM) role that is used to access an Amazon S3 bucket.
|
1606
1679
|
#
|
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.7.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: 2019-05-
|
11
|
+
date: 2019-05-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.53.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.53.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|