@aws-sdk/client-serverlessapplicationrepository 3.33.0 → 3.36.1
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/CHANGELOG.md +47 -0
- package/{dist/cjs → dist-cjs}/ServerlessApplicationRepository.js +2 -25
- package/dist-cjs/ServerlessApplicationRepositoryClient.js +35 -0
- package/{dist/cjs → dist-cjs}/commands/CreateApplicationCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/CreateApplicationVersionCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/CreateCloudFormationChangeSetCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/CreateCloudFormationTemplateCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DeleteApplicationCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/GetApplicationCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/GetApplicationPolicyCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/GetCloudFormationTemplateCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ListApplicationDependenciesCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ListApplicationVersionsCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ListApplicationsCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/PutApplicationPolicyCommand.js +2 -30
- package/{dist/cjs → dist-cjs}/commands/UnshareApplicationCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/UpdateApplicationCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/endpoints.js +0 -1
- package/{dist/cjs → dist-cjs}/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/models_0.js +0 -127
- package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -1
- package/{dist/cjs → dist-cjs}/pagination/ListApplicationDependenciesPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/ListApplicationVersionsPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/ListApplicationsPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/protocols/Aws_restJson1.js +2 -8
- package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +1 -5
- package/{dist/cjs → dist-cjs}/runtimeConfig.js +1 -5
- package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -4
- package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -5
- package/{dist/es → dist-es}/ServerlessApplicationRepository.js +3 -26
- package/dist-es/ServerlessApplicationRepositoryClient.js +37 -0
- package/{dist/es → dist-es}/commands/CreateApplicationCommand.js +4 -30
- package/{dist/es → dist-es}/commands/CreateApplicationVersionCommand.js +4 -30
- package/{dist/es → dist-es}/commands/CreateCloudFormationChangeSetCommand.js +4 -30
- package/{dist/es → dist-es}/commands/CreateCloudFormationTemplateCommand.js +4 -30
- package/{dist/es → dist-es}/commands/DeleteApplicationCommand.js +4 -30
- package/{dist/es → dist-es}/commands/GetApplicationCommand.js +4 -30
- package/{dist/es → dist-es}/commands/GetApplicationPolicyCommand.js +4 -30
- package/{dist/es → dist-es}/commands/GetCloudFormationTemplateCommand.js +4 -30
- package/{dist/es → dist-es}/commands/ListApplicationDependenciesCommand.js +4 -30
- package/{dist/es → dist-es}/commands/ListApplicationVersionsCommand.js +4 -30
- package/{dist/es → dist-es}/commands/ListApplicationsCommand.js +4 -30
- package/{dist/es → dist-es}/commands/PutApplicationPolicyCommand.js +4 -33
- package/{dist/es → dist-es}/commands/UnshareApplicationCommand.js +4 -30
- package/{dist/es → dist-es}/commands/UpdateApplicationCommand.js +4 -30
- package/{dist/es → dist-es}/endpoints.js +1 -2
- package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
- package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
- package/{dist/es → dist-es}/models/models_0.js +0 -127
- package/dist-es/pagination/Interfaces.js +1 -0
- package/{dist/es → dist-es}/pagination/ListApplicationDependenciesPaginator.js +17 -30
- package/{dist/es → dist-es}/pagination/ListApplicationVersionsPaginator.js +17 -30
- package/{dist/es → dist-es}/pagination/ListApplicationsPaginator.js +17 -30
- package/{dist/es → dist-es}/protocols/Aws_restJson1.js +412 -418
- package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -5
- package/{dist/es → dist-es}/runtimeConfig.js +1 -5
- package/{dist/es → dist-es}/runtimeConfig.native.js +0 -4
- package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -5
- package/{dist/types → dist-types}/ServerlessApplicationRepository.d.ts +3 -3
- package/{dist/types → dist-types}/ServerlessApplicationRepositoryClient.d.ts +9 -9
- package/{dist/types → dist-types}/commands/CreateApplicationCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/CreateApplicationVersionCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/CreateCloudFormationChangeSetCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/CreateCloudFormationTemplateCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/DeleteApplicationCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/GetApplicationCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/GetApplicationPolicyCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/GetCloudFormationTemplateCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/ListApplicationDependenciesCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/ListApplicationVersionsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/ListApplicationsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/PutApplicationPolicyCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/UnshareApplicationCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/UpdateApplicationCommand.d.ts +3 -3
- package/{dist/types → dist-types}/endpoints.d.ts +0 -0
- package/{index.ts → dist-types/index.d.ts} +0 -0
- package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
- package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
- package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListApplicationDependenciesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListApplicationVersionsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListApplicationsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/protocols/Aws_restJson1.d.ts +3 -3
- package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +0 -0
- package/{dist/types → dist-types}/runtimeConfig.d.ts +1 -1
- package/{dist/types → dist-types}/runtimeConfig.native.d.ts +0 -0
- package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/ServerlessApplicationRepository.d.ts +18 -70
- package/{dist/types → dist-types}/ts3.4/ServerlessApplicationRepositoryClient.d.ts +33 -117
- package/dist-types/ts3.4/commands/CreateApplicationCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/CreateApplicationVersionCommand.d.ts +5 -23
- package/{dist/types → dist-types}/ts3.4/commands/CreateCloudFormationChangeSetCommand.d.ts +5 -23
- package/{dist/types → dist-types}/ts3.4/commands/CreateCloudFormationTemplateCommand.d.ts +5 -23
- package/dist-types/ts3.4/commands/DeleteApplicationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetApplicationCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/GetApplicationPolicyCommand.d.ts +5 -23
- package/{dist/types → dist-types}/ts3.4/commands/GetCloudFormationTemplateCommand.d.ts +5 -23
- package/{dist/types → dist-types}/ts3.4/commands/ListApplicationDependenciesCommand.d.ts +5 -23
- package/{dist/types → dist-types}/ts3.4/commands/ListApplicationVersionsCommand.d.ts +5 -23
- package/dist-types/ts3.4/commands/ListApplicationsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutApplicationPolicyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UnshareApplicationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateApplicationCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
- package/dist-types/ts3.4/models/models_0.d.ts +684 -0
- package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListApplicationDependenciesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListApplicationVersionsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListApplicationsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/protocols/Aws_restJson1.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.d.ts +2 -4
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/package.json +52 -49
- package/ServerlessApplicationRepository.ts +0 -547
- package/ServerlessApplicationRepositoryClient.ts +0 -321
- package/commands/CreateApplicationCommand.ts +0 -98
- package/commands/CreateApplicationVersionCommand.ts +0 -98
- package/commands/CreateCloudFormationChangeSetCommand.ts +0 -103
- package/commands/CreateCloudFormationTemplateCommand.ts +0 -103
- package/commands/DeleteApplicationCommand.ts +0 -98
- package/commands/GetApplicationCommand.ts +0 -98
- package/commands/GetApplicationPolicyCommand.ts +0 -98
- package/commands/GetCloudFormationTemplateCommand.ts +0 -101
- package/commands/ListApplicationDependenciesCommand.ts +0 -103
- package/commands/ListApplicationVersionsCommand.ts +0 -98
- package/commands/ListApplicationsCommand.ts +0 -98
- package/commands/PutApplicationPolicyCommand.ts +0 -101
- package/commands/UnshareApplicationCommand.ts +0 -98
- package/commands/UpdateApplicationCommand.ts +0 -98
- package/dist/cjs/ServerlessApplicationRepository.js.map +0 -1
- package/dist/cjs/ServerlessApplicationRepositoryClient.js +0 -63
- package/dist/cjs/ServerlessApplicationRepositoryClient.js.map +0 -1
- package/dist/cjs/commands/CreateApplicationCommand.js.map +0 -1
- package/dist/cjs/commands/CreateApplicationVersionCommand.js.map +0 -1
- package/dist/cjs/commands/CreateCloudFormationChangeSetCommand.js.map +0 -1
- package/dist/cjs/commands/CreateCloudFormationTemplateCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteApplicationCommand.js.map +0 -1
- package/dist/cjs/commands/GetApplicationCommand.js.map +0 -1
- package/dist/cjs/commands/GetApplicationPolicyCommand.js.map +0 -1
- package/dist/cjs/commands/GetCloudFormationTemplateCommand.js.map +0 -1
- package/dist/cjs/commands/ListApplicationDependenciesCommand.js.map +0 -1
- package/dist/cjs/commands/ListApplicationVersionsCommand.js.map +0 -1
- package/dist/cjs/commands/ListApplicationsCommand.js.map +0 -1
- package/dist/cjs/commands/PutApplicationPolicyCommand.js.map +0 -1
- package/dist/cjs/commands/UnshareApplicationCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateApplicationCommand.js.map +0 -1
- package/dist/cjs/endpoints.js.map +0 -1
- package/dist/cjs/index.js.map +0 -1
- package/dist/cjs/models/index.js.map +0 -1
- package/dist/cjs/models/models_0.js.map +0 -1
- package/dist/cjs/package.json +0 -91
- package/dist/cjs/pagination/Interfaces.js.map +0 -1
- package/dist/cjs/pagination/ListApplicationDependenciesPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListApplicationVersionsPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListApplicationsPaginator.js.map +0 -1
- package/dist/cjs/protocols/Aws_restJson1.js.map +0 -1
- package/dist/cjs/runtimeConfig.browser.js.map +0 -1
- package/dist/cjs/runtimeConfig.js.map +0 -1
- package/dist/cjs/runtimeConfig.native.js.map +0 -1
- package/dist/cjs/runtimeConfig.shared.js.map +0 -1
- package/dist/es/ServerlessApplicationRepository.js.map +0 -1
- package/dist/es/ServerlessApplicationRepositoryClient.js +0 -65
- package/dist/es/ServerlessApplicationRepositoryClient.js.map +0 -1
- package/dist/es/commands/CreateApplicationCommand.js.map +0 -1
- package/dist/es/commands/CreateApplicationVersionCommand.js.map +0 -1
- package/dist/es/commands/CreateCloudFormationChangeSetCommand.js.map +0 -1
- package/dist/es/commands/CreateCloudFormationTemplateCommand.js.map +0 -1
- package/dist/es/commands/DeleteApplicationCommand.js.map +0 -1
- package/dist/es/commands/GetApplicationCommand.js.map +0 -1
- package/dist/es/commands/GetApplicationPolicyCommand.js.map +0 -1
- package/dist/es/commands/GetCloudFormationTemplateCommand.js.map +0 -1
- package/dist/es/commands/ListApplicationDependenciesCommand.js.map +0 -1
- package/dist/es/commands/ListApplicationVersionsCommand.js.map +0 -1
- package/dist/es/commands/ListApplicationsCommand.js.map +0 -1
- package/dist/es/commands/PutApplicationPolicyCommand.js.map +0 -1
- package/dist/es/commands/UnshareApplicationCommand.js.map +0 -1
- package/dist/es/commands/UpdateApplicationCommand.js.map +0 -1
- package/dist/es/endpoints.js.map +0 -1
- package/dist/es/index.js +0 -22
- package/dist/es/index.js.map +0 -1
- package/dist/es/models/index.js +0 -2
- package/dist/es/models/index.js.map +0 -1
- package/dist/es/models/models_0.js.map +0 -1
- package/dist/es/package.json +0 -91
- package/dist/es/pagination/Interfaces.js +0 -2
- package/dist/es/pagination/Interfaces.js.map +0 -1
- package/dist/es/pagination/ListApplicationDependenciesPaginator.js.map +0 -1
- package/dist/es/pagination/ListApplicationVersionsPaginator.js.map +0 -1
- package/dist/es/pagination/ListApplicationsPaginator.js.map +0 -1
- package/dist/es/protocols/Aws_restJson1.js.map +0 -1
- package/dist/es/runtimeConfig.browser.js.map +0 -1
- package/dist/es/runtimeConfig.js.map +0 -1
- package/dist/es/runtimeConfig.native.js.map +0 -1
- package/dist/es/runtimeConfig.shared.js.map +0 -1
- package/dist/types/ts3.4/commands/CreateApplicationCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/DeleteApplicationCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/GetApplicationCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/ListApplicationsCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/PutApplicationPolicyCommand.d.ts +0 -38
- package/dist/types/ts3.4/commands/UnshareApplicationCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/UpdateApplicationCommand.d.ts +0 -35
- package/dist/types/ts3.4/models/models_0.d.ts +0 -1325
- package/endpoints.ts +0 -66
- package/jest.config.js +0 -4
- package/models/models_0.ts +0 -1649
- package/pagination/Interfaces.ts +0 -7
- package/pagination/ListApplicationDependenciesPaginator.ts +0 -60
- package/pagination/ListApplicationVersionsPaginator.ts +0 -60
- package/pagination/ListApplicationsPaginator.ts +0 -60
- package/protocols/Aws_restJson1.ts +0 -2545
- package/runtimeConfig.browser.ts +0 -40
- package/runtimeConfig.native.ts +0 -16
- package/runtimeConfig.shared.ts +0 -16
- package/runtimeConfig.ts +0 -45
- package/tsconfig.es.json +0 -12
- package/tsconfig.json +0 -32
|
@@ -1,25 +1,16 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListApplications = void 0;
|
|
4
|
+
const ListApplicationsCommand_1 = require("../commands/ListApplicationsCommand");
|
|
4
5
|
const ServerlessApplicationRepository_1 = require("../ServerlessApplicationRepository");
|
|
5
6
|
const ServerlessApplicationRepositoryClient_1 = require("../ServerlessApplicationRepositoryClient");
|
|
6
|
-
const ListApplicationsCommand_1 = require("../commands/ListApplicationsCommand");
|
|
7
|
-
/**
|
|
8
|
-
* @private
|
|
9
|
-
*/
|
|
10
7
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
11
|
-
// @ts-ignore
|
|
12
8
|
return await client.send(new ListApplicationsCommand_1.ListApplicationsCommand(input), ...args);
|
|
13
9
|
};
|
|
14
|
-
/**
|
|
15
|
-
* @private
|
|
16
|
-
*/
|
|
17
10
|
const makePagedRequest = async (client, input, ...args) => {
|
|
18
|
-
// @ts-ignore
|
|
19
11
|
return await client.listApplications(input, ...args);
|
|
20
12
|
};
|
|
21
13
|
async function* paginateListApplications(config, input, ...additionalArguments) {
|
|
22
|
-
// ToDo: replace with actual type instead of typeof input.NextToken
|
|
23
14
|
let token = config.startingToken || undefined;
|
|
24
15
|
let hasNext = true;
|
|
25
16
|
let page;
|
|
@@ -39,8 +30,6 @@ async function* paginateListApplications(config, input, ...additionalArguments)
|
|
|
39
30
|
token = page.NextToken;
|
|
40
31
|
hasNext = !!token;
|
|
41
32
|
}
|
|
42
|
-
// @ts-ignore
|
|
43
33
|
return undefined;
|
|
44
34
|
}
|
|
45
35
|
exports.paginateListApplications = paginateListApplications;
|
|
46
|
-
//# sourceMappingURL=ListApplicationsPaginator.js.map
|
|
@@ -8,7 +8,7 @@ const serializeAws_restJson1CreateApplicationCommand = async (input, context) =>
|
|
|
8
8
|
const headers = {
|
|
9
9
|
"content-type": "application/json",
|
|
10
10
|
};
|
|
11
|
-
|
|
11
|
+
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/applications";
|
|
12
12
|
let body;
|
|
13
13
|
body = JSON.stringify({
|
|
14
14
|
...(input.Author !== undefined && input.Author !== null && { author: input.Author }),
|
|
@@ -333,7 +333,7 @@ exports.serializeAws_restJson1ListApplicationDependenciesCommand = serializeAws_
|
|
|
333
333
|
const serializeAws_restJson1ListApplicationsCommand = async (input, context) => {
|
|
334
334
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
335
335
|
const headers = {};
|
|
336
|
-
|
|
336
|
+
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/applications";
|
|
337
337
|
const query = {
|
|
338
338
|
...(input.MaxItems !== undefined && { maxItems: input.MaxItems.toString() }),
|
|
339
339
|
...(input.NextToken !== undefined && { nextToken: input.NextToken }),
|
|
@@ -2197,14 +2197,12 @@ const deserializeMetadata = (output) => {
|
|
|
2197
2197
|
cfId: output.headers["x-amz-cf-id"],
|
|
2198
2198
|
});
|
|
2199
2199
|
};
|
|
2200
|
-
// Collect low-level response body stream to Uint8Array.
|
|
2201
2200
|
const collectBody = (streamBody = new Uint8Array(), context) => {
|
|
2202
2201
|
if (streamBody instanceof Uint8Array) {
|
|
2203
2202
|
return Promise.resolve(streamBody);
|
|
2204
2203
|
}
|
|
2205
2204
|
return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
|
|
2206
2205
|
};
|
|
2207
|
-
// Encode Uint8Array data into string with utf-8.
|
|
2208
2206
|
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
2209
2207
|
const isSerializableHeaderValue = (value) => value !== undefined &&
|
|
2210
2208
|
value !== null &&
|
|
@@ -2217,9 +2215,6 @@ const parseBody = (streamBody, context) => collectBodyString(streamBody, context
|
|
|
2217
2215
|
}
|
|
2218
2216
|
return {};
|
|
2219
2217
|
});
|
|
2220
|
-
/**
|
|
2221
|
-
* Load an error code for the aws.rest-json-1.1 protocol.
|
|
2222
|
-
*/
|
|
2223
2218
|
const loadRestJsonErrorCode = (output, data) => {
|
|
2224
2219
|
const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase());
|
|
2225
2220
|
const sanitizeErrorCode = (rawValue) => {
|
|
@@ -2244,4 +2239,3 @@ const loadRestJsonErrorCode = (output, data) => {
|
|
|
2244
2239
|
}
|
|
2245
2240
|
return "";
|
|
2246
2241
|
};
|
|
2247
|
-
//# sourceMappingURL=Aws_restJson1.js.map
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
const package_json_1 = tslib_1.__importDefault(require("
|
|
5
|
+
const package_json_1 = tslib_1.__importDefault(require("../package.json"));
|
|
6
6
|
const sha256_browser_1 = require("@aws-crypto/sha256-browser");
|
|
7
7
|
const fetch_http_handler_1 = require("@aws-sdk/fetch-http-handler");
|
|
8
8
|
const invalid_dependency_1 = require("@aws-sdk/invalid-dependency");
|
|
@@ -12,9 +12,6 @@ const util_body_length_browser_1 = require("@aws-sdk/util-body-length-browser");
|
|
|
12
12
|
const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
|
|
13
13
|
const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
|
|
14
14
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
15
|
-
/**
|
|
16
|
-
* @internal
|
|
17
|
-
*/
|
|
18
15
|
const getRuntimeConfig = (config) => {
|
|
19
16
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
20
17
|
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
@@ -38,4 +35,3 @@ const getRuntimeConfig = (config) => {
|
|
|
38
35
|
};
|
|
39
36
|
};
|
|
40
37
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
41
|
-
//# sourceMappingURL=runtimeConfig.browser.js.map
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
const package_json_1 = tslib_1.__importDefault(require("
|
|
5
|
+
const package_json_1 = tslib_1.__importDefault(require("../package.json"));
|
|
6
6
|
const client_sts_1 = require("@aws-sdk/client-sts");
|
|
7
7
|
const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
8
8
|
const credential_provider_node_1 = require("@aws-sdk/credential-provider-node");
|
|
@@ -16,9 +16,6 @@ const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
|
|
|
16
16
|
const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
|
|
17
17
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
18
18
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
19
|
-
/**
|
|
20
|
-
* @internal
|
|
21
|
-
*/
|
|
22
19
|
const getRuntimeConfig = (config) => {
|
|
23
20
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
24
21
|
smithy_client_1.emitWarningIfUnsupportedVersion(process.version);
|
|
@@ -43,4 +40,3 @@ const getRuntimeConfig = (config) => {
|
|
|
43
40
|
};
|
|
44
41
|
};
|
|
45
42
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
46
|
-
//# sourceMappingURL=runtimeConfig.js.map
|
|
@@ -3,9 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const sha256_js_1 = require("@aws-crypto/sha256-js");
|
|
5
5
|
const runtimeConfig_browser_1 = require("./runtimeConfig.browser");
|
|
6
|
-
/**
|
|
7
|
-
* @internal
|
|
8
|
-
*/
|
|
9
6
|
const getRuntimeConfig = (config) => {
|
|
10
7
|
var _a;
|
|
11
8
|
const browserDefaults = runtimeConfig_browser_1.getRuntimeConfig(config);
|
|
@@ -17,4 +14,3 @@ const getRuntimeConfig = (config) => {
|
|
|
17
14
|
};
|
|
18
15
|
};
|
|
19
16
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
20
|
-
//# sourceMappingURL=runtimeConfig.native.js.map
|
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
|
-
const endpoints_1 = require("./endpoints");
|
|
5
4
|
const url_parser_1 = require("@aws-sdk/url-parser");
|
|
6
|
-
|
|
7
|
-
* @internal
|
|
8
|
-
*/
|
|
5
|
+
const endpoints_1 = require("./endpoints");
|
|
9
6
|
const getRuntimeConfig = (config) => {
|
|
10
7
|
var _a, _b, _c, _d, _e;
|
|
11
8
|
return ({
|
|
@@ -18,4 +15,3 @@ const getRuntimeConfig = (config) => {
|
|
|
18
15
|
});
|
|
19
16
|
};
|
|
20
17
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
21
|
-
//# sourceMappingURL=runtimeConfig.shared.js.map
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
|
-
import { ServerlessApplicationRepositoryClient } from "./ServerlessApplicationRepositoryClient";
|
|
3
2
|
import { CreateApplicationCommand, } from "./commands/CreateApplicationCommand";
|
|
4
3
|
import { CreateApplicationVersionCommand, } from "./commands/CreateApplicationVersionCommand";
|
|
5
4
|
import { CreateCloudFormationChangeSetCommand, } from "./commands/CreateCloudFormationChangeSetCommand";
|
|
@@ -9,34 +8,13 @@ import { GetApplicationCommand, } from "./commands/GetApplicationCommand";
|
|
|
9
8
|
import { GetApplicationPolicyCommand, } from "./commands/GetApplicationPolicyCommand";
|
|
10
9
|
import { GetCloudFormationTemplateCommand, } from "./commands/GetCloudFormationTemplateCommand";
|
|
11
10
|
import { ListApplicationDependenciesCommand, } from "./commands/ListApplicationDependenciesCommand";
|
|
12
|
-
import { ListApplicationVersionsCommand, } from "./commands/ListApplicationVersionsCommand";
|
|
13
11
|
import { ListApplicationsCommand, } from "./commands/ListApplicationsCommand";
|
|
12
|
+
import { ListApplicationVersionsCommand, } from "./commands/ListApplicationVersionsCommand";
|
|
14
13
|
import { PutApplicationPolicyCommand, } from "./commands/PutApplicationPolicyCommand";
|
|
15
14
|
import { UnshareApplicationCommand, } from "./commands/UnshareApplicationCommand";
|
|
16
15
|
import { UpdateApplicationCommand, } from "./commands/UpdateApplicationCommand";
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
* and deploy serverless applications in the AWS Cloud. For more information about serverless applications,
|
|
20
|
-
* see Serverless Computing and Applications on the AWS website.</p><p>The AWS Serverless Application Repository is deeply integrated with the AWS Lambda console, so that developers of
|
|
21
|
-
* all levels can get started with serverless computing without needing to learn anything new. You can use category
|
|
22
|
-
* keywords to browse for applications such as web and mobile backends, data processing applications, or chatbots.
|
|
23
|
-
* You can also search for applications by name, publisher, or event source. To use an application, you simply choose it,
|
|
24
|
-
* configure any required fields, and deploy it with a few clicks. </p><p>You can also easily publish applications, sharing them publicly with the community at large, or privately
|
|
25
|
-
* within your team or across your organization. To publish a serverless application (or app), you can use the
|
|
26
|
-
* AWS Management Console, AWS Command Line Interface (AWS CLI), or AWS SDKs to upload the code. Along with the
|
|
27
|
-
* code, you upload a simple manifest file, also known as the AWS Serverless Application Model (AWS SAM) template.
|
|
28
|
-
* For more information about AWS SAM, see AWS Serverless Application Model (AWS SAM) on the AWS Labs
|
|
29
|
-
* GitHub repository.</p><p>The AWS Serverless Application Repository Developer Guide contains more information about the two developer
|
|
30
|
-
* experiences available:</p><ul>
|
|
31
|
-
* <li>
|
|
32
|
-
* <p>Consuming Applications – Browse for applications and view information about them, including
|
|
33
|
-
* source code and readme files. Also install, configure, and deploy applications of your choosing. </p>
|
|
34
|
-
* <p>Publishing Applications – Configure and upload applications to make them available to other
|
|
35
|
-
* developers, and publish new versions of applications. </p>
|
|
36
|
-
* </li>
|
|
37
|
-
* </ul>
|
|
38
|
-
*/
|
|
39
|
-
var ServerlessApplicationRepository = /** @class */ (function (_super) {
|
|
16
|
+
import { ServerlessApplicationRepositoryClient } from "./ServerlessApplicationRepositoryClient";
|
|
17
|
+
var ServerlessApplicationRepository = (function (_super) {
|
|
40
18
|
__extends(ServerlessApplicationRepository, _super);
|
|
41
19
|
function ServerlessApplicationRepository() {
|
|
42
20
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -240,4 +218,3 @@ var ServerlessApplicationRepository = /** @class */ (function (_super) {
|
|
|
240
218
|
return ServerlessApplicationRepository;
|
|
241
219
|
}(ServerlessApplicationRepositoryClient));
|
|
242
220
|
export { ServerlessApplicationRepository };
|
|
243
|
-
//# sourceMappingURL=ServerlessApplicationRepository.js.map
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-resolver";
|
|
3
|
+
import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
|
|
4
|
+
import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
|
|
5
|
+
import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
|
|
6
|
+
import { getRetryPlugin, resolveRetryConfig } from "@aws-sdk/middleware-retry";
|
|
7
|
+
import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-signing";
|
|
8
|
+
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
9
|
+
import { Client as __Client, } from "@aws-sdk/smithy-client";
|
|
10
|
+
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
11
|
+
var ServerlessApplicationRepositoryClient = (function (_super) {
|
|
12
|
+
__extends(ServerlessApplicationRepositoryClient, _super);
|
|
13
|
+
function ServerlessApplicationRepositoryClient(configuration) {
|
|
14
|
+
var _this = this;
|
|
15
|
+
var _config_0 = __getRuntimeConfig(configuration);
|
|
16
|
+
var _config_1 = resolveRegionConfig(_config_0);
|
|
17
|
+
var _config_2 = resolveEndpointsConfig(_config_1);
|
|
18
|
+
var _config_3 = resolveRetryConfig(_config_2);
|
|
19
|
+
var _config_4 = resolveHostHeaderConfig(_config_3);
|
|
20
|
+
var _config_5 = resolveAwsAuthConfig(_config_4);
|
|
21
|
+
var _config_6 = resolveUserAgentConfig(_config_5);
|
|
22
|
+
_this = _super.call(this, _config_6) || this;
|
|
23
|
+
_this.config = _config_6;
|
|
24
|
+
_this.middlewareStack.use(getRetryPlugin(_this.config));
|
|
25
|
+
_this.middlewareStack.use(getContentLengthPlugin(_this.config));
|
|
26
|
+
_this.middlewareStack.use(getHostHeaderPlugin(_this.config));
|
|
27
|
+
_this.middlewareStack.use(getLoggerPlugin(_this.config));
|
|
28
|
+
_this.middlewareStack.use(getAwsAuthPlugin(_this.config));
|
|
29
|
+
_this.middlewareStack.use(getUserAgentPlugin(_this.config));
|
|
30
|
+
return _this;
|
|
31
|
+
}
|
|
32
|
+
ServerlessApplicationRepositoryClient.prototype.destroy = function () {
|
|
33
|
+
_super.prototype.destroy.call(this);
|
|
34
|
+
};
|
|
35
|
+
return ServerlessApplicationRepositoryClient;
|
|
36
|
+
}(__Client));
|
|
37
|
+
export { ServerlessApplicationRepositoryClient };
|
|
@@ -1,40 +1,15 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
|
-
import { CreateApplicationRequest, CreateApplicationResponse } from "../models/models_0";
|
|
3
|
-
import { deserializeAws_restJson1CreateApplicationCommand, serializeAws_restJson1CreateApplicationCommand, } from "../protocols/Aws_restJson1";
|
|
4
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
10
|
-
* ```javascript
|
|
11
|
-
* import { ServerlessApplicationRepositoryClient, CreateApplicationCommand } from "@aws-sdk/client-serverlessapplicationrepository"; // ES Modules import
|
|
12
|
-
* // const { ServerlessApplicationRepositoryClient, CreateApplicationCommand } = require("@aws-sdk/client-serverlessapplicationrepository"); // CommonJS import
|
|
13
|
-
* const client = new ServerlessApplicationRepositoryClient(config);
|
|
14
|
-
* const command = new CreateApplicationCommand(input);
|
|
15
|
-
* const response = await client.send(command);
|
|
16
|
-
* ```
|
|
17
|
-
*
|
|
18
|
-
* @see {@link CreateApplicationCommandInput} for command's `input` shape.
|
|
19
|
-
* @see {@link CreateApplicationCommandOutput} for command's `response` shape.
|
|
20
|
-
* @see {@link ServerlessApplicationRepositoryClientResolvedConfig | config} for command's `input` shape.
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
var CreateApplicationCommand = /** @class */ (function (_super) {
|
|
4
|
+
import { CreateApplicationRequest, CreateApplicationResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1CreateApplicationCommand, serializeAws_restJson1CreateApplicationCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var CreateApplicationCommand = (function (_super) {
|
|
24
7
|
__extends(CreateApplicationCommand, _super);
|
|
25
|
-
// Start section: command_properties
|
|
26
|
-
// End section: command_properties
|
|
27
8
|
function CreateApplicationCommand(input) {
|
|
28
|
-
var _this =
|
|
29
|
-
// Start section: command_constructor
|
|
30
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
31
10
|
_this.input = input;
|
|
32
11
|
return _this;
|
|
33
|
-
// End section: command_constructor
|
|
34
12
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
13
|
CreateApplicationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
39
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -62,4 +37,3 @@ var CreateApplicationCommand = /** @class */ (function (_super) {
|
|
|
62
37
|
return CreateApplicationCommand;
|
|
63
38
|
}($Command));
|
|
64
39
|
export { CreateApplicationCommand };
|
|
65
|
-
//# sourceMappingURL=CreateApplicationCommand.js.map
|
|
@@ -1,40 +1,15 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
|
-
import { CreateApplicationVersionRequest, CreateApplicationVersionResponse } from "../models/models_0";
|
|
3
|
-
import { deserializeAws_restJson1CreateApplicationVersionCommand, serializeAws_restJson1CreateApplicationVersionCommand, } from "../protocols/Aws_restJson1";
|
|
4
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
10
|
-
* ```javascript
|
|
11
|
-
* import { ServerlessApplicationRepositoryClient, CreateApplicationVersionCommand } from "@aws-sdk/client-serverlessapplicationrepository"; // ES Modules import
|
|
12
|
-
* // const { ServerlessApplicationRepositoryClient, CreateApplicationVersionCommand } = require("@aws-sdk/client-serverlessapplicationrepository"); // CommonJS import
|
|
13
|
-
* const client = new ServerlessApplicationRepositoryClient(config);
|
|
14
|
-
* const command = new CreateApplicationVersionCommand(input);
|
|
15
|
-
* const response = await client.send(command);
|
|
16
|
-
* ```
|
|
17
|
-
*
|
|
18
|
-
* @see {@link CreateApplicationVersionCommandInput} for command's `input` shape.
|
|
19
|
-
* @see {@link CreateApplicationVersionCommandOutput} for command's `response` shape.
|
|
20
|
-
* @see {@link ServerlessApplicationRepositoryClientResolvedConfig | config} for command's `input` shape.
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
var CreateApplicationVersionCommand = /** @class */ (function (_super) {
|
|
4
|
+
import { CreateApplicationVersionRequest, CreateApplicationVersionResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1CreateApplicationVersionCommand, serializeAws_restJson1CreateApplicationVersionCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var CreateApplicationVersionCommand = (function (_super) {
|
|
24
7
|
__extends(CreateApplicationVersionCommand, _super);
|
|
25
|
-
// Start section: command_properties
|
|
26
|
-
// End section: command_properties
|
|
27
8
|
function CreateApplicationVersionCommand(input) {
|
|
28
|
-
var _this =
|
|
29
|
-
// Start section: command_constructor
|
|
30
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
31
10
|
_this.input = input;
|
|
32
11
|
return _this;
|
|
33
|
-
// End section: command_constructor
|
|
34
12
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
13
|
CreateApplicationVersionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
39
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -62,4 +37,3 @@ var CreateApplicationVersionCommand = /** @class */ (function (_super) {
|
|
|
62
37
|
return CreateApplicationVersionCommand;
|
|
63
38
|
}($Command));
|
|
64
39
|
export { CreateApplicationVersionCommand };
|
|
65
|
-
//# sourceMappingURL=CreateApplicationVersionCommand.js.map
|
|
@@ -1,40 +1,15 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
|
-
import { CreateCloudFormationChangeSetRequest, CreateCloudFormationChangeSetResponse } from "../models/models_0";
|
|
3
|
-
import { deserializeAws_restJson1CreateCloudFormationChangeSetCommand, serializeAws_restJson1CreateCloudFormationChangeSetCommand, } from "../protocols/Aws_restJson1";
|
|
4
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
10
|
-
* ```javascript
|
|
11
|
-
* import { ServerlessApplicationRepositoryClient, CreateCloudFormationChangeSetCommand } from "@aws-sdk/client-serverlessapplicationrepository"; // ES Modules import
|
|
12
|
-
* // const { ServerlessApplicationRepositoryClient, CreateCloudFormationChangeSetCommand } = require("@aws-sdk/client-serverlessapplicationrepository"); // CommonJS import
|
|
13
|
-
* const client = new ServerlessApplicationRepositoryClient(config);
|
|
14
|
-
* const command = new CreateCloudFormationChangeSetCommand(input);
|
|
15
|
-
* const response = await client.send(command);
|
|
16
|
-
* ```
|
|
17
|
-
*
|
|
18
|
-
* @see {@link CreateCloudFormationChangeSetCommandInput} for command's `input` shape.
|
|
19
|
-
* @see {@link CreateCloudFormationChangeSetCommandOutput} for command's `response` shape.
|
|
20
|
-
* @see {@link ServerlessApplicationRepositoryClientResolvedConfig | config} for command's `input` shape.
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
var CreateCloudFormationChangeSetCommand = /** @class */ (function (_super) {
|
|
4
|
+
import { CreateCloudFormationChangeSetRequest, CreateCloudFormationChangeSetResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1CreateCloudFormationChangeSetCommand, serializeAws_restJson1CreateCloudFormationChangeSetCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var CreateCloudFormationChangeSetCommand = (function (_super) {
|
|
24
7
|
__extends(CreateCloudFormationChangeSetCommand, _super);
|
|
25
|
-
// Start section: command_properties
|
|
26
|
-
// End section: command_properties
|
|
27
8
|
function CreateCloudFormationChangeSetCommand(input) {
|
|
28
|
-
var _this =
|
|
29
|
-
// Start section: command_constructor
|
|
30
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
31
10
|
_this.input = input;
|
|
32
11
|
return _this;
|
|
33
|
-
// End section: command_constructor
|
|
34
12
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
13
|
CreateCloudFormationChangeSetCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
39
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -62,4 +37,3 @@ var CreateCloudFormationChangeSetCommand = /** @class */ (function (_super) {
|
|
|
62
37
|
return CreateCloudFormationChangeSetCommand;
|
|
63
38
|
}($Command));
|
|
64
39
|
export { CreateCloudFormationChangeSetCommand };
|
|
65
|
-
//# sourceMappingURL=CreateCloudFormationChangeSetCommand.js.map
|
|
@@ -1,40 +1,15 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
|
-
import { CreateCloudFormationTemplateRequest, CreateCloudFormationTemplateResponse } from "../models/models_0";
|
|
3
|
-
import { deserializeAws_restJson1CreateCloudFormationTemplateCommand, serializeAws_restJson1CreateCloudFormationTemplateCommand, } from "../protocols/Aws_restJson1";
|
|
4
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
10
|
-
* ```javascript
|
|
11
|
-
* import { ServerlessApplicationRepositoryClient, CreateCloudFormationTemplateCommand } from "@aws-sdk/client-serverlessapplicationrepository"; // ES Modules import
|
|
12
|
-
* // const { ServerlessApplicationRepositoryClient, CreateCloudFormationTemplateCommand } = require("@aws-sdk/client-serverlessapplicationrepository"); // CommonJS import
|
|
13
|
-
* const client = new ServerlessApplicationRepositoryClient(config);
|
|
14
|
-
* const command = new CreateCloudFormationTemplateCommand(input);
|
|
15
|
-
* const response = await client.send(command);
|
|
16
|
-
* ```
|
|
17
|
-
*
|
|
18
|
-
* @see {@link CreateCloudFormationTemplateCommandInput} for command's `input` shape.
|
|
19
|
-
* @see {@link CreateCloudFormationTemplateCommandOutput} for command's `response` shape.
|
|
20
|
-
* @see {@link ServerlessApplicationRepositoryClientResolvedConfig | config} for command's `input` shape.
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
var CreateCloudFormationTemplateCommand = /** @class */ (function (_super) {
|
|
4
|
+
import { CreateCloudFormationTemplateRequest, CreateCloudFormationTemplateResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1CreateCloudFormationTemplateCommand, serializeAws_restJson1CreateCloudFormationTemplateCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var CreateCloudFormationTemplateCommand = (function (_super) {
|
|
24
7
|
__extends(CreateCloudFormationTemplateCommand, _super);
|
|
25
|
-
// Start section: command_properties
|
|
26
|
-
// End section: command_properties
|
|
27
8
|
function CreateCloudFormationTemplateCommand(input) {
|
|
28
|
-
var _this =
|
|
29
|
-
// Start section: command_constructor
|
|
30
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
31
10
|
_this.input = input;
|
|
32
11
|
return _this;
|
|
33
|
-
// End section: command_constructor
|
|
34
12
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
13
|
CreateCloudFormationTemplateCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
39
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -62,4 +37,3 @@ var CreateCloudFormationTemplateCommand = /** @class */ (function (_super) {
|
|
|
62
37
|
return CreateCloudFormationTemplateCommand;
|
|
63
38
|
}($Command));
|
|
64
39
|
export { CreateCloudFormationTemplateCommand };
|
|
65
|
-
//# sourceMappingURL=CreateCloudFormationTemplateCommand.js.map
|
|
@@ -1,40 +1,15 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
|
-
import { DeleteApplicationRequest } from "../models/models_0";
|
|
3
|
-
import { deserializeAws_restJson1DeleteApplicationCommand, serializeAws_restJson1DeleteApplicationCommand, } from "../protocols/Aws_restJson1";
|
|
4
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
10
|
-
* ```javascript
|
|
11
|
-
* import { ServerlessApplicationRepositoryClient, DeleteApplicationCommand } from "@aws-sdk/client-serverlessapplicationrepository"; // ES Modules import
|
|
12
|
-
* // const { ServerlessApplicationRepositoryClient, DeleteApplicationCommand } = require("@aws-sdk/client-serverlessapplicationrepository"); // CommonJS import
|
|
13
|
-
* const client = new ServerlessApplicationRepositoryClient(config);
|
|
14
|
-
* const command = new DeleteApplicationCommand(input);
|
|
15
|
-
* const response = await client.send(command);
|
|
16
|
-
* ```
|
|
17
|
-
*
|
|
18
|
-
* @see {@link DeleteApplicationCommandInput} for command's `input` shape.
|
|
19
|
-
* @see {@link DeleteApplicationCommandOutput} for command's `response` shape.
|
|
20
|
-
* @see {@link ServerlessApplicationRepositoryClientResolvedConfig | config} for command's `input` shape.
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
var DeleteApplicationCommand = /** @class */ (function (_super) {
|
|
4
|
+
import { DeleteApplicationRequest } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1DeleteApplicationCommand, serializeAws_restJson1DeleteApplicationCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var DeleteApplicationCommand = (function (_super) {
|
|
24
7
|
__extends(DeleteApplicationCommand, _super);
|
|
25
|
-
// Start section: command_properties
|
|
26
|
-
// End section: command_properties
|
|
27
8
|
function DeleteApplicationCommand(input) {
|
|
28
|
-
var _this =
|
|
29
|
-
// Start section: command_constructor
|
|
30
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
31
10
|
_this.input = input;
|
|
32
11
|
return _this;
|
|
33
|
-
// End section: command_constructor
|
|
34
12
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
13
|
DeleteApplicationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
39
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -62,4 +37,3 @@ var DeleteApplicationCommand = /** @class */ (function (_super) {
|
|
|
62
37
|
return DeleteApplicationCommand;
|
|
63
38
|
}($Command));
|
|
64
39
|
export { DeleteApplicationCommand };
|
|
65
|
-
//# sourceMappingURL=DeleteApplicationCommand.js.map
|
|
@@ -1,40 +1,15 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
|
-
import { GetApplicationRequest, GetApplicationResponse } from "../models/models_0";
|
|
3
|
-
import { deserializeAws_restJson1GetApplicationCommand, serializeAws_restJson1GetApplicationCommand, } from "../protocols/Aws_restJson1";
|
|
4
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
10
|
-
* ```javascript
|
|
11
|
-
* import { ServerlessApplicationRepositoryClient, GetApplicationCommand } from "@aws-sdk/client-serverlessapplicationrepository"; // ES Modules import
|
|
12
|
-
* // const { ServerlessApplicationRepositoryClient, GetApplicationCommand } = require("@aws-sdk/client-serverlessapplicationrepository"); // CommonJS import
|
|
13
|
-
* const client = new ServerlessApplicationRepositoryClient(config);
|
|
14
|
-
* const command = new GetApplicationCommand(input);
|
|
15
|
-
* const response = await client.send(command);
|
|
16
|
-
* ```
|
|
17
|
-
*
|
|
18
|
-
* @see {@link GetApplicationCommandInput} for command's `input` shape.
|
|
19
|
-
* @see {@link GetApplicationCommandOutput} for command's `response` shape.
|
|
20
|
-
* @see {@link ServerlessApplicationRepositoryClientResolvedConfig | config} for command's `input` shape.
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
var GetApplicationCommand = /** @class */ (function (_super) {
|
|
4
|
+
import { GetApplicationRequest, GetApplicationResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1GetApplicationCommand, serializeAws_restJson1GetApplicationCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var GetApplicationCommand = (function (_super) {
|
|
24
7
|
__extends(GetApplicationCommand, _super);
|
|
25
|
-
// Start section: command_properties
|
|
26
|
-
// End section: command_properties
|
|
27
8
|
function GetApplicationCommand(input) {
|
|
28
|
-
var _this =
|
|
29
|
-
// Start section: command_constructor
|
|
30
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
31
10
|
_this.input = input;
|
|
32
11
|
return _this;
|
|
33
|
-
// End section: command_constructor
|
|
34
12
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
13
|
GetApplicationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
39
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -62,4 +37,3 @@ var GetApplicationCommand = /** @class */ (function (_super) {
|
|
|
62
37
|
return GetApplicationCommand;
|
|
63
38
|
}($Command));
|
|
64
39
|
export { GetApplicationCommand };
|
|
65
|
-
//# sourceMappingURL=GetApplicationCommand.js.map
|
|
@@ -1,40 +1,15 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
|
-
import { GetApplicationPolicyRequest, GetApplicationPolicyResponse } from "../models/models_0";
|
|
3
|
-
import { deserializeAws_restJson1GetApplicationPolicyCommand, serializeAws_restJson1GetApplicationPolicyCommand, } from "../protocols/Aws_restJson1";
|
|
4
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
10
|
-
* ```javascript
|
|
11
|
-
* import { ServerlessApplicationRepositoryClient, GetApplicationPolicyCommand } from "@aws-sdk/client-serverlessapplicationrepository"; // ES Modules import
|
|
12
|
-
* // const { ServerlessApplicationRepositoryClient, GetApplicationPolicyCommand } = require("@aws-sdk/client-serverlessapplicationrepository"); // CommonJS import
|
|
13
|
-
* const client = new ServerlessApplicationRepositoryClient(config);
|
|
14
|
-
* const command = new GetApplicationPolicyCommand(input);
|
|
15
|
-
* const response = await client.send(command);
|
|
16
|
-
* ```
|
|
17
|
-
*
|
|
18
|
-
* @see {@link GetApplicationPolicyCommandInput} for command's `input` shape.
|
|
19
|
-
* @see {@link GetApplicationPolicyCommandOutput} for command's `response` shape.
|
|
20
|
-
* @see {@link ServerlessApplicationRepositoryClientResolvedConfig | config} for command's `input` shape.
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
var GetApplicationPolicyCommand = /** @class */ (function (_super) {
|
|
4
|
+
import { GetApplicationPolicyRequest, GetApplicationPolicyResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1GetApplicationPolicyCommand, serializeAws_restJson1GetApplicationPolicyCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var GetApplicationPolicyCommand = (function (_super) {
|
|
24
7
|
__extends(GetApplicationPolicyCommand, _super);
|
|
25
|
-
// Start section: command_properties
|
|
26
|
-
// End section: command_properties
|
|
27
8
|
function GetApplicationPolicyCommand(input) {
|
|
28
|
-
var _this =
|
|
29
|
-
// Start section: command_constructor
|
|
30
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
31
10
|
_this.input = input;
|
|
32
11
|
return _this;
|
|
33
|
-
// End section: command_constructor
|
|
34
12
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
13
|
GetApplicationPolicyCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
39
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -62,4 +37,3 @@ var GetApplicationPolicyCommand = /** @class */ (function (_super) {
|
|
|
62
37
|
return GetApplicationPolicyCommand;
|
|
63
38
|
}($Command));
|
|
64
39
|
export { GetApplicationPolicyCommand };
|
|
65
|
-
//# sourceMappingURL=GetApplicationPolicyCommand.js.map
|