@gemeentenijmegen/webapp 1.1.6 → 1.1.7
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 +13 -13
- package/assets/webapp/auth/auth.lambda/index.js +10 -10
- package/assets/webapp/login/login.lambda/index.js +10 -10
- package/assets/webapp/logout/logout.lambda/index.js +10 -10
- package/lib/webapp/Criticality.js +1 -1
- package/lib/webapp/Webapp.js +1 -1
- package/lib/webapp/Webpage.js +1 -1
- package/lib/webapp/auth/auth-function.js +2 -2
- package/lib/webapp/login/login-function.js +2 -2
- package/lib/webapp/logout/logout-function.js +2 -2
- package/lib/webapp/util/Files.js +1 -1
- package/node_modules/@aws-sdk/client-dynamodb/dist-cjs/auth/httpAuthSchemeProvider.js +3 -1
- package/node_modules/@aws-sdk/client-dynamodb/dist-cjs/endpoint/ruleset.js +1 -1
- package/node_modules/@aws-sdk/client-dynamodb/dist-cjs/index.js +11 -1
- package/node_modules/@aws-sdk/client-dynamodb/dist-cjs/runtimeConfig.js +1 -0
- package/node_modules/@aws-sdk/client-dynamodb/dist-es/auth/httpAuthSchemeProvider.js +3 -1
- package/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/TransactWriteItemsCommand.js +7 -1
- package/node_modules/@aws-sdk/client-dynamodb/dist-es/endpoint/ruleset.js +1 -1
- package/node_modules/@aws-sdk/client-dynamodb/dist-es/runtimeConfig.js +2 -1
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/auth/httpAuthSchemeProvider.d.ts +15 -1
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/BatchExecuteStatementCommand.d.ts +2 -3
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/BatchGetItemCommand.d.ts +6 -1
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/BatchWriteItemCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DeleteItemCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DescribeContinuousBackupsCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/ExecuteStatementCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/ExecuteTransactionCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/GetItemCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/PutItemCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/QueryCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/RestoreTableToPointInTimeCommand.d.ts +3 -2
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/ScanCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/TagResourceCommand.d.ts +11 -2
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/TransactGetItemsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/TransactWriteItemsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/UntagResourceCommand.d.ts +11 -2
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/UpdateContinuousBackupsCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/UpdateItemCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/models/models_0.d.ts +73 -41
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/runtimeConfig.d.ts +1 -0
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/runtimeConfig.native.d.ts +1 -0
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +3 -0
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/runtimeConfig.d.ts +1 -0
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/node_modules/@aws-sdk/client-dynamodb/package.json +13 -13
- package/node_modules/@aws-sdk/client-s3/dist-cjs/auth/httpAuthSchemeProvider.js +3 -1
- package/node_modules/@aws-sdk/client-s3/dist-cjs/index.js +20 -20
- package/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.js +1 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/auth/httpAuthSchemeProvider.js +3 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/protocols/Aws_restXml.js +20 -20
- package/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.js +2 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/auth/httpAuthSchemeProvider.d.ts +15 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.d.ts +1 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.native.d.ts +1 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +3 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.d.ts +1 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/node_modules/@aws-sdk/client-s3/package.json +17 -17
- package/node_modules/@aws-sdk/client-secrets-manager/dist-cjs/auth/httpAuthSchemeProvider.js +3 -1
- package/node_modules/@aws-sdk/client-secrets-manager/dist-cjs/runtimeConfig.js +1 -0
- package/node_modules/@aws-sdk/client-secrets-manager/dist-es/auth/httpAuthSchemeProvider.js +3 -1
- package/node_modules/@aws-sdk/client-secrets-manager/dist-es/runtimeConfig.js +2 -1
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/auth/httpAuthSchemeProvider.d.ts +15 -1
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/runtimeConfig.d.ts +1 -0
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/runtimeConfig.native.d.ts +1 -0
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +3 -0
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/runtimeConfig.d.ts +1 -0
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/node_modules/@aws-sdk/client-secrets-manager/package.json +13 -13
- package/node_modules/@aws-sdk/client-ssm/README.md +16 -0
- package/node_modules/@aws-sdk/client-ssm/dist-cjs/auth/httpAuthSchemeProvider.js +3 -1
- package/node_modules/@aws-sdk/client-ssm/dist-cjs/index.js +333 -71
- package/node_modules/@aws-sdk/client-ssm/dist-cjs/runtimeConfig.js +1 -0
- package/node_modules/@aws-sdk/client-ssm/dist-es/SSM.js +4 -0
- package/node_modules/@aws-sdk/client-ssm/dist-es/auth/httpAuthSchemeProvider.js +3 -1
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/GetAccessTokenCommand.js +23 -0
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/RegisterTargetWithMaintenanceWindowCommand.js +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/RegisterTaskWithMaintenanceWindowCommand.js +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/StartAccessRequestCommand.js +22 -0
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/index.js +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-es/models/models_0.js +24 -4
- package/node_modules/@aws-sdk/client-ssm/dist-es/models/models_1.js +57 -27
- package/node_modules/@aws-sdk/client-ssm/dist-es/models/models_2.js +50 -16
- package/node_modules/@aws-sdk/client-ssm/dist-es/protocols/Aws_json1_1.js +94 -6
- package/node_modules/@aws-sdk/client-ssm/dist-es/runtimeConfig.js +2 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/SSM.d.ts +14 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/SSMClient.d.ts +4 -2
- package/node_modules/@aws-sdk/client-ssm/dist-types/auth/httpAuthSchemeProvider.d.ts +15 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/CreateDocumentCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeAutomationExecutionsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeDocumentCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeMaintenanceWindowScheduleCommand.d.ts +1 -2
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeOpsItemsCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetAccessTokenCommand.d.ts +94 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetAutomationExecutionCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetDocumentCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetOpsItemCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListDocumentsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/RegisterTargetWithMaintenanceWindowCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/RegisterTaskWithMaintenanceWindowCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/RemoveTagsFromResourceCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/SendAutomationSignalCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/StartAccessRequestCommand.d.ts +105 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateDocumentCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateOpsItemCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/index.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/models/models_0.d.ts +31 -51
- package/node_modules/@aws-sdk/client-ssm/dist-types/models/models_1.d.ts +163 -348
- package/node_modules/@aws-sdk/client-ssm/dist-types/models/models_2.d.ts +413 -21
- package/node_modules/@aws-sdk/client-ssm/dist-types/protocols/Aws_json1_1.d.ts +18 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/runtimeConfig.d.ts +1 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/runtimeConfig.native.d.ts +1 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/SSM.d.ts +34 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/SSMClient.d.ts +12 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +3 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeMaintenanceWindowScheduleCommand.d.ts +4 -2
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetAccessTokenCommand.d.ts +50 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/RegisterTargetWithMaintenanceWindowCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/RegisterTaskWithMaintenanceWindowCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/RemoveTagsFromResourceCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/StartAccessRequestCommand.d.ts +51 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/models/models_0.d.ts +20 -14
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/models/models_1.d.ts +61 -58
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/models/models_2.d.ts +81 -9
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +24 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/runtimeConfig.d.ts +1 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/node_modules/@aws-sdk/client-ssm/package.json +13 -13
- package/node_modules/@aws-sdk/client-sso/dist-cjs/auth/httpAuthSchemeProvider.js +3 -1
- package/node_modules/@aws-sdk/client-sso/dist-cjs/runtimeConfig.js +1 -0
- package/node_modules/@aws-sdk/client-sso/dist-es/auth/httpAuthSchemeProvider.js +3 -1
- package/node_modules/@aws-sdk/client-sso/dist-es/runtimeConfig.js +2 -1
- package/node_modules/@aws-sdk/client-sso/dist-types/auth/httpAuthSchemeProvider.d.ts +15 -1
- package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.native.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +3 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/node_modules/@aws-sdk/client-sso/package.json +12 -12
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +33 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/NODE_AUTH_SCHEME_PREFERENCE_OPTIONS.js +16 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/index.js +1 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/getArrayForCommaSeparatedString.js +1 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/NODE_AUTH_SCHEME_PREFERENCE_OPTIONS.d.ts +5 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/index.d.ts +1 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/utils/getArrayForCommaSeparatedString.d.ts +8 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/NODE_AUTH_SCHEME_PREFERENCE_OPTIONS.d.ts +4 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/index.d.ts +1 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/utils/getArrayForCommaSeparatedString.d.ts +1 -0
- package/node_modules/@aws-sdk/core/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-env/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-http/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +8 -8
- package/node_modules/@aws-sdk/credential-provider-node/package.json +7 -7
- package/node_modules/@aws-sdk/credential-provider-process/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-flexible-checksums/package.json +2 -2
- package/node_modules/@aws-sdk/middleware-sdk-s3/package.json +5 -5
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +4 -4
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/auth/httpAuthSchemeProvider.js +3 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/runtimeConfig.js +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/auth/httpAuthSchemeProvider.js +3 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.js +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/auth/httpAuthSchemeProvider.js +3 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.js +2 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/auth/httpAuthSchemeProvider.js +3 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.js +2 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/auth/httpAuthSchemeProvider.d.ts +15 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.browser.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.native.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/auth/httpAuthSchemeProvider.d.ts +15 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.browser.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.native.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/auth/httpAuthSchemeProvider.d.ts +3 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.browser.d.ts +4 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.native.d.ts +4 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/auth/httpAuthSchemeProvider.d.ts +3 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.browser.d.ts +4 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.native.d.ts +4 -0
- package/node_modules/@aws-sdk/nested-clients/package.json +12 -12
- package/node_modules/@aws-sdk/s3-request-presigner/package.json +5 -5
- package/node_modules/@aws-sdk/signature-v4-multi-region/README.md +8 -2
- package/node_modules/@aws-sdk/signature-v4-multi-region/dist-cjs/index.js +55 -22
- package/node_modules/@aws-sdk/signature-v4-multi-region/dist-es/SignatureV4MultiRegion.js +62 -25
- package/node_modules/@aws-sdk/signature-v4-multi-region/dist-types/SignatureV4MultiRegion.d.ts +5 -1
- package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +6 -3
- package/node_modules/@aws-sdk/token-providers/package.json +2 -2
- package/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js +19 -0
- package/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/partitions.json +19 -0
- package/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partitions.json +19 -0
- package/node_modules/@aws-sdk/util-endpoints/package.json +1 -1
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +2 -2
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/.jsii +18 -5
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/lib/index.js +1 -1
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/.jsii +211 -11
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/index.d.ts +1 -0
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/index.js +2 -1
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/bedrock-inference-helper.d.ts +38 -0
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/bedrock-inference-helper.js +110 -0
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/dynamodb-table-defaults.d.ts +19 -3
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/dynamodb-table-defaults.js +26 -23
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/dynamodb-table-helper.js +3 -3
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/utils.d.ts +1 -0
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/utils.js +5 -1
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/vpc-helper.d.ts +2 -0
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/vpc-helper.js +13 -1
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/package.json +3 -3
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/bedrock-inference-helper.test.d.ts +13 -0
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/bedrock-inference-helper.test.js +211 -0
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/dynamo-table.test.js +89 -9
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/package.json +6 -6
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithExistingVpc.js.snapshot/cdk.out +1 -1
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithExistingVpc.js.snapshot/integ.json +3 -2
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithExistingVpc.js.snapshot/lamddb-deployFunctionWithExistingVpc.assets.json +6 -3
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithExistingVpc.js.snapshot/lamddb-deployFunctionWithExistingVpc.template.json +3 -0
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithExistingVpc.js.snapshot/lamddbdeployFunctionWithExistingVpcIntegDefaultTestDeployAssertEE08E38E.assets.json +2 -1
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithExistingVpc.js.snapshot/manifest.json +3 -3
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithExistingVpc.js.snapshot/tree.json +1 -1
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithVpc.js.snapshot/cdk.out +1 -1
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithVpc.js.snapshot/integ.json +3 -2
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithVpc.js.snapshot/lamddb-deployFunctionWithVpc.assets.json +6 -3
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithVpc.js.snapshot/lamddb-deployFunctionWithVpc.template.json +3 -0
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithVpc.js.snapshot/lamddbdeployFunctionWithVpcIntegDefaultTestDeployAssert0AB8275C.assets.json +2 -1
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithVpc.js.snapshot/manifest.json +3 -3
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithVpc.js.snapshot/tree.json +1 -1
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-point-in-time-recovery.d.ts +13 -0
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-point-in-time-recovery.js +44 -0
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-point-in-time-recovery.js.snapshot/asset.a0c6248ec595d3ceec1177aa5ac5b494fdf4c66f1b88aa48086befd44f193d8c/index.js +21 -0
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-point-in-time-recovery.js.snapshot/cdk.out +1 -0
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-point-in-time-recovery.js.snapshot/integ.json +13 -0
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-point-in-time-recovery.js.snapshot/lamddb-point-in-time-recovery.assets.json +34 -0
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-point-in-time-recovery.js.snapshot/lamddb-point-in-time-recovery.template.json +253 -0
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-point-in-time-recovery.js.snapshot/lamddbpointintimerecoveryIntegDefaultTestDeployAssertB0CCD339.assets.json +20 -0
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-point-in-time-recovery.js.snapshot/lamddbpointintimerecoveryIntegDefaultTestDeployAssertB0CCD339.template.json +36 -0
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-point-in-time-recovery.js.snapshot/manifest.json +314 -0
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-point-in-time-recovery.js.snapshot/tree.json +1 -0
- package/node_modules/@gemeentenijmegen/apiclient/node_modules/@gemeentenijmegen/utils/package.json +7 -7
- package/node_modules/@gemeentenijmegen/apiclient/package.json +9 -9
- package/node_modules/@gemeentenijmegen/apigateway-http/README.md +15 -3
- package/node_modules/@gemeentenijmegen/apigateway-http/lib/V1/Response.d.ts +19 -0
- package/node_modules/@gemeentenijmegen/apigateway-http/lib/V1/Response.js +85 -0
- package/node_modules/@gemeentenijmegen/apigateway-http/lib/V2/Response.d.ts +1 -0
- package/node_modules/@gemeentenijmegen/apigateway-http/lib/V2/Response.js +10 -10
- package/node_modules/@gemeentenijmegen/apigateway-http/package.json +6 -6
- package/node_modules/@gemeentenijmegen/session/package.json +4 -4
- package/node_modules/@gemeentenijmegen/utils/lib/Storage.d.ts +8 -0
- package/node_modules/@gemeentenijmegen/utils/lib/Storage.js +39 -3
- package/node_modules/@gemeentenijmegen/utils/package.json +8 -7
- package/node_modules/@smithy/core/dist-cjs/index.js +27 -1
- package/node_modules/@smithy/core/dist-cjs/middleware-http-auth-scheme/resolveAuthOptions.js +1 -0
- package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +4 -1
- package/node_modules/@smithy/core/dist-es/middleware-http-auth-scheme/httpAuthSchemeMiddleware.js +4 -1
- package/node_modules/@smithy/core/dist-es/middleware-http-auth-scheme/resolveAuthOptions.js +20 -0
- package/node_modules/@smithy/core/dist-es/submodules/cbor/parseCborBody.js +3 -1
- package/node_modules/@smithy/core/dist-types/middleware-http-auth-scheme/httpAuthSchemeMiddleware.d.ts +2 -1
- package/node_modules/@smithy/core/dist-types/middleware-http-auth-scheme/resolveAuthOptions.d.ts +10 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/middleware-http-auth-scheme/httpAuthSchemeMiddleware.d.ts +2 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/middleware-http-auth-scheme/resolveAuthOptions.d.ts +10 -0
- package/node_modules/@smithy/core/package.json +1 -1
- package/node_modules/@smithy/middleware-endpoint/package.json +2 -2
- package/node_modules/@smithy/middleware-retry/package.json +4 -4
- package/node_modules/@smithy/service-error-classification/dist-cjs/index.js +22 -1
- package/node_modules/@smithy/service-error-classification/dist-es/index.js +15 -0
- package/node_modules/@smithy/service-error-classification/dist-types/index.d.ts +5 -0
- package/node_modules/@smithy/service-error-classification/dist-types/ts3.4/index.d.ts +5 -0
- package/node_modules/@smithy/service-error-classification/package.json +1 -1
- package/node_modules/@smithy/signature-v4/dist-cjs/SignatureV4Base.js +1 -0
- package/node_modules/@smithy/signature-v4/dist-cjs/index.js +196 -92
- package/node_modules/@smithy/signature-v4/dist-cjs/signature-v4a-container.js +1 -0
- package/node_modules/@smithy/signature-v4/dist-es/SignatureV4.js +17 -73
- package/node_modules/@smithy/signature-v4/dist-es/SignatureV4Base.js +73 -0
- package/node_modules/@smithy/signature-v4/dist-es/index.js +4 -0
- package/node_modules/@smithy/signature-v4/dist-es/signature-v4a-container.js +3 -0
- package/node_modules/@smithy/signature-v4/dist-types/SignatureV4.d.ts +3 -59
- package/node_modules/@smithy/signature-v4/dist-types/SignatureV4Base.d.ts +69 -0
- package/node_modules/@smithy/signature-v4/dist-types/index.d.ts +4 -0
- package/node_modules/@smithy/signature-v4/dist-types/signature-v4a-container.d.ts +24 -0
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/SignatureV4.d.ts +3 -59
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/SignatureV4Base.d.ts +69 -0
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/index.d.ts +4 -0
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/signature-v4a-container.d.ts +24 -0
- package/node_modules/@smithy/signature-v4/package.json +1 -1
- package/node_modules/@smithy/smithy-client/package.json +3 -3
- package/node_modules/@smithy/util-defaults-mode-browser/package.json +2 -2
- package/node_modules/@smithy/util-defaults-mode-node/package.json +2 -2
- package/node_modules/@smithy/util-retry/package.json +2 -2
- package/node_modules/@types/aws-lambda/README.md +1 -1
- package/node_modules/@types/aws-lambda/handler.d.ts +95 -0
- package/node_modules/@types/aws-lambda/package.json +3 -3
- package/node_modules/axios/CHANGELOG.md +27 -0
- package/node_modules/axios/README.md +5 -5
- package/node_modules/axios/dist/axios.js +32 -16
- package/node_modules/axios/dist/axios.js.map +1 -1
- package/node_modules/axios/dist/axios.min.js +2 -2
- package/node_modules/axios/dist/axios.min.js.map +1 -1
- package/node_modules/axios/dist/browser/axios.cjs +31 -13
- package/node_modules/axios/dist/browser/axios.cjs.map +1 -1
- package/node_modules/axios/dist/esm/axios.js +31 -13
- package/node_modules/axios/dist/esm/axios.js.map +1 -1
- package/node_modules/axios/dist/esm/axios.min.js +2 -2
- package/node_modules/axios/dist/esm/axios.min.js.map +1 -1
- package/node_modules/axios/dist/node/axios.cjs +32 -14
- package/node_modules/axios/dist/node/axios.cjs.map +1 -1
- package/node_modules/axios/index.d.cts +2 -2
- package/node_modules/axios/index.d.ts +4 -2
- package/node_modules/axios/lib/adapters/fetch.js +1 -1
- package/node_modules/axios/lib/core/Axios.js +1 -1
- package/node_modules/axios/lib/core/AxiosHeaders.js +15 -3
- package/node_modules/axios/lib/env/data.js +1 -1
- package/node_modules/axios/lib/helpers/formDataToStream.js +1 -1
- package/node_modules/axios/lib/utils.js +12 -6
- package/node_modules/axios/package.json +4 -4
- package/node_modules/dotenv/CHANGELOG.md +18 -2
- package/node_modules/dotenv/README-es.md +7 -25
- package/node_modules/dotenv/README.md +23 -22
- package/node_modules/dotenv/lib/main.js +4 -5
- package/node_modules/dotenv/package.json +2 -1
- package/package.json +18 -18
- /package/node_modules/{mime-db → form-data/node_modules/mime-db}/HISTORY.md +0 -0
- /package/node_modules/{mime-db → form-data/node_modules/mime-db}/LICENSE +0 -0
- /package/node_modules/{mime-db → form-data/node_modules/mime-db}/README.md +0 -0
- /package/node_modules/{mime-db → form-data/node_modules/mime-db}/db.json +0 -0
- /package/node_modules/{mime-db → form-data/node_modules/mime-db}/index.js +0 -0
- /package/node_modules/{mime-db → form-data/node_modules/mime-db}/package.json +0 -0
- /package/node_modules/{mime-types → form-data/node_modules/mime-types}/HISTORY.md +0 -0
- /package/node_modules/{mime-types → form-data/node_modules/mime-types}/LICENSE +0 -0
- /package/node_modules/{mime-types → form-data/node_modules/mime-types}/README.md +0 -0
- /package/node_modules/{mime-types → form-data/node_modules/mime-types}/index.js +0 -0
- /package/node_modules/{mime-types → form-data/node_modules/mime-types}/package.json +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/middleware-sdk-s3",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.799.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
6
6
|
"build:cjs": "node ../../scripts/compilation/inline middleware-sdk-s3",
|
|
@@ -27,14 +27,14 @@
|
|
|
27
27
|
},
|
|
28
28
|
"license": "Apache-2.0",
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@aws-sdk/core": "3.
|
|
30
|
+
"@aws-sdk/core": "3.799.0",
|
|
31
31
|
"@aws-sdk/types": "3.775.0",
|
|
32
32
|
"@aws-sdk/util-arn-parser": "3.723.0",
|
|
33
|
-
"@smithy/core": "^3.
|
|
33
|
+
"@smithy/core": "^3.3.0",
|
|
34
34
|
"@smithy/node-config-provider": "^4.0.2",
|
|
35
35
|
"@smithy/protocol-http": "^5.1.0",
|
|
36
|
-
"@smithy/signature-v4": "^5.0
|
|
37
|
-
"@smithy/smithy-client": "^4.2.
|
|
36
|
+
"@smithy/signature-v4": "^5.1.0",
|
|
37
|
+
"@smithy/smithy-client": "^4.2.1",
|
|
38
38
|
"@smithy/types": "^4.2.0",
|
|
39
39
|
"@smithy/util-config-provider": "^4.0.0",
|
|
40
40
|
"@smithy/util-middleware": "^4.0.2",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/middleware-user-agent",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.799.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
6
6
|
"build:cjs": "node ../../scripts/compilation/inline middleware-user-agent",
|
|
@@ -24,10 +24,10 @@
|
|
|
24
24
|
},
|
|
25
25
|
"license": "Apache-2.0",
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@aws-sdk/core": "3.
|
|
27
|
+
"@aws-sdk/core": "3.799.0",
|
|
28
28
|
"@aws-sdk/types": "3.775.0",
|
|
29
|
-
"@aws-sdk/util-endpoints": "3.
|
|
30
|
-
"@smithy/core": "^3.
|
|
29
|
+
"@aws-sdk/util-endpoints": "3.787.0",
|
|
30
|
+
"@smithy/core": "^3.3.0",
|
|
31
31
|
"@smithy/protocol-http": "^5.1.0",
|
|
32
32
|
"@smithy/types": "^4.2.0",
|
|
33
33
|
"tslib": "^2.6.2"
|
|
@@ -49,6 +49,8 @@ const defaultSSOOIDCHttpAuthSchemeProvider = (authParameters) => {
|
|
|
49
49
|
exports.defaultSSOOIDCHttpAuthSchemeProvider = defaultSSOOIDCHttpAuthSchemeProvider;
|
|
50
50
|
const resolveHttpAuthSchemeConfig = (config) => {
|
|
51
51
|
const config_0 = (0, core_1.resolveAwsSdkSigV4Config)(config);
|
|
52
|
-
return Object.assign(config_0, {
|
|
52
|
+
return Object.assign(config_0, {
|
|
53
|
+
authSchemePreference: (0, util_middleware_1.normalizeProvider)(config.authSchemePreference ?? []),
|
|
54
|
+
});
|
|
53
55
|
};
|
|
54
56
|
exports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig;
|
|
@@ -28,6 +28,7 @@ const getRuntimeConfig = (config) => {
|
|
|
28
28
|
...config,
|
|
29
29
|
runtime: "node",
|
|
30
30
|
defaultsMode,
|
|
31
|
+
authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(core_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, profileConfig),
|
|
31
32
|
bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,
|
|
32
33
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
33
34
|
(0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/auth/httpAuthSchemeProvider.js
CHANGED
|
@@ -55,6 +55,8 @@ exports.resolveStsAuthConfig = resolveStsAuthConfig;
|
|
|
55
55
|
const resolveHttpAuthSchemeConfig = (config) => {
|
|
56
56
|
const config_0 = (0, exports.resolveStsAuthConfig)(config);
|
|
57
57
|
const config_1 = (0, core_1.resolveAwsSdkSigV4Config)(config_0);
|
|
58
|
-
return Object.assign(config_1, {
|
|
58
|
+
return Object.assign(config_1, {
|
|
59
|
+
authSchemePreference: (0, util_middleware_1.normalizeProvider)(config.authSchemePreference ?? []),
|
|
60
|
+
});
|
|
59
61
|
};
|
|
60
62
|
exports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig;
|
|
@@ -29,6 +29,7 @@ const getRuntimeConfig = (config) => {
|
|
|
29
29
|
...config,
|
|
30
30
|
runtime: "node",
|
|
31
31
|
defaultsMode,
|
|
32
|
+
authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(core_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, profileConfig),
|
|
32
33
|
bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,
|
|
33
34
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
34
35
|
(0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
@@ -44,5 +44,7 @@ export const defaultSSOOIDCHttpAuthSchemeProvider = (authParameters) => {
|
|
|
44
44
|
};
|
|
45
45
|
export const resolveHttpAuthSchemeConfig = (config) => {
|
|
46
46
|
const config_0 = resolveAwsSdkSigV4Config(config);
|
|
47
|
-
return Object.assign(config_0, {
|
|
47
|
+
return Object.assign(config_0, {
|
|
48
|
+
authSchemePreference: normalizeProvider(config.authSchemePreference ?? []),
|
|
49
|
+
});
|
|
48
50
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import packageInfo from "../../../package.json";
|
|
2
|
-
import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core";
|
|
2
|
+
import { NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core";
|
|
3
3
|
import { NODE_APP_ID_CONFIG_OPTIONS, createDefaultUserAgentProvider } from "@aws-sdk/util-user-agent-node";
|
|
4
4
|
import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@smithy/config-resolver";
|
|
5
5
|
import { Hash } from "@smithy/hash-node";
|
|
@@ -24,6 +24,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
24
24
|
...config,
|
|
25
25
|
runtime: "node",
|
|
26
26
|
defaultsMode,
|
|
27
|
+
authSchemePreference: config?.authSchemePreference ?? loadNodeConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, profileConfig),
|
|
27
28
|
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
28
29
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
29
30
|
createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/auth/httpAuthSchemeProvider.js
CHANGED
|
@@ -49,5 +49,7 @@ export const resolveStsAuthConfig = (input) => Object.assign(input, {
|
|
|
49
49
|
export const resolveHttpAuthSchemeConfig = (config) => {
|
|
50
50
|
const config_0 = resolveStsAuthConfig(config);
|
|
51
51
|
const config_1 = resolveAwsSdkSigV4Config(config_0);
|
|
52
|
-
return Object.assign(config_1, {
|
|
52
|
+
return Object.assign(config_1, {
|
|
53
|
+
authSchemePreference: normalizeProvider(config.authSchemePreference ?? []),
|
|
54
|
+
});
|
|
53
55
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import packageInfo from "../../../package.json";
|
|
2
|
-
import { AwsSdkSigV4Signer, emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core";
|
|
2
|
+
import { AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, emitWarningIfUnsupportedVersion as awsCheckVersion, } from "@aws-sdk/core";
|
|
3
3
|
import { NODE_APP_ID_CONFIG_OPTIONS, createDefaultUserAgentProvider } from "@aws-sdk/util-user-agent-node";
|
|
4
4
|
import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@smithy/config-resolver";
|
|
5
5
|
import { NoAuthSigner } from "@smithy/core";
|
|
@@ -25,6 +25,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
25
25
|
...config,
|
|
26
26
|
runtime: "node",
|
|
27
27
|
defaultsMode,
|
|
28
|
+
authSchemePreference: config?.authSchemePreference ?? loadNodeConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, profileConfig),
|
|
28
29
|
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
29
30
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
30
31
|
createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4PreviouslyResolved } from "@aws-sdk/core";
|
|
2
|
-
import { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider } from "@smithy/types";
|
|
2
|
+
import { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider, Provider } from "@smithy/types";
|
|
3
3
|
import { SSOOIDCClientResolvedConfig } from "../SSOOIDCClient";
|
|
4
4
|
/**
|
|
5
5
|
* @internal
|
|
@@ -29,6 +29,13 @@ export declare const defaultSSOOIDCHttpAuthSchemeProvider: SSOOIDCHttpAuthScheme
|
|
|
29
29
|
* @internal
|
|
30
30
|
*/
|
|
31
31
|
export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
|
|
32
|
+
/**
|
|
33
|
+
* A comma-separated list of case-sensitive auth scheme names.
|
|
34
|
+
* An auth scheme name is a fully qualified auth scheme ID with the namespace prefix trimmed.
|
|
35
|
+
* For example, the auth scheme with ID aws.auth#sigv4 is named sigv4.
|
|
36
|
+
* @public
|
|
37
|
+
*/
|
|
38
|
+
authSchemePreference?: string[] | Provider<string[]>;
|
|
32
39
|
/**
|
|
33
40
|
* Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
|
|
34
41
|
* @internal
|
|
@@ -44,6 +51,13 @@ export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
|
|
|
44
51
|
* @internal
|
|
45
52
|
*/
|
|
46
53
|
export interface HttpAuthSchemeResolvedConfig extends AwsSdkSigV4AuthResolvedConfig {
|
|
54
|
+
/**
|
|
55
|
+
* A comma-separated list of case-sensitive auth scheme names.
|
|
56
|
+
* An auth scheme name is a fully qualified auth scheme ID with the namespace prefix trimmed.
|
|
57
|
+
* For example, the auth scheme with ID aws.auth#sigv4 is named sigv4.
|
|
58
|
+
* @public
|
|
59
|
+
*/
|
|
60
|
+
readonly authSchemePreference: Provider<string[]>;
|
|
47
61
|
/**
|
|
48
62
|
* Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
|
|
49
63
|
* @internal
|
|
@@ -37,6 +37,7 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
|
37
37
|
}) => import("@smithy/types").EndpointV2;
|
|
38
38
|
tls?: boolean | undefined;
|
|
39
39
|
serviceConfiguredEndpoint?: undefined;
|
|
40
|
+
authSchemePreference?: string[] | import("@smithy/types").Provider<string[]> | undefined;
|
|
40
41
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[] | ({
|
|
41
42
|
schemeId: string;
|
|
42
43
|
identityProvider: (ipc: import("@smithy/types").IdentityProviderConfig) => import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | undefined;
|
package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ import { SSOOIDCClientConfig } from "./SSOOIDCClient";
|
|
|
6
6
|
export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
7
7
|
runtime: string;
|
|
8
8
|
defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
|
|
9
|
+
authSchemePreference: string[] | import("@smithy/types").Provider<string[]>;
|
|
9
10
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
11
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
|
11
12
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
@@ -36,6 +36,7 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
|
36
36
|
}) => import("@smithy/types").EndpointV2;
|
|
37
37
|
tls?: boolean | undefined;
|
|
38
38
|
serviceConfiguredEndpoint?: undefined;
|
|
39
|
+
authSchemePreference?: string[] | import("@smithy/types").Provider<string[]> | undefined;
|
|
39
40
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[] | ({
|
|
40
41
|
schemeId: string;
|
|
41
42
|
identityProvider: (ipc: import("@smithy/types").IdentityProviderConfig) => import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4PreviouslyResolved } from "@aws-sdk/core";
|
|
2
|
-
import { Client, HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider } from "@smithy/types";
|
|
2
|
+
import { Client, HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider, Provider } from "@smithy/types";
|
|
3
3
|
import { STSClientResolvedConfig } from "../STSClient";
|
|
4
4
|
/**
|
|
5
5
|
* @internal
|
|
@@ -39,6 +39,13 @@ export declare const resolveStsAuthConfig: <T>(input: T & StsAuthInputConfig) =>
|
|
|
39
39
|
* @internal
|
|
40
40
|
*/
|
|
41
41
|
export interface HttpAuthSchemeInputConfig extends StsAuthInputConfig, AwsSdkSigV4AuthInputConfig {
|
|
42
|
+
/**
|
|
43
|
+
* A comma-separated list of case-sensitive auth scheme names.
|
|
44
|
+
* An auth scheme name is a fully qualified auth scheme ID with the namespace prefix trimmed.
|
|
45
|
+
* For example, the auth scheme with ID aws.auth#sigv4 is named sigv4.
|
|
46
|
+
* @public
|
|
47
|
+
*/
|
|
48
|
+
authSchemePreference?: string[] | Provider<string[]>;
|
|
42
49
|
/**
|
|
43
50
|
* Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
|
|
44
51
|
* @internal
|
|
@@ -54,6 +61,13 @@ export interface HttpAuthSchemeInputConfig extends StsAuthInputConfig, AwsSdkSig
|
|
|
54
61
|
* @internal
|
|
55
62
|
*/
|
|
56
63
|
export interface HttpAuthSchemeResolvedConfig extends StsAuthResolvedConfig, AwsSdkSigV4AuthResolvedConfig {
|
|
64
|
+
/**
|
|
65
|
+
* A comma-separated list of case-sensitive auth scheme names.
|
|
66
|
+
* An auth scheme name is a fully qualified auth scheme ID with the namespace prefix trimmed.
|
|
67
|
+
* For example, the auth scheme with ID aws.auth#sigv4 is named sigv4.
|
|
68
|
+
* @public
|
|
69
|
+
*/
|
|
70
|
+
readonly authSchemePreference: Provider<string[]>;
|
|
57
71
|
/**
|
|
58
72
|
* Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
|
|
59
73
|
* @internal
|
package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.browser.d.ts
CHANGED
|
@@ -38,6 +38,7 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
|
38
38
|
} | undefined) => import("@smithy/types").EndpointV2;
|
|
39
39
|
tls?: boolean | undefined;
|
|
40
40
|
serviceConfiguredEndpoint?: undefined;
|
|
41
|
+
authSchemePreference?: string[] | import("@smithy/types").Provider<string[]> | undefined;
|
|
41
42
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[] | ({
|
|
42
43
|
schemeId: string;
|
|
43
44
|
identityProvider: (ipc: import("@smithy/types").IdentityProviderConfig) => import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | undefined;
|
|
@@ -8,6 +8,7 @@ import { STSClientConfig } from "./STSClient";
|
|
|
8
8
|
export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
9
9
|
runtime: string;
|
|
10
10
|
defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
|
|
11
|
+
authSchemePreference: string[] | import("@smithy/types").Provider<string[]>;
|
|
11
12
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
12
13
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
|
13
14
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[] | {
|
package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.native.d.ts
CHANGED
|
@@ -37,6 +37,7 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
|
37
37
|
} | undefined) => import("@smithy/types").EndpointV2;
|
|
38
38
|
tls?: boolean | undefined;
|
|
39
39
|
serviceConfiguredEndpoint?: undefined;
|
|
40
|
+
authSchemePreference?: string[] | import("@smithy/types").Provider<string[]> | undefined;
|
|
40
41
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[] | ({
|
|
41
42
|
schemeId: string;
|
|
42
43
|
identityProvider: (ipc: import("@smithy/types").IdentityProviderConfig) => import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | undefined;
|
|
@@ -9,6 +9,7 @@ import {
|
|
|
9
9
|
HttpAuthSchemeParameters,
|
|
10
10
|
HttpAuthSchemeParametersProvider,
|
|
11
11
|
HttpAuthSchemeProvider,
|
|
12
|
+
Provider,
|
|
12
13
|
} from "@smithy/types";
|
|
13
14
|
import { SSOOIDCClientResolvedConfig } from "../SSOOIDCClient";
|
|
14
15
|
export interface SSOOIDCHttpAuthSchemeParameters
|
|
@@ -31,11 +32,13 @@ export interface SSOOIDCHttpAuthSchemeProvider
|
|
|
31
32
|
extends HttpAuthSchemeProvider<SSOOIDCHttpAuthSchemeParameters> {}
|
|
32
33
|
export declare const defaultSSOOIDCHttpAuthSchemeProvider: SSOOIDCHttpAuthSchemeProvider;
|
|
33
34
|
export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
|
|
35
|
+
authSchemePreference?: string[] | Provider<string[]>;
|
|
34
36
|
httpAuthSchemes?: HttpAuthScheme[];
|
|
35
37
|
httpAuthSchemeProvider?: SSOOIDCHttpAuthSchemeProvider;
|
|
36
38
|
}
|
|
37
39
|
export interface HttpAuthSchemeResolvedConfig
|
|
38
40
|
extends AwsSdkSigV4AuthResolvedConfig {
|
|
41
|
+
readonly authSchemePreference: Provider<string[]>;
|
|
39
42
|
readonly httpAuthSchemes: HttpAuthScheme[];
|
|
40
43
|
readonly httpAuthSchemeProvider: SSOOIDCHttpAuthSchemeProvider;
|
|
41
44
|
}
|
|
@@ -67,6 +67,10 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
|
67
67
|
) => import("@smithy/types").EndpointV2;
|
|
68
68
|
tls?: boolean | undefined;
|
|
69
69
|
serviceConfiguredEndpoint?: undefined;
|
|
70
|
+
authSchemePreference?:
|
|
71
|
+
| string[]
|
|
72
|
+
| import("@smithy/types").Provider<string[]>
|
|
73
|
+
| undefined;
|
|
70
74
|
httpAuthSchemes:
|
|
71
75
|
| import("@smithy/types").HttpAuthScheme[]
|
|
72
76
|
| (
|
package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
|
5
5
|
defaultsMode: import("@smithy/types").Provider<
|
|
6
6
|
import("@smithy/smithy-client").ResolvedDefaultsMode
|
|
7
7
|
>;
|
|
8
|
+
authSchemePreference: string[] | import("@smithy/types").Provider<string[]>;
|
|
8
9
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
9
10
|
defaultUserAgentProvider: (
|
|
10
11
|
config?:
|
|
@@ -71,6 +71,10 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
|
71
71
|
) => import("@smithy/types").EndpointV2;
|
|
72
72
|
tls?: boolean | undefined;
|
|
73
73
|
serviceConfiguredEndpoint?: undefined;
|
|
74
|
+
authSchemePreference?:
|
|
75
|
+
| string[]
|
|
76
|
+
| import("@smithy/types").Provider<string[]>
|
|
77
|
+
| undefined;
|
|
74
78
|
httpAuthSchemes:
|
|
75
79
|
| import("@smithy/types").HttpAuthScheme[]
|
|
76
80
|
| (
|
|
@@ -10,6 +10,7 @@ import {
|
|
|
10
10
|
HttpAuthSchemeParameters,
|
|
11
11
|
HttpAuthSchemeParametersProvider,
|
|
12
12
|
HttpAuthSchemeProvider,
|
|
13
|
+
Provider,
|
|
13
14
|
} from "@smithy/types";
|
|
14
15
|
import { STSClientResolvedConfig } from "../STSClient";
|
|
15
16
|
export interface STSHttpAuthSchemeParameters extends HttpAuthSchemeParameters {
|
|
@@ -40,12 +41,14 @@ export declare const resolveStsAuthConfig: <T>(
|
|
|
40
41
|
export interface HttpAuthSchemeInputConfig
|
|
41
42
|
extends StsAuthInputConfig,
|
|
42
43
|
AwsSdkSigV4AuthInputConfig {
|
|
44
|
+
authSchemePreference?: string[] | Provider<string[]>;
|
|
43
45
|
httpAuthSchemes?: HttpAuthScheme[];
|
|
44
46
|
httpAuthSchemeProvider?: STSHttpAuthSchemeProvider;
|
|
45
47
|
}
|
|
46
48
|
export interface HttpAuthSchemeResolvedConfig
|
|
47
49
|
extends StsAuthResolvedConfig,
|
|
48
50
|
AwsSdkSigV4AuthResolvedConfig {
|
|
51
|
+
readonly authSchemePreference: Provider<string[]>;
|
|
49
52
|
readonly httpAuthSchemes: HttpAuthScheme[];
|
|
50
53
|
readonly httpAuthSchemeProvider: STSHttpAuthSchemeProvider;
|
|
51
54
|
}
|
|
@@ -74,6 +74,10 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
|
74
74
|
) => import("@smithy/types").EndpointV2;
|
|
75
75
|
tls?: boolean | undefined;
|
|
76
76
|
serviceConfiguredEndpoint?: undefined;
|
|
77
|
+
authSchemePreference?:
|
|
78
|
+
| string[]
|
|
79
|
+
| import("@smithy/types").Provider<string[]>
|
|
80
|
+
| undefined;
|
|
77
81
|
httpAuthSchemes:
|
|
78
82
|
| import("@smithy/types").HttpAuthScheme[]
|
|
79
83
|
| (
|
package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
|
7
7
|
defaultsMode: import("@smithy/types").Provider<
|
|
8
8
|
import("@smithy/smithy-client").ResolvedDefaultsMode
|
|
9
9
|
>;
|
|
10
|
+
authSchemePreference: string[] | import("@smithy/types").Provider<string[]>;
|
|
10
11
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
11
12
|
defaultUserAgentProvider: (
|
|
12
13
|
config?:
|
|
@@ -78,6 +78,10 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
|
78
78
|
) => import("@smithy/types").EndpointV2;
|
|
79
79
|
tls?: boolean | undefined;
|
|
80
80
|
serviceConfiguredEndpoint?: undefined;
|
|
81
|
+
authSchemePreference?:
|
|
82
|
+
| string[]
|
|
83
|
+
| import("@smithy/types").Provider<string[]>
|
|
84
|
+
| undefined;
|
|
81
85
|
httpAuthSchemes:
|
|
82
86
|
| import("@smithy/types").HttpAuthScheme[]
|
|
83
87
|
| (
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/nested-clients",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.803.0",
|
|
4
4
|
"description": "Nested clients for AWS SDK packages.",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -28,40 +28,40 @@
|
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
30
30
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
31
|
-
"@aws-sdk/core": "3.
|
|
31
|
+
"@aws-sdk/core": "3.799.0",
|
|
32
32
|
"@aws-sdk/middleware-host-header": "3.775.0",
|
|
33
33
|
"@aws-sdk/middleware-logger": "3.775.0",
|
|
34
34
|
"@aws-sdk/middleware-recursion-detection": "3.775.0",
|
|
35
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
35
|
+
"@aws-sdk/middleware-user-agent": "3.799.0",
|
|
36
36
|
"@aws-sdk/region-config-resolver": "3.775.0",
|
|
37
37
|
"@aws-sdk/types": "3.775.0",
|
|
38
|
-
"@aws-sdk/util-endpoints": "3.
|
|
38
|
+
"@aws-sdk/util-endpoints": "3.787.0",
|
|
39
39
|
"@aws-sdk/util-user-agent-browser": "3.775.0",
|
|
40
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
40
|
+
"@aws-sdk/util-user-agent-node": "3.799.0",
|
|
41
41
|
"@smithy/config-resolver": "^4.1.0",
|
|
42
|
-
"@smithy/core": "^3.
|
|
42
|
+
"@smithy/core": "^3.3.0",
|
|
43
43
|
"@smithy/fetch-http-handler": "^5.0.2",
|
|
44
44
|
"@smithy/hash-node": "^4.0.2",
|
|
45
45
|
"@smithy/invalid-dependency": "^4.0.2",
|
|
46
46
|
"@smithy/middleware-content-length": "^4.0.2",
|
|
47
|
-
"@smithy/middleware-endpoint": "^4.1.
|
|
48
|
-
"@smithy/middleware-retry": "^4.1.
|
|
47
|
+
"@smithy/middleware-endpoint": "^4.1.1",
|
|
48
|
+
"@smithy/middleware-retry": "^4.1.2",
|
|
49
49
|
"@smithy/middleware-serde": "^4.0.3",
|
|
50
50
|
"@smithy/middleware-stack": "^4.0.2",
|
|
51
51
|
"@smithy/node-config-provider": "^4.0.2",
|
|
52
52
|
"@smithy/node-http-handler": "^4.0.4",
|
|
53
53
|
"@smithy/protocol-http": "^5.1.0",
|
|
54
|
-
"@smithy/smithy-client": "^4.2.
|
|
54
|
+
"@smithy/smithy-client": "^4.2.1",
|
|
55
55
|
"@smithy/types": "^4.2.0",
|
|
56
56
|
"@smithy/url-parser": "^4.0.2",
|
|
57
57
|
"@smithy/util-base64": "^4.0.0",
|
|
58
58
|
"@smithy/util-body-length-browser": "^4.0.0",
|
|
59
59
|
"@smithy/util-body-length-node": "^4.0.0",
|
|
60
|
-
"@smithy/util-defaults-mode-browser": "^4.0.
|
|
61
|
-
"@smithy/util-defaults-mode-node": "^4.0.
|
|
60
|
+
"@smithy/util-defaults-mode-browser": "^4.0.9",
|
|
61
|
+
"@smithy/util-defaults-mode-node": "^4.0.9",
|
|
62
62
|
"@smithy/util-endpoints": "^3.0.2",
|
|
63
63
|
"@smithy/util-middleware": "^4.0.2",
|
|
64
|
-
"@smithy/util-retry": "^4.0.
|
|
64
|
+
"@smithy/util-retry": "^4.0.3",
|
|
65
65
|
"@smithy/util-utf8": "^4.0.0",
|
|
66
66
|
"tslib": "^2.6.2"
|
|
67
67
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/s3-request-presigner",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.803.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
6
6
|
"build:cjs": "node ../../scripts/compilation/inline s3-request-presigner",
|
|
@@ -22,17 +22,17 @@
|
|
|
22
22
|
},
|
|
23
23
|
"license": "Apache-2.0",
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@aws-sdk/signature-v4-multi-region": "3.
|
|
25
|
+
"@aws-sdk/signature-v4-multi-region": "3.803.0",
|
|
26
26
|
"@aws-sdk/types": "3.775.0",
|
|
27
27
|
"@aws-sdk/util-format-url": "3.775.0",
|
|
28
|
-
"@smithy/middleware-endpoint": "^4.1.
|
|
28
|
+
"@smithy/middleware-endpoint": "^4.1.1",
|
|
29
29
|
"@smithy/protocol-http": "^5.1.0",
|
|
30
|
-
"@smithy/smithy-client": "^4.2.
|
|
30
|
+
"@smithy/smithy-client": "^4.2.1",
|
|
31
31
|
"@smithy/types": "^4.2.0",
|
|
32
32
|
"tslib": "^2.6.2"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
|
-
"@aws-sdk/client-s3": "3.
|
|
35
|
+
"@aws-sdk/client-s3": "3.803.0",
|
|
36
36
|
"@smithy/hash-node": "^4.0.2",
|
|
37
37
|
"@tsconfig/recommended": "1.0.1",
|
|
38
38
|
"@types/node": "^18.19.69",
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
[](https://www.npmjs.com/package/@aws-sdk/signature-v4-multi-region)
|
|
5
5
|
|
|
6
6
|
See also https://github.com/aws/aws-sdk-js-v3/tree/main#functionality-requiring-aws-common-runtime-crt.
|
|
7
|
+
|
|
7
8
|
## Usage
|
|
8
9
|
|
|
9
10
|
This package contains optional dependency [`@aws-sdk/signature-v4-crt`](https://www.npmjs.com/package/@aws-sdk/signature-v4).
|
|
@@ -15,12 +16,17 @@ The `@aws-sdk/signature-v4-crt` is only supported in Node.js currently because i
|
|
|
15
16
|
|
|
16
17
|
Please refer to [this issue](https://github.com/aws/aws-sdk-js-v3/issues/2822) for more information.
|
|
17
18
|
|
|
19
|
+
Note: You can also use a native JS (non-CRT) implementation of the SigV4A signer, instructions for which are here:
|
|
20
|
+
https://github.com/aws/aws-sdk-js-v3/tree/main#functionality-requiring-aws-common-runtime-crt
|
|
21
|
+
|
|
22
|
+
Please refer to the note regarding bundle size in the link above, before deciding to use the JS SigV4A signer (including in browsers).
|
|
23
|
+
|
|
18
24
|
## Description
|
|
19
25
|
|
|
20
26
|
This package provides a SigV4-compatible request signer that wraps a pure-JS SigV4 signer
|
|
21
27
|
([`@aws-sdk/signature-v4`](https://www.npmjs.com/package/@aws-sdk/signature-v4)) for regional requests, and attempts to
|
|
22
28
|
call a native implementation of SigV4a signer([`@aws-sdk/signature-v4-crt`](https://www.npmjs.com/package/@aws-sdk/signature-v4))
|
|
23
|
-
it the request is
|
|
29
|
+
it the request is multi-region.
|
|
24
30
|
|
|
25
|
-
|
|
31
|
+
A multi-region request is identified by the `signingRegion` parameter. A request is multi-region if the `signingRegion`
|
|
26
32
|
parameter is set to `*`.
|
|
@@ -28,6 +28,7 @@ module.exports = __toCommonJS(index_exports);
|
|
|
28
28
|
|
|
29
29
|
// src/SignatureV4MultiRegion.ts
|
|
30
30
|
var import_middleware_sdk_s3 = require("@aws-sdk/middleware-sdk-s3");
|
|
31
|
+
var import_signature_v4 = require("@smithy/signature-v4");
|
|
31
32
|
|
|
32
33
|
// src/signature-v4-crt-container.ts
|
|
33
34
|
var signatureV4CrtContainer = {
|
|
@@ -48,28 +49,43 @@ var SignatureV4MultiRegion = class {
|
|
|
48
49
|
}
|
|
49
50
|
async sign(requestToSign, options = {}) {
|
|
50
51
|
if (options.signingRegion === "*") {
|
|
51
|
-
if (this.signerOptions.runtime !== "node")
|
|
52
|
-
throw new Error("This request requires signing with SigV4Asymmetric algorithm. It's only available in Node.js");
|
|
53
52
|
return this.getSigv4aSigner().sign(requestToSign, options);
|
|
54
53
|
}
|
|
55
54
|
return this.sigv4Signer.sign(requestToSign, options);
|
|
56
55
|
}
|
|
57
56
|
/**
|
|
58
57
|
* Sign with alternate credentials to the ones provided in the constructor.
|
|
58
|
+
* Note: This is only supported for SigV4a when using the CRT implementation.
|
|
59
59
|
*/
|
|
60
60
|
async signWithCredentials(requestToSign, credentials, options = {}) {
|
|
61
61
|
if (options.signingRegion === "*") {
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
62
|
+
const signer = this.getSigv4aSigner();
|
|
63
|
+
const CrtSignerV4 = signatureV4CrtContainer.CrtSignerV4;
|
|
64
|
+
if (CrtSignerV4 && signer instanceof CrtSignerV4) {
|
|
65
|
+
return signer.signWithCredentials(requestToSign, credentials, options);
|
|
66
|
+
} else {
|
|
67
|
+
throw new Error(
|
|
68
|
+
`signWithCredentials with signingRegion '*' is only supported when using the CRT dependency @aws-sdk/signature-v4-crt. Please check whether you have installed the "@aws-sdk/signature-v4-crt" package explicitly. You must also register the package by calling [require("@aws-sdk/signature-v4-crt");] or an ESM equivalent such as [import "@aws-sdk/signature-v4-crt";]. For more information please go to https://github.com/aws/aws-sdk-js-v3#functionality-requiring-aws-common-runtime-crt`
|
|
69
|
+
);
|
|
70
|
+
}
|
|
65
71
|
}
|
|
66
72
|
return this.sigv4Signer.signWithCredentials(requestToSign, credentials, options);
|
|
67
73
|
}
|
|
74
|
+
/**
|
|
75
|
+
* Presign a request.
|
|
76
|
+
* Note: This is only supported for SigV4a when using the CRT implementation.
|
|
77
|
+
*/
|
|
68
78
|
async presign(originalRequest, options = {}) {
|
|
69
79
|
if (options.signingRegion === "*") {
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
80
|
+
const signer = this.getSigv4aSigner();
|
|
81
|
+
const CrtSignerV4 = signatureV4CrtContainer.CrtSignerV4;
|
|
82
|
+
if (CrtSignerV4 && signer instanceof CrtSignerV4) {
|
|
83
|
+
return signer.presign(originalRequest, options);
|
|
84
|
+
} else {
|
|
85
|
+
throw new Error(
|
|
86
|
+
`presign with signingRegion '*' is only supported when using the CRT dependency @aws-sdk/signature-v4-crt. Please check whether you have installed the "@aws-sdk/signature-v4-crt" package explicitly. You must also register the package by calling [require("@aws-sdk/signature-v4-crt");] or an ESM equivalent such as [import "@aws-sdk/signature-v4-crt";]. For more information please go to https://github.com/aws/aws-sdk-js-v3#functionality-requiring-aws-common-runtime-crt`
|
|
87
|
+
);
|
|
88
|
+
}
|
|
73
89
|
}
|
|
74
90
|
return this.sigv4Signer.presign(originalRequest, options);
|
|
75
91
|
}
|
|
@@ -81,21 +97,38 @@ var SignatureV4MultiRegion = class {
|
|
|
81
97
|
}
|
|
82
98
|
getSigv4aSigner() {
|
|
83
99
|
if (!this.sigv4aSigner) {
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
if (
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
100
|
+
const CrtSignerV4 = signatureV4CrtContainer.CrtSignerV4;
|
|
101
|
+
const JsSigV4aSigner = import_signature_v4.signatureV4aContainer.SignatureV4a;
|
|
102
|
+
if (this.signerOptions.runtime === "node") {
|
|
103
|
+
if (!CrtSignerV4 && !JsSigV4aSigner) {
|
|
104
|
+
throw new Error(
|
|
105
|
+
"Neither CRT nor JS SigV4a implementation is available. Please load either @aws-sdk/signature-v4-crt or @aws-sdk/signature-v4a. For more information please go to https://github.com/aws/aws-sdk-js-v3#functionality-requiring-aws-common-runtime-crt"
|
|
106
|
+
);
|
|
107
|
+
}
|
|
108
|
+
if (CrtSignerV4 && typeof CrtSignerV4 === "function") {
|
|
109
|
+
this.sigv4aSigner = new CrtSignerV4({
|
|
110
|
+
...this.signerOptions,
|
|
111
|
+
signingAlgorithm: 1
|
|
112
|
+
});
|
|
113
|
+
} else if (JsSigV4aSigner && typeof JsSigV4aSigner === "function") {
|
|
114
|
+
this.sigv4aSigner = new JsSigV4aSigner({
|
|
115
|
+
...this.signerOptions
|
|
116
|
+
});
|
|
117
|
+
} else {
|
|
118
|
+
throw new Error(
|
|
119
|
+
"Available SigV4a implementation is not a valid constructor. Please ensure you've properly imported @aws-sdk/signature-v4-crt or @aws-sdk/signature-v4a.For more information please go to https://github.com/aws/aws-sdk-js-v3#functionality-requiring-aws-common-runtime-crt"
|
|
120
|
+
);
|
|
121
|
+
}
|
|
122
|
+
} else {
|
|
123
|
+
if (!JsSigV4aSigner || typeof JsSigV4aSigner !== "function") {
|
|
124
|
+
throw new Error(
|
|
125
|
+
"JS SigV4a implementation is not available or not a valid constructor. Please check whether you have installed the @aws-sdk/signature-v4a package explicitly. The CRT implementation is not available for browsers. You must also register the package by calling [require('@aws-sdk/signature-v4a');] or an ESM equivalent such as [import '@aws-sdk/signature-v4a';]. For more information please go to https://github.com/aws/aws-sdk-js-v3#using-javascript-non-crt-implementation-of-sigv4a"
|
|
126
|
+
);
|
|
127
|
+
}
|
|
128
|
+
this.sigv4aSigner = new JsSigV4aSigner({
|
|
129
|
+
...this.signerOptions
|
|
130
|
+
});
|
|
94
131
|
}
|
|
95
|
-
this.sigv4aSigner = new CrtSignerV4({
|
|
96
|
-
...this.signerOptions,
|
|
97
|
-
signingAlgorithm: 1
|
|
98
|
-
});
|
|
99
132
|
}
|
|
100
133
|
return this.sigv4aSigner;
|
|
101
134
|
}
|