aws-sdk-datasync 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/lib/aws-sdk-datasync.rb +47 -0
- data/lib/aws-sdk-datasync/client.rb +1428 -0
- data/lib/aws-sdk-datasync/client_api.rb +674 -0
- data/lib/aws-sdk-datasync/customizations.rb +0 -0
- data/lib/aws-sdk-datasync/errors.rb +14 -0
- data/lib/aws-sdk-datasync/resource.rb +23 -0
- data/lib/aws-sdk-datasync/types.rb +1902 -0
- metadata +88 -0
@@ -0,0 +1,674 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws::DataSync
|
9
|
+
# @api private
|
10
|
+
module ClientApi
|
11
|
+
|
12
|
+
include Seahorse::Model
|
13
|
+
|
14
|
+
ActivationKey = Shapes::StringShape.new(name: 'ActivationKey')
|
15
|
+
AgentArn = Shapes::StringShape.new(name: 'AgentArn')
|
16
|
+
AgentArnList = Shapes::ListShape.new(name: 'AgentArnList')
|
17
|
+
AgentList = Shapes::ListShape.new(name: 'AgentList')
|
18
|
+
AgentListEntry = Shapes::StructureShape.new(name: 'AgentListEntry')
|
19
|
+
AgentStatus = Shapes::StringShape.new(name: 'AgentStatus')
|
20
|
+
Atime = Shapes::StringShape.new(name: 'Atime')
|
21
|
+
BytesPerSecond = Shapes::IntegerShape.new(name: 'BytesPerSecond')
|
22
|
+
CancelTaskExecutionRequest = Shapes::StructureShape.new(name: 'CancelTaskExecutionRequest')
|
23
|
+
CancelTaskExecutionResponse = Shapes::StructureShape.new(name: 'CancelTaskExecutionResponse')
|
24
|
+
CreateAgentRequest = Shapes::StructureShape.new(name: 'CreateAgentRequest')
|
25
|
+
CreateAgentResponse = Shapes::StructureShape.new(name: 'CreateAgentResponse')
|
26
|
+
CreateLocationEfsRequest = Shapes::StructureShape.new(name: 'CreateLocationEfsRequest')
|
27
|
+
CreateLocationEfsResponse = Shapes::StructureShape.new(name: 'CreateLocationEfsResponse')
|
28
|
+
CreateLocationNfsRequest = Shapes::StructureShape.new(name: 'CreateLocationNfsRequest')
|
29
|
+
CreateLocationNfsResponse = Shapes::StructureShape.new(name: 'CreateLocationNfsResponse')
|
30
|
+
CreateLocationS3Request = Shapes::StructureShape.new(name: 'CreateLocationS3Request')
|
31
|
+
CreateLocationS3Response = Shapes::StructureShape.new(name: 'CreateLocationS3Response')
|
32
|
+
CreateTaskRequest = Shapes::StructureShape.new(name: 'CreateTaskRequest')
|
33
|
+
CreateTaskResponse = Shapes::StructureShape.new(name: 'CreateTaskResponse')
|
34
|
+
DeleteAgentRequest = Shapes::StructureShape.new(name: 'DeleteAgentRequest')
|
35
|
+
DeleteAgentResponse = Shapes::StructureShape.new(name: 'DeleteAgentResponse')
|
36
|
+
DeleteLocationRequest = Shapes::StructureShape.new(name: 'DeleteLocationRequest')
|
37
|
+
DeleteLocationResponse = Shapes::StructureShape.new(name: 'DeleteLocationResponse')
|
38
|
+
DeleteTaskRequest = Shapes::StructureShape.new(name: 'DeleteTaskRequest')
|
39
|
+
DeleteTaskResponse = Shapes::StructureShape.new(name: 'DeleteTaskResponse')
|
40
|
+
DescribeAgentRequest = Shapes::StructureShape.new(name: 'DescribeAgentRequest')
|
41
|
+
DescribeAgentResponse = Shapes::StructureShape.new(name: 'DescribeAgentResponse')
|
42
|
+
DescribeLocationEfsRequest = Shapes::StructureShape.new(name: 'DescribeLocationEfsRequest')
|
43
|
+
DescribeLocationEfsResponse = Shapes::StructureShape.new(name: 'DescribeLocationEfsResponse')
|
44
|
+
DescribeLocationNfsRequest = Shapes::StructureShape.new(name: 'DescribeLocationNfsRequest')
|
45
|
+
DescribeLocationNfsResponse = Shapes::StructureShape.new(name: 'DescribeLocationNfsResponse')
|
46
|
+
DescribeLocationS3Request = Shapes::StructureShape.new(name: 'DescribeLocationS3Request')
|
47
|
+
DescribeLocationS3Response = Shapes::StructureShape.new(name: 'DescribeLocationS3Response')
|
48
|
+
DescribeTaskExecutionRequest = Shapes::StructureShape.new(name: 'DescribeTaskExecutionRequest')
|
49
|
+
DescribeTaskExecutionResponse = Shapes::StructureShape.new(name: 'DescribeTaskExecutionResponse')
|
50
|
+
DescribeTaskRequest = Shapes::StructureShape.new(name: 'DescribeTaskRequest')
|
51
|
+
DescribeTaskResponse = Shapes::StructureShape.new(name: 'DescribeTaskResponse')
|
52
|
+
Duration = Shapes::IntegerShape.new(name: 'Duration')
|
53
|
+
Ec2Config = Shapes::StructureShape.new(name: 'Ec2Config')
|
54
|
+
Ec2SecurityGroupArn = Shapes::StringShape.new(name: 'Ec2SecurityGroupArn')
|
55
|
+
Ec2SecurityGroupArnList = Shapes::ListShape.new(name: 'Ec2SecurityGroupArnList')
|
56
|
+
Ec2SubnetArn = Shapes::StringShape.new(name: 'Ec2SubnetArn')
|
57
|
+
EfsFilesystemArn = Shapes::StringShape.new(name: 'EfsFilesystemArn')
|
58
|
+
Gid = Shapes::StringShape.new(name: 'Gid')
|
59
|
+
IamRoleArn = Shapes::StringShape.new(name: 'IamRoleArn')
|
60
|
+
InvalidRequestException = Shapes::StructureShape.new(name: 'InvalidRequestException')
|
61
|
+
ListAgentsRequest = Shapes::StructureShape.new(name: 'ListAgentsRequest')
|
62
|
+
ListAgentsResponse = Shapes::StructureShape.new(name: 'ListAgentsResponse')
|
63
|
+
ListLocationsRequest = Shapes::StructureShape.new(name: 'ListLocationsRequest')
|
64
|
+
ListLocationsResponse = Shapes::StructureShape.new(name: 'ListLocationsResponse')
|
65
|
+
ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
|
66
|
+
ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
|
67
|
+
ListTaskExecutionsRequest = Shapes::StructureShape.new(name: 'ListTaskExecutionsRequest')
|
68
|
+
ListTaskExecutionsResponse = Shapes::StructureShape.new(name: 'ListTaskExecutionsResponse')
|
69
|
+
ListTasksRequest = Shapes::StructureShape.new(name: 'ListTasksRequest')
|
70
|
+
ListTasksResponse = Shapes::StructureShape.new(name: 'ListTasksResponse')
|
71
|
+
LocationArn = Shapes::StringShape.new(name: 'LocationArn')
|
72
|
+
LocationList = Shapes::ListShape.new(name: 'LocationList')
|
73
|
+
LocationListEntry = Shapes::StructureShape.new(name: 'LocationListEntry')
|
74
|
+
LocationUri = Shapes::StringShape.new(name: 'LocationUri')
|
75
|
+
LogGroupArn = Shapes::StringShape.new(name: 'LogGroupArn')
|
76
|
+
MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
|
77
|
+
Mtime = Shapes::StringShape.new(name: 'Mtime')
|
78
|
+
NextToken = Shapes::StringShape.new(name: 'NextToken')
|
79
|
+
OnPremConfig = Shapes::StructureShape.new(name: 'OnPremConfig')
|
80
|
+
Options = Shapes::StructureShape.new(name: 'Options')
|
81
|
+
PhaseStatus = Shapes::StringShape.new(name: 'PhaseStatus')
|
82
|
+
PosixPermissions = Shapes::StringShape.new(name: 'PosixPermissions')
|
83
|
+
PreserveDeletedFiles = Shapes::StringShape.new(name: 'PreserveDeletedFiles')
|
84
|
+
PreserveDevices = Shapes::StringShape.new(name: 'PreserveDevices')
|
85
|
+
S3BucketArn = Shapes::StringShape.new(name: 'S3BucketArn')
|
86
|
+
S3Config = Shapes::StructureShape.new(name: 'S3Config')
|
87
|
+
ServerHostname = Shapes::StringShape.new(name: 'ServerHostname')
|
88
|
+
StartTaskExecutionRequest = Shapes::StructureShape.new(name: 'StartTaskExecutionRequest')
|
89
|
+
StartTaskExecutionResponse = Shapes::StructureShape.new(name: 'StartTaskExecutionResponse')
|
90
|
+
Subdirectory = Shapes::StringShape.new(name: 'Subdirectory')
|
91
|
+
TagKey = Shapes::StringShape.new(name: 'TagKey')
|
92
|
+
TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
|
93
|
+
TagList = Shapes::ListShape.new(name: 'TagList')
|
94
|
+
TagListEntry = Shapes::StructureShape.new(name: 'TagListEntry')
|
95
|
+
TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
|
96
|
+
TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
|
97
|
+
TagValue = Shapes::StringShape.new(name: 'TagValue')
|
98
|
+
TaggableResourceArn = Shapes::StringShape.new(name: 'TaggableResourceArn')
|
99
|
+
TaskArn = Shapes::StringShape.new(name: 'TaskArn')
|
100
|
+
TaskExecutionArn = Shapes::StringShape.new(name: 'TaskExecutionArn')
|
101
|
+
TaskExecutionList = Shapes::ListShape.new(name: 'TaskExecutionList')
|
102
|
+
TaskExecutionListEntry = Shapes::StructureShape.new(name: 'TaskExecutionListEntry')
|
103
|
+
TaskExecutionResultDetail = Shapes::StructureShape.new(name: 'TaskExecutionResultDetail')
|
104
|
+
TaskExecutionStatus = Shapes::StringShape.new(name: 'TaskExecutionStatus')
|
105
|
+
TaskList = Shapes::ListShape.new(name: 'TaskList')
|
106
|
+
TaskListEntry = Shapes::StructureShape.new(name: 'TaskListEntry')
|
107
|
+
TaskStatus = Shapes::StringShape.new(name: 'TaskStatus')
|
108
|
+
Time = Shapes::TimestampShape.new(name: 'Time')
|
109
|
+
Uid = Shapes::StringShape.new(name: 'Uid')
|
110
|
+
UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
|
111
|
+
UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
|
112
|
+
UpdateAgentRequest = Shapes::StructureShape.new(name: 'UpdateAgentRequest')
|
113
|
+
UpdateAgentResponse = Shapes::StructureShape.new(name: 'UpdateAgentResponse')
|
114
|
+
UpdateTaskRequest = Shapes::StructureShape.new(name: 'UpdateTaskRequest')
|
115
|
+
UpdateTaskResponse = Shapes::StructureShape.new(name: 'UpdateTaskResponse')
|
116
|
+
VerifyMode = Shapes::StringShape.new(name: 'VerifyMode')
|
117
|
+
long = Shapes::IntegerShape.new(name: 'long')
|
118
|
+
string = Shapes::StringShape.new(name: 'string')
|
119
|
+
|
120
|
+
AgentArnList.member = Shapes::ShapeRef.new(shape: AgentArn)
|
121
|
+
|
122
|
+
AgentList.member = Shapes::ShapeRef.new(shape: AgentListEntry)
|
123
|
+
|
124
|
+
AgentListEntry.add_member(:agent_arn, Shapes::ShapeRef.new(shape: AgentArn, location_name: "AgentArn"))
|
125
|
+
AgentListEntry.add_member(:name, Shapes::ShapeRef.new(shape: TagValue, location_name: "Name"))
|
126
|
+
AgentListEntry.add_member(:status, Shapes::ShapeRef.new(shape: AgentStatus, location_name: "Status"))
|
127
|
+
AgentListEntry.struct_class = Types::AgentListEntry
|
128
|
+
|
129
|
+
CancelTaskExecutionRequest.add_member(:task_execution_arn, Shapes::ShapeRef.new(shape: TaskExecutionArn, required: true, location_name: "TaskExecutionArn"))
|
130
|
+
CancelTaskExecutionRequest.struct_class = Types::CancelTaskExecutionRequest
|
131
|
+
|
132
|
+
CancelTaskExecutionResponse.struct_class = Types::CancelTaskExecutionResponse
|
133
|
+
|
134
|
+
CreateAgentRequest.add_member(:activation_key, Shapes::ShapeRef.new(shape: ActivationKey, required: true, location_name: "ActivationKey"))
|
135
|
+
CreateAgentRequest.add_member(:agent_name, Shapes::ShapeRef.new(shape: TagValue, location_name: "AgentName"))
|
136
|
+
CreateAgentRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
137
|
+
CreateAgentRequest.struct_class = Types::CreateAgentRequest
|
138
|
+
|
139
|
+
CreateAgentResponse.add_member(:agent_arn, Shapes::ShapeRef.new(shape: AgentArn, location_name: "AgentArn"))
|
140
|
+
CreateAgentResponse.struct_class = Types::CreateAgentResponse
|
141
|
+
|
142
|
+
CreateLocationEfsRequest.add_member(:subdirectory, Shapes::ShapeRef.new(shape: Subdirectory, required: true, location_name: "Subdirectory"))
|
143
|
+
CreateLocationEfsRequest.add_member(:efs_filesystem_arn, Shapes::ShapeRef.new(shape: EfsFilesystemArn, required: true, location_name: "EfsFilesystemArn"))
|
144
|
+
CreateLocationEfsRequest.add_member(:ec2_config, Shapes::ShapeRef.new(shape: Ec2Config, required: true, location_name: "Ec2Config"))
|
145
|
+
CreateLocationEfsRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
146
|
+
CreateLocationEfsRequest.struct_class = Types::CreateLocationEfsRequest
|
147
|
+
|
148
|
+
CreateLocationEfsResponse.add_member(:location_arn, Shapes::ShapeRef.new(shape: LocationArn, location_name: "LocationArn"))
|
149
|
+
CreateLocationEfsResponse.struct_class = Types::CreateLocationEfsResponse
|
150
|
+
|
151
|
+
CreateLocationNfsRequest.add_member(:subdirectory, Shapes::ShapeRef.new(shape: Subdirectory, required: true, location_name: "Subdirectory"))
|
152
|
+
CreateLocationNfsRequest.add_member(:server_hostname, Shapes::ShapeRef.new(shape: ServerHostname, required: true, location_name: "ServerHostname"))
|
153
|
+
CreateLocationNfsRequest.add_member(:on_prem_config, Shapes::ShapeRef.new(shape: OnPremConfig, required: true, location_name: "OnPremConfig"))
|
154
|
+
CreateLocationNfsRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
155
|
+
CreateLocationNfsRequest.struct_class = Types::CreateLocationNfsRequest
|
156
|
+
|
157
|
+
CreateLocationNfsResponse.add_member(:location_arn, Shapes::ShapeRef.new(shape: LocationArn, location_name: "LocationArn"))
|
158
|
+
CreateLocationNfsResponse.struct_class = Types::CreateLocationNfsResponse
|
159
|
+
|
160
|
+
CreateLocationS3Request.add_member(:subdirectory, Shapes::ShapeRef.new(shape: Subdirectory, required: true, location_name: "Subdirectory"))
|
161
|
+
CreateLocationS3Request.add_member(:s3_bucket_arn, Shapes::ShapeRef.new(shape: S3BucketArn, required: true, location_name: "S3BucketArn"))
|
162
|
+
CreateLocationS3Request.add_member(:s3_config, Shapes::ShapeRef.new(shape: S3Config, required: true, location_name: "S3Config"))
|
163
|
+
CreateLocationS3Request.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
164
|
+
CreateLocationS3Request.struct_class = Types::CreateLocationS3Request
|
165
|
+
|
166
|
+
CreateLocationS3Response.add_member(:location_arn, Shapes::ShapeRef.new(shape: LocationArn, location_name: "LocationArn"))
|
167
|
+
CreateLocationS3Response.struct_class = Types::CreateLocationS3Response
|
168
|
+
|
169
|
+
CreateTaskRequest.add_member(:source_location_arn, Shapes::ShapeRef.new(shape: LocationArn, required: true, location_name: "SourceLocationArn"))
|
170
|
+
CreateTaskRequest.add_member(:destination_location_arn, Shapes::ShapeRef.new(shape: LocationArn, required: true, location_name: "DestinationLocationArn"))
|
171
|
+
CreateTaskRequest.add_member(:cloud_watch_log_group_arn, Shapes::ShapeRef.new(shape: LogGroupArn, location_name: "CloudWatchLogGroupArn"))
|
172
|
+
CreateTaskRequest.add_member(:name, Shapes::ShapeRef.new(shape: TagValue, location_name: "Name"))
|
173
|
+
CreateTaskRequest.add_member(:options, Shapes::ShapeRef.new(shape: Options, location_name: "Options"))
|
174
|
+
CreateTaskRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
175
|
+
CreateTaskRequest.struct_class = Types::CreateTaskRequest
|
176
|
+
|
177
|
+
CreateTaskResponse.add_member(:task_arn, Shapes::ShapeRef.new(shape: TaskArn, location_name: "TaskArn"))
|
178
|
+
CreateTaskResponse.struct_class = Types::CreateTaskResponse
|
179
|
+
|
180
|
+
DeleteAgentRequest.add_member(:agent_arn, Shapes::ShapeRef.new(shape: AgentArn, required: true, location_name: "AgentArn"))
|
181
|
+
DeleteAgentRequest.struct_class = Types::DeleteAgentRequest
|
182
|
+
|
183
|
+
DeleteAgentResponse.struct_class = Types::DeleteAgentResponse
|
184
|
+
|
185
|
+
DeleteLocationRequest.add_member(:location_arn, Shapes::ShapeRef.new(shape: LocationArn, required: true, location_name: "LocationArn"))
|
186
|
+
DeleteLocationRequest.struct_class = Types::DeleteLocationRequest
|
187
|
+
|
188
|
+
DeleteLocationResponse.struct_class = Types::DeleteLocationResponse
|
189
|
+
|
190
|
+
DeleteTaskRequest.add_member(:task_arn, Shapes::ShapeRef.new(shape: TaskArn, required: true, location_name: "TaskArn"))
|
191
|
+
DeleteTaskRequest.struct_class = Types::DeleteTaskRequest
|
192
|
+
|
193
|
+
DeleteTaskResponse.struct_class = Types::DeleteTaskResponse
|
194
|
+
|
195
|
+
DescribeAgentRequest.add_member(:agent_arn, Shapes::ShapeRef.new(shape: AgentArn, required: true, location_name: "AgentArn"))
|
196
|
+
DescribeAgentRequest.struct_class = Types::DescribeAgentRequest
|
197
|
+
|
198
|
+
DescribeAgentResponse.add_member(:agent_arn, Shapes::ShapeRef.new(shape: AgentArn, location_name: "AgentArn"))
|
199
|
+
DescribeAgentResponse.add_member(:name, Shapes::ShapeRef.new(shape: TagValue, location_name: "Name"))
|
200
|
+
DescribeAgentResponse.add_member(:status, Shapes::ShapeRef.new(shape: AgentStatus, location_name: "Status"))
|
201
|
+
DescribeAgentResponse.add_member(:last_connection_time, Shapes::ShapeRef.new(shape: Time, location_name: "LastConnectionTime"))
|
202
|
+
DescribeAgentResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: Time, location_name: "CreationTime"))
|
203
|
+
DescribeAgentResponse.struct_class = Types::DescribeAgentResponse
|
204
|
+
|
205
|
+
DescribeLocationEfsRequest.add_member(:location_arn, Shapes::ShapeRef.new(shape: LocationArn, required: true, location_name: "LocationArn"))
|
206
|
+
DescribeLocationEfsRequest.struct_class = Types::DescribeLocationEfsRequest
|
207
|
+
|
208
|
+
DescribeLocationEfsResponse.add_member(:location_arn, Shapes::ShapeRef.new(shape: LocationArn, location_name: "LocationArn"))
|
209
|
+
DescribeLocationEfsResponse.add_member(:location_uri, Shapes::ShapeRef.new(shape: LocationUri, location_name: "LocationUri"))
|
210
|
+
DescribeLocationEfsResponse.add_member(:ec2_config, Shapes::ShapeRef.new(shape: Ec2Config, location_name: "Ec2Config"))
|
211
|
+
DescribeLocationEfsResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: Time, location_name: "CreationTime"))
|
212
|
+
DescribeLocationEfsResponse.struct_class = Types::DescribeLocationEfsResponse
|
213
|
+
|
214
|
+
DescribeLocationNfsRequest.add_member(:location_arn, Shapes::ShapeRef.new(shape: LocationArn, required: true, location_name: "LocationArn"))
|
215
|
+
DescribeLocationNfsRequest.struct_class = Types::DescribeLocationNfsRequest
|
216
|
+
|
217
|
+
DescribeLocationNfsResponse.add_member(:location_arn, Shapes::ShapeRef.new(shape: LocationArn, location_name: "LocationArn"))
|
218
|
+
DescribeLocationNfsResponse.add_member(:location_uri, Shapes::ShapeRef.new(shape: LocationUri, location_name: "LocationUri"))
|
219
|
+
DescribeLocationNfsResponse.add_member(:on_prem_config, Shapes::ShapeRef.new(shape: OnPremConfig, location_name: "OnPremConfig"))
|
220
|
+
DescribeLocationNfsResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: Time, location_name: "CreationTime"))
|
221
|
+
DescribeLocationNfsResponse.struct_class = Types::DescribeLocationNfsResponse
|
222
|
+
|
223
|
+
DescribeLocationS3Request.add_member(:location_arn, Shapes::ShapeRef.new(shape: LocationArn, required: true, location_name: "LocationArn"))
|
224
|
+
DescribeLocationS3Request.struct_class = Types::DescribeLocationS3Request
|
225
|
+
|
226
|
+
DescribeLocationS3Response.add_member(:location_arn, Shapes::ShapeRef.new(shape: LocationArn, location_name: "LocationArn"))
|
227
|
+
DescribeLocationS3Response.add_member(:location_uri, Shapes::ShapeRef.new(shape: LocationUri, location_name: "LocationUri"))
|
228
|
+
DescribeLocationS3Response.add_member(:s3_config, Shapes::ShapeRef.new(shape: S3Config, location_name: "S3Config"))
|
229
|
+
DescribeLocationS3Response.add_member(:creation_time, Shapes::ShapeRef.new(shape: Time, location_name: "CreationTime"))
|
230
|
+
DescribeLocationS3Response.struct_class = Types::DescribeLocationS3Response
|
231
|
+
|
232
|
+
DescribeTaskExecutionRequest.add_member(:task_execution_arn, Shapes::ShapeRef.new(shape: TaskExecutionArn, required: true, location_name: "TaskExecutionArn"))
|
233
|
+
DescribeTaskExecutionRequest.struct_class = Types::DescribeTaskExecutionRequest
|
234
|
+
|
235
|
+
DescribeTaskExecutionResponse.add_member(:task_execution_arn, Shapes::ShapeRef.new(shape: TaskExecutionArn, location_name: "TaskExecutionArn"))
|
236
|
+
DescribeTaskExecutionResponse.add_member(:status, Shapes::ShapeRef.new(shape: TaskExecutionStatus, location_name: "Status"))
|
237
|
+
DescribeTaskExecutionResponse.add_member(:options, Shapes::ShapeRef.new(shape: Options, location_name: "Options"))
|
238
|
+
DescribeTaskExecutionResponse.add_member(:start_time, Shapes::ShapeRef.new(shape: Time, location_name: "StartTime"))
|
239
|
+
DescribeTaskExecutionResponse.add_member(:estimated_files_to_transfer, Shapes::ShapeRef.new(shape: long, location_name: "EstimatedFilesToTransfer"))
|
240
|
+
DescribeTaskExecutionResponse.add_member(:estimated_bytes_to_transfer, Shapes::ShapeRef.new(shape: long, location_name: "EstimatedBytesToTransfer"))
|
241
|
+
DescribeTaskExecutionResponse.add_member(:files_transferred, Shapes::ShapeRef.new(shape: long, location_name: "FilesTransferred"))
|
242
|
+
DescribeTaskExecutionResponse.add_member(:bytes_written, Shapes::ShapeRef.new(shape: long, location_name: "BytesWritten"))
|
243
|
+
DescribeTaskExecutionResponse.add_member(:bytes_transferred, Shapes::ShapeRef.new(shape: long, location_name: "BytesTransferred"))
|
244
|
+
DescribeTaskExecutionResponse.add_member(:result, Shapes::ShapeRef.new(shape: TaskExecutionResultDetail, location_name: "Result"))
|
245
|
+
DescribeTaskExecutionResponse.struct_class = Types::DescribeTaskExecutionResponse
|
246
|
+
|
247
|
+
DescribeTaskRequest.add_member(:task_arn, Shapes::ShapeRef.new(shape: TaskArn, required: true, location_name: "TaskArn"))
|
248
|
+
DescribeTaskRequest.struct_class = Types::DescribeTaskRequest
|
249
|
+
|
250
|
+
DescribeTaskResponse.add_member(:task_arn, Shapes::ShapeRef.new(shape: TaskArn, location_name: "TaskArn"))
|
251
|
+
DescribeTaskResponse.add_member(:status, Shapes::ShapeRef.new(shape: TaskStatus, location_name: "Status"))
|
252
|
+
DescribeTaskResponse.add_member(:name, Shapes::ShapeRef.new(shape: TagValue, location_name: "Name"))
|
253
|
+
DescribeTaskResponse.add_member(:current_task_execution_arn, Shapes::ShapeRef.new(shape: TaskExecutionArn, location_name: "CurrentTaskExecutionArn"))
|
254
|
+
DescribeTaskResponse.add_member(:source_location_arn, Shapes::ShapeRef.new(shape: LocationArn, location_name: "SourceLocationArn"))
|
255
|
+
DescribeTaskResponse.add_member(:destination_location_arn, Shapes::ShapeRef.new(shape: LocationArn, location_name: "DestinationLocationArn"))
|
256
|
+
DescribeTaskResponse.add_member(:cloud_watch_log_group_arn, Shapes::ShapeRef.new(shape: LogGroupArn, location_name: "CloudWatchLogGroupArn"))
|
257
|
+
DescribeTaskResponse.add_member(:options, Shapes::ShapeRef.new(shape: Options, location_name: "Options"))
|
258
|
+
DescribeTaskResponse.add_member(:error_code, Shapes::ShapeRef.new(shape: string, location_name: "ErrorCode"))
|
259
|
+
DescribeTaskResponse.add_member(:error_detail, Shapes::ShapeRef.new(shape: string, location_name: "ErrorDetail"))
|
260
|
+
DescribeTaskResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: Time, location_name: "CreationTime"))
|
261
|
+
DescribeTaskResponse.struct_class = Types::DescribeTaskResponse
|
262
|
+
|
263
|
+
Ec2Config.add_member(:subnet_arn, Shapes::ShapeRef.new(shape: Ec2SubnetArn, required: true, location_name: "SubnetArn"))
|
264
|
+
Ec2Config.add_member(:security_group_arns, Shapes::ShapeRef.new(shape: Ec2SecurityGroupArnList, required: true, location_name: "SecurityGroupArns"))
|
265
|
+
Ec2Config.struct_class = Types::Ec2Config
|
266
|
+
|
267
|
+
Ec2SecurityGroupArnList.member = Shapes::ShapeRef.new(shape: Ec2SecurityGroupArn)
|
268
|
+
|
269
|
+
ListAgentsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
270
|
+
ListAgentsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
271
|
+
ListAgentsRequest.struct_class = Types::ListAgentsRequest
|
272
|
+
|
273
|
+
ListAgentsResponse.add_member(:agents, Shapes::ShapeRef.new(shape: AgentList, location_name: "Agents"))
|
274
|
+
ListAgentsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
275
|
+
ListAgentsResponse.struct_class = Types::ListAgentsResponse
|
276
|
+
|
277
|
+
ListLocationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
278
|
+
ListLocationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
279
|
+
ListLocationsRequest.struct_class = Types::ListLocationsRequest
|
280
|
+
|
281
|
+
ListLocationsResponse.add_member(:locations, Shapes::ShapeRef.new(shape: LocationList, location_name: "Locations"))
|
282
|
+
ListLocationsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
283
|
+
ListLocationsResponse.struct_class = Types::ListLocationsResponse
|
284
|
+
|
285
|
+
ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: TaggableResourceArn, required: true, location_name: "ResourceArn"))
|
286
|
+
ListTagsForResourceRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
287
|
+
ListTagsForResourceRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
288
|
+
ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
|
289
|
+
|
290
|
+
ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
291
|
+
ListTagsForResourceResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
292
|
+
ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
|
293
|
+
|
294
|
+
ListTaskExecutionsRequest.add_member(:task_arn, Shapes::ShapeRef.new(shape: TaskArn, location_name: "TaskArn"))
|
295
|
+
ListTaskExecutionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
296
|
+
ListTaskExecutionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
297
|
+
ListTaskExecutionsRequest.struct_class = Types::ListTaskExecutionsRequest
|
298
|
+
|
299
|
+
ListTaskExecutionsResponse.add_member(:task_executions, Shapes::ShapeRef.new(shape: TaskExecutionList, location_name: "TaskExecutions"))
|
300
|
+
ListTaskExecutionsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
301
|
+
ListTaskExecutionsResponse.struct_class = Types::ListTaskExecutionsResponse
|
302
|
+
|
303
|
+
ListTasksRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
304
|
+
ListTasksRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
305
|
+
ListTasksRequest.struct_class = Types::ListTasksRequest
|
306
|
+
|
307
|
+
ListTasksResponse.add_member(:tasks, Shapes::ShapeRef.new(shape: TaskList, location_name: "Tasks"))
|
308
|
+
ListTasksResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
309
|
+
ListTasksResponse.struct_class = Types::ListTasksResponse
|
310
|
+
|
311
|
+
LocationList.member = Shapes::ShapeRef.new(shape: LocationListEntry)
|
312
|
+
|
313
|
+
LocationListEntry.add_member(:location_arn, Shapes::ShapeRef.new(shape: LocationArn, location_name: "LocationArn"))
|
314
|
+
LocationListEntry.add_member(:location_uri, Shapes::ShapeRef.new(shape: LocationUri, location_name: "LocationUri"))
|
315
|
+
LocationListEntry.struct_class = Types::LocationListEntry
|
316
|
+
|
317
|
+
OnPremConfig.add_member(:agent_arns, Shapes::ShapeRef.new(shape: AgentArnList, required: true, location_name: "AgentArns"))
|
318
|
+
OnPremConfig.struct_class = Types::OnPremConfig
|
319
|
+
|
320
|
+
Options.add_member(:verify_mode, Shapes::ShapeRef.new(shape: VerifyMode, location_name: "VerifyMode"))
|
321
|
+
Options.add_member(:atime, Shapes::ShapeRef.new(shape: Atime, location_name: "Atime"))
|
322
|
+
Options.add_member(:mtime, Shapes::ShapeRef.new(shape: Mtime, location_name: "Mtime"))
|
323
|
+
Options.add_member(:uid, Shapes::ShapeRef.new(shape: Uid, location_name: "Uid"))
|
324
|
+
Options.add_member(:gid, Shapes::ShapeRef.new(shape: Gid, location_name: "Gid"))
|
325
|
+
Options.add_member(:preserve_deleted_files, Shapes::ShapeRef.new(shape: PreserveDeletedFiles, location_name: "PreserveDeletedFiles"))
|
326
|
+
Options.add_member(:preserve_devices, Shapes::ShapeRef.new(shape: PreserveDevices, location_name: "PreserveDevices"))
|
327
|
+
Options.add_member(:posix_permissions, Shapes::ShapeRef.new(shape: PosixPermissions, location_name: "PosixPermissions"))
|
328
|
+
Options.add_member(:bytes_per_second, Shapes::ShapeRef.new(shape: BytesPerSecond, location_name: "BytesPerSecond"))
|
329
|
+
Options.struct_class = Types::Options
|
330
|
+
|
331
|
+
S3Config.add_member(:bucket_access_role_arn, Shapes::ShapeRef.new(shape: IamRoleArn, required: true, location_name: "BucketAccessRoleArn"))
|
332
|
+
S3Config.struct_class = Types::S3Config
|
333
|
+
|
334
|
+
StartTaskExecutionRequest.add_member(:task_arn, Shapes::ShapeRef.new(shape: TaskArn, required: true, location_name: "TaskArn"))
|
335
|
+
StartTaskExecutionRequest.add_member(:override_options, Shapes::ShapeRef.new(shape: Options, location_name: "OverrideOptions"))
|
336
|
+
StartTaskExecutionRequest.struct_class = Types::StartTaskExecutionRequest
|
337
|
+
|
338
|
+
StartTaskExecutionResponse.add_member(:task_execution_arn, Shapes::ShapeRef.new(shape: TaskExecutionArn, location_name: "TaskExecutionArn"))
|
339
|
+
StartTaskExecutionResponse.struct_class = Types::StartTaskExecutionResponse
|
340
|
+
|
341
|
+
TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
|
342
|
+
|
343
|
+
TagList.member = Shapes::ShapeRef.new(shape: TagListEntry)
|
344
|
+
|
345
|
+
TagListEntry.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, location_name: "Key"))
|
346
|
+
TagListEntry.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, location_name: "Value"))
|
347
|
+
TagListEntry.struct_class = Types::TagListEntry
|
348
|
+
|
349
|
+
TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: TaggableResourceArn, required: true, location_name: "ResourceArn"))
|
350
|
+
TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, required: true, location_name: "Tags"))
|
351
|
+
TagResourceRequest.struct_class = Types::TagResourceRequest
|
352
|
+
|
353
|
+
TagResourceResponse.struct_class = Types::TagResourceResponse
|
354
|
+
|
355
|
+
TaskExecutionList.member = Shapes::ShapeRef.new(shape: TaskExecutionListEntry)
|
356
|
+
|
357
|
+
TaskExecutionListEntry.add_member(:task_execution_arn, Shapes::ShapeRef.new(shape: TaskExecutionArn, location_name: "TaskExecutionArn"))
|
358
|
+
TaskExecutionListEntry.add_member(:status, Shapes::ShapeRef.new(shape: TaskExecutionStatus, location_name: "Status"))
|
359
|
+
TaskExecutionListEntry.struct_class = Types::TaskExecutionListEntry
|
360
|
+
|
361
|
+
TaskExecutionResultDetail.add_member(:prepare_duration, Shapes::ShapeRef.new(shape: Duration, location_name: "PrepareDuration"))
|
362
|
+
TaskExecutionResultDetail.add_member(:prepare_status, Shapes::ShapeRef.new(shape: PhaseStatus, location_name: "PrepareStatus"))
|
363
|
+
TaskExecutionResultDetail.add_member(:transfer_duration, Shapes::ShapeRef.new(shape: Duration, location_name: "TransferDuration"))
|
364
|
+
TaskExecutionResultDetail.add_member(:transfer_status, Shapes::ShapeRef.new(shape: PhaseStatus, location_name: "TransferStatus"))
|
365
|
+
TaskExecutionResultDetail.add_member(:verify_duration, Shapes::ShapeRef.new(shape: Duration, location_name: "VerifyDuration"))
|
366
|
+
TaskExecutionResultDetail.add_member(:verify_status, Shapes::ShapeRef.new(shape: PhaseStatus, location_name: "VerifyStatus"))
|
367
|
+
TaskExecutionResultDetail.add_member(:error_code, Shapes::ShapeRef.new(shape: string, location_name: "ErrorCode"))
|
368
|
+
TaskExecutionResultDetail.add_member(:error_detail, Shapes::ShapeRef.new(shape: string, location_name: "ErrorDetail"))
|
369
|
+
TaskExecutionResultDetail.struct_class = Types::TaskExecutionResultDetail
|
370
|
+
|
371
|
+
TaskList.member = Shapes::ShapeRef.new(shape: TaskListEntry)
|
372
|
+
|
373
|
+
TaskListEntry.add_member(:task_arn, Shapes::ShapeRef.new(shape: TaskArn, location_name: "TaskArn"))
|
374
|
+
TaskListEntry.add_member(:status, Shapes::ShapeRef.new(shape: TaskStatus, location_name: "Status"))
|
375
|
+
TaskListEntry.add_member(:name, Shapes::ShapeRef.new(shape: TagValue, location_name: "Name"))
|
376
|
+
TaskListEntry.struct_class = Types::TaskListEntry
|
377
|
+
|
378
|
+
UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: TaggableResourceArn, required: true, location_name: "ResourceArn"))
|
379
|
+
UntagResourceRequest.add_member(:keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location_name: "Keys"))
|
380
|
+
UntagResourceRequest.struct_class = Types::UntagResourceRequest
|
381
|
+
|
382
|
+
UntagResourceResponse.struct_class = Types::UntagResourceResponse
|
383
|
+
|
384
|
+
UpdateAgentRequest.add_member(:agent_arn, Shapes::ShapeRef.new(shape: AgentArn, required: true, location_name: "AgentArn"))
|
385
|
+
UpdateAgentRequest.add_member(:name, Shapes::ShapeRef.new(shape: TagValue, location_name: "Name"))
|
386
|
+
UpdateAgentRequest.struct_class = Types::UpdateAgentRequest
|
387
|
+
|
388
|
+
UpdateAgentResponse.struct_class = Types::UpdateAgentResponse
|
389
|
+
|
390
|
+
UpdateTaskRequest.add_member(:task_arn, Shapes::ShapeRef.new(shape: TaskArn, required: true, location_name: "TaskArn"))
|
391
|
+
UpdateTaskRequest.add_member(:options, Shapes::ShapeRef.new(shape: Options, location_name: "Options"))
|
392
|
+
UpdateTaskRequest.add_member(:name, Shapes::ShapeRef.new(shape: TagValue, location_name: "Name"))
|
393
|
+
UpdateTaskRequest.struct_class = Types::UpdateTaskRequest
|
394
|
+
|
395
|
+
UpdateTaskResponse.struct_class = Types::UpdateTaskResponse
|
396
|
+
|
397
|
+
|
398
|
+
# @api private
|
399
|
+
API = Seahorse::Model::Api.new.tap do |api|
|
400
|
+
|
401
|
+
api.version = "2018-11-09"
|
402
|
+
|
403
|
+
api.metadata = {
|
404
|
+
"apiVersion" => "2018-11-09",
|
405
|
+
"endpointPrefix" => "datasync",
|
406
|
+
"jsonVersion" => "1.1",
|
407
|
+
"protocol" => "json",
|
408
|
+
"serviceAbbreviation" => "DataSync",
|
409
|
+
"serviceFullName" => "AWS DataSync",
|
410
|
+
"serviceId" => "DataSync",
|
411
|
+
"signatureVersion" => "v4",
|
412
|
+
"signingName" => "datasync",
|
413
|
+
"targetPrefix" => "FmrsService",
|
414
|
+
"uid" => "datasync-2018-11-09",
|
415
|
+
}
|
416
|
+
|
417
|
+
api.add_operation(:cancel_task_execution, Seahorse::Model::Operation.new.tap do |o|
|
418
|
+
o.name = "CancelTaskExecution"
|
419
|
+
o.http_method = "POST"
|
420
|
+
o.http_request_uri = "/"
|
421
|
+
o.input = Shapes::ShapeRef.new(shape: CancelTaskExecutionRequest)
|
422
|
+
o.output = Shapes::ShapeRef.new(shape: CancelTaskExecutionResponse)
|
423
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
424
|
+
end)
|
425
|
+
|
426
|
+
api.add_operation(:create_agent, Seahorse::Model::Operation.new.tap do |o|
|
427
|
+
o.name = "CreateAgent"
|
428
|
+
o.http_method = "POST"
|
429
|
+
o.http_request_uri = "/"
|
430
|
+
o.input = Shapes::ShapeRef.new(shape: CreateAgentRequest)
|
431
|
+
o.output = Shapes::ShapeRef.new(shape: CreateAgentResponse)
|
432
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
433
|
+
end)
|
434
|
+
|
435
|
+
api.add_operation(:create_location_efs, Seahorse::Model::Operation.new.tap do |o|
|
436
|
+
o.name = "CreateLocationEfs"
|
437
|
+
o.http_method = "POST"
|
438
|
+
o.http_request_uri = "/"
|
439
|
+
o.input = Shapes::ShapeRef.new(shape: CreateLocationEfsRequest)
|
440
|
+
o.output = Shapes::ShapeRef.new(shape: CreateLocationEfsResponse)
|
441
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
442
|
+
end)
|
443
|
+
|
444
|
+
api.add_operation(:create_location_nfs, Seahorse::Model::Operation.new.tap do |o|
|
445
|
+
o.name = "CreateLocationNfs"
|
446
|
+
o.http_method = "POST"
|
447
|
+
o.http_request_uri = "/"
|
448
|
+
o.input = Shapes::ShapeRef.new(shape: CreateLocationNfsRequest)
|
449
|
+
o.output = Shapes::ShapeRef.new(shape: CreateLocationNfsResponse)
|
450
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
451
|
+
end)
|
452
|
+
|
453
|
+
api.add_operation(:create_location_s3, Seahorse::Model::Operation.new.tap do |o|
|
454
|
+
o.name = "CreateLocationS3"
|
455
|
+
o.http_method = "POST"
|
456
|
+
o.http_request_uri = "/"
|
457
|
+
o.input = Shapes::ShapeRef.new(shape: CreateLocationS3Request)
|
458
|
+
o.output = Shapes::ShapeRef.new(shape: CreateLocationS3Response)
|
459
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
460
|
+
end)
|
461
|
+
|
462
|
+
api.add_operation(:create_task, Seahorse::Model::Operation.new.tap do |o|
|
463
|
+
o.name = "CreateTask"
|
464
|
+
o.http_method = "POST"
|
465
|
+
o.http_request_uri = "/"
|
466
|
+
o.input = Shapes::ShapeRef.new(shape: CreateTaskRequest)
|
467
|
+
o.output = Shapes::ShapeRef.new(shape: CreateTaskResponse)
|
468
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
469
|
+
end)
|
470
|
+
|
471
|
+
api.add_operation(:delete_agent, Seahorse::Model::Operation.new.tap do |o|
|
472
|
+
o.name = "DeleteAgent"
|
473
|
+
o.http_method = "POST"
|
474
|
+
o.http_request_uri = "/"
|
475
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteAgentRequest)
|
476
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteAgentResponse)
|
477
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
478
|
+
end)
|
479
|
+
|
480
|
+
api.add_operation(:delete_location, Seahorse::Model::Operation.new.tap do |o|
|
481
|
+
o.name = "DeleteLocation"
|
482
|
+
o.http_method = "POST"
|
483
|
+
o.http_request_uri = "/"
|
484
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteLocationRequest)
|
485
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteLocationResponse)
|
486
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
487
|
+
end)
|
488
|
+
|
489
|
+
api.add_operation(:delete_task, Seahorse::Model::Operation.new.tap do |o|
|
490
|
+
o.name = "DeleteTask"
|
491
|
+
o.http_method = "POST"
|
492
|
+
o.http_request_uri = "/"
|
493
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteTaskRequest)
|
494
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteTaskResponse)
|
495
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
496
|
+
end)
|
497
|
+
|
498
|
+
api.add_operation(:describe_agent, Seahorse::Model::Operation.new.tap do |o|
|
499
|
+
o.name = "DescribeAgent"
|
500
|
+
o.http_method = "POST"
|
501
|
+
o.http_request_uri = "/"
|
502
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeAgentRequest)
|
503
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeAgentResponse)
|
504
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
505
|
+
end)
|
506
|
+
|
507
|
+
api.add_operation(:describe_location_efs, Seahorse::Model::Operation.new.tap do |o|
|
508
|
+
o.name = "DescribeLocationEfs"
|
509
|
+
o.http_method = "POST"
|
510
|
+
o.http_request_uri = "/"
|
511
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeLocationEfsRequest)
|
512
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeLocationEfsResponse)
|
513
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
514
|
+
end)
|
515
|
+
|
516
|
+
api.add_operation(:describe_location_nfs, Seahorse::Model::Operation.new.tap do |o|
|
517
|
+
o.name = "DescribeLocationNfs"
|
518
|
+
o.http_method = "POST"
|
519
|
+
o.http_request_uri = "/"
|
520
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeLocationNfsRequest)
|
521
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeLocationNfsResponse)
|
522
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
523
|
+
end)
|
524
|
+
|
525
|
+
api.add_operation(:describe_location_s3, Seahorse::Model::Operation.new.tap do |o|
|
526
|
+
o.name = "DescribeLocationS3"
|
527
|
+
o.http_method = "POST"
|
528
|
+
o.http_request_uri = "/"
|
529
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeLocationS3Request)
|
530
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeLocationS3Response)
|
531
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
532
|
+
end)
|
533
|
+
|
534
|
+
api.add_operation(:describe_task, Seahorse::Model::Operation.new.tap do |o|
|
535
|
+
o.name = "DescribeTask"
|
536
|
+
o.http_method = "POST"
|
537
|
+
o.http_request_uri = "/"
|
538
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeTaskRequest)
|
539
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeTaskResponse)
|
540
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
541
|
+
end)
|
542
|
+
|
543
|
+
api.add_operation(:describe_task_execution, Seahorse::Model::Operation.new.tap do |o|
|
544
|
+
o.name = "DescribeTaskExecution"
|
545
|
+
o.http_method = "POST"
|
546
|
+
o.http_request_uri = "/"
|
547
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeTaskExecutionRequest)
|
548
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeTaskExecutionResponse)
|
549
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
550
|
+
end)
|
551
|
+
|
552
|
+
api.add_operation(:list_agents, Seahorse::Model::Operation.new.tap do |o|
|
553
|
+
o.name = "ListAgents"
|
554
|
+
o.http_method = "POST"
|
555
|
+
o.http_request_uri = "/"
|
556
|
+
o.input = Shapes::ShapeRef.new(shape: ListAgentsRequest)
|
557
|
+
o.output = Shapes::ShapeRef.new(shape: ListAgentsResponse)
|
558
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
559
|
+
o[:pager] = Aws::Pager.new(
|
560
|
+
limit_key: "max_results",
|
561
|
+
tokens: {
|
562
|
+
"next_token" => "next_token"
|
563
|
+
}
|
564
|
+
)
|
565
|
+
end)
|
566
|
+
|
567
|
+
api.add_operation(:list_locations, Seahorse::Model::Operation.new.tap do |o|
|
568
|
+
o.name = "ListLocations"
|
569
|
+
o.http_method = "POST"
|
570
|
+
o.http_request_uri = "/"
|
571
|
+
o.input = Shapes::ShapeRef.new(shape: ListLocationsRequest)
|
572
|
+
o.output = Shapes::ShapeRef.new(shape: ListLocationsResponse)
|
573
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
574
|
+
o[:pager] = Aws::Pager.new(
|
575
|
+
limit_key: "max_results",
|
576
|
+
tokens: {
|
577
|
+
"next_token" => "next_token"
|
578
|
+
}
|
579
|
+
)
|
580
|
+
end)
|
581
|
+
|
582
|
+
api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
|
583
|
+
o.name = "ListTagsForResource"
|
584
|
+
o.http_method = "POST"
|
585
|
+
o.http_request_uri = "/"
|
586
|
+
o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
|
587
|
+
o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse)
|
588
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
589
|
+
o[:pager] = Aws::Pager.new(
|
590
|
+
limit_key: "max_results",
|
591
|
+
tokens: {
|
592
|
+
"next_token" => "next_token"
|
593
|
+
}
|
594
|
+
)
|
595
|
+
end)
|
596
|
+
|
597
|
+
api.add_operation(:list_task_executions, Seahorse::Model::Operation.new.tap do |o|
|
598
|
+
o.name = "ListTaskExecutions"
|
599
|
+
o.http_method = "POST"
|
600
|
+
o.http_request_uri = "/"
|
601
|
+
o.input = Shapes::ShapeRef.new(shape: ListTaskExecutionsRequest)
|
602
|
+
o.output = Shapes::ShapeRef.new(shape: ListTaskExecutionsResponse)
|
603
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
604
|
+
o[:pager] = Aws::Pager.new(
|
605
|
+
limit_key: "max_results",
|
606
|
+
tokens: {
|
607
|
+
"next_token" => "next_token"
|
608
|
+
}
|
609
|
+
)
|
610
|
+
end)
|
611
|
+
|
612
|
+
api.add_operation(:list_tasks, Seahorse::Model::Operation.new.tap do |o|
|
613
|
+
o.name = "ListTasks"
|
614
|
+
o.http_method = "POST"
|
615
|
+
o.http_request_uri = "/"
|
616
|
+
o.input = Shapes::ShapeRef.new(shape: ListTasksRequest)
|
617
|
+
o.output = Shapes::ShapeRef.new(shape: ListTasksResponse)
|
618
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
619
|
+
o[:pager] = Aws::Pager.new(
|
620
|
+
limit_key: "max_results",
|
621
|
+
tokens: {
|
622
|
+
"next_token" => "next_token"
|
623
|
+
}
|
624
|
+
)
|
625
|
+
end)
|
626
|
+
|
627
|
+
api.add_operation(:start_task_execution, Seahorse::Model::Operation.new.tap do |o|
|
628
|
+
o.name = "StartTaskExecution"
|
629
|
+
o.http_method = "POST"
|
630
|
+
o.http_request_uri = "/"
|
631
|
+
o.input = Shapes::ShapeRef.new(shape: StartTaskExecutionRequest)
|
632
|
+
o.output = Shapes::ShapeRef.new(shape: StartTaskExecutionResponse)
|
633
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
634
|
+
end)
|
635
|
+
|
636
|
+
api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
|
637
|
+
o.name = "TagResource"
|
638
|
+
o.http_method = "POST"
|
639
|
+
o.http_request_uri = "/"
|
640
|
+
o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
|
641
|
+
o.output = Shapes::ShapeRef.new(shape: TagResourceResponse)
|
642
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
643
|
+
end)
|
644
|
+
|
645
|
+
api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
|
646
|
+
o.name = "UntagResource"
|
647
|
+
o.http_method = "POST"
|
648
|
+
o.http_request_uri = "/"
|
649
|
+
o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
|
650
|
+
o.output = Shapes::ShapeRef.new(shape: UntagResourceResponse)
|
651
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
652
|
+
end)
|
653
|
+
|
654
|
+
api.add_operation(:update_agent, Seahorse::Model::Operation.new.tap do |o|
|
655
|
+
o.name = "UpdateAgent"
|
656
|
+
o.http_method = "POST"
|
657
|
+
o.http_request_uri = "/"
|
658
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateAgentRequest)
|
659
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateAgentResponse)
|
660
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
661
|
+
end)
|
662
|
+
|
663
|
+
api.add_operation(:update_task, Seahorse::Model::Operation.new.tap do |o|
|
664
|
+
o.name = "UpdateTask"
|
665
|
+
o.http_method = "POST"
|
666
|
+
o.http_request_uri = "/"
|
667
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateTaskRequest)
|
668
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateTaskResponse)
|
669
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
670
|
+
end)
|
671
|
+
end
|
672
|
+
|
673
|
+
end
|
674
|
+
end
|