Skip to content

Commit 77c2e6a

Browse files
author
awstools
committed
feat(client-transfer): AWS Transfer Family now offers Web apps that enables simple and secure access to data stored in Amazon S3.
1 parent f6492f5 commit 77c2e6a

17 files changed

+3211
-28
lines changed

clients/client-transfer/README.md

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,14 @@ CreateUser
259259

260260
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/transfer/command/CreateUserCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-transfer/Interface/CreateUserCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-transfer/Interface/CreateUserCommandOutput/)
261261

262+
</details>
263+
<details>
264+
<summary>
265+
CreateWebApp
266+
</summary>
267+
268+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/transfer/command/CreateWebAppCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-transfer/Interface/CreateWebAppCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-transfer/Interface/CreateWebAppCommandOutput/)
269+
262270
</details>
263271
<details>
264272
<summary>
@@ -339,6 +347,22 @@ DeleteUser
339347

340348
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/transfer/command/DeleteUserCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-transfer/Interface/DeleteUserCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-transfer/Interface/DeleteUserCommandOutput/)
341349

350+
</details>
351+
<details>
352+
<summary>
353+
DeleteWebApp
354+
</summary>
355+
356+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/transfer/command/DeleteWebAppCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-transfer/Interface/DeleteWebAppCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-transfer/Interface/DeleteWebAppCommandOutput/)
357+
358+
</details>
359+
<details>
360+
<summary>
361+
DeleteWebAppCustomization
362+
</summary>
363+
364+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/transfer/command/DeleteWebAppCustomizationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-transfer/Interface/DeleteWebAppCustomizationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-transfer/Interface/DeleteWebAppCustomizationCommandOutput/)
365+
342366
</details>
343367
<details>
344368
<summary>
@@ -427,6 +451,22 @@ DescribeUser
427451

428452
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/transfer/command/DescribeUserCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-transfer/Interface/DescribeUserCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-transfer/Interface/DescribeUserCommandOutput/)
429453

454+
</details>
455+
<details>
456+
<summary>
457+
DescribeWebApp
458+
</summary>
459+
460+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/transfer/command/DescribeWebAppCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-transfer/Interface/DescribeWebAppCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-transfer/Interface/DescribeWebAppCommandOutput/)
461+
462+
</details>
463+
<details>
464+
<summary>
465+
DescribeWebAppCustomization
466+
</summary>
467+
468+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/transfer/command/DescribeWebAppCustomizationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-transfer/Interface/DescribeWebAppCustomizationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-transfer/Interface/DescribeWebAppCustomizationCommandOutput/)
469+
430470
</details>
431471
<details>
432472
<summary>
@@ -555,6 +595,14 @@ ListUsers
555595

556596
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/transfer/command/ListUsersCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-transfer/Interface/ListUsersCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-transfer/Interface/ListUsersCommandOutput/)
557597

598+
</details>
599+
<details>
600+
<summary>
601+
ListWebApps
602+
</summary>
603+
604+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/transfer/command/ListWebAppsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-transfer/Interface/ListWebAppsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-transfer/Interface/ListWebAppsCommandOutput/)
605+
558606
</details>
559607
<details>
560608
<summary>
@@ -700,3 +748,19 @@ UpdateUser
700748
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/transfer/command/UpdateUserCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-transfer/Interface/UpdateUserCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-transfer/Interface/UpdateUserCommandOutput/)
701749

702750
</details>
751+
<details>
752+
<summary>
753+
UpdateWebApp
754+
</summary>
755+
756+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/transfer/command/UpdateWebAppCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-transfer/Interface/UpdateWebAppCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-transfer/Interface/UpdateWebAppCommandOutput/)
757+
758+
</details>
759+
<details>
760+
<summary>
761+
UpdateWebAppCustomization
762+
</summary>
763+
764+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/transfer/command/UpdateWebAppCustomizationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-transfer/Interface/UpdateWebAppCustomizationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-transfer/Interface/UpdateWebAppCustomizationCommandOutput/)
765+
766+
</details>

clients/client-transfer/src/Transfer.ts

