aws-delivlib 14.4.11 → 14.4.12
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/lib/publishing/github/node_modules/.yarn-integrity +2 -2
- package/lib/publishing/github/node_modules/@octokit/plugin-rest-endpoint-methods/dist-node/index.js +50 -29
- package/lib/publishing/github/node_modules/@octokit/plugin-rest-endpoint-methods/dist-node/index.js.map +3 -3
- package/lib/publishing/github/node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/endpoints-to-methods.js +46 -24
- package/lib/publishing/github/node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/index.js +2 -3
- package/lib/publishing/github/node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/version.js +1 -1
- package/lib/publishing/github/node_modules/@octokit/plugin-rest-endpoint-methods/dist-types/endpoints-to-methods.d.ts +1 -2
- package/lib/publishing/github/node_modules/@octokit/plugin-rest-endpoint-methods/dist-types/version.d.ts +1 -1
- package/lib/publishing/github/node_modules/@octokit/plugin-rest-endpoint-methods/dist-web/index.js +50 -29
- package/lib/publishing/github/node_modules/@octokit/plugin-rest-endpoint-methods/dist-web/index.js.map +3 -3
- package/lib/publishing/github/node_modules/@octokit/plugin-rest-endpoint-methods/package.json +1 -1
- package/lib/publishing/github/node_modules/@types/aws-lambda/README.md +1 -1
- package/lib/publishing/github/node_modules/@types/aws-lambda/common/api-gateway.d.ts +6 -3
- package/lib/publishing/github/node_modules/@types/aws-lambda/index.d.ts +39 -39
- package/lib/publishing/github/node_modules/@types/aws-lambda/package.json +2 -2
- package/lib/publishing/github/node_modules/@types/aws-lambda/trigger/alb.d.ts +1 -1
- package/lib/publishing/github/node_modules/@types/aws-lambda/trigger/api-gateway-proxy.d.ts +30 -16
- package/lib/publishing/github/node_modules/@types/aws-lambda/trigger/autoscaling.d.ts +17 -17
- package/lib/publishing/github/node_modules/@types/aws-lambda/trigger/cloudformation-custom-resource.d.ts +6 -4
- package/lib/publishing/github/node_modules/@types/aws-lambda/trigger/cloudfront-request.d.ts +2 -2
- package/lib/publishing/github/node_modules/@types/aws-lambda/trigger/cloudfront-response.d.ts +2 -2
- package/lib/publishing/github/node_modules/@types/aws-lambda/trigger/cloudwatch-logs.d.ts +1 -1
- package/lib/publishing/github/node_modules/@types/aws-lambda/trigger/codebuild-cloudwatch-state.d.ts +8 -9
- package/lib/publishing/github/node_modules/@types/aws-lambda/trigger/codecommit.d.ts +2 -3
- package/lib/publishing/github/node_modules/@types/aws-lambda/trigger/codepipeline-cloudwatch-action.d.ts +1 -1
- package/lib/publishing/github/node_modules/@types/aws-lambda/trigger/codepipeline-cloudwatch-pipeline.d.ts +1 -1
- package/lib/publishing/github/node_modules/@types/aws-lambda/trigger/codepipeline-cloudwatch-stage.d.ts +1 -1
- package/lib/publishing/github/node_modules/@types/aws-lambda/trigger/codepipeline-cloudwatch.d.ts +4 -4
- package/lib/publishing/github/node_modules/@types/aws-lambda/trigger/codepipeline.d.ts +2 -2
- package/lib/publishing/github/node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/_common.d.ts +24 -24
- package/lib/publishing/github/node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/create-auth-challenge.d.ts +1 -0
- package/lib/publishing/github/node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/custom-email-sender.d.ts +17 -34
- package/lib/publishing/github/node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/custom-message.d.ts +16 -14
- package/lib/publishing/github/node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/custom-sms-sender.d.ts +21 -25
- package/lib/publishing/github/node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/define-auth-challenge.d.ts +1 -0
- package/lib/publishing/github/node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/index.d.ts +28 -21
- package/lib/publishing/github/node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/post-authentication.d.ts +5 -4
- package/lib/publishing/github/node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/post-confirmation.d.ts +10 -8
- package/lib/publishing/github/node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/pre-signup.d.ts +13 -13
- package/lib/publishing/github/node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/pre-token-generation.d.ts +28 -23
- package/lib/publishing/github/node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/user-migration.d.ts +21 -21
- package/lib/publishing/github/node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/verify-auth-challenge-response.d.ts +1 -0
- package/lib/publishing/github/node_modules/@types/aws-lambda/trigger/connect-contact-flow.d.ts +1 -2
- package/lib/publishing/github/node_modules/@types/aws-lambda/trigger/dynamodb-stream.d.ts +1 -1
- package/lib/publishing/github/node_modules/@types/aws-lambda/trigger/iot.d.ts +1 -1
- package/lib/publishing/github/node_modules/@types/aws-lambda/trigger/kinesis-firehose-transformation.d.ts +1 -1
- package/lib/publishing/github/node_modules/@types/aws-lambda/trigger/kinesis-stream.d.ts +6 -3
- package/lib/publishing/github/node_modules/@types/aws-lambda/trigger/lex-v2.d.ts +9 -14
- package/lib/publishing/github/node_modules/@types/aws-lambda/trigger/lex.d.ts +14 -10
- package/lib/publishing/github/node_modules/@types/aws-lambda/trigger/s3-batch.d.ts +1 -1
- package/lib/publishing/github/node_modules/@types/aws-lambda/trigger/s3.d.ts +1 -1
- package/lib/publishing/github/node_modules/@types/aws-lambda/trigger/ses.d.ts +7 -1
- package/lib/publishing/github/node_modules/@types/aws-lambda/trigger/sns.d.ts +2 -2
- package/package.json +4 -4
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"@octokit/openapi-types@^18.0.0": "https://registry.yarnpkg.com/@octokit/openapi-types/-/openapi-types-18.0.0.tgz#f43d765b3c7533fd6fb88f3f25df079c24fccf69",
|
|
32
32
|
"@octokit/plugin-paginate-rest@^6.0.0": "https://registry.yarnpkg.com/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-6.1.2.tgz#f86456a7a1fe9e58fec6385a85cf1b34072341f8",
|
|
33
33
|
"@octokit/plugin-paginate-rest@^6.1.0": "https://registry.yarnpkg.com/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-6.1.2.tgz#f86456a7a1fe9e58fec6385a85cf1b34072341f8",
|
|
34
|
-
"@octokit/plugin-rest-endpoint-methods@^7.1.1": "https://registry.yarnpkg.com/@octokit/plugin-rest-endpoint-methods/-/plugin-rest-endpoint-methods-7.2.
|
|
34
|
+
"@octokit/plugin-rest-endpoint-methods@^7.1.1": "https://registry.yarnpkg.com/@octokit/plugin-rest-endpoint-methods/-/plugin-rest-endpoint-methods-7.2.3.tgz#37a84b171a6cb6658816c82c4082ac3512021797",
|
|
35
35
|
"@octokit/plugin-retry@^4.1.3": "https://registry.yarnpkg.com/@octokit/plugin-retry/-/plugin-retry-4.1.6.tgz#e33b1e520f0bd24d515c9901676b55df64dfc795",
|
|
36
36
|
"@octokit/plugin-throttling@^5.2.2": "https://registry.yarnpkg.com/@octokit/plugin-throttling/-/plugin-throttling-5.2.3.tgz#9f552a14dcee5c7326dd9dee64a71ea76b108814",
|
|
37
37
|
"@octokit/request-error@^3.0.0": "https://registry.yarnpkg.com/@octokit/request-error/-/request-error-3.0.3.tgz#ef3dd08b8e964e53e55d471acfe00baa892b9c69",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"@octokit/webhooks-methods@^3.0.0": "https://registry.yarnpkg.com/@octokit/webhooks-methods/-/webhooks-methods-3.0.3.tgz#2648668d34fe44e437eca90c9031d0f3cb759c77",
|
|
47
47
|
"@octokit/webhooks-types@6.11.0": "https://registry.yarnpkg.com/@octokit/webhooks-types/-/webhooks-types-6.11.0.tgz#1fb903bff3f2883490d6ba88d8cb8f8a55f68176",
|
|
48
48
|
"@octokit/webhooks@^10.0.0": "https://registry.yarnpkg.com/@octokit/webhooks/-/webhooks-10.9.1.tgz#4674a6924567419d7d0187a8b6c88ec468a97a86",
|
|
49
|
-
"@types/aws-lambda@^8.10.83": "https://registry.yarnpkg.com/@types/aws-lambda/-/aws-lambda-8.10.
|
|
49
|
+
"@types/aws-lambda@^8.10.83": "https://registry.yarnpkg.com/@types/aws-lambda/-/aws-lambda-8.10.119.tgz#aaf010a9c892b3e29a290e5c49bfe8bcec82c455",
|
|
50
50
|
"@types/btoa-lite@^1.0.0": "https://registry.yarnpkg.com/@types/btoa-lite/-/btoa-lite-1.0.0.tgz#e190a5a548e0b348adb0df9ac7fa5f1151c7cca4",
|
|
51
51
|
"@types/changelog-parser@^2.8.1": "https://registry.yarnpkg.com/@types/changelog-parser/-/changelog-parser-2.8.1.tgz#294f63a1d54af24ee73e600c1a0d4ba7ca9c2516",
|
|
52
52
|
"@types/jsonwebtoken@^9.0.0": "https://registry.yarnpkg.com/@types/jsonwebtoken/-/jsonwebtoken-9.0.2.tgz#9eeb56c76dd555039be2a3972218de5bd3b8d83e",
|
package/lib/publishing/github/node_modules/@octokit/plugin-rest-endpoint-methods/dist-node/index.js
CHANGED
|
@@ -25,6 +25,9 @@ __export(dist_src_exports, {
|
|
|
25
25
|
});
|
|
26
26
|
module.exports = __toCommonJS(dist_src_exports);
|
|
27
27
|
|
|
28
|
+
// pkg/dist-src/version.js
|
|
29
|
+
var VERSION = "7.2.3";
|
|
30
|
+
|
|
28
31
|
// pkg/dist-src/generated/endpoints.js
|
|
29
32
|
var Endpoints = {
|
|
30
33
|
actions: {
|
|
@@ -1894,36 +1897,54 @@ var Endpoints = {
|
|
|
1894
1897
|
};
|
|
1895
1898
|
var endpoints_default = Endpoints;
|
|
1896
1899
|
|
|
1897
|
-
// pkg/dist-src/version.js
|
|
1898
|
-
var VERSION = "7.2.2";
|
|
1899
|
-
|
|
1900
1900
|
// pkg/dist-src/endpoints-to-methods.js
|
|
1901
|
-
|
|
1902
|
-
|
|
1903
|
-
for (const [
|
|
1904
|
-
|
|
1905
|
-
|
|
1906
|
-
|
|
1907
|
-
|
|
1908
|
-
|
|
1909
|
-
|
|
1901
|
+
var endpointMethodsMap = /* @__PURE__ */ new Map();
|
|
1902
|
+
for (const [scope, endpoints] of Object.entries(endpoints_default)) {
|
|
1903
|
+
for (const [methodName, endpoint] of Object.entries(endpoints)) {
|
|
1904
|
+
const [route, defaults, decorations] = endpoint;
|
|
1905
|
+
const [method, url] = route.split(/ /);
|
|
1906
|
+
const endpointDefaults = Object.assign(
|
|
1907
|
+
{
|
|
1908
|
+
method,
|
|
1909
|
+
url
|
|
1910
|
+
},
|
|
1911
|
+
defaults
|
|
1912
|
+
);
|
|
1913
|
+
if (!endpointMethodsMap.has(scope)) {
|
|
1914
|
+
endpointMethodsMap.set(scope, /* @__PURE__ */ new Map());
|
|
1915
|
+
}
|
|
1916
|
+
endpointMethodsMap.get(scope).set(methodName, {
|
|
1917
|
+
scope,
|
|
1918
|
+
methodName,
|
|
1919
|
+
endpointDefaults,
|
|
1920
|
+
decorations
|
|
1921
|
+
});
|
|
1922
|
+
}
|
|
1923
|
+
}
|
|
1924
|
+
var handler = {
|
|
1925
|
+
get({ octokit, scope, cache }, methodName) {
|
|
1926
|
+
if (cache[methodName]) {
|
|
1927
|
+
return cache[methodName];
|
|
1928
|
+
}
|
|
1929
|
+
const { decorations, endpointDefaults } = endpointMethodsMap.get(scope).get(methodName);
|
|
1930
|
+
if (decorations) {
|
|
1931
|
+
cache[methodName] = decorate(
|
|
1932
|
+
octokit,
|
|
1933
|
+
scope,
|
|
1934
|
+
methodName,
|
|
1935
|
+
endpointDefaults,
|
|
1936
|
+
decorations
|
|
1910
1937
|
);
|
|
1911
|
-
|
|
1912
|
-
|
|
1913
|
-
}
|
|
1914
|
-
const scopeMethods = newMethods[scope];
|
|
1915
|
-
if (decorations) {
|
|
1916
|
-
scopeMethods[methodName] = decorate(
|
|
1917
|
-
octokit,
|
|
1918
|
-
scope,
|
|
1919
|
-
methodName,
|
|
1920
|
-
endpointDefaults,
|
|
1921
|
-
decorations
|
|
1922
|
-
);
|
|
1923
|
-
continue;
|
|
1924
|
-
}
|
|
1925
|
-
scopeMethods[methodName] = octokit.request.defaults(endpointDefaults);
|
|
1938
|
+
} else {
|
|
1939
|
+
cache[methodName] = octokit.request.defaults(endpointDefaults);
|
|
1926
1940
|
}
|
|
1941
|
+
return cache[methodName];
|
|
1942
|
+
}
|
|
1943
|
+
};
|
|
1944
|
+
function endpointsToMethods(octokit) {
|
|
1945
|
+
const newMethods = {};
|
|
1946
|
+
for (const scope of endpointMethodsMap.keys()) {
|
|
1947
|
+
newMethods[scope] = new Proxy({ octokit, scope, cache: {} }, handler);
|
|
1927
1948
|
}
|
|
1928
1949
|
return newMethods;
|
|
1929
1950
|
}
|
|
@@ -1971,14 +1992,14 @@ function decorate(octokit, scope, methodName, defaults, decorations) {
|
|
|
1971
1992
|
|
|
1972
1993
|
// pkg/dist-src/index.js
|
|
1973
1994
|
function restEndpointMethods(octokit) {
|
|
1974
|
-
const api = endpointsToMethods(octokit
|
|
1995
|
+
const api = endpointsToMethods(octokit);
|
|
1975
1996
|
return {
|
|
1976
1997
|
rest: api
|
|
1977
1998
|
};
|
|
1978
1999
|
}
|
|
1979
2000
|
restEndpointMethods.VERSION = VERSION;
|
|
1980
2001
|
function legacyRestEndpointMethods(octokit) {
|
|
1981
|
-
const api = endpointsToMethods(octokit
|
|
2002
|
+
const api = endpointsToMethods(octokit);
|
|
1982
2003
|
return {
|
|
1983
2004
|
...api,
|
|
1984
2005
|
rest: api
|