@aws-sdk/client-transfer 3.696.0 → 3.703.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.
- package/README.md +64 -0
- package/dist-cjs/index.js +377 -5
- package/dist-es/Transfer.js +16 -0
- package/dist-es/commands/CreateWebAppCommand.js +22 -0
- package/dist-es/commands/DeleteWebAppCommand.js +22 -0
- package/dist-es/commands/DeleteWebAppCustomizationCommand.js +22 -0
- package/dist-es/commands/DescribeWebAppCommand.js +22 -0
- package/dist-es/commands/DescribeWebAppCustomizationCommand.js +23 -0
- package/dist-es/commands/ListWebAppsCommand.js +22 -0
- package/dist-es/commands/UpdateWebAppCommand.js +22 -0
- package/dist-es/commands/UpdateWebAppCustomizationCommand.js +23 -0
- package/dist-es/commands/index.js +8 -0
- package/dist-es/models/models_0.js +48 -0
- package/dist-es/pagination/ListWebAppsPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_json1_1.js +171 -3
- package/dist-types/Transfer.d.ts +57 -0
- package/dist-types/TransferClient.d.ts +10 -2
- package/dist-types/commands/CreateWebAppCommand.d.ts +102 -0
- package/dist-types/commands/DeleteWebAppCommand.d.ts +85 -0
- package/dist-types/commands/DeleteWebAppCustomizationCommand.d.ts +90 -0
- package/dist-types/commands/DescribeWebAppCommand.d.ts +108 -0
- package/dist-types/commands/DescribeWebAppCustomizationCommand.d.ts +93 -0
- package/dist-types/commands/ListWebAppsCommand.d.ts +92 -0
- package/dist-types/commands/UpdateWebAppCommand.d.ts +101 -0
- package/dist-types/commands/UpdateWebAppCustomizationCommand.d.ts +95 -0
- package/dist-types/commands/index.d.ts +8 -0
- package/dist-types/models/models_0.d.ts +490 -12
- package/dist-types/pagination/ListWebAppsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +72 -0
- package/dist-types/ts3.4/Transfer.d.ts +137 -0
- package/dist-types/ts3.4/TransferClient.d.ts +50 -2
- package/dist-types/ts3.4/commands/CreateWebAppCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/DeleteWebAppCommand.d.ts +45 -0
- package/dist-types/ts3.4/commands/DeleteWebAppCustomizationCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/DescribeWebAppCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/DescribeWebAppCustomizationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListWebAppsCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/UpdateWebAppCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/UpdateWebAppCustomizationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +8 -0
- package/dist-types/ts3.4/models/models_0.d.ts +179 -0
- package/dist-types/ts3.4/pagination/ListWebAppsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +96 -0
- package/package.json +4 -4
package/dist-es/Transfer.js
CHANGED
|
@@ -5,6 +5,7 @@ import { CreateConnectorCommand, } from "./commands/CreateConnectorCommand";
|
|
|
5
5
|
import { CreateProfileCommand, } from "./commands/CreateProfileCommand";
|
|
6
6
|
import { CreateServerCommand, } from "./commands/CreateServerCommand";
|
|
7
7
|
import { CreateUserCommand } from "./commands/CreateUserCommand";
|
|
8
|
+
import { CreateWebAppCommand, } from "./commands/CreateWebAppCommand";
|
|
8
9
|
import { CreateWorkflowCommand, } from "./commands/CreateWorkflowCommand";
|
|
9
10
|
import { DeleteAccessCommand, } from "./commands/DeleteAccessCommand";
|
|
10
11
|
import { DeleteAgreementCommand, } from "./commands/DeleteAgreementCommand";
|
|
@@ -15,6 +16,8 @@ import { DeleteProfileCommand, } from "./commands/DeleteProfileCommand";
|
|
|
15
16
|
import { DeleteServerCommand, } from "./commands/DeleteServerCommand";
|
|
16
17
|
import { DeleteSshPublicKeyCommand, } from "./commands/DeleteSshPublicKeyCommand";
|
|
17
18
|
import { DeleteUserCommand } from "./commands/DeleteUserCommand";
|
|
19
|
+
import { DeleteWebAppCommand, } from "./commands/DeleteWebAppCommand";
|
|
20
|
+
import { DeleteWebAppCustomizationCommand, } from "./commands/DeleteWebAppCustomizationCommand";
|
|
18
21
|
import { DeleteWorkflowCommand, } from "./commands/DeleteWorkflowCommand";
|
|
19
22
|
import { DescribeAccessCommand, } from "./commands/DescribeAccessCommand";
|
|
20
23
|
import { DescribeAgreementCommand, } from "./commands/DescribeAgreementCommand";
|
|
@@ -26,6 +29,8 @@ import { DescribeProfileCommand, } from "./commands/DescribeProfileCommand";
|
|
|
26
29
|
import { DescribeSecurityPolicyCommand, } from "./commands/DescribeSecurityPolicyCommand";
|
|
27
30
|
import { DescribeServerCommand, } from "./commands/DescribeServerCommand";
|
|
28
31
|
import { DescribeUserCommand, } from "./commands/DescribeUserCommand";
|
|
32
|
+
import { DescribeWebAppCommand, } from "./commands/DescribeWebAppCommand";
|
|
33
|
+
import { DescribeWebAppCustomizationCommand, } from "./commands/DescribeWebAppCustomizationCommand";
|
|
29
34
|
import { DescribeWorkflowCommand, } from "./commands/DescribeWorkflowCommand";
|
|
30
35
|
import { ImportCertificateCommand, } from "./commands/ImportCertificateCommand";
|
|
31
36
|
import { ImportHostKeyCommand, } from "./commands/ImportHostKeyCommand";
|
|
@@ -42,6 +47,7 @@ import { ListSecurityPoliciesCommand, } from "./commands/ListSecurityPoliciesCom
|
|
|
42
47
|
import { ListServersCommand } from "./commands/ListServersCommand";
|
|
43
48
|
import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
|
|
44
49
|
import { ListUsersCommand } from "./commands/ListUsersCommand";
|
|
50
|
+
import { ListWebAppsCommand } from "./commands/ListWebAppsCommand";
|
|
45
51
|
import { ListWorkflowsCommand, } from "./commands/ListWorkflowsCommand";
|
|
46
52
|
import { SendWorkflowStepStateCommand, } from "./commands/SendWorkflowStepStateCommand";
|
|
47
53
|
import { StartDirectoryListingCommand, } from "./commands/StartDirectoryListingCommand";
|
|
@@ -60,6 +66,8 @@ import { UpdateHostKeyCommand, } from "./commands/UpdateHostKeyCommand";
|
|
|
60
66
|
import { UpdateProfileCommand, } from "./commands/UpdateProfileCommand";
|
|
61
67
|
import { UpdateServerCommand, } from "./commands/UpdateServerCommand";
|
|
62
68
|
import { UpdateUserCommand } from "./commands/UpdateUserCommand";
|
|
69
|
+
import { UpdateWebAppCommand, } from "./commands/UpdateWebAppCommand";
|
|
70
|
+
import { UpdateWebAppCustomizationCommand, } from "./commands/UpdateWebAppCustomizationCommand";
|
|
63
71
|
import { TransferClient } from "./TransferClient";
|
|
64
72
|
const commands = {
|
|
65
73
|
CreateAccessCommand,
|
|
@@ -68,6 +76,7 @@ const commands = {
|
|
|
68
76
|
CreateProfileCommand,
|
|
69
77
|
CreateServerCommand,
|
|
70
78
|
CreateUserCommand,
|
|
79
|
+
CreateWebAppCommand,
|
|
71
80
|
CreateWorkflowCommand,
|
|
72
81
|
DeleteAccessCommand,
|
|
73
82
|
DeleteAgreementCommand,
|
|
@@ -78,6 +87,8 @@ const commands = {
|
|
|
78
87
|
DeleteServerCommand,
|
|
79
88
|
DeleteSshPublicKeyCommand,
|
|
80
89
|
DeleteUserCommand,
|
|
90
|
+
DeleteWebAppCommand,
|
|
91
|
+
DeleteWebAppCustomizationCommand,
|
|
81
92
|
DeleteWorkflowCommand,
|
|
82
93
|
DescribeAccessCommand,
|
|
83
94
|
DescribeAgreementCommand,
|
|
@@ -89,6 +100,8 @@ const commands = {
|
|
|
89
100
|
DescribeSecurityPolicyCommand,
|
|
90
101
|
DescribeServerCommand,
|
|
91
102
|
DescribeUserCommand,
|
|
103
|
+
DescribeWebAppCommand,
|
|
104
|
+
DescribeWebAppCustomizationCommand,
|
|
92
105
|
DescribeWorkflowCommand,
|
|
93
106
|
ImportCertificateCommand,
|
|
94
107
|
ImportHostKeyCommand,
|
|
@@ -105,6 +118,7 @@ const commands = {
|
|
|
105
118
|
ListServersCommand,
|
|
106
119
|
ListTagsForResourceCommand,
|
|
107
120
|
ListUsersCommand,
|
|
121
|
+
ListWebAppsCommand,
|
|
108
122
|
ListWorkflowsCommand,
|
|
109
123
|
SendWorkflowStepStateCommand,
|
|
110
124
|
StartDirectoryListingCommand,
|
|
@@ -123,6 +137,8 @@ const commands = {
|
|
|
123
137
|
UpdateProfileCommand,
|
|
124
138
|
UpdateServerCommand,
|
|
125
139
|
UpdateUserCommand,
|
|
140
|
+
UpdateWebAppCommand,
|
|
141
|
+
UpdateWebAppCustomizationCommand,
|
|
126
142
|
};
|
|
127
143
|
export class Transfer extends TransferClient {
|
|
128
144
|
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_CreateWebAppCommand, se_CreateWebAppCommand } from "../protocols/Aws_json1_1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class CreateWebAppCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("TransferService", "CreateWebApp", {})
|
|
17
|
+
.n("TransferClient", "CreateWebAppCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_CreateWebAppCommand)
|
|
20
|
+
.de(de_CreateWebAppCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_DeleteWebAppCommand, se_DeleteWebAppCommand } from "../protocols/Aws_json1_1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class DeleteWebAppCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("TransferService", "DeleteWebApp", {})
|
|
17
|
+
.n("TransferClient", "DeleteWebAppCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_DeleteWebAppCommand)
|
|
20
|
+
.de(de_DeleteWebAppCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_DeleteWebAppCustomizationCommand, se_DeleteWebAppCustomizationCommand } from "../protocols/Aws_json1_1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class DeleteWebAppCustomizationCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("TransferService", "DeleteWebAppCustomization", {})
|
|
17
|
+
.n("TransferClient", "DeleteWebAppCustomizationCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_DeleteWebAppCustomizationCommand)
|
|
20
|
+
.de(de_DeleteWebAppCustomizationCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_DescribeWebAppCommand, se_DescribeWebAppCommand } from "../protocols/Aws_json1_1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class DescribeWebAppCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("TransferService", "DescribeWebApp", {})
|
|
17
|
+
.n("TransferClient", "DescribeWebAppCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_DescribeWebAppCommand)
|
|
20
|
+
.de(de_DescribeWebAppCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { DescribeWebAppCustomizationResponseFilterSensitiveLog, } from "../models/models_0";
|
|
6
|
+
import { de_DescribeWebAppCustomizationCommand, se_DescribeWebAppCustomizationCommand } from "../protocols/Aws_json1_1";
|
|
7
|
+
export { $Command };
|
|
8
|
+
export class DescribeWebAppCustomizationCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep(commonParams)
|
|
11
|
+
.m(function (Command, cs, config, o) {
|
|
12
|
+
return [
|
|
13
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
+
];
|
|
16
|
+
})
|
|
17
|
+
.s("TransferService", "DescribeWebAppCustomization", {})
|
|
18
|
+
.n("TransferClient", "DescribeWebAppCustomizationCommand")
|
|
19
|
+
.f(void 0, DescribeWebAppCustomizationResponseFilterSensitiveLog)
|
|
20
|
+
.ser(se_DescribeWebAppCustomizationCommand)
|
|
21
|
+
.de(de_DescribeWebAppCustomizationCommand)
|
|
22
|
+
.build() {
|
|
23
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_ListWebAppsCommand, se_ListWebAppsCommand } from "../protocols/Aws_json1_1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class ListWebAppsCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("TransferService", "ListWebApps", {})
|
|
17
|
+
.n("TransferClient", "ListWebAppsCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_ListWebAppsCommand)
|
|
20
|
+
.de(de_ListWebAppsCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_UpdateWebAppCommand, se_UpdateWebAppCommand } from "../protocols/Aws_json1_1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class UpdateWebAppCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("TransferService", "UpdateWebApp", {})
|
|
17
|
+
.n("TransferClient", "UpdateWebAppCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_UpdateWebAppCommand)
|
|
20
|
+
.de(de_UpdateWebAppCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { UpdateWebAppCustomizationRequestFilterSensitiveLog, } from "../models/models_0";
|
|
6
|
+
import { de_UpdateWebAppCustomizationCommand, se_UpdateWebAppCustomizationCommand } from "../protocols/Aws_json1_1";
|
|
7
|
+
export { $Command };
|
|
8
|
+
export class UpdateWebAppCustomizationCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep(commonParams)
|
|
11
|
+
.m(function (Command, cs, config, o) {
|
|
12
|
+
return [
|
|
13
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
+
];
|
|
16
|
+
})
|
|
17
|
+
.s("TransferService", "UpdateWebAppCustomization", {})
|
|
18
|
+
.n("TransferClient", "UpdateWebAppCustomizationCommand")
|
|
19
|
+
.f(UpdateWebAppCustomizationRequestFilterSensitiveLog, void 0)
|
|
20
|
+
.ser(se_UpdateWebAppCustomizationCommand)
|
|
21
|
+
.de(de_UpdateWebAppCustomizationCommand)
|
|
22
|
+
.build() {
|
|
23
|
+
}
|
|
@@ -4,6 +4,7 @@ export * from "./CreateConnectorCommand";
|
|
|
4
4
|
export * from "./CreateProfileCommand";
|
|
5
5
|
export * from "./CreateServerCommand";
|
|
6
6
|
export * from "./CreateUserCommand";
|
|
7
|
+
export * from "./CreateWebAppCommand";
|
|
7
8
|
export * from "./CreateWorkflowCommand";
|
|
8
9
|
export * from "./DeleteAccessCommand";
|
|
9
10
|
export * from "./DeleteAgreementCommand";
|
|
@@ -14,6 +15,8 @@ export * from "./DeleteProfileCommand";
|
|
|
14
15
|
export * from "./DeleteServerCommand";
|
|
15
16
|
export * from "./DeleteSshPublicKeyCommand";
|
|
16
17
|
export * from "./DeleteUserCommand";
|
|
18
|
+
export * from "./DeleteWebAppCommand";
|
|
19
|
+
export * from "./DeleteWebAppCustomizationCommand";
|
|
17
20
|
export * from "./DeleteWorkflowCommand";
|
|
18
21
|
export * from "./DescribeAccessCommand";
|
|
19
22
|
export * from "./DescribeAgreementCommand";
|
|
@@ -25,6 +28,8 @@ export * from "./DescribeProfileCommand";
|
|
|
25
28
|
export * from "./DescribeSecurityPolicyCommand";
|
|
26
29
|
export * from "./DescribeServerCommand";
|
|
27
30
|
export * from "./DescribeUserCommand";
|
|
31
|
+
export * from "./DescribeWebAppCommand";
|
|
32
|
+
export * from "./DescribeWebAppCustomizationCommand";
|
|
28
33
|
export * from "./DescribeWorkflowCommand";
|
|
29
34
|
export * from "./ImportCertificateCommand";
|
|
30
35
|
export * from "./ImportHostKeyCommand";
|
|
@@ -41,6 +46,7 @@ export * from "./ListSecurityPoliciesCommand";
|
|
|
41
46
|
export * from "./ListServersCommand";
|
|
42
47
|
export * from "./ListTagsForResourceCommand";
|
|
43
48
|
export * from "./ListUsersCommand";
|
|
49
|
+
export * from "./ListWebAppsCommand";
|
|
44
50
|
export * from "./ListWorkflowsCommand";
|
|
45
51
|
export * from "./SendWorkflowStepStateCommand";
|
|
46
52
|
export * from "./StartDirectoryListingCommand";
|
|
@@ -59,3 +65,5 @@ export * from "./UpdateHostKeyCommand";
|
|
|
59
65
|
export * from "./UpdateProfileCommand";
|
|
60
66
|
export * from "./UpdateServerCommand";
|
|
61
67
|
export * from "./UpdateUserCommand";
|
|
68
|
+
export * from "./UpdateWebAppCommand";
|
|
69
|
+
export * from "./UpdateWebAppCustomizationCommand";
|
|
@@ -234,6 +234,22 @@ export const DirectoryListingOptimization = {
|
|
|
234
234
|
DISABLED: "DISABLED",
|
|
235
235
|
ENABLED: "ENABLED",
|
|
236
236
|
};
|
|
237
|
+
export var WebAppIdentityProviderDetails;
|
|
238
|
+
(function (WebAppIdentityProviderDetails) {
|
|
239
|
+
WebAppIdentityProviderDetails.visit = (value, visitor) => {
|
|
240
|
+
if (value.IdentityCenterConfig !== undefined)
|
|
241
|
+
return visitor.IdentityCenterConfig(value.IdentityCenterConfig);
|
|
242
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
243
|
+
};
|
|
244
|
+
})(WebAppIdentityProviderDetails || (WebAppIdentityProviderDetails = {}));
|
|
245
|
+
export var WebAppUnits;
|
|
246
|
+
(function (WebAppUnits) {
|
|
247
|
+
WebAppUnits.visit = (value, visitor) => {
|
|
248
|
+
if (value.Provisioned !== undefined)
|
|
249
|
+
return visitor.Provisioned(value.Provisioned);
|
|
250
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
251
|
+
};
|
|
252
|
+
})(WebAppUnits || (WebAppUnits = {}));
|
|
237
253
|
export const EncryptionType = {
|
|
238
254
|
PGP: "PGP",
|
|
239
255
|
};
|
|
@@ -280,6 +296,22 @@ export const State = {
|
|
|
280
296
|
STOPPING: "STOPPING",
|
|
281
297
|
STOP_FAILED: "STOP_FAILED",
|
|
282
298
|
};
|
|
299
|
+
export var DescribedWebAppIdentityProviderDetails;
|
|
300
|
+
(function (DescribedWebAppIdentityProviderDetails) {
|
|
301
|
+
DescribedWebAppIdentityProviderDetails.visit = (value, visitor) => {
|
|
302
|
+
if (value.IdentityCenterConfig !== undefined)
|
|
303
|
+
return visitor.IdentityCenterConfig(value.IdentityCenterConfig);
|
|
304
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
305
|
+
};
|
|
306
|
+
})(DescribedWebAppIdentityProviderDetails || (DescribedWebAppIdentityProviderDetails = {}));
|
|
307
|
+
export var UpdateWebAppIdentityProviderDetails;
|
|
308
|
+
(function (UpdateWebAppIdentityProviderDetails) {
|
|
309
|
+
UpdateWebAppIdentityProviderDetails.visit = (value, visitor) => {
|
|
310
|
+
if (value.IdentityCenterConfig !== undefined)
|
|
311
|
+
return visitor.IdentityCenterConfig(value.IdentityCenterConfig);
|
|
312
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
313
|
+
};
|
|
314
|
+
})(UpdateWebAppIdentityProviderDetails || (UpdateWebAppIdentityProviderDetails = {}));
|
|
283
315
|
export const DescribedCertificateFilterSensitiveLog = (obj) => ({
|
|
284
316
|
...obj,
|
|
285
317
|
...(obj.Certificate && { Certificate: SENSITIVE_STRING }),
|
|
@@ -299,6 +331,17 @@ export const CreateServerRequestFilterSensitiveLog = (obj) => ({
|
|
|
299
331
|
...obj,
|
|
300
332
|
...(obj.HostKey && { HostKey: SENSITIVE_STRING }),
|
|
301
333
|
});
|
|
334
|
+
export const DescribedWebAppCustomizationFilterSensitiveLog = (obj) => ({
|
|
335
|
+
...obj,
|
|
336
|
+
...(obj.LogoFile && { LogoFile: SENSITIVE_STRING }),
|
|
337
|
+
...(obj.FaviconFile && { FaviconFile: SENSITIVE_STRING }),
|
|
338
|
+
});
|
|
339
|
+
export const DescribeWebAppCustomizationResponseFilterSensitiveLog = (obj) => ({
|
|
340
|
+
...obj,
|
|
341
|
+
...(obj.WebAppCustomization && {
|
|
342
|
+
WebAppCustomization: DescribedWebAppCustomizationFilterSensitiveLog(obj.WebAppCustomization),
|
|
343
|
+
}),
|
|
344
|
+
});
|
|
302
345
|
export const ImportHostKeyRequestFilterSensitiveLog = (obj) => ({
|
|
303
346
|
...obj,
|
|
304
347
|
...(obj.HostKeyBody && { HostKeyBody: SENSITIVE_STRING }),
|
|
@@ -311,3 +354,8 @@ export const TestIdentityProviderRequestFilterSensitiveLog = (obj) => ({
|
|
|
311
354
|
...obj,
|
|
312
355
|
...(obj.UserPassword && { UserPassword: SENSITIVE_STRING }),
|
|
313
356
|
});
|
|
357
|
+
export const UpdateWebAppCustomizationRequestFilterSensitiveLog = (obj) => ({
|
|
358
|
+
...obj,
|
|
359
|
+
...(obj.LogoFile && { LogoFile: SENSITIVE_STRING }),
|
|
360
|
+
...(obj.FaviconFile && { FaviconFile: SENSITIVE_STRING }),
|
|
361
|
+
});
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { ListWebAppsCommand } from "../commands/ListWebAppsCommand";
|
|
3
|
+
import { TransferClient } from "../TransferClient";
|
|
4
|
+
export const paginateListWebApps = createPaginator(TransferClient, ListWebAppsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -10,4 +10,5 @@ export * from "./ListSecurityPoliciesPaginator";
|
|
|
10
10
|
export * from "./ListServersPaginator";
|
|
11
11
|
export * from "./ListTagsForResourcePaginator";
|
|
12
12
|
export * from "./ListUsersPaginator";
|
|
13
|
+
export * from "./ListWebAppsPaginator";
|
|
13
14
|
export * from "./ListWorkflowsPaginator";
|
|
@@ -39,6 +39,12 @@ export const se_CreateUserCommand = async (input, context) => {
|
|
|
39
39
|
body = JSON.stringify(_json(input));
|
|
40
40
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
41
41
|
};
|
|
42
|
+
export const se_CreateWebAppCommand = async (input, context) => {
|
|
43
|
+
const headers = sharedHeaders("CreateWebApp");
|
|
44
|
+
let body;
|
|
45
|
+
body = JSON.stringify(_json(input));
|
|
46
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
47
|
+
};
|
|
42
48
|
export const se_CreateWorkflowCommand = async (input, context) => {
|
|
43
49
|
const headers = sharedHeaders("CreateWorkflow");
|
|
44
50
|
let body;
|
|
@@ -99,6 +105,18 @@ export const se_DeleteUserCommand = async (input, context) => {
|
|
|
99
105
|
body = JSON.stringify(_json(input));
|
|
100
106
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
101
107
|
};
|
|
108
|
+
export const se_DeleteWebAppCommand = async (input, context) => {
|
|
109
|
+
const headers = sharedHeaders("DeleteWebApp");
|
|
110
|
+
let body;
|
|
111
|
+
body = JSON.stringify(_json(input));
|
|
112
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
113
|
+
};
|
|
114
|
+
export const se_DeleteWebAppCustomizationCommand = async (input, context) => {
|
|
115
|
+
const headers = sharedHeaders("DeleteWebAppCustomization");
|
|
116
|
+
let body;
|
|
117
|
+
body = JSON.stringify(_json(input));
|
|
118
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
119
|
+
};
|
|
102
120
|
export const se_DeleteWorkflowCommand = async (input, context) => {
|
|
103
121
|
const headers = sharedHeaders("DeleteWorkflow");
|
|
104
122
|
let body;
|
|
@@ -165,6 +183,18 @@ export const se_DescribeUserCommand = async (input, context) => {
|
|
|
165
183
|
body = JSON.stringify(_json(input));
|
|
166
184
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
167
185
|
};
|
|
186
|
+
export const se_DescribeWebAppCommand = async (input, context) => {
|
|
187
|
+
const headers = sharedHeaders("DescribeWebApp");
|
|
188
|
+
let body;
|
|
189
|
+
body = JSON.stringify(_json(input));
|
|
190
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
191
|
+
};
|
|
192
|
+
export const se_DescribeWebAppCustomizationCommand = async (input, context) => {
|
|
193
|
+
const headers = sharedHeaders("DescribeWebAppCustomization");
|
|
194
|
+
let body;
|
|
195
|
+
body = JSON.stringify(_json(input));
|
|
196
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
197
|
+
};
|
|
168
198
|
export const se_DescribeWorkflowCommand = async (input, context) => {
|
|
169
199
|
const headers = sharedHeaders("DescribeWorkflow");
|
|
170
200
|
let body;
|
|
@@ -261,6 +291,12 @@ export const se_ListUsersCommand = async (input, context) => {
|
|
|
261
291
|
body = JSON.stringify(_json(input));
|
|
262
292
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
263
293
|
};
|
|
294
|
+
export const se_ListWebAppsCommand = async (input, context) => {
|
|
295
|
+
const headers = sharedHeaders("ListWebApps");
|
|
296
|
+
let body;
|
|
297
|
+
body = JSON.stringify(_json(input));
|
|
298
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
299
|
+
};
|
|
264
300
|
export const se_ListWorkflowsCommand = async (input, context) => {
|
|
265
301
|
const headers = sharedHeaders("ListWorkflows");
|
|
266
302
|
let body;
|
|
@@ -369,6 +405,18 @@ export const se_UpdateUserCommand = async (input, context) => {
|
|
|
369
405
|
body = JSON.stringify(_json(input));
|
|
370
406
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
371
407
|
};
|
|
408
|
+
export const se_UpdateWebAppCommand = async (input, context) => {
|
|
409
|
+
const headers = sharedHeaders("UpdateWebApp");
|
|
410
|
+
let body;
|
|
411
|
+
body = JSON.stringify(_json(input));
|
|
412
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
413
|
+
};
|
|
414
|
+
export const se_UpdateWebAppCustomizationCommand = async (input, context) => {
|
|
415
|
+
const headers = sharedHeaders("UpdateWebAppCustomization");
|
|
416
|
+
let body;
|
|
417
|
+
body = JSON.stringify(se_UpdateWebAppCustomizationRequest(input, context));
|
|
418
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
419
|
+
};
|
|
372
420
|
export const de_CreateAccessCommand = async (output, context) => {
|
|
373
421
|
if (output.statusCode >= 300) {
|
|
374
422
|
return de_CommandError(output, context);
|
|
@@ -447,6 +495,19 @@ export const de_CreateUserCommand = async (output, context) => {
|
|
|
447
495
|
};
|
|
448
496
|
return response;
|
|
449
497
|
};
|
|
498
|
+
export const de_CreateWebAppCommand = async (output, context) => {
|
|
499
|
+
if (output.statusCode >= 300) {
|
|
500
|
+
return de_CommandError(output, context);
|
|
501
|
+
}
|
|
502
|
+
const data = await parseBody(output.body, context);
|
|
503
|
+
let contents = {};
|
|
504
|
+
contents = _json(data);
|
|
505
|
+
const response = {
|
|
506
|
+
$metadata: deserializeMetadata(output),
|
|
507
|
+
...contents,
|
|
508
|
+
};
|
|
509
|
+
return response;
|
|
510
|
+
};
|
|
450
511
|
export const de_CreateWorkflowCommand = async (output, context) => {
|
|
451
512
|
if (output.statusCode >= 300) {
|
|
452
513
|
return de_CommandError(output, context);
|
|
@@ -550,6 +611,26 @@ export const de_DeleteUserCommand = async (output, context) => {
|
|
|
550
611
|
};
|
|
551
612
|
return response;
|
|
552
613
|
};
|
|
614
|
+
export const de_DeleteWebAppCommand = async (output, context) => {
|
|
615
|
+
if (output.statusCode >= 300) {
|
|
616
|
+
return de_CommandError(output, context);
|
|
617
|
+
}
|
|
618
|
+
await collectBody(output.body, context);
|
|
619
|
+
const response = {
|
|
620
|
+
$metadata: deserializeMetadata(output),
|
|
621
|
+
};
|
|
622
|
+
return response;
|
|
623
|
+
};
|
|
624
|
+
export const de_DeleteWebAppCustomizationCommand = async (output, context) => {
|
|
625
|
+
if (output.statusCode >= 300) {
|
|
626
|
+
return de_CommandError(output, context);
|
|
627
|
+
}
|
|
628
|
+
await collectBody(output.body, context);
|
|
629
|
+
const response = {
|
|
630
|
+
$metadata: deserializeMetadata(output),
|
|
631
|
+
};
|
|
632
|
+
return response;
|
|
633
|
+
};
|
|
553
634
|
export const de_DeleteWorkflowCommand = async (output, context) => {
|
|
554
635
|
if (output.statusCode >= 300) {
|
|
555
636
|
return de_CommandError(output, context);
|
|
@@ -690,6 +771,32 @@ export const de_DescribeUserCommand = async (output, context) => {
|
|
|
690
771
|
};
|
|
691
772
|
return response;
|
|
692
773
|
};
|
|
774
|
+
export const de_DescribeWebAppCommand = async (output, context) => {
|
|
775
|
+
if (output.statusCode >= 300) {
|
|
776
|
+
return de_CommandError(output, context);
|
|
777
|
+
}
|
|
778
|
+
const data = await parseBody(output.body, context);
|
|
779
|
+
let contents = {};
|
|
780
|
+
contents = _json(data);
|
|
781
|
+
const response = {
|
|
782
|
+
$metadata: deserializeMetadata(output),
|
|
783
|
+
...contents,
|
|
784
|
+
};
|
|
785
|
+
return response;
|
|
786
|
+
};
|
|
787
|
+
export const de_DescribeWebAppCustomizationCommand = async (output, context) => {
|
|
788
|
+
if (output.statusCode >= 300) {
|
|
789
|
+
return de_CommandError(output, context);
|
|
790
|
+
}
|
|
791
|
+
const data = await parseBody(output.body, context);
|
|
792
|
+
let contents = {};
|
|
793
|
+
contents = de_DescribeWebAppCustomizationResponse(data, context);
|
|
794
|
+
const response = {
|
|
795
|
+
$metadata: deserializeMetadata(output),
|
|
796
|
+
...contents,
|
|
797
|
+
};
|
|
798
|
+
return response;
|
|
799
|
+
};
|
|
693
800
|
export const de_DescribeWorkflowCommand = async (output, context) => {
|
|
694
801
|
if (output.statusCode >= 300) {
|
|
695
802
|
return de_CommandError(output, context);
|
|
@@ -898,6 +1005,19 @@ export const de_ListUsersCommand = async (output, context) => {
|
|
|
898
1005
|
};
|
|
899
1006
|
return response;
|
|
900
1007
|
};
|
|
1008
|
+
export const de_ListWebAppsCommand = async (output, context) => {
|
|
1009
|
+
if (output.statusCode >= 300) {
|
|
1010
|
+
return de_CommandError(output, context);
|
|
1011
|
+
}
|
|
1012
|
+
const data = await parseBody(output.body, context);
|
|
1013
|
+
let contents = {};
|
|
1014
|
+
contents = _json(data);
|
|
1015
|
+
const response = {
|
|
1016
|
+
$metadata: deserializeMetadata(output),
|
|
1017
|
+
...contents,
|
|
1018
|
+
};
|
|
1019
|
+
return response;
|
|
1020
|
+
};
|
|
901
1021
|
export const de_ListWorkflowsCommand = async (output, context) => {
|
|
902
1022
|
if (output.statusCode >= 300) {
|
|
903
1023
|
return de_CommandError(output, context);
|
|
@@ -1120,6 +1240,32 @@ export const de_UpdateUserCommand = async (output, context) => {
|
|
|
1120
1240
|
};
|
|
1121
1241
|
return response;
|
|
1122
1242
|
};
|
|
1243
|
+
export const de_UpdateWebAppCommand = async (output, context) => {
|
|
1244
|
+
if (output.statusCode >= 300) {
|
|
1245
|
+
return de_CommandError(output, context);
|
|
1246
|
+
}
|
|
1247
|
+
const data = await parseBody(output.body, context);
|
|
1248
|
+
let contents = {};
|
|
1249
|
+
contents = _json(data);
|
|
1250
|
+
const response = {
|
|
1251
|
+
$metadata: deserializeMetadata(output),
|
|
1252
|
+
...contents,
|
|
1253
|
+
};
|
|
1254
|
+
return response;
|
|
1255
|
+
};
|
|
1256
|
+
export const de_UpdateWebAppCustomizationCommand = async (output, context) => {
|
|
1257
|
+
if (output.statusCode >= 300) {
|
|
1258
|
+
return de_CommandError(output, context);
|
|
1259
|
+
}
|
|
1260
|
+
const data = await parseBody(output.body, context);
|
|
1261
|
+
let contents = {};
|
|
1262
|
+
contents = _json(data);
|
|
1263
|
+
const response = {
|
|
1264
|
+
$metadata: deserializeMetadata(output),
|
|
1265
|
+
...contents,
|
|
1266
|
+
};
|
|
1267
|
+
return response;
|
|
1268
|
+
};
|
|
1123
1269
|
const de_CommandError = async (output, context) => {
|
|
1124
1270
|
const parsedOutput = {
|
|
1125
1271
|
...output,
|
|
@@ -1148,12 +1294,12 @@ const de_CommandError = async (output, context) => {
|
|
|
1148
1294
|
case "AccessDeniedException":
|
|
1149
1295
|
case "com.amazonaws.transfer#AccessDeniedException":
|
|
1150
1296
|
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1151
|
-
case "InvalidNextTokenException":
|
|
1152
|
-
case "com.amazonaws.transfer#InvalidNextTokenException":
|
|
1153
|
-
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
1154
1297
|
case "ConflictException":
|
|
1155
1298
|
case "com.amazonaws.transfer#ConflictException":
|
|
1156
1299
|
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1300
|
+
case "InvalidNextTokenException":
|
|
1301
|
+
case "com.amazonaws.transfer#InvalidNextTokenException":
|
|
1302
|
+
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
1157
1303
|
default:
|
|
1158
1304
|
const parsedBody = parsedOutput.body;
|
|
1159
1305
|
return throwDefaultError({
|
|
@@ -1264,6 +1410,14 @@ const se_UpdateCertificateRequest = (input, context) => {
|
|
|
1264
1410
|
InactiveDate: (_) => _.getTime() / 1000,
|
|
1265
1411
|
});
|
|
1266
1412
|
};
|
|
1413
|
+
const se_UpdateWebAppCustomizationRequest = (input, context) => {
|
|
1414
|
+
return take(input, {
|
|
1415
|
+
FaviconFile: context.base64Encoder,
|
|
1416
|
+
LogoFile: context.base64Encoder,
|
|
1417
|
+
Title: [],
|
|
1418
|
+
WebAppId: [],
|
|
1419
|
+
});
|
|
1420
|
+
};
|
|
1267
1421
|
const de_DescribeCertificateResponse = (output, context) => {
|
|
1268
1422
|
return take(output, {
|
|
1269
1423
|
Certificate: (_) => de_DescribedCertificate(_, context),
|
|
@@ -1312,6 +1466,15 @@ const de_DescribedUser = (output, context) => {
|
|
|
1312
1466
|
UserName: __expectString,
|
|
1313
1467
|
});
|
|
1314
1468
|
};
|
|
1469
|
+
const de_DescribedWebAppCustomization = (output, context) => {
|
|
1470
|
+
return take(output, {
|
|
1471
|
+
Arn: __expectString,
|
|
1472
|
+
FaviconFile: context.base64Decoder,
|
|
1473
|
+
LogoFile: context.base64Decoder,
|
|
1474
|
+
Title: __expectString,
|
|
1475
|
+
WebAppId: __expectString,
|
|
1476
|
+
});
|
|
1477
|
+
};
|
|
1315
1478
|
const de_DescribeHostKeyResponse = (output, context) => {
|
|
1316
1479
|
return take(output, {
|
|
1317
1480
|
HostKey: (_) => de_DescribedHostKey(_, context),
|
|
@@ -1323,6 +1486,11 @@ const de_DescribeUserResponse = (output, context) => {
|
|
|
1323
1486
|
User: (_) => de_DescribedUser(_, context),
|
|
1324
1487
|
});
|
|
1325
1488
|
};
|
|
1489
|
+
const de_DescribeWebAppCustomizationResponse = (output, context) => {
|
|
1490
|
+
return take(output, {
|
|
1491
|
+
WebAppCustomization: (_) => de_DescribedWebAppCustomization(_, context),
|
|
1492
|
+
});
|
|
1493
|
+
};
|
|
1326
1494
|
const de_ListCertificatesResponse = (output, context) => {
|
|
1327
1495
|
return take(output, {
|
|
1328
1496
|
Certificates: (_) => de_ListedCertificates(_, context),
|