Lines changed: 154 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,11 @@ import {
2828
CreateServerCommandOutput,
2929
} from "./commands/CreateServerCommand";
3030
import { CreateUserCommand, CreateUserCommandInput, CreateUserCommandOutput } from "./commands/CreateUserCommand";
31+
import {
32+
CreateWebAppCommand,
33+
CreateWebAppCommandInput,
34+
CreateWebAppCommandOutput,
35+
} from "./commands/CreateWebAppCommand";
3136
import {
3237
CreateWorkflowCommand,
3338
CreateWorkflowCommandInput,
@@ -74,6 +79,16 @@ import {
7479
DeleteSshPublicKeyCommandOutput,
7580
} from "./commands/DeleteSshPublicKeyCommand";
7681
import { DeleteUserCommand, DeleteUserCommandInput, DeleteUserCommandOutput } from "./commands/DeleteUserCommand";
82+
import {
83+
DeleteWebAppCommand,
84+
DeleteWebAppCommandInput,
85+
DeleteWebAppCommandOutput,
86+
} from "./commands/DeleteWebAppCommand";
87+
import {
88+
DeleteWebAppCustomizationCommand,
89+
DeleteWebAppCustomizationCommandInput,
90+
DeleteWebAppCustomizationCommandOutput,
91+
} from "./commands/DeleteWebAppCustomizationCommand";
7792
import {
7893
DeleteWorkflowCommand,
7994
DeleteWorkflowCommandInput,
@@ -129,6 +144,16 @@ import {
129144
DescribeUserCommandInput,
130145
DescribeUserCommandOutput,
131146
} from "./commands/DescribeUserCommand";
147+
import {
148+
DescribeWebAppCommand,
149+
DescribeWebAppCommandInput,
150+
DescribeWebAppCommandOutput,
151+
} from "./commands/DescribeWebAppCommand";
152+
import {
153+
DescribeWebAppCustomizationCommand,
154+
DescribeWebAppCustomizationCommandInput,
155+
DescribeWebAppCustomizationCommandOutput,
156+
} from "./commands/DescribeWebAppCustomizationCommand";
132157
import {
133158
DescribeWorkflowCommand,
134159
DescribeWorkflowCommandInput,
@@ -201,6 +226,7 @@ import {
201226
ListTagsForResourceCommandOutput,
202227
} from "./commands/ListTagsForResourceCommand";
203228
import { ListUsersCommand, ListUsersCommandInput, ListUsersCommandOutput } from "./commands/ListUsersCommand";
229+
import { ListWebAppsCommand, ListWebAppsCommandInput, ListWebAppsCommandOutput } from "./commands/ListWebAppsCommand";
204230
import {
205231
ListWorkflowsCommand,
206232
ListWorkflowsCommandInput,
@@ -275,6 +301,16 @@ import {
275301
UpdateServerCommandOutput,
276302
} from "./commands/UpdateServerCommand";
277303
import { UpdateUserCommand, UpdateUserCommandInput, UpdateUserCommandOutput } from "./commands/UpdateUserCommand";
304+
import {
305+
UpdateWebAppCommand,
306+
UpdateWebAppCommandInput,
307+
UpdateWebAppCommandOutput,
308+
} from "./commands/UpdateWebAppCommand";
309+
import {
310+
UpdateWebAppCustomizationCommand,
311+
UpdateWebAppCustomizationCommandInput,
312+
UpdateWebAppCustomizationCommandOutput,
313+
} from "./commands/UpdateWebAppCustomizationCommand";
278314
import { TransferClient, TransferClientConfig } from "./TransferClient";
279315

280316
const commands = {
@@ -284,6 +320,7 @@ const commands = {
284320
CreateProfileCommand,
285321
CreateServerCommand,
286322
CreateUserCommand,
323+
CreateWebAppCommand,
287324
CreateWorkflowCommand,
288325
DeleteAccessCommand,
289326
DeleteAgreementCommand,
@@ -294,6 +331,8 @@ const commands = {
294331
DeleteServerCommand,
295332
DeleteSshPublicKeyCommand,
296333
DeleteUserCommand,
334+
DeleteWebAppCommand,
335+
DeleteWebAppCustomizationCommand,
297336
DeleteWorkflowCommand,
298337
DescribeAccessCommand,
299338
DescribeAgreementCommand,
@@ -305,6 +344,8 @@ const commands = {
305344
DescribeSecurityPolicyCommand,
306345
DescribeServerCommand,
307346
DescribeUserCommand,
347+
DescribeWebAppCommand,
348+
DescribeWebAppCustomizationCommand,
308349
DescribeWorkflowCommand,
309350
ImportCertificateCommand,
310351
ImportHostKeyCommand,
@@ -321,6 +362,7 @@ const commands = {
321362
ListServersCommand,
322363
ListTagsForResourceCommand,
323364
ListUsersCommand,
365+
ListWebAppsCommand,
324366
ListWorkflowsCommand,
325367
SendWorkflowStepStateCommand,
326368
StartDirectoryListingCommand,
@@ -339,6 +381,8 @@ const commands = {
339381
UpdateProfileCommand,
340382
UpdateServerCommand,
341383
UpdateUserCommand,
384+
UpdateWebAppCommand,
385+
UpdateWebAppCustomizationCommand,
342386
};
343387

344388
export interface Transfer {
@@ -415,6 +459,17 @@ export interface Transfer {
415459
cb: (err: any, data?: CreateUserCommandOutput) => void
416460
): void;
417461

462+
/**
463+
* @see {@link CreateWebAppCommand}
464+
*/
465+
createWebApp(args: CreateWebAppCommandInput, options?: __HttpHandlerOptions): Promise<CreateWebAppCommandOutput>;
466+
createWebApp(args: CreateWebAppCommandInput, cb: (err: any, data?: CreateWebAppCommandOutput) => void): void;
467+
createWebApp(
468+
args: CreateWebAppCommandInput,
469+
options: __HttpHandlerOptions,
470+
cb: (err: any, data?: CreateWebAppCommandOutput) => void
471+
): void;
472+
418473
/**
419474
* @see {@link CreateWorkflowCommand}
420475
*/
@@ -546,6 +601,34 @@ export interface Transfer {
546601
cb: (err: any, data?: DeleteUserCommandOutput) => void
547602
): void;
548603

604+
/**
605+
* @see {@link DeleteWebAppCommand}
606+
*/
607+
deleteWebApp(args: DeleteWebAppCommandInput, options?: __HttpHandlerOptions): Promise<DeleteWebAppCommandOutput>;
608+
deleteWebApp(args: DeleteWebAppCommandInput, cb: (err: any, data?: DeleteWebAppCommandOutput) => void): void;
609+
deleteWebApp(
610+
args: DeleteWebAppCommandInput,
611+
options: __HttpHandlerOptions,
612+
cb: (err: any, data?: DeleteWebAppCommandOutput) => void
613+
): void;
614+
615+
/**
616+
* @see {@link DeleteWebAppCustomizationCommand}
617+
*/
618+
deleteWebAppCustomization(
619+
args: DeleteWebAppCustomizationCommandInput,
620+
options?: __HttpHandlerOptions
621+
): Promise<DeleteWebAppCustomizationCommandOutput>;
622+
deleteWebAppCustomization(
623+
args: DeleteWebAppCustomizationCommandInput,
624+
cb: (err: any, data?: DeleteWebAppCustomizationCommandOutput) => void
625+
): void;
626+
deleteWebAppCustomization(
627+
args: DeleteWebAppCustomizationCommandInput,
628+
options: __HttpHandlerOptions,
629+
cb: (err: any, data?: DeleteWebAppCustomizationCommandOutput) => void
630+
): void;
631+
549632
/**
550633
* @see {@link DeleteWorkflowCommand}
551634
*/
@@ -712,6 +795,37 @@ export interface Transfer {
712795
cb: (err: any, data?: DescribeUserCommandOutput) => void
713796
): void;
714797

798+
/**
799+
* @see {@link DescribeWebAppCommand}
800+
*/
801+
describeWebApp(
802+
args: DescribeWebAppCommandInput,
803+
options?: __HttpHandlerOptions
804+
): Promise<DescribeWebAppCommandOutput>;
805+
describeWebApp(args: DescribeWebAppCommandInput, cb: (err: any, data?: DescribeWebAppCommandOutput) => void): void;
806+
describeWebApp(
807+
args: DescribeWebAppCommandInput,
808+
options: __HttpHandlerOptions,
809+
cb: (err: any, data?: DescribeWebAppCommandOutput) => void
810+
): void;
811+
812+
/**
813+
* @see {@link DescribeWebAppCustomizationCommand}
814+
*/
815+
describeWebAppCustomization(
816+
args: DescribeWebAppCustomizationCommandInput,
817+
options?: __HttpHandlerOptions
818+
): Promise<DescribeWebAppCustomizationCommandOutput>;
819+
describeWebAppCustomization(
820+
args: DescribeWebAppCustomizationCommandInput,
821+
cb: (err: any, data?: DescribeWebAppCustomizationCommandOutput) => void
822+
): void;
823+
describeWebAppCustomization(
824+
args: DescribeWebAppCustomizationCommandInput,
825+
options: __HttpHandlerOptions,
826+
cb: (err: any, data?: DescribeWebAppCustomizationCommandOutput) => void
827+
): void;
828+
715829
/**
716830
* @see {@link DescribeWorkflowCommand}
717831
*/
@@ -944,6 +1058,18 @@ export interface Transfer {
9441058
cb: (err: any, data?: ListUsersCommandOutput) => void
9451059
): void;
9461060

1061+
/**
1062+
* @see {@link ListWebAppsCommand}
1063+
*/
1064+
listWebApps(): Promise<ListWebAppsCommandOutput>;
1065+
listWebApps(args: ListWebAppsCommandInput, options?: __HttpHandlerOptions): Promise<ListWebAppsCommandOutput>;
1066+
listWebApps(args: ListWebAppsCommandInput, cb: (err: any, data?: ListWebAppsCommandOutput) => void): void;
1067+
listWebApps(
1068+
args: ListWebAppsCommandInput,
1069+
options: __HttpHandlerOptions,
1070+
cb: (err: any, data?: ListWebAppsCommandOutput) => void
1071+
): void;
1072+
9471073
/**
9481074
* @see {@link ListWorkflowsCommand}
9491075
*/
@@ -1181,6 +1307,34 @@ export interface Transfer {
11811307
options: __HttpHandlerOptions,
11821308
cb: (err: any, data?: UpdateUserCommandOutput) => void
11831309
): void;
1310+
1311+
/**
1312+
* @see {@link UpdateWebAppCommand}
1313+
*/
1314+
updateWebApp(args: UpdateWebAppCommandInput, options?: __HttpHandlerOptions): Promise<UpdateWebAppCommandOutput>;
1315+
updateWebApp(args: UpdateWebAppCommandInput, cb: (err: any, data?: UpdateWebAppCommandOutput) => void): void;
1316+
updateWebApp(
1317+
args: UpdateWebAppCommandInput,
1318+
options: __HttpHandlerOptions,
1319+
cb: (err: any, data?: UpdateWebAppCommandOutput) => void
1320+
): void;
1321+
1322+
/**
1323+
* @see {@link UpdateWebAppCustomizationCommand}
1324+
*/
1325+
updateWebAppCustomization(
1326+
args: UpdateWebAppCustomizationCommandInput,
1327+
options?: __HttpHandlerOptions
1328+
): Promise<UpdateWebAppCustomizationCommandOutput>;
1329+
updateWebAppCustomization(
1330+
args: UpdateWebAppCustomizationCommandInput,
1331+
cb: (err: any, data?: UpdateWebAppCustomizationCommandOutput) => void
1332+
): void;
1333+
updateWebAppCustomization(
1334+
args: UpdateWebAppCustomizationCommandInput,
1335+
options: __HttpHandlerOptions,
1336+
cb: (err: any, data?: UpdateWebAppCustomizationCommandOutput) => void
1337+
): void;
11841338
}
11851339

11861340
/**

0 commit comments

Comments
 (0)