@aws-sdk/client-serverlessapplicationrepository 3.35.0 → 3.38.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/CHANGELOG.md +47 -0
- package/dist-cjs/ServerlessApplicationRepository.js +0 -23
- package/dist-cjs/ServerlessApplicationRepositoryClient.js +0 -28
- package/dist-cjs/commands/CreateApplicationCommand.js +0 -25
- package/dist-cjs/commands/CreateApplicationVersionCommand.js +0 -25
- package/dist-cjs/commands/CreateCloudFormationChangeSetCommand.js +0 -25
- package/dist-cjs/commands/CreateCloudFormationTemplateCommand.js +0 -25
- package/dist-cjs/commands/DeleteApplicationCommand.js +0 -25
- package/dist-cjs/commands/GetApplicationCommand.js +0 -25
- package/dist-cjs/commands/GetApplicationPolicyCommand.js +0 -25
- package/dist-cjs/commands/GetCloudFormationTemplateCommand.js +0 -25
- package/dist-cjs/commands/ListApplicationDependenciesCommand.js +0 -25
- package/dist-cjs/commands/ListApplicationVersionsCommand.js +0 -25
- package/dist-cjs/commands/ListApplicationsCommand.js +0 -25
- package/dist-cjs/commands/PutApplicationPolicyCommand.js +0 -28
- package/dist-cjs/commands/UnshareApplicationCommand.js +0 -25
- package/dist-cjs/commands/UpdateApplicationCommand.js +0 -25
- package/dist-cjs/commands/index.js +17 -0
- package/dist-cjs/endpoints.js +1 -2
- package/dist-cjs/index.js +4 -21
- package/dist-cjs/models/index.js +0 -1
- package/dist-cjs/models/models_0.js +0 -127
- package/dist-cjs/pagination/Interfaces.js +0 -1
- package/dist-cjs/pagination/ListApplicationDependenciesPaginator.js +0 -11
- package/dist-cjs/pagination/ListApplicationVersionsPaginator.js +0 -11
- package/dist-cjs/pagination/ListApplicationsPaginator.js +0 -11
- package/dist-cjs/pagination/index.js +7 -0
- package/dist-cjs/protocols/Aws_restJson1.js +0 -6
- package/dist-cjs/runtimeConfig.browser.js +1 -6
- package/dist-cjs/runtimeConfig.js +2 -7
- package/dist-cjs/runtimeConfig.native.js +0 -4
- package/dist-cjs/runtimeConfig.shared.js +0 -4
- package/dist-es/ServerlessApplicationRepository.js +0 -1
- package/dist-es/ServerlessApplicationRepositoryClient.js +0 -1
- package/dist-es/commands/CreateApplicationCommand.js +0 -1
- package/dist-es/commands/CreateApplicationVersionCommand.js +0 -1
- package/dist-es/commands/CreateCloudFormationChangeSetCommand.js +0 -1
- package/dist-es/commands/CreateCloudFormationTemplateCommand.js +0 -1
- package/dist-es/commands/DeleteApplicationCommand.js +0 -1
- package/dist-es/commands/GetApplicationCommand.js +0 -1
- package/dist-es/commands/GetApplicationPolicyCommand.js +0 -1
- package/dist-es/commands/GetCloudFormationTemplateCommand.js +0 -1
- package/dist-es/commands/ListApplicationDependenciesCommand.js +0 -1
- package/dist-es/commands/ListApplicationVersionsCommand.js +0 -1
- package/dist-es/commands/ListApplicationsCommand.js +0 -1
- package/dist-es/commands/PutApplicationPolicyCommand.js +0 -1
- package/dist-es/commands/UnshareApplicationCommand.js +0 -1
- package/dist-es/commands/UpdateApplicationCommand.js +0 -1
- package/dist-es/commands/index.js +14 -0
- package/dist-es/endpoints.js +1 -2
- package/dist-es/index.js +4 -21
- package/dist-es/models/index.js +0 -1
- package/dist-es/models/models_0.js +0 -1
- package/dist-es/pagination/Interfaces.js +0 -1
- package/dist-es/pagination/ListApplicationDependenciesPaginator.js +0 -1
- package/dist-es/pagination/ListApplicationVersionsPaginator.js +0 -1
- package/dist-es/pagination/ListApplicationsPaginator.js +0 -1
- package/dist-es/pagination/index.js +4 -0
- package/dist-es/protocols/Aws_restJson1.js +0 -1
- package/dist-es/runtimeConfig.browser.js +1 -2
- package/dist-es/runtimeConfig.js +2 -3
- package/dist-es/runtimeConfig.native.js +0 -1
- package/dist-es/runtimeConfig.shared.js +0 -1
- package/dist-types/commands/index.d.ts +14 -0
- package/dist-types/index.d.ts +4 -20
- package/dist-types/pagination/index.d.ts +4 -0
- package/dist-types/ts3.4/ServerlessApplicationRepository.d.ts +15 -67
- package/dist-types/ts3.4/ServerlessApplicationRepositoryClient.d.ts +24 -108
- package/dist-types/ts3.4/commands/CreateApplicationCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreateApplicationVersionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreateCloudFormationChangeSetCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreateCloudFormationTemplateCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteApplicationCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetApplicationCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetApplicationPolicyCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetCloudFormationTemplateCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListApplicationDependenciesCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListApplicationVersionsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListApplicationsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/PutApplicationPolicyCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/UnshareApplicationCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateApplicationCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/index.d.ts +14 -0
- package/dist-types/ts3.4/index.d.ts +4 -20
- package/dist-types/ts3.4/models/models_0.d.ts +254 -895
- package/dist-types/ts3.4/pagination/index.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/package.json +33 -30
- package/dist-cjs/ServerlessApplicationRepository.js.map +0 -1
- 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/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.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.map +0 -1
- package/dist-es/models/index.js.map +0 -1
- package/dist-es/models/models_0.js.map +0 -1
- 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/jest.config.js +0 -4
- package/src/ServerlessApplicationRepository.ts +0 -548
- package/src/ServerlessApplicationRepositoryClient.ts +0 -322
- package/src/commands/CreateApplicationCommand.ts +0 -99
- package/src/commands/CreateApplicationVersionCommand.ts +0 -99
- package/src/commands/CreateCloudFormationChangeSetCommand.ts +0 -104
- package/src/commands/CreateCloudFormationTemplateCommand.ts +0 -104
- package/src/commands/DeleteApplicationCommand.ts +0 -99
- package/src/commands/GetApplicationCommand.ts +0 -99
- package/src/commands/GetApplicationPolicyCommand.ts +0 -99
- package/src/commands/GetCloudFormationTemplateCommand.ts +0 -102
- package/src/commands/ListApplicationDependenciesCommand.ts +0 -104
- package/src/commands/ListApplicationVersionsCommand.ts +0 -99
- package/src/commands/ListApplicationsCommand.ts +0 -99
- package/src/commands/PutApplicationPolicyCommand.ts +0 -102
- package/src/commands/UnshareApplicationCommand.ts +0 -99
- package/src/commands/UpdateApplicationCommand.ts +0 -99
- package/src/endpoints.ts +0 -66
- package/src/index.ts +0 -21
- package/src/models/index.ts +0 -1
- package/src/models/models_0.ts +0 -1649
- package/src/pagination/Interfaces.ts +0 -8
- package/src/pagination/ListApplicationDependenciesPaginator.ts +0 -61
- package/src/pagination/ListApplicationVersionsPaginator.ts +0 -61
- package/src/pagination/ListApplicationsPaginator.ts +0 -61
- package/src/protocols/Aws_restJson1.ts +0 -2546
- package/src/runtimeConfig.browser.ts +0 -41
- package/src/runtimeConfig.native.ts +0 -17
- package/src/runtimeConfig.shared.ts +0 -17
- package/src/runtimeConfig.ts +0 -46
- package/tsconfig.es.json +0 -10
- package/tsconfig.json +0 -33
- package/tsconfig.types.json +0 -9
|
@@ -2,6 +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("../package.json"));
|
|
5
6
|
const sha256_browser_1 = require("@aws-crypto/sha256-browser");
|
|
6
7
|
const fetch_http_handler_1 = require("@aws-sdk/fetch-http-handler");
|
|
7
8
|
const invalid_dependency_1 = require("@aws-sdk/invalid-dependency");
|
|
@@ -10,12 +11,7 @@ const util_base64_browser_1 = require("@aws-sdk/util-base64-browser");
|
|
|
10
11
|
const util_body_length_browser_1 = require("@aws-sdk/util-body-length-browser");
|
|
11
12
|
const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
|
|
12
13
|
const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
|
|
13
|
-
// @ts-ignore: package.json will be imported from dist folders
|
|
14
|
-
const package_json_1 = tslib_1.__importDefault(require("../package.json"));
|
|
15
14
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
16
|
-
/**
|
|
17
|
-
* @internal
|
|
18
|
-
*/
|
|
19
15
|
const getRuntimeConfig = (config) => {
|
|
20
16
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
21
17
|
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
@@ -39,4 +35,3 @@ const getRuntimeConfig = (config) => {
|
|
|
39
35
|
};
|
|
40
36
|
};
|
|
41
37
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
42
|
-
//# sourceMappingURL=runtimeConfig.browser.js.map
|
|
@@ -2,6 +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("../package.json"));
|
|
5
6
|
const client_sts_1 = require("@aws-sdk/client-sts");
|
|
6
7
|
const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
7
8
|
const credential_provider_node_1 = require("@aws-sdk/credential-provider-node");
|
|
@@ -9,17 +10,12 @@ const hash_node_1 = require("@aws-sdk/hash-node");
|
|
|
9
10
|
const middleware_retry_1 = require("@aws-sdk/middleware-retry");
|
|
10
11
|
const node_config_provider_1 = require("@aws-sdk/node-config-provider");
|
|
11
12
|
const node_http_handler_1 = require("@aws-sdk/node-http-handler");
|
|
12
|
-
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
13
13
|
const util_base64_node_1 = require("@aws-sdk/util-base64-node");
|
|
14
14
|
const util_body_length_node_1 = require("@aws-sdk/util-body-length-node");
|
|
15
15
|
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
|
-
// @ts-ignore: package.json will be imported from dist folders
|
|
18
|
-
const package_json_1 = tslib_1.__importDefault(require("../package.json"));
|
|
19
17
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
20
|
-
|
|
21
|
-
* @internal
|
|
22
|
-
*/
|
|
18
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
23
19
|
const getRuntimeConfig = (config) => {
|
|
24
20
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
25
21
|
smithy_client_1.emitWarningIfUnsupportedVersion(process.version);
|
|
@@ -44,4 +40,3 @@ const getRuntimeConfig = (config) => {
|
|
|
44
40
|
};
|
|
45
41
|
};
|
|
46
42
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
47
|
-
//# 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
|
|
@@ -3,9 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const url_parser_1 = require("@aws-sdk/url-parser");
|
|
5
5
|
const endpoints_1 = require("./endpoints");
|
|
6
|
-
/**
|
|
7
|
-
* @internal
|
|
8
|
-
*/
|
|
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
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export * from "./CreateApplicationCommand";
|
|
2
|
+
export * from "./CreateApplicationVersionCommand";
|
|
3
|
+
export * from "./CreateCloudFormationChangeSetCommand";
|
|
4
|
+
export * from "./CreateCloudFormationTemplateCommand";
|
|
5
|
+
export * from "./DeleteApplicationCommand";
|
|
6
|
+
export * from "./GetApplicationCommand";
|
|
7
|
+
export * from "./GetApplicationPolicyCommand";
|
|
8
|
+
export * from "./GetCloudFormationTemplateCommand";
|
|
9
|
+
export * from "./ListApplicationDependenciesCommand";
|
|
10
|
+
export * from "./ListApplicationVersionsCommand";
|
|
11
|
+
export * from "./ListApplicationsCommand";
|
|
12
|
+
export * from "./PutApplicationPolicyCommand";
|
|
13
|
+
export * from "./UnshareApplicationCommand";
|
|
14
|
+
export * from "./UpdateApplicationCommand";
|
package/dist-es/endpoints.js
CHANGED
|
@@ -42,7 +42,7 @@ var partitionHash = {
|
|
|
42
42
|
hostname: "serverlessrepo.{region}.amazonaws.com.cn",
|
|
43
43
|
},
|
|
44
44
|
"aws-iso": {
|
|
45
|
-
regions: ["us-iso-east-1"],
|
|
45
|
+
regions: ["us-iso-east-1", "us-iso-west-1"],
|
|
46
46
|
hostname: "serverlessrepo.{region}.c2s.ic.gov",
|
|
47
47
|
},
|
|
48
48
|
"aws-iso-b": {
|
|
@@ -59,4 +59,3 @@ export var defaultRegionInfoProvider = function (region, options) { return __awa
|
|
|
59
59
|
return [2, getRegionInfo(region, __assign(__assign({}, options), { signingService: "serverlessrepo", regionHash: regionHash, partitionHash: partitionHash }))];
|
|
60
60
|
});
|
|
61
61
|
}); };
|
|
62
|
-
//# sourceMappingURL=endpoints.js.map
|
package/dist-es/index.js
CHANGED
|
@@ -1,22 +1,5 @@
|
|
|
1
|
-
export * from "./ServerlessApplicationRepositoryClient";
|
|
2
1
|
export * from "./ServerlessApplicationRepository";
|
|
3
|
-
export * from "./
|
|
4
|
-
export * from "./commands
|
|
5
|
-
export * from "./
|
|
6
|
-
export * from "./
|
|
7
|
-
export * from "./commands/DeleteApplicationCommand";
|
|
8
|
-
export * from "./commands/GetApplicationCommand";
|
|
9
|
-
export * from "./commands/GetApplicationPolicyCommand";
|
|
10
|
-
export * from "./commands/GetCloudFormationTemplateCommand";
|
|
11
|
-
export * from "./commands/ListApplicationDependenciesCommand";
|
|
12
|
-
export * from "./pagination/ListApplicationDependenciesPaginator";
|
|
13
|
-
export * from "./commands/ListApplicationsCommand";
|
|
14
|
-
export * from "./pagination/ListApplicationsPaginator";
|
|
15
|
-
export * from "./commands/ListApplicationVersionsCommand";
|
|
16
|
-
export * from "./pagination/ListApplicationVersionsPaginator";
|
|
17
|
-
export * from "./commands/PutApplicationPolicyCommand";
|
|
18
|
-
export * from "./commands/UnshareApplicationCommand";
|
|
19
|
-
export * from "./commands/UpdateApplicationCommand";
|
|
20
|
-
export * from "./pagination/Interfaces";
|
|
21
|
-
export * from "./models/index";
|
|
22
|
-
//# sourceMappingURL=index.js.map
|
|
2
|
+
export * from "./ServerlessApplicationRepositoryClient";
|
|
3
|
+
export * from "./commands";
|
|
4
|
+
export * from "./models";
|
|
5
|
+
export * from "./pagination";
|
package/dist-es/models/index.js
CHANGED
|
@@ -180,4 +180,3 @@ export var UpdateApplicationResponse;
|
|
|
180
180
|
(function (UpdateApplicationResponse) {
|
|
181
181
|
UpdateApplicationResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
182
182
|
})(UpdateApplicationResponse || (UpdateApplicationResponse = {}));
|
|
183
|
-
//# sourceMappingURL=models_0.js.map
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { __assign } from "tslib";
|
|
2
|
+
import packageInfo from "../package.json";
|
|
2
3
|
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
3
4
|
import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
|
|
4
5
|
import { invalidProvider } from "@aws-sdk/invalid-dependency";
|
|
@@ -7,11 +8,9 @@ import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser";
|
|
|
7
8
|
import { calculateBodyLength } from "@aws-sdk/util-body-length-browser";
|
|
8
9
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
|
|
9
10
|
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
|
|
10
|
-
import packageInfo from "../package.json";
|
|
11
11
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
12
12
|
export var getRuntimeConfig = function (config) {
|
|
13
13
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
14
14
|
var clientSharedValues = getSharedRuntimeConfig(config);
|
|
15
15
|
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : DEFAULT_MAX_ATTEMPTS, region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalidProvider("Region is missing"), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new FetchHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (function () { return Promise.resolve(DEFAULT_RETRY_MODE); }), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Sha256, streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, utf8Decoder: (_m = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _m !== void 0 ? _m : fromUtf8, utf8Encoder: (_o = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _o !== void 0 ? _o : toUtf8 });
|
|
16
16
|
};
|
|
17
|
-
//# sourceMappingURL=runtimeConfig.browser.js.map
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { __assign } from "tslib";
|
|
2
|
+
import packageInfo from "../package.json";
|
|
2
3
|
import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
|
|
3
4
|
import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS } from "@aws-sdk/config-resolver";
|
|
4
5
|
import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
|
|
@@ -6,17 +7,15 @@ import { Hash } from "@aws-sdk/hash-node";
|
|
|
6
7
|
import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry";
|
|
7
8
|
import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider";
|
|
8
9
|
import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler";
|
|
9
|
-
import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
|
|
10
10
|
import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node";
|
|
11
11
|
import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
|
|
12
12
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
|
|
13
13
|
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
|
|
14
|
-
import packageInfo from "../package.json";
|
|
15
14
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
15
|
+
import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
|
|
16
16
|
export var getRuntimeConfig = function (config) {
|
|
17
17
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
18
18
|
emitWarningIfUnsupportedVersion(process.version);
|
|
19
19
|
var clientSharedValues = getSharedRuntimeConfig(config);
|
|
20
20
|
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new NodeHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(NODE_RETRY_MODE_CONFIG_OPTIONS), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Hash.bind(null, "sha256"), streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, utf8Decoder: (_m = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _m !== void 0 ? _m : fromUtf8, utf8Encoder: (_o = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _o !== void 0 ? _o : toUtf8 });
|
|
21
21
|
};
|
|
22
|
-
//# sourceMappingURL=runtimeConfig.js.map
|
|
@@ -6,4 +6,3 @@ export var getRuntimeConfig = function (config) {
|
|
|
6
6
|
var browserDefaults = getBrowserRuntimeConfig(config);
|
|
7
7
|
return __assign(__assign(__assign({}, browserDefaults), config), { runtime: "react-native", sha256: (_a = config === null || config === void 0 ? void 0 : config.sha256) !== null && _a !== void 0 ? _a : Sha256 });
|
|
8
8
|
};
|
|
9
|
-
//# sourceMappingURL=runtimeConfig.native.js.map
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export * from "./CreateApplicationCommand";
|
|
2
|
+
export * from "./CreateApplicationVersionCommand";
|
|
3
|
+
export * from "./CreateCloudFormationChangeSetCommand";
|
|
4
|
+
export * from "./CreateCloudFormationTemplateCommand";
|
|
5
|
+
export * from "./DeleteApplicationCommand";
|
|
6
|
+
export * from "./GetApplicationCommand";
|
|
7
|
+
export * from "./GetApplicationPolicyCommand";
|
|
8
|
+
export * from "./GetCloudFormationTemplateCommand";
|
|
9
|
+
export * from "./ListApplicationDependenciesCommand";
|
|
10
|
+
export * from "./ListApplicationVersionsCommand";
|
|
11
|
+
export * from "./ListApplicationsCommand";
|
|
12
|
+
export * from "./PutApplicationPolicyCommand";
|
|
13
|
+
export * from "./UnshareApplicationCommand";
|
|
14
|
+
export * from "./UpdateApplicationCommand";
|
package/dist-types/index.d.ts
CHANGED
|
@@ -1,21 +1,5 @@
|
|
|
1
|
-
export * from "./ServerlessApplicationRepositoryClient";
|
|
2
1
|
export * from "./ServerlessApplicationRepository";
|
|
3
|
-
export * from "./
|
|
4
|
-
export * from "./commands
|
|
5
|
-
export * from "./
|
|
6
|
-
export * from "./
|
|
7
|
-
export * from "./commands/DeleteApplicationCommand";
|
|
8
|
-
export * from "./commands/GetApplicationCommand";
|
|
9
|
-
export * from "./commands/GetApplicationPolicyCommand";
|
|
10
|
-
export * from "./commands/GetCloudFormationTemplateCommand";
|
|
11
|
-
export * from "./commands/ListApplicationDependenciesCommand";
|
|
12
|
-
export * from "./pagination/ListApplicationDependenciesPaginator";
|
|
13
|
-
export * from "./commands/ListApplicationsCommand";
|
|
14
|
-
export * from "./pagination/ListApplicationsPaginator";
|
|
15
|
-
export * from "./commands/ListApplicationVersionsCommand";
|
|
16
|
-
export * from "./pagination/ListApplicationVersionsPaginator";
|
|
17
|
-
export * from "./commands/PutApplicationPolicyCommand";
|
|
18
|
-
export * from "./commands/UnshareApplicationCommand";
|
|
19
|
-
export * from "./commands/UpdateApplicationCommand";
|
|
20
|
-
export * from "./pagination/Interfaces";
|
|
21
|
-
export * from "./models/index";
|
|
2
|
+
export * from "./ServerlessApplicationRepositoryClient";
|
|
3
|
+
export * from "./commands";
|
|
4
|
+
export * from "./models";
|
|
5
|
+
export * from "./pagination";
|
|
@@ -14,113 +14,61 @@ import { PutApplicationPolicyCommandInput, PutApplicationPolicyCommandOutput } f
|
|
|
14
14
|
import { UnshareApplicationCommandInput, UnshareApplicationCommandOutput } from "./commands/UnshareApplicationCommand";
|
|
15
15
|
import { UpdateApplicationCommandInput, UpdateApplicationCommandOutput } from "./commands/UpdateApplicationCommand";
|
|
16
16
|
import { ServerlessApplicationRepositoryClient } from "./ServerlessApplicationRepositoryClient";
|
|
17
|
-
|
|
18
|
-
* <p>The AWS Serverless Application Repository makes it easy for developers and enterprises to quickly find
|
|
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
|
-
*/
|
|
17
|
+
|
|
39
18
|
export declare class ServerlessApplicationRepository extends ServerlessApplicationRepositoryClient {
|
|
40
|
-
|
|
41
|
-
* <p>Creates an application, optionally including an AWS SAM file to create the first application version in the same call.</p>
|
|
42
|
-
*/
|
|
19
|
+
|
|
43
20
|
createApplication(args: CreateApplicationCommandInput, options?: __HttpHandlerOptions): Promise<CreateApplicationCommandOutput>;
|
|
44
21
|
createApplication(args: CreateApplicationCommandInput, cb: (err: any, data?: CreateApplicationCommandOutput) => void): void;
|
|
45
22
|
createApplication(args: CreateApplicationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateApplicationCommandOutput) => void): void;
|
|
46
|
-
|
|
47
|
-
* <p>Creates an application version.</p>
|
|
48
|
-
*/
|
|
23
|
+
|
|
49
24
|
createApplicationVersion(args: CreateApplicationVersionCommandInput, options?: __HttpHandlerOptions): Promise<CreateApplicationVersionCommandOutput>;
|
|
50
25
|
createApplicationVersion(args: CreateApplicationVersionCommandInput, cb: (err: any, data?: CreateApplicationVersionCommandOutput) => void): void;
|
|
51
26
|
createApplicationVersion(args: CreateApplicationVersionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateApplicationVersionCommandOutput) => void): void;
|
|
52
|
-
|
|
53
|
-
* <p>Creates an AWS CloudFormation change set for the given application.</p>
|
|
54
|
-
*/
|
|
27
|
+
|
|
55
28
|
createCloudFormationChangeSet(args: CreateCloudFormationChangeSetCommandInput, options?: __HttpHandlerOptions): Promise<CreateCloudFormationChangeSetCommandOutput>;
|
|
56
29
|
createCloudFormationChangeSet(args: CreateCloudFormationChangeSetCommandInput, cb: (err: any, data?: CreateCloudFormationChangeSetCommandOutput) => void): void;
|
|
57
30
|
createCloudFormationChangeSet(args: CreateCloudFormationChangeSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateCloudFormationChangeSetCommandOutput) => void): void;
|
|
58
|
-
|
|
59
|
-
* <p>Creates an AWS CloudFormation template.</p>
|
|
60
|
-
*/
|
|
31
|
+
|
|
61
32
|
createCloudFormationTemplate(args: CreateCloudFormationTemplateCommandInput, options?: __HttpHandlerOptions): Promise<CreateCloudFormationTemplateCommandOutput>;
|
|
62
33
|
createCloudFormationTemplate(args: CreateCloudFormationTemplateCommandInput, cb: (err: any, data?: CreateCloudFormationTemplateCommandOutput) => void): void;
|
|
63
34
|
createCloudFormationTemplate(args: CreateCloudFormationTemplateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateCloudFormationTemplateCommandOutput) => void): void;
|
|
64
|
-
|
|
65
|
-
* <p>Deletes the specified application.</p>
|
|
66
|
-
*/
|
|
35
|
+
|
|
67
36
|
deleteApplication(args: DeleteApplicationCommandInput, options?: __HttpHandlerOptions): Promise<DeleteApplicationCommandOutput>;
|
|
68
37
|
deleteApplication(args: DeleteApplicationCommandInput, cb: (err: any, data?: DeleteApplicationCommandOutput) => void): void;
|
|
69
38
|
deleteApplication(args: DeleteApplicationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteApplicationCommandOutput) => void): void;
|
|
70
|
-
|
|
71
|
-
* <p>Gets the specified application.</p>
|
|
72
|
-
*/
|
|
39
|
+
|
|
73
40
|
getApplication(args: GetApplicationCommandInput, options?: __HttpHandlerOptions): Promise<GetApplicationCommandOutput>;
|
|
74
41
|
getApplication(args: GetApplicationCommandInput, cb: (err: any, data?: GetApplicationCommandOutput) => void): void;
|
|
75
42
|
getApplication(args: GetApplicationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetApplicationCommandOutput) => void): void;
|
|
76
|
-
|
|
77
|
-
* <p>Retrieves the policy for the application.</p>
|
|
78
|
-
*/
|
|
43
|
+
|
|
79
44
|
getApplicationPolicy(args: GetApplicationPolicyCommandInput, options?: __HttpHandlerOptions): Promise<GetApplicationPolicyCommandOutput>;
|
|
80
45
|
getApplicationPolicy(args: GetApplicationPolicyCommandInput, cb: (err: any, data?: GetApplicationPolicyCommandOutput) => void): void;
|
|
81
46
|
getApplicationPolicy(args: GetApplicationPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetApplicationPolicyCommandOutput) => void): void;
|
|
82
|
-
|
|
83
|
-
* <p>Gets the specified AWS CloudFormation template.</p>
|
|
84
|
-
*/
|
|
47
|
+
|
|
85
48
|
getCloudFormationTemplate(args: GetCloudFormationTemplateCommandInput, options?: __HttpHandlerOptions): Promise<GetCloudFormationTemplateCommandOutput>;
|
|
86
49
|
getCloudFormationTemplate(args: GetCloudFormationTemplateCommandInput, cb: (err: any, data?: GetCloudFormationTemplateCommandOutput) => void): void;
|
|
87
50
|
getCloudFormationTemplate(args: GetCloudFormationTemplateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetCloudFormationTemplateCommandOutput) => void): void;
|
|
88
|
-
|
|
89
|
-
* <p>Retrieves the list of applications nested in the containing application.</p>
|
|
90
|
-
*/
|
|
51
|
+
|
|
91
52
|
listApplicationDependencies(args: ListApplicationDependenciesCommandInput, options?: __HttpHandlerOptions): Promise<ListApplicationDependenciesCommandOutput>;
|
|
92
53
|
listApplicationDependencies(args: ListApplicationDependenciesCommandInput, cb: (err: any, data?: ListApplicationDependenciesCommandOutput) => void): void;
|
|
93
54
|
listApplicationDependencies(args: ListApplicationDependenciesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListApplicationDependenciesCommandOutput) => void): void;
|
|
94
|
-
|
|
95
|
-
* <p>Lists applications owned by the requester.</p>
|
|
96
|
-
*/
|
|
55
|
+
|
|
97
56
|
listApplications(args: ListApplicationsCommandInput, options?: __HttpHandlerOptions): Promise<ListApplicationsCommandOutput>;
|
|
98
57
|
listApplications(args: ListApplicationsCommandInput, cb: (err: any, data?: ListApplicationsCommandOutput) => void): void;
|
|
99
58
|
listApplications(args: ListApplicationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListApplicationsCommandOutput) => void): void;
|
|
100
|
-
|
|
101
|
-
* <p>Lists versions for the specified application.</p>
|
|
102
|
-
*/
|
|
59
|
+
|
|
103
60
|
listApplicationVersions(args: ListApplicationVersionsCommandInput, options?: __HttpHandlerOptions): Promise<ListApplicationVersionsCommandOutput>;
|
|
104
61
|
listApplicationVersions(args: ListApplicationVersionsCommandInput, cb: (err: any, data?: ListApplicationVersionsCommandOutput) => void): void;
|
|
105
62
|
listApplicationVersions(args: ListApplicationVersionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListApplicationVersionsCommandOutput) => void): void;
|
|
106
|
-
|
|
107
|
-
* <p>Sets the permission policy for an application. For the list of actions supported for this operation, see
|
|
108
|
-
* <a href="https://docs.aws.amazon.com/serverlessrepo/latest/devguide/access-control-resource-based.html#application-permissions">Application
|
|
109
|
-
* Permissions</a>
|
|
110
|
-
* .</p>
|
|
111
|
-
*/
|
|
63
|
+
|
|
112
64
|
putApplicationPolicy(args: PutApplicationPolicyCommandInput, options?: __HttpHandlerOptions): Promise<PutApplicationPolicyCommandOutput>;
|
|
113
65
|
putApplicationPolicy(args: PutApplicationPolicyCommandInput, cb: (err: any, data?: PutApplicationPolicyCommandOutput) => void): void;
|
|
114
66
|
putApplicationPolicy(args: PutApplicationPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutApplicationPolicyCommandOutput) => void): void;
|
|
115
|
-
|
|
116
|
-
* <p>Unshares an application from an AWS Organization.</p><p>This operation can be called only from the organization's master account.</p>
|
|
117
|
-
*/
|
|
67
|
+
|
|
118
68
|
unshareApplication(args: UnshareApplicationCommandInput, options?: __HttpHandlerOptions): Promise<UnshareApplicationCommandOutput>;
|
|
119
69
|
unshareApplication(args: UnshareApplicationCommandInput, cb: (err: any, data?: UnshareApplicationCommandOutput) => void): void;
|
|
120
70
|
unshareApplication(args: UnshareApplicationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UnshareApplicationCommandOutput) => void): void;
|
|
121
|
-
|
|
122
|
-
* <p>Updates the specified application.</p>
|
|
123
|
-
*/
|
|
71
|
+
|
|
124
72
|
updateApplication(args: UpdateApplicationCommandInput, options?: __HttpHandlerOptions): Promise<UpdateApplicationCommandOutput>;
|
|
125
73
|
updateApplication(args: UpdateApplicationCommandInput, cb: (err: any, data?: UpdateApplicationCommandOutput) => void): void;
|
|
126
74
|
updateApplication(args: UpdateApplicationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateApplicationCommandOutput) => void): void;
|