@jjrawlins/cdk-iam-policy-builder-helper 0.0.21 → 0.0.22
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/.jsii +3 -3
- package/cdk-iam-policy-builder-helper/jsii/jsii.go +2 -2
- package/cdk-iam-policy-builder-helper/version +1 -1
- package/node_modules/@smithy/abort-controller/package.json +2 -2
- package/node_modules/@smithy/config-resolver/package.json +4 -4
- package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +14 -16
- package/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +155 -221
- package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpBindingProtocol.js +12 -10
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/ErrorSchema.js +12 -22
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/ListSchema.js +9 -20
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/MapSchema.js +10 -21
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/NormalizedSchema.js +76 -87
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/OperationSchema.js +11 -12
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/Schema.js +16 -3
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/SimpleSchema.js +9 -20
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/StructureSchema.js +10 -27
- package/node_modules/@smithy/core/dist-types/submodules/cbor/SmithyRpcV2CborProtocol.d.ts +1 -2
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/ErrorSchema.d.ts +3 -16
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/ListSchema.d.ts +3 -5
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/MapSchema.d.ts +3 -9
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/NormalizedSchema.d.ts +15 -13
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/OperationSchema.d.ts +3 -2
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/Schema.d.ts +5 -1
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/SimpleSchema.d.ts +3 -5
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/StructureSchema.d.ts +3 -6
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/SmithyRpcV2CborProtocol.d.ts +1 -2
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/ErrorSchema.d.ts +3 -16
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/ListSchema.d.ts +3 -5
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/MapSchema.d.ts +3 -9
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/NormalizedSchema.d.ts +15 -13
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/OperationSchema.d.ts +3 -2
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/Schema.d.ts +5 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/SimpleSchema.d.ts +3 -5
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/StructureSchema.d.ts +3 -9
- package/node_modules/@smithy/core/package.json +7 -7
- package/node_modules/@smithy/credential-provider-imds/package.json +5 -5
- package/node_modules/@smithy/fetch-http-handler/package.json +5 -5
- package/node_modules/@smithy/hash-node/package.json +2 -2
- package/node_modules/@smithy/invalid-dependency/package.json +2 -2
- package/node_modules/@smithy/middleware-content-length/package.json +3 -3
- package/node_modules/@smithy/middleware-endpoint/package.json +8 -8
- package/node_modules/@smithy/middleware-retry/package.json +8 -8
- package/node_modules/@smithy/middleware-serde/package.json +3 -3
- package/node_modules/@smithy/middleware-stack/package.json +2 -2
- package/node_modules/@smithy/node-config-provider/package.json +4 -4
- package/node_modules/@smithy/node-http-handler/package.json +5 -5
- package/node_modules/@smithy/property-provider/package.json +2 -2
- package/node_modules/@smithy/protocol-http/package.json +2 -2
- package/node_modules/@smithy/querystring-builder/package.json +2 -2
- package/node_modules/@smithy/querystring-parser/package.json +2 -2
- package/node_modules/@smithy/service-error-classification/package.json +2 -2
- package/node_modules/@smithy/shared-ini-file-loader/package.json +2 -2
- package/node_modules/@smithy/signature-v4/package.json +4 -4
- package/node_modules/@smithy/smithy-client/package.json +7 -7
- package/node_modules/@smithy/types/dist-types/schema/schema.d.ts +9 -2
- package/node_modules/@smithy/types/dist-types/ts3.4/schema/schema.d.ts +13 -3
- package/node_modules/@smithy/types/package.json +1 -1
- package/node_modules/@smithy/url-parser/package.json +3 -3
- package/node_modules/@smithy/util-defaults-mode-browser/package.json +4 -4
- package/node_modules/@smithy/util-defaults-mode-node/package.json +7 -7
- package/node_modules/@smithy/util-endpoints/package.json +3 -3
- package/node_modules/@smithy/util-middleware/package.json +2 -2
- package/node_modules/@smithy/util-retry/package.json +3 -3
- package/node_modules/@smithy/util-stream/package.json +4 -4
- package/node_modules/@smithy/util-waiter/package.json +3 -3
- package/package.json +2 -2
package/.jsii
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"dependencies": {
|
|
15
15
|
"aws-cdk-lib": "^2.214.0",
|
|
16
16
|
"constructs": "^10.4.2",
|
|
17
|
-
"projen": "^0.
|
|
17
|
+
"projen": "^0.96.0"
|
|
18
18
|
},
|
|
19
19
|
"dependencyClosure": {
|
|
20
20
|
"@aws-cdk/asset-awscli-v1": {
|
|
@@ -4140,6 +4140,6 @@
|
|
|
4140
4140
|
}
|
|
4141
4141
|
},
|
|
4142
4142
|
"types": {},
|
|
4143
|
-
"version": "0.0.
|
|
4144
|
-
"fingerprint": "
|
|
4143
|
+
"version": "0.0.22",
|
|
4144
|
+
"fingerprint": "Ogwa/DVP/Foc41Ouolr7Eb9g1HmDkutp6LZ7zUO0vx8="
|
|
4145
4145
|
}
|
|
@@ -14,7 +14,7 @@ import (
|
|
|
14
14
|
projen "github.com/projen/projen-go/projen/jsii"
|
|
15
15
|
)
|
|
16
16
|
|
|
17
|
-
//go:embed jjrawlins-cdk-iam-policy-builder-helper-0.0.
|
|
17
|
+
//go:embed jjrawlins-cdk-iam-policy-builder-helper-0.0.21.tgz
|
|
18
18
|
var tarball []byte
|
|
19
19
|
|
|
20
20
|
// Initialize loads the necessary packages in the @jsii/kernel to support the enclosing module.
|
|
@@ -26,5 +26,5 @@ func Initialize() {
|
|
|
26
26
|
projen.Initialize()
|
|
27
27
|
|
|
28
28
|
// Load this library into the kernel
|
|
29
|
-
_jsii_.Load("@jjrawlins/cdk-iam-policy-builder-helper", "0.0.
|
|
29
|
+
_jsii_.Load("@jjrawlins/cdk-iam-policy-builder-helper", "0.0.21", tarball)
|
|
30
30
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
0.0.
|
|
1
|
+
0.0.21
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/abort-controller",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.1",
|
|
4
4
|
"description": "A simple abort controller library",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"license": "Apache-2.0",
|
|
27
27
|
"sideEffects": false,
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@smithy/types": "^4.
|
|
29
|
+
"@smithy/types": "^4.5.0",
|
|
30
30
|
"tslib": "^2.6.2"
|
|
31
31
|
},
|
|
32
32
|
"engines": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/config-resolver",
|
|
3
|
-
"version": "4.2.
|
|
3
|
+
"version": "4.2.1",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
|
6
6
|
"build:cjs": "node ../../scripts/inline config-resolver",
|
|
@@ -25,10 +25,10 @@
|
|
|
25
25
|
"license": "Apache-2.0",
|
|
26
26
|
"sideEffects": false,
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@smithy/node-config-provider": "^4.2.
|
|
29
|
-
"@smithy/types": "^4.
|
|
28
|
+
"@smithy/node-config-provider": "^4.2.1",
|
|
29
|
+
"@smithy/types": "^4.5.0",
|
|
30
30
|
"@smithy/util-config-provider": "^4.1.0",
|
|
31
|
-
"@smithy/util-middleware": "^4.1.
|
|
31
|
+
"@smithy/util-middleware": "^4.1.1",
|
|
32
32
|
"tslib": "^2.6.2"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
@@ -333,20 +333,15 @@ var HttpBindingProtocol = class extends HttpProtocol {
|
|
|
333
333
|
if (traits.httpQueryParams) {
|
|
334
334
|
for (const [key, val] of Object.entries(data)) {
|
|
335
335
|
if (!(key in query)) {
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
}
|
|
346
|
-
]),
|
|
347
|
-
val,
|
|
348
|
-
query
|
|
349
|
-
);
|
|
336
|
+
const valueSchema = ns.getValueSchema();
|
|
337
|
+
Object.assign(valueSchema.getMergedTraits(), {
|
|
338
|
+
// We pass on the traits to the sub-schema
|
|
339
|
+
// because we are still in the process of serializing the map itself.
|
|
340
|
+
...traits,
|
|
341
|
+
httpQuery: key,
|
|
342
|
+
httpQueryParams: void 0
|
|
343
|
+
});
|
|
344
|
+
this.serializeQuery(valueSchema, val, query);
|
|
350
345
|
}
|
|
351
346
|
}
|
|
352
347
|
return;
|
|
@@ -433,6 +428,7 @@ var HttpBindingProtocol = class extends HttpProtocol {
|
|
|
433
428
|
if (null != value) {
|
|
434
429
|
if (memberSchema.isListSchema()) {
|
|
435
430
|
const headerListValueSchema = memberSchema.getValueSchema();
|
|
431
|
+
headerListValueSchema.getMergedTraits().httpHeader = key;
|
|
436
432
|
let sections;
|
|
437
433
|
if (headerListValueSchema.isTimestampSchema() && headerListValueSchema.getSchema() === import_schema2.SCHEMA.TIMESTAMP_DEFAULT) {
|
|
438
434
|
sections = (0, import_serde.splitEvery)(value, ",", 2);
|
|
@@ -441,7 +437,7 @@ var HttpBindingProtocol = class extends HttpProtocol {
|
|
|
441
437
|
}
|
|
442
438
|
const list = [];
|
|
443
439
|
for (const section of sections) {
|
|
444
|
-
list.push(await deserializer.read(
|
|
440
|
+
list.push(await deserializer.read(headerListValueSchema, section.trim()));
|
|
445
441
|
}
|
|
446
442
|
dataObject[memberName] = list;
|
|
447
443
|
} else {
|
|
@@ -452,8 +448,10 @@ var HttpBindingProtocol = class extends HttpProtocol {
|
|
|
452
448
|
dataObject[memberName] = {};
|
|
453
449
|
for (const [header, value] of Object.entries(response.headers)) {
|
|
454
450
|
if (header.startsWith(memberTraits.httpPrefixHeaders)) {
|
|
451
|
+
const valueSchema = memberSchema.getValueSchema();
|
|
452
|
+
valueSchema.getMergedTraits().httpHeader = header;
|
|
455
453
|
dataObject[memberName][header.slice(memberTraits.httpPrefixHeaders.length)] = await deserializer.read(
|
|
456
|
-
|
|
454
|
+
valueSchema,
|
|
457
455
|
value
|
|
458
456
|
);
|
|
459
457
|
}
|