aws-sdk-transfer 1.0.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 +7 -0
- data/lib/aws-sdk-transfer.rb +47 -0
- data/lib/aws-sdk-transfer/client.rb +1067 -0
- data/lib/aws-sdk-transfer/client_api.rb +511 -0
- data/lib/aws-sdk-transfer/customizations.rb +0 -0
- data/lib/aws-sdk-transfer/errors.rb +14 -0
- data/lib/aws-sdk-transfer/resource.rb +23 -0
- data/lib/aws-sdk-transfer/types.rb +1134 -0
- metadata +88 -0
|
@@ -0,0 +1,511 @@
|
|
|
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::Transfer
|
|
9
|
+
# @api private
|
|
10
|
+
module ClientApi
|
|
11
|
+
|
|
12
|
+
include Seahorse::Model
|
|
13
|
+
|
|
14
|
+
Arn = Shapes::StringShape.new(name: 'Arn')
|
|
15
|
+
CreateServerRequest = Shapes::StructureShape.new(name: 'CreateServerRequest')
|
|
16
|
+
CreateServerResponse = Shapes::StructureShape.new(name: 'CreateServerResponse')
|
|
17
|
+
CreateUserRequest = Shapes::StructureShape.new(name: 'CreateUserRequest')
|
|
18
|
+
CreateUserResponse = Shapes::StructureShape.new(name: 'CreateUserResponse')
|
|
19
|
+
DateImported = Shapes::TimestampShape.new(name: 'DateImported')
|
|
20
|
+
DeleteServerRequest = Shapes::StructureShape.new(name: 'DeleteServerRequest')
|
|
21
|
+
DeleteSshPublicKeyRequest = Shapes::StructureShape.new(name: 'DeleteSshPublicKeyRequest')
|
|
22
|
+
DeleteUserRequest = Shapes::StructureShape.new(name: 'DeleteUserRequest')
|
|
23
|
+
DescribeServerRequest = Shapes::StructureShape.new(name: 'DescribeServerRequest')
|
|
24
|
+
DescribeServerResponse = Shapes::StructureShape.new(name: 'DescribeServerResponse')
|
|
25
|
+
DescribeUserRequest = Shapes::StructureShape.new(name: 'DescribeUserRequest')
|
|
26
|
+
DescribeUserResponse = Shapes::StructureShape.new(name: 'DescribeUserResponse')
|
|
27
|
+
DescribedServer = Shapes::StructureShape.new(name: 'DescribedServer')
|
|
28
|
+
DescribedUser = Shapes::StructureShape.new(name: 'DescribedUser')
|
|
29
|
+
HomeDirectory = Shapes::StringShape.new(name: 'HomeDirectory')
|
|
30
|
+
IdentityProviderDetails = Shapes::StructureShape.new(name: 'IdentityProviderDetails')
|
|
31
|
+
IdentityProviderType = Shapes::StringShape.new(name: 'IdentityProviderType')
|
|
32
|
+
ImportSshPublicKeyRequest = Shapes::StructureShape.new(name: 'ImportSshPublicKeyRequest')
|
|
33
|
+
ImportSshPublicKeyResponse = Shapes::StructureShape.new(name: 'ImportSshPublicKeyResponse')
|
|
34
|
+
InternalServiceError = Shapes::StructureShape.new(name: 'InternalServiceError')
|
|
35
|
+
InvalidNextTokenException = Shapes::StructureShape.new(name: 'InvalidNextTokenException')
|
|
36
|
+
InvalidRequestException = Shapes::StructureShape.new(name: 'InvalidRequestException')
|
|
37
|
+
ListServersRequest = Shapes::StructureShape.new(name: 'ListServersRequest')
|
|
38
|
+
ListServersResponse = Shapes::StructureShape.new(name: 'ListServersResponse')
|
|
39
|
+
ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
|
|
40
|
+
ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
|
|
41
|
+
ListUsersRequest = Shapes::StructureShape.new(name: 'ListUsersRequest')
|
|
42
|
+
ListUsersResponse = Shapes::StructureShape.new(name: 'ListUsersResponse')
|
|
43
|
+
ListedServer = Shapes::StructureShape.new(name: 'ListedServer')
|
|
44
|
+
ListedServers = Shapes::ListShape.new(name: 'ListedServers')
|
|
45
|
+
ListedUser = Shapes::StructureShape.new(name: 'ListedUser')
|
|
46
|
+
ListedUsers = Shapes::ListShape.new(name: 'ListedUsers')
|
|
47
|
+
MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
|
|
48
|
+
Message = Shapes::StringShape.new(name: 'Message')
|
|
49
|
+
NextToken = Shapes::StringShape.new(name: 'NextToken')
|
|
50
|
+
NullableRole = Shapes::StringShape.new(name: 'NullableRole')
|
|
51
|
+
Policy = Shapes::StringShape.new(name: 'Policy')
|
|
52
|
+
Resource = Shapes::StringShape.new(name: 'Resource')
|
|
53
|
+
ResourceExistsException = Shapes::StructureShape.new(name: 'ResourceExistsException')
|
|
54
|
+
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
|
55
|
+
ResourceType = Shapes::StringShape.new(name: 'ResourceType')
|
|
56
|
+
Role = Shapes::StringShape.new(name: 'Role')
|
|
57
|
+
ServerId = Shapes::StringShape.new(name: 'ServerId')
|
|
58
|
+
ServiceErrorMessage = Shapes::StringShape.new(name: 'ServiceErrorMessage')
|
|
59
|
+
ServiceUnavailableException = Shapes::StructureShape.new(name: 'ServiceUnavailableException')
|
|
60
|
+
SshPublicKey = Shapes::StructureShape.new(name: 'SshPublicKey')
|
|
61
|
+
SshPublicKeyBody = Shapes::StringShape.new(name: 'SshPublicKeyBody')
|
|
62
|
+
SshPublicKeyCount = Shapes::IntegerShape.new(name: 'SshPublicKeyCount')
|
|
63
|
+
SshPublicKeyId = Shapes::StringShape.new(name: 'SshPublicKeyId')
|
|
64
|
+
SshPublicKeys = Shapes::ListShape.new(name: 'SshPublicKeys')
|
|
65
|
+
StartServerRequest = Shapes::StructureShape.new(name: 'StartServerRequest')
|
|
66
|
+
State = Shapes::StringShape.new(name: 'State')
|
|
67
|
+
StatusCode = Shapes::IntegerShape.new(name: 'StatusCode')
|
|
68
|
+
StopServerRequest = Shapes::StructureShape.new(name: 'StopServerRequest')
|
|
69
|
+
Tag = Shapes::StructureShape.new(name: 'Tag')
|
|
70
|
+
TagKey = Shapes::StringShape.new(name: 'TagKey')
|
|
71
|
+
TagKeys = Shapes::ListShape.new(name: 'TagKeys')
|
|
72
|
+
TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
|
|
73
|
+
TagValue = Shapes::StringShape.new(name: 'TagValue')
|
|
74
|
+
Tags = Shapes::ListShape.new(name: 'Tags')
|
|
75
|
+
TestIdentityProviderRequest = Shapes::StructureShape.new(name: 'TestIdentityProviderRequest')
|
|
76
|
+
TestIdentityProviderResponse = Shapes::StructureShape.new(name: 'TestIdentityProviderResponse')
|
|
77
|
+
UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
|
|
78
|
+
UpdateServerRequest = Shapes::StructureShape.new(name: 'UpdateServerRequest')
|
|
79
|
+
UpdateServerResponse = Shapes::StructureShape.new(name: 'UpdateServerResponse')
|
|
80
|
+
UpdateUserRequest = Shapes::StructureShape.new(name: 'UpdateUserRequest')
|
|
81
|
+
UpdateUserResponse = Shapes::StructureShape.new(name: 'UpdateUserResponse')
|
|
82
|
+
Url = Shapes::StringShape.new(name: 'Url')
|
|
83
|
+
UserCount = Shapes::IntegerShape.new(name: 'UserCount')
|
|
84
|
+
UserName = Shapes::StringShape.new(name: 'UserName')
|
|
85
|
+
UserPassword = Shapes::StringShape.new(name: 'UserPassword')
|
|
86
|
+
|
|
87
|
+
CreateServerRequest.add_member(:identity_provider_details, Shapes::ShapeRef.new(shape: IdentityProviderDetails, location_name: "IdentityProviderDetails"))
|
|
88
|
+
CreateServerRequest.add_member(:identity_provider_type, Shapes::ShapeRef.new(shape: IdentityProviderType, location_name: "IdentityProviderType"))
|
|
89
|
+
CreateServerRequest.add_member(:logging_role, Shapes::ShapeRef.new(shape: Role, location_name: "LoggingRole"))
|
|
90
|
+
CreateServerRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
|
|
91
|
+
CreateServerRequest.struct_class = Types::CreateServerRequest
|
|
92
|
+
|
|
93
|
+
CreateServerResponse.add_member(:server_id, Shapes::ShapeRef.new(shape: ServerId, required: true, location_name: "ServerId"))
|
|
94
|
+
CreateServerResponse.struct_class = Types::CreateServerResponse
|
|
95
|
+
|
|
96
|
+
CreateUserRequest.add_member(:home_directory, Shapes::ShapeRef.new(shape: HomeDirectory, location_name: "HomeDirectory"))
|
|
97
|
+
CreateUserRequest.add_member(:policy, Shapes::ShapeRef.new(shape: Policy, location_name: "Policy"))
|
|
98
|
+
CreateUserRequest.add_member(:role, Shapes::ShapeRef.new(shape: Role, required: true, location_name: "Role"))
|
|
99
|
+
CreateUserRequest.add_member(:server_id, Shapes::ShapeRef.new(shape: ServerId, required: true, location_name: "ServerId"))
|
|
100
|
+
CreateUserRequest.add_member(:ssh_public_key_body, Shapes::ShapeRef.new(shape: SshPublicKeyBody, location_name: "SshPublicKeyBody"))
|
|
101
|
+
CreateUserRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
|
|
102
|
+
CreateUserRequest.add_member(:user_name, Shapes::ShapeRef.new(shape: UserName, required: true, location_name: "UserName"))
|
|
103
|
+
CreateUserRequest.struct_class = Types::CreateUserRequest
|
|
104
|
+
|
|
105
|
+
CreateUserResponse.add_member(:server_id, Shapes::ShapeRef.new(shape: ServerId, required: true, location_name: "ServerId"))
|
|
106
|
+
CreateUserResponse.add_member(:user_name, Shapes::ShapeRef.new(shape: UserName, required: true, location_name: "UserName"))
|
|
107
|
+
CreateUserResponse.struct_class = Types::CreateUserResponse
|
|
108
|
+
|
|
109
|
+
DeleteServerRequest.add_member(:server_id, Shapes::ShapeRef.new(shape: ServerId, required: true, location_name: "ServerId"))
|
|
110
|
+
DeleteServerRequest.struct_class = Types::DeleteServerRequest
|
|
111
|
+
|
|
112
|
+
DeleteSshPublicKeyRequest.add_member(:server_id, Shapes::ShapeRef.new(shape: ServerId, required: true, location_name: "ServerId"))
|
|
113
|
+
DeleteSshPublicKeyRequest.add_member(:ssh_public_key_id, Shapes::ShapeRef.new(shape: SshPublicKeyId, required: true, location_name: "SshPublicKeyId"))
|
|
114
|
+
DeleteSshPublicKeyRequest.add_member(:user_name, Shapes::ShapeRef.new(shape: UserName, required: true, location_name: "UserName"))
|
|
115
|
+
DeleteSshPublicKeyRequest.struct_class = Types::DeleteSshPublicKeyRequest
|
|
116
|
+
|
|
117
|
+
DeleteUserRequest.add_member(:server_id, Shapes::ShapeRef.new(shape: ServerId, required: true, location_name: "ServerId"))
|
|
118
|
+
DeleteUserRequest.add_member(:user_name, Shapes::ShapeRef.new(shape: UserName, required: true, location_name: "UserName"))
|
|
119
|
+
DeleteUserRequest.struct_class = Types::DeleteUserRequest
|
|
120
|
+
|
|
121
|
+
DescribeServerRequest.add_member(:server_id, Shapes::ShapeRef.new(shape: ServerId, required: true, location_name: "ServerId"))
|
|
122
|
+
DescribeServerRequest.struct_class = Types::DescribeServerRequest
|
|
123
|
+
|
|
124
|
+
DescribeServerResponse.add_member(:server, Shapes::ShapeRef.new(shape: DescribedServer, required: true, location_name: "Server"))
|
|
125
|
+
DescribeServerResponse.struct_class = Types::DescribeServerResponse
|
|
126
|
+
|
|
127
|
+
DescribeUserRequest.add_member(:server_id, Shapes::ShapeRef.new(shape: ServerId, required: true, location_name: "ServerId"))
|
|
128
|
+
DescribeUserRequest.add_member(:user_name, Shapes::ShapeRef.new(shape: UserName, required: true, location_name: "UserName"))
|
|
129
|
+
DescribeUserRequest.struct_class = Types::DescribeUserRequest
|
|
130
|
+
|
|
131
|
+
DescribeUserResponse.add_member(:server_id, Shapes::ShapeRef.new(shape: ServerId, required: true, location_name: "ServerId"))
|
|
132
|
+
DescribeUserResponse.add_member(:user, Shapes::ShapeRef.new(shape: DescribedUser, required: true, location_name: "User"))
|
|
133
|
+
DescribeUserResponse.struct_class = Types::DescribeUserResponse
|
|
134
|
+
|
|
135
|
+
DescribedServer.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "Arn"))
|
|
136
|
+
DescribedServer.add_member(:identity_provider_details, Shapes::ShapeRef.new(shape: IdentityProviderDetails, location_name: "IdentityProviderDetails"))
|
|
137
|
+
DescribedServer.add_member(:identity_provider_type, Shapes::ShapeRef.new(shape: IdentityProviderType, location_name: "IdentityProviderType"))
|
|
138
|
+
DescribedServer.add_member(:logging_role, Shapes::ShapeRef.new(shape: Role, location_name: "LoggingRole"))
|
|
139
|
+
DescribedServer.add_member(:server_id, Shapes::ShapeRef.new(shape: ServerId, location_name: "ServerId"))
|
|
140
|
+
DescribedServer.add_member(:state, Shapes::ShapeRef.new(shape: State, location_name: "State"))
|
|
141
|
+
DescribedServer.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
|
|
142
|
+
DescribedServer.add_member(:user_count, Shapes::ShapeRef.new(shape: UserCount, location_name: "UserCount"))
|
|
143
|
+
DescribedServer.struct_class = Types::DescribedServer
|
|
144
|
+
|
|
145
|
+
DescribedUser.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "Arn"))
|
|
146
|
+
DescribedUser.add_member(:home_directory, Shapes::ShapeRef.new(shape: HomeDirectory, location_name: "HomeDirectory"))
|
|
147
|
+
DescribedUser.add_member(:policy, Shapes::ShapeRef.new(shape: Policy, location_name: "Policy"))
|
|
148
|
+
DescribedUser.add_member(:role, Shapes::ShapeRef.new(shape: Role, location_name: "Role"))
|
|
149
|
+
DescribedUser.add_member(:ssh_public_keys, Shapes::ShapeRef.new(shape: SshPublicKeys, location_name: "SshPublicKeys"))
|
|
150
|
+
DescribedUser.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
|
|
151
|
+
DescribedUser.add_member(:user_name, Shapes::ShapeRef.new(shape: UserName, location_name: "UserName"))
|
|
152
|
+
DescribedUser.struct_class = Types::DescribedUser
|
|
153
|
+
|
|
154
|
+
IdentityProviderDetails.add_member(:url, Shapes::ShapeRef.new(shape: Url, location_name: "Url"))
|
|
155
|
+
IdentityProviderDetails.add_member(:invocation_role, Shapes::ShapeRef.new(shape: Role, location_name: "InvocationRole"))
|
|
156
|
+
IdentityProviderDetails.struct_class = Types::IdentityProviderDetails
|
|
157
|
+
|
|
158
|
+
ImportSshPublicKeyRequest.add_member(:server_id, Shapes::ShapeRef.new(shape: ServerId, required: true, location_name: "ServerId"))
|
|
159
|
+
ImportSshPublicKeyRequest.add_member(:ssh_public_key_body, Shapes::ShapeRef.new(shape: SshPublicKeyBody, required: true, location_name: "SshPublicKeyBody"))
|
|
160
|
+
ImportSshPublicKeyRequest.add_member(:user_name, Shapes::ShapeRef.new(shape: UserName, required: true, location_name: "UserName"))
|
|
161
|
+
ImportSshPublicKeyRequest.struct_class = Types::ImportSshPublicKeyRequest
|
|
162
|
+
|
|
163
|
+
ImportSshPublicKeyResponse.add_member(:server_id, Shapes::ShapeRef.new(shape: ServerId, required: true, location_name: "ServerId"))
|
|
164
|
+
ImportSshPublicKeyResponse.add_member(:ssh_public_key_id, Shapes::ShapeRef.new(shape: SshPublicKeyId, required: true, location_name: "SshPublicKeyId"))
|
|
165
|
+
ImportSshPublicKeyResponse.add_member(:user_name, Shapes::ShapeRef.new(shape: UserName, required: true, location_name: "UserName"))
|
|
166
|
+
ImportSshPublicKeyResponse.struct_class = Types::ImportSshPublicKeyResponse
|
|
167
|
+
|
|
168
|
+
ListServersRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
|
169
|
+
ListServersRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
|
170
|
+
ListServersRequest.struct_class = Types::ListServersRequest
|
|
171
|
+
|
|
172
|
+
ListServersResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
|
173
|
+
ListServersResponse.add_member(:servers, Shapes::ShapeRef.new(shape: ListedServers, required: true, location_name: "Servers"))
|
|
174
|
+
ListServersResponse.struct_class = Types::ListServersResponse
|
|
175
|
+
|
|
176
|
+
ListTagsForResourceRequest.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "Arn"))
|
|
177
|
+
ListTagsForResourceRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
|
178
|
+
ListTagsForResourceRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
|
179
|
+
ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
|
|
180
|
+
|
|
181
|
+
ListTagsForResourceResponse.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, location_name: "Arn"))
|
|
182
|
+
ListTagsForResourceResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
|
183
|
+
ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
|
|
184
|
+
ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
|
|
185
|
+
|
|
186
|
+
ListUsersRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
|
187
|
+
ListUsersRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
|
188
|
+
ListUsersRequest.add_member(:server_id, Shapes::ShapeRef.new(shape: ServerId, required: true, location_name: "ServerId"))
|
|
189
|
+
ListUsersRequest.struct_class = Types::ListUsersRequest
|
|
190
|
+
|
|
191
|
+
ListUsersResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
|
192
|
+
ListUsersResponse.add_member(:server_id, Shapes::ShapeRef.new(shape: ServerId, required: true, location_name: "ServerId"))
|
|
193
|
+
ListUsersResponse.add_member(:users, Shapes::ShapeRef.new(shape: ListedUsers, required: true, location_name: "Users"))
|
|
194
|
+
ListUsersResponse.struct_class = Types::ListUsersResponse
|
|
195
|
+
|
|
196
|
+
ListedServer.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "Arn"))
|
|
197
|
+
ListedServer.add_member(:identity_provider_type, Shapes::ShapeRef.new(shape: IdentityProviderType, location_name: "IdentityProviderType"))
|
|
198
|
+
ListedServer.add_member(:logging_role, Shapes::ShapeRef.new(shape: Role, location_name: "LoggingRole"))
|
|
199
|
+
ListedServer.add_member(:server_id, Shapes::ShapeRef.new(shape: ServerId, location_name: "ServerId"))
|
|
200
|
+
ListedServer.add_member(:state, Shapes::ShapeRef.new(shape: State, location_name: "State"))
|
|
201
|
+
ListedServer.add_member(:user_count, Shapes::ShapeRef.new(shape: UserCount, location_name: "UserCount"))
|
|
202
|
+
ListedServer.struct_class = Types::ListedServer
|
|
203
|
+
|
|
204
|
+
ListedServers.member = Shapes::ShapeRef.new(shape: ListedServer)
|
|
205
|
+
|
|
206
|
+
ListedUser.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "Arn"))
|
|
207
|
+
ListedUser.add_member(:home_directory, Shapes::ShapeRef.new(shape: HomeDirectory, location_name: "HomeDirectory"))
|
|
208
|
+
ListedUser.add_member(:role, Shapes::ShapeRef.new(shape: Role, location_name: "Role"))
|
|
209
|
+
ListedUser.add_member(:ssh_public_key_count, Shapes::ShapeRef.new(shape: SshPublicKeyCount, location_name: "SshPublicKeyCount"))
|
|
210
|
+
ListedUser.add_member(:user_name, Shapes::ShapeRef.new(shape: UserName, location_name: "UserName"))
|
|
211
|
+
ListedUser.struct_class = Types::ListedUser
|
|
212
|
+
|
|
213
|
+
ListedUsers.member = Shapes::ShapeRef.new(shape: ListedUser)
|
|
214
|
+
|
|
215
|
+
SshPublicKey.add_member(:date_imported, Shapes::ShapeRef.new(shape: DateImported, required: true, location_name: "DateImported"))
|
|
216
|
+
SshPublicKey.add_member(:ssh_public_key_body, Shapes::ShapeRef.new(shape: SshPublicKeyBody, required: true, location_name: "SshPublicKeyBody"))
|
|
217
|
+
SshPublicKey.add_member(:ssh_public_key_id, Shapes::ShapeRef.new(shape: SshPublicKeyId, required: true, location_name: "SshPublicKeyId"))
|
|
218
|
+
SshPublicKey.struct_class = Types::SshPublicKey
|
|
219
|
+
|
|
220
|
+
SshPublicKeys.member = Shapes::ShapeRef.new(shape: SshPublicKey)
|
|
221
|
+
|
|
222
|
+
StartServerRequest.add_member(:server_id, Shapes::ShapeRef.new(shape: ServerId, required: true, location_name: "ServerId"))
|
|
223
|
+
StartServerRequest.struct_class = Types::StartServerRequest
|
|
224
|
+
|
|
225
|
+
StopServerRequest.add_member(:server_id, Shapes::ShapeRef.new(shape: ServerId, required: true, location_name: "ServerId"))
|
|
226
|
+
StopServerRequest.struct_class = Types::StopServerRequest
|
|
227
|
+
|
|
228
|
+
Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "Key"))
|
|
229
|
+
Tag.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, required: true, location_name: "Value"))
|
|
230
|
+
Tag.struct_class = Types::Tag
|
|
231
|
+
|
|
232
|
+
TagKeys.member = Shapes::ShapeRef.new(shape: TagKey)
|
|
233
|
+
|
|
234
|
+
TagResourceRequest.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "Arn"))
|
|
235
|
+
TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, required: true, location_name: "Tags"))
|
|
236
|
+
TagResourceRequest.struct_class = Types::TagResourceRequest
|
|
237
|
+
|
|
238
|
+
Tags.member = Shapes::ShapeRef.new(shape: Tag)
|
|
239
|
+
|
|
240
|
+
TestIdentityProviderRequest.add_member(:server_id, Shapes::ShapeRef.new(shape: ServerId, required: true, location_name: "ServerId"))
|
|
241
|
+
TestIdentityProviderRequest.add_member(:user_name, Shapes::ShapeRef.new(shape: UserName, required: true, location_name: "UserName"))
|
|
242
|
+
TestIdentityProviderRequest.add_member(:user_password, Shapes::ShapeRef.new(shape: UserPassword, location_name: "UserPassword"))
|
|
243
|
+
TestIdentityProviderRequest.struct_class = Types::TestIdentityProviderRequest
|
|
244
|
+
|
|
245
|
+
TestIdentityProviderResponse.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
|
|
246
|
+
TestIdentityProviderResponse.add_member(:status_code, Shapes::ShapeRef.new(shape: StatusCode, required: true, location_name: "StatusCode"))
|
|
247
|
+
TestIdentityProviderResponse.add_member(:url, Shapes::ShapeRef.new(shape: Url, required: true, location_name: "Url"))
|
|
248
|
+
TestIdentityProviderResponse.struct_class = Types::TestIdentityProviderResponse
|
|
249
|
+
|
|
250
|
+
UntagResourceRequest.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "Arn"))
|
|
251
|
+
UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeys, required: true, location_name: "TagKeys"))
|
|
252
|
+
UntagResourceRequest.struct_class = Types::UntagResourceRequest
|
|
253
|
+
|
|
254
|
+
UpdateServerRequest.add_member(:identity_provider_details, Shapes::ShapeRef.new(shape: IdentityProviderDetails, location_name: "IdentityProviderDetails"))
|
|
255
|
+
UpdateServerRequest.add_member(:logging_role, Shapes::ShapeRef.new(shape: NullableRole, location_name: "LoggingRole"))
|
|
256
|
+
UpdateServerRequest.add_member(:server_id, Shapes::ShapeRef.new(shape: ServerId, required: true, location_name: "ServerId"))
|
|
257
|
+
UpdateServerRequest.struct_class = Types::UpdateServerRequest
|
|
258
|
+
|
|
259
|
+
UpdateServerResponse.add_member(:server_id, Shapes::ShapeRef.new(shape: ServerId, required: true, location_name: "ServerId"))
|
|
260
|
+
UpdateServerResponse.struct_class = Types::UpdateServerResponse
|
|
261
|
+
|
|
262
|
+
UpdateUserRequest.add_member(:home_directory, Shapes::ShapeRef.new(shape: HomeDirectory, location_name: "HomeDirectory"))
|
|
263
|
+
UpdateUserRequest.add_member(:policy, Shapes::ShapeRef.new(shape: Policy, location_name: "Policy"))
|
|
264
|
+
UpdateUserRequest.add_member(:role, Shapes::ShapeRef.new(shape: Role, location_name: "Role"))
|
|
265
|
+
UpdateUserRequest.add_member(:server_id, Shapes::ShapeRef.new(shape: ServerId, required: true, location_name: "ServerId"))
|
|
266
|
+
UpdateUserRequest.add_member(:user_name, Shapes::ShapeRef.new(shape: UserName, required: true, location_name: "UserName"))
|
|
267
|
+
UpdateUserRequest.struct_class = Types::UpdateUserRequest
|
|
268
|
+
|
|
269
|
+
UpdateUserResponse.add_member(:server_id, Shapes::ShapeRef.new(shape: ServerId, required: true, location_name: "ServerId"))
|
|
270
|
+
UpdateUserResponse.add_member(:user_name, Shapes::ShapeRef.new(shape: UserName, required: true, location_name: "UserName"))
|
|
271
|
+
UpdateUserResponse.struct_class = Types::UpdateUserResponse
|
|
272
|
+
|
|
273
|
+
|
|
274
|
+
# @api private
|
|
275
|
+
API = Seahorse::Model::Api.new.tap do |api|
|
|
276
|
+
|
|
277
|
+
api.version = "2018-11-05"
|
|
278
|
+
|
|
279
|
+
api.metadata = {
|
|
280
|
+
"apiVersion" => "2018-11-05",
|
|
281
|
+
"endpointPrefix" => "transfer",
|
|
282
|
+
"jsonVersion" => "1.1",
|
|
283
|
+
"protocol" => "json",
|
|
284
|
+
"serviceAbbreviation" => "AWS Transfer",
|
|
285
|
+
"serviceFullName" => "AWS Transfer for SFTP",
|
|
286
|
+
"serviceId" => "Transfer",
|
|
287
|
+
"signatureVersion" => "v4",
|
|
288
|
+
"signingName" => "transfer",
|
|
289
|
+
"targetPrefix" => "TransferService",
|
|
290
|
+
"uid" => "transfer-2018-11-05",
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
api.add_operation(:create_server, Seahorse::Model::Operation.new.tap do |o|
|
|
294
|
+
o.name = "CreateServer"
|
|
295
|
+
o.http_method = "POST"
|
|
296
|
+
o.http_request_uri = "/"
|
|
297
|
+
o.input = Shapes::ShapeRef.new(shape: CreateServerRequest)
|
|
298
|
+
o.output = Shapes::ShapeRef.new(shape: CreateServerResponse)
|
|
299
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
|
300
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceError)
|
|
301
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
|
302
|
+
end)
|
|
303
|
+
|
|
304
|
+
api.add_operation(:create_user, Seahorse::Model::Operation.new.tap do |o|
|
|
305
|
+
o.name = "CreateUser"
|
|
306
|
+
o.http_method = "POST"
|
|
307
|
+
o.http_request_uri = "/"
|
|
308
|
+
o.input = Shapes::ShapeRef.new(shape: CreateUserRequest)
|
|
309
|
+
o.output = Shapes::ShapeRef.new(shape: CreateUserResponse)
|
|
310
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
|
311
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceError)
|
|
312
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
|
313
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceExistsException)
|
|
314
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
315
|
+
end)
|
|
316
|
+
|
|
317
|
+
api.add_operation(:delete_server, Seahorse::Model::Operation.new.tap do |o|
|
|
318
|
+
o.name = "DeleteServer"
|
|
319
|
+
o.http_method = "POST"
|
|
320
|
+
o.http_request_uri = "/"
|
|
321
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteServerRequest)
|
|
322
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
|
323
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
|
324
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceError)
|
|
325
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
|
326
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
327
|
+
end)
|
|
328
|
+
|
|
329
|
+
api.add_operation(:delete_ssh_public_key, Seahorse::Model::Operation.new.tap do |o|
|
|
330
|
+
o.name = "DeleteSshPublicKey"
|
|
331
|
+
o.http_method = "POST"
|
|
332
|
+
o.http_request_uri = "/"
|
|
333
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteSshPublicKeyRequest)
|
|
334
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
|
335
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
|
336
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceError)
|
|
337
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
|
338
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
339
|
+
end)
|
|
340
|
+
|
|
341
|
+
api.add_operation(:delete_user, Seahorse::Model::Operation.new.tap do |o|
|
|
342
|
+
o.name = "DeleteUser"
|
|
343
|
+
o.http_method = "POST"
|
|
344
|
+
o.http_request_uri = "/"
|
|
345
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteUserRequest)
|
|
346
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
|
347
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
|
348
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceError)
|
|
349
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
|
350
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
351
|
+
end)
|
|
352
|
+
|
|
353
|
+
api.add_operation(:describe_server, Seahorse::Model::Operation.new.tap do |o|
|
|
354
|
+
o.name = "DescribeServer"
|
|
355
|
+
o.http_method = "POST"
|
|
356
|
+
o.http_request_uri = "/"
|
|
357
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeServerRequest)
|
|
358
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeServerResponse)
|
|
359
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
|
360
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceError)
|
|
361
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
|
362
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
363
|
+
end)
|
|
364
|
+
|
|
365
|
+
api.add_operation(:describe_user, Seahorse::Model::Operation.new.tap do |o|
|
|
366
|
+
o.name = "DescribeUser"
|
|
367
|
+
o.http_method = "POST"
|
|
368
|
+
o.http_request_uri = "/"
|
|
369
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeUserRequest)
|
|
370
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeUserResponse)
|
|
371
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
|
372
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceError)
|
|
373
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
|
374
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
375
|
+
end)
|
|
376
|
+
|
|
377
|
+
api.add_operation(:import_ssh_public_key, Seahorse::Model::Operation.new.tap do |o|
|
|
378
|
+
o.name = "ImportSshPublicKey"
|
|
379
|
+
o.http_method = "POST"
|
|
380
|
+
o.http_request_uri = "/"
|
|
381
|
+
o.input = Shapes::ShapeRef.new(shape: ImportSshPublicKeyRequest)
|
|
382
|
+
o.output = Shapes::ShapeRef.new(shape: ImportSshPublicKeyResponse)
|
|
383
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
|
384
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceError)
|
|
385
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
|
386
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceExistsException)
|
|
387
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
388
|
+
end)
|
|
389
|
+
|
|
390
|
+
api.add_operation(:list_servers, Seahorse::Model::Operation.new.tap do |o|
|
|
391
|
+
o.name = "ListServers"
|
|
392
|
+
o.http_method = "POST"
|
|
393
|
+
o.http_request_uri = "/"
|
|
394
|
+
o.input = Shapes::ShapeRef.new(shape: ListServersRequest)
|
|
395
|
+
o.output = Shapes::ShapeRef.new(shape: ListServersResponse)
|
|
396
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
|
397
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceError)
|
|
398
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
|
|
399
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
|
400
|
+
end)
|
|
401
|
+
|
|
402
|
+
api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
|
|
403
|
+
o.name = "ListTagsForResource"
|
|
404
|
+
o.http_method = "POST"
|
|
405
|
+
o.http_request_uri = "/"
|
|
406
|
+
o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
|
|
407
|
+
o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse)
|
|
408
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
|
409
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceError)
|
|
410
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
|
|
411
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
|
412
|
+
end)
|
|
413
|
+
|
|
414
|
+
api.add_operation(:list_users, Seahorse::Model::Operation.new.tap do |o|
|
|
415
|
+
o.name = "ListUsers"
|
|
416
|
+
o.http_method = "POST"
|
|
417
|
+
o.http_request_uri = "/"
|
|
418
|
+
o.input = Shapes::ShapeRef.new(shape: ListUsersRequest)
|
|
419
|
+
o.output = Shapes::ShapeRef.new(shape: ListUsersResponse)
|
|
420
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
|
421
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceError)
|
|
422
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
|
|
423
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
|
424
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
425
|
+
end)
|
|
426
|
+
|
|
427
|
+
api.add_operation(:start_server, Seahorse::Model::Operation.new.tap do |o|
|
|
428
|
+
o.name = "StartServer"
|
|
429
|
+
o.http_method = "POST"
|
|
430
|
+
o.http_request_uri = "/"
|
|
431
|
+
o.input = Shapes::ShapeRef.new(shape: StartServerRequest)
|
|
432
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
|
433
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
|
434
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceError)
|
|
435
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
|
436
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
437
|
+
end)
|
|
438
|
+
|
|
439
|
+
api.add_operation(:stop_server, Seahorse::Model::Operation.new.tap do |o|
|
|
440
|
+
o.name = "StopServer"
|
|
441
|
+
o.http_method = "POST"
|
|
442
|
+
o.http_request_uri = "/"
|
|
443
|
+
o.input = Shapes::ShapeRef.new(shape: StopServerRequest)
|
|
444
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
|
445
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
|
446
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceError)
|
|
447
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
|
448
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
449
|
+
end)
|
|
450
|
+
|
|
451
|
+
api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
|
|
452
|
+
o.name = "TagResource"
|
|
453
|
+
o.http_method = "POST"
|
|
454
|
+
o.http_request_uri = "/"
|
|
455
|
+
o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
|
|
456
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
|
457
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
|
458
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceError)
|
|
459
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
|
460
|
+
end)
|
|
461
|
+
|
|
462
|
+
api.add_operation(:test_identity_provider, Seahorse::Model::Operation.new.tap do |o|
|
|
463
|
+
o.name = "TestIdentityProvider"
|
|
464
|
+
o.http_method = "POST"
|
|
465
|
+
o.http_request_uri = "/"
|
|
466
|
+
o.input = Shapes::ShapeRef.new(shape: TestIdentityProviderRequest)
|
|
467
|
+
o.output = Shapes::ShapeRef.new(shape: TestIdentityProviderResponse)
|
|
468
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
|
469
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceError)
|
|
470
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
|
471
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
472
|
+
end)
|
|
473
|
+
|
|
474
|
+
api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
|
|
475
|
+
o.name = "UntagResource"
|
|
476
|
+
o.http_method = "POST"
|
|
477
|
+
o.http_request_uri = "/"
|
|
478
|
+
o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
|
|
479
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
|
480
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
|
481
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceError)
|
|
482
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
|
483
|
+
end)
|
|
484
|
+
|
|
485
|
+
api.add_operation(:update_server, Seahorse::Model::Operation.new.tap do |o|
|
|
486
|
+
o.name = "UpdateServer"
|
|
487
|
+
o.http_method = "POST"
|
|
488
|
+
o.http_request_uri = "/"
|
|
489
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateServerRequest)
|
|
490
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateServerResponse)
|
|
491
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
|
492
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceError)
|
|
493
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
|
494
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
495
|
+
end)
|
|
496
|
+
|
|
497
|
+
api.add_operation(:update_user, Seahorse::Model::Operation.new.tap do |o|
|
|
498
|
+
o.name = "UpdateUser"
|
|
499
|
+
o.http_method = "POST"
|
|
500
|
+
o.http_request_uri = "/"
|
|
501
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateUserRequest)
|
|
502
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateUserResponse)
|
|
503
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
|
504
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceError)
|
|
505
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
|
506
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
507
|
+
end)
|
|
508
|
+
end
|
|
509
|
+
|
|
510
|
+
end
|
|
511
|
+
end
|