@aws-sdk/client-serverlessapplicationrepository 3.477.0 → 3.481.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/dist-cjs/commands/CreateApplicationCommand.js +18 -41
- package/dist-cjs/commands/CreateApplicationVersionCommand.js +18 -41
- package/dist-cjs/commands/CreateCloudFormationChangeSetCommand.js +18 -41
- package/dist-cjs/commands/CreateCloudFormationTemplateCommand.js +18 -41
- package/dist-cjs/commands/DeleteApplicationCommand.js +18 -41
- package/dist-cjs/commands/GetApplicationCommand.js +18 -41
- package/dist-cjs/commands/GetApplicationPolicyCommand.js +18 -41
- package/dist-cjs/commands/GetCloudFormationTemplateCommand.js +18 -41
- package/dist-cjs/commands/ListApplicationDependenciesCommand.js +18 -41
- package/dist-cjs/commands/ListApplicationVersionsCommand.js +18 -41
- package/dist-cjs/commands/ListApplicationsCommand.js +18 -41
- package/dist-cjs/commands/PutApplicationPolicyCommand.js +18 -41
- package/dist-cjs/commands/UnshareApplicationCommand.js +18 -41
- package/dist-cjs/commands/UpdateApplicationCommand.js +18 -41
- package/dist-cjs/endpoint/EndpointParameters.js +7 -1
- package/dist-cjs/pagination/ListApplicationDependenciesPaginator.js +2 -24
- package/dist-cjs/pagination/ListApplicationVersionsPaginator.js +2 -24
- package/dist-cjs/pagination/ListApplicationsPaginator.js +2 -24
- package/dist-es/commands/CreateApplicationCommand.js +18 -41
- package/dist-es/commands/CreateApplicationVersionCommand.js +18 -41
- package/dist-es/commands/CreateCloudFormationChangeSetCommand.js +18 -41
- package/dist-es/commands/CreateCloudFormationTemplateCommand.js +18 -41
- package/dist-es/commands/DeleteApplicationCommand.js +18 -41
- package/dist-es/commands/GetApplicationCommand.js +18 -41
- package/dist-es/commands/GetApplicationPolicyCommand.js +18 -41
- package/dist-es/commands/GetCloudFormationTemplateCommand.js +18 -41
- package/dist-es/commands/ListApplicationDependenciesCommand.js +18 -41
- package/dist-es/commands/ListApplicationVersionsCommand.js +18 -41
- package/dist-es/commands/ListApplicationsCommand.js +18 -41
- package/dist-es/commands/PutApplicationPolicyCommand.js +18 -41
- package/dist-es/commands/UnshareApplicationCommand.js +18 -41
- package/dist-es/commands/UpdateApplicationCommand.js +18 -41
- package/dist-es/endpoint/EndpointParameters.js +6 -0
- package/dist-es/pagination/ListApplicationDependenciesPaginator.js +2 -23
- package/dist-es/pagination/ListApplicationVersionsPaginator.js +2 -23
- package/dist-es/pagination/ListApplicationsPaginator.js +2 -23
- package/dist-types/commands/CreateApplicationCommand.d.ts +6 -21
- package/dist-types/commands/CreateApplicationVersionCommand.d.ts +6 -21
- package/dist-types/commands/CreateCloudFormationChangeSetCommand.d.ts +6 -21
- package/dist-types/commands/CreateCloudFormationTemplateCommand.d.ts +6 -21
- package/dist-types/commands/DeleteApplicationCommand.d.ts +6 -21
- package/dist-types/commands/GetApplicationCommand.d.ts +6 -21
- package/dist-types/commands/GetApplicationPolicyCommand.d.ts +6 -21
- package/dist-types/commands/GetCloudFormationTemplateCommand.d.ts +6 -21
- package/dist-types/commands/ListApplicationDependenciesCommand.d.ts +6 -21
- package/dist-types/commands/ListApplicationVersionsCommand.d.ts +6 -21
- package/dist-types/commands/ListApplicationsCommand.d.ts +6 -21
- package/dist-types/commands/PutApplicationPolicyCommand.d.ts +6 -21
- package/dist-types/commands/UnshareApplicationCommand.d.ts +6 -21
- package/dist-types/commands/UpdateApplicationCommand.d.ts +6 -21
- package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/pagination/ListApplicationDependenciesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListApplicationVersionsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListApplicationsPaginator.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateApplicationCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateApplicationVersionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateCloudFormationChangeSetCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateCloudFormationTemplateCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteApplicationCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetApplicationCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetApplicationPolicyCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetCloudFormationTemplateCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListApplicationDependenciesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListApplicationVersionsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListApplicationsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/PutApplicationPolicyCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UnshareApplicationCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateApplicationCommand.d.ts +14 -23
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/ts3.4/pagination/ListApplicationDependenciesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListApplicationVersionsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListApplicationsPaginator.d.ts +3 -3
- package/package.json +11 -11
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
-
class ListApplicationVersionsCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "ServerlessApplicationRepositoryClient";
|
|
29
|
-
const commandName = "ListApplicationVersionsCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "ServerlessApplicationRepository",
|
|
38
|
-
operation: "ListApplicationVersions",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_restJson1_1.se_ListApplicationVersionsCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_restJson1_1.de_ListApplicationVersionsCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class ListApplicationVersionsCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("ServerlessApplicationRepository", "ListApplicationVersions", {})
|
|
22
|
+
.n("ServerlessApplicationRepositoryClient", "ListApplicationVersionsCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_restJson1_1.se_ListApplicationVersionsCommand)
|
|
25
|
+
.de(Aws_restJson1_1.de_ListApplicationVersionsCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.ListApplicationVersionsCommand = ListApplicationVersionsCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
-
class ListApplicationsCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "ServerlessApplicationRepositoryClient";
|
|
29
|
-
const commandName = "ListApplicationsCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "ServerlessApplicationRepository",
|
|
38
|
-
operation: "ListApplications",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_restJson1_1.se_ListApplicationsCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_restJson1_1.de_ListApplicationsCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class ListApplicationsCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("ServerlessApplicationRepository", "ListApplications", {})
|
|
22
|
+
.n("ServerlessApplicationRepositoryClient", "ListApplicationsCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_restJson1_1.se_ListApplicationsCommand)
|
|
25
|
+
.de(Aws_restJson1_1.de_ListApplicationsCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.ListApplicationsCommand = ListApplicationsCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
-
class PutApplicationPolicyCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "ServerlessApplicationRepositoryClient";
|
|
29
|
-
const commandName = "PutApplicationPolicyCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "ServerlessApplicationRepository",
|
|
38
|
-
operation: "PutApplicationPolicy",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_restJson1_1.se_PutApplicationPolicyCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_restJson1_1.de_PutApplicationPolicyCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class PutApplicationPolicyCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("ServerlessApplicationRepository", "PutApplicationPolicy", {})
|
|
22
|
+
.n("ServerlessApplicationRepositoryClient", "PutApplicationPolicyCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_restJson1_1.se_PutApplicationPolicyCommand)
|
|
25
|
+
.de(Aws_restJson1_1.de_PutApplicationPolicyCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.PutApplicationPolicyCommand = PutApplicationPolicyCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
-
class UnshareApplicationCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "ServerlessApplicationRepositoryClient";
|
|
29
|
-
const commandName = "UnshareApplicationCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "ServerlessApplicationRepository",
|
|
38
|
-
operation: "UnshareApplication",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_restJson1_1.se_UnshareApplicationCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_restJson1_1.de_UnshareApplicationCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class UnshareApplicationCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("ServerlessApplicationRepository", "UnshareApplication", {})
|
|
22
|
+
.n("ServerlessApplicationRepositoryClient", "UnshareApplicationCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_restJson1_1.se_UnshareApplicationCommand)
|
|
25
|
+
.de(Aws_restJson1_1.de_UnshareApplicationCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.UnshareApplicationCommand = UnshareApplicationCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
-
class UpdateApplicationCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "ServerlessApplicationRepositoryClient";
|
|
29
|
-
const commandName = "UpdateApplicationCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "ServerlessApplicationRepository",
|
|
38
|
-
operation: "UpdateApplication",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_restJson1_1.se_UpdateApplicationCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_restJson1_1.de_UpdateApplicationCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class UpdateApplicationCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("ServerlessApplicationRepository", "UpdateApplication", {})
|
|
22
|
+
.n("ServerlessApplicationRepositoryClient", "UpdateApplicationCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_restJson1_1.se_UpdateApplicationCommand)
|
|
25
|
+
.de(Aws_restJson1_1.de_UpdateApplicationCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.UpdateApplicationCommand = UpdateApplicationCommand;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.resolveClientEndpointParameters = void 0;
|
|
3
|
+
exports.commonParams = exports.resolveClientEndpointParameters = void 0;
|
|
4
4
|
const resolveClientEndpointParameters = (options) => {
|
|
5
5
|
return {
|
|
6
6
|
...options,
|
|
@@ -10,3 +10,9 @@ const resolveClientEndpointParameters = (options) => {
|
|
|
10
10
|
};
|
|
11
11
|
};
|
|
12
12
|
exports.resolveClientEndpointParameters = resolveClientEndpointParameters;
|
|
13
|
+
exports.commonParams = {
|
|
14
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
15
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
16
|
+
Region: { type: "builtInParams", name: "region" },
|
|
17
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
18
|
+
};
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListApplicationDependencies = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListApplicationDependenciesCommand_1 = require("../commands/ListApplicationDependenciesCommand");
|
|
5
6
|
const ServerlessApplicationRepositoryClient_1 = require("../ServerlessApplicationRepositoryClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListApplicationDependenciesCommand_1.ListApplicationDependenciesCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListApplicationDependencies(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxItems"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof ServerlessApplicationRepositoryClient_1.ServerlessApplicationRepositoryClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected ServerlessApplicationRepository | ServerlessApplicationRepositoryClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListApplicationDependencies = paginateListApplicationDependencies;
|
|
7
|
+
exports.paginateListApplicationDependencies = (0, core_1.createPaginator)(ServerlessApplicationRepositoryClient_1.ServerlessApplicationRepositoryClient, ListApplicationDependenciesCommand_1.ListApplicationDependenciesCommand, "NextToken", "NextToken", "MaxItems");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListApplicationVersions = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListApplicationVersionsCommand_1 = require("../commands/ListApplicationVersionsCommand");
|
|
5
6
|
const ServerlessApplicationRepositoryClient_1 = require("../ServerlessApplicationRepositoryClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListApplicationVersionsCommand_1.ListApplicationVersionsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListApplicationVersions(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxItems"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof ServerlessApplicationRepositoryClient_1.ServerlessApplicationRepositoryClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected ServerlessApplicationRepository | ServerlessApplicationRepositoryClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListApplicationVersions = paginateListApplicationVersions;
|
|
7
|
+
exports.paginateListApplicationVersions = (0, core_1.createPaginator)(ServerlessApplicationRepositoryClient_1.ServerlessApplicationRepositoryClient, ListApplicationVersionsCommand_1.ListApplicationVersionsCommand, "NextToken", "NextToken", "MaxItems");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListApplications = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListApplicationsCommand_1 = require("../commands/ListApplicationsCommand");
|
|
5
6
|
const ServerlessApplicationRepositoryClient_1 = require("../ServerlessApplicationRepositoryClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListApplicationsCommand_1.ListApplicationsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListApplications(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxItems"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof ServerlessApplicationRepositoryClient_1.ServerlessApplicationRepositoryClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected ServerlessApplicationRepository | ServerlessApplicationRepositoryClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListApplications = paginateListApplications;
|
|
7
|
+
exports.paginateListApplications = (0, core_1.createPaginator)(ServerlessApplicationRepositoryClient_1.ServerlessApplicationRepositoryClient, ListApplicationsCommand_1.ListApplicationsCommand, "NextToken", "NextToken", "MaxItems");
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_CreateApplicationCommand, se_CreateApplicationCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class CreateApplicationCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "ServerlessApplicationRepositoryClient";
|
|
26
|
-
const commandName = "CreateApplicationCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "ServerlessApplicationRepository",
|
|
35
|
-
operation: "CreateApplication",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_CreateApplicationCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_CreateApplicationCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class CreateApplicationCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("ServerlessApplicationRepository", "CreateApplication", {})
|
|
19
|
+
.n("ServerlessApplicationRepositoryClient", "CreateApplicationCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_CreateApplicationCommand)
|
|
22
|
+
.de(de_CreateApplicationCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_CreateApplicationVersionCommand, se_CreateApplicationVersionCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class CreateApplicationVersionCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "ServerlessApplicationRepositoryClient";
|
|
26
|
-
const commandName = "CreateApplicationVersionCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "ServerlessApplicationRepository",
|
|
35
|
-
operation: "CreateApplicationVersion",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_CreateApplicationVersionCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_CreateApplicationVersionCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class CreateApplicationVersionCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("ServerlessApplicationRepository", "CreateApplicationVersion", {})
|
|
19
|
+
.n("ServerlessApplicationRepositoryClient", "CreateApplicationVersionCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_CreateApplicationVersionCommand)
|
|
22
|
+
.de(de_CreateApplicationVersionCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|