@ndlib/ndlib-cdk2 1.0.22 → 1.0.23
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/artifact-bucket.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/.package-lock.json +770 -703
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/README.md +8 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-cjs/index.js +119 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-es/CodePipeline.js +2 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-es/commands/RollbackStageCommand.js +24 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-es/commands/index.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-es/models/models_0.js +33 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-es/protocols/Aws_json1_1.js +49 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/CodePipeline.d.ts +7 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/CodePipelineClient.d.ts +3 -2
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/CreatePipelineCommand.d.ts +6 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/GetPipelineCommand.d.ts +3 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/GetPipelineExecutionCommand.d.ts +5 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/GetPipelineStateCommand.d.ts +3 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/ListPipelineExecutionsCommand.d.ts +11 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/RollbackStageCommand.d.ts +86 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/UpdatePipelineCommand.d.ts +6 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/index.d.ts +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/models/models_0.d.ts +168 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/protocols/Aws_json1_1.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/CodePipeline.d.ts +17 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/CodePipelineClient.d.ts +6 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/commands/RollbackStageCommand.d.ts +35 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/models/models_0.d.ts +56 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +12 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/package.json +42 -42
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/README.md +8 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-cjs/index.js +213 -73
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/SSM.js +2 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeInstancePropertiesCommand.js +24 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeMaintenanceWindowTargetsCommand.js +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/commands/index.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/models/models_0.js +30 -9
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/models/models_1.js +9 -43
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/models/models_2.js +43 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeInstancePropertiesPaginator.js +4 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/pagination/index.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/protocols/Aws_json1_1.js +78 -3
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/SSM.d.ts +8 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/SSMClient.d.ts +3 -2
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeInstancePropertiesCommand.d.ts +151 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeMaintenanceWindowScheduleCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeMaintenanceWindowTargetsCommand.d.ts +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeMaintenanceWindowTasksCommand.d.ts +1 -2
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeMaintenanceWindowsForTargetCommand.d.ts +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/StartChangeRequestExecutionCommand.d.ts +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/StartSessionCommand.d.ts +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/index.d.ts +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/models/models_0.d.ts +334 -243
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/models/models_1.d.ts +219 -234
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/models/models_2.d.ts +246 -8
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeInstancePropertiesPaginator.d.ts +7 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/pagination/index.d.ts +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/protocols/Aws_json1_1.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/SSM.d.ts +18 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/SSMClient.d.ts +6 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeInstancePropertiesCommand.d.ts +39 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeMaintenanceWindowScheduleCommand.d.ts +2 -4
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeMaintenanceWindowTargetsCommand.d.ts +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeMaintenanceWindowTasksCommand.d.ts +4 -2
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeMaintenanceWindowsForTargetCommand.d.ts +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/StartChangeRequestExecutionCommand.d.ts +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/StartSessionCommand.d.ts +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/models/models_0.d.ts +79 -49
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/models/models_1.d.ts +51 -60
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/models/models_2.d.ts +62 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/DescribeInstancePropertiesPaginator.d.ts +11 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +12 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/package.json +43 -43
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/package.json +39 -40
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/index.js +48 -2
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/runtimeConfig.js +2 -2
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-es/models/models_0.js +16 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-es/protocols/Aws_restJson1.js +24 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-es/runtimeConfig.js +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/CreateTokenCommand.d.ts +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/CreateTokenWithIAMCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/RegisterClientCommand.d.ts +23 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-types/models/models_0.d.ts +63 -2
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.d.ts +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/models/models_0.d.ts +15 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.d.ts +7 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/package.json +41 -44
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-cjs/runtimeConfig.js +3 -3
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-es/runtimeConfig.js +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.d.ts +3 -8
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.d.ts +18 -26
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/package.json +41 -43
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/README.md +35 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/client.js +5 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-cjs/index.js +6 -446
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.js +38 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +226 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +228 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/index.js +3 -3
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/submodules/client/emitWarningIfUnsupportedVersion.js +6 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/submodules/client/index.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.js +60 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/index.js +2 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.js +82 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/index.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/getDateHeader.js +2 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/getSkewCorrectedDate.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/getUpdatedSystemClockOffset.js +8 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/index.js +3 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/isClockSkewed.js +2 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/submodules/protocols/coercing-serializers.js +53 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/submodules/protocols/common.js +2 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/submodules/protocols/index.js +4 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/awsExpectUnion.js +10 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/parseJsonBody.js +51 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/parseXmlBody.js +57 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/index.d.ts +22 -3
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/submodules/client/emitWarningIfUnsupportedVersion.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/submodules/client/index.d.ts +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.d.ts +17 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/index.d.ts +2 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.d.ts +95 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/index.d.ts +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/utils/getDateHeader.d.ts +4 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/utils/getSkewCorrectedDate.d.ts +8 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/utils/getUpdatedSystemClockOffset.d.ts +10 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/utils/index.d.ts +3 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/utils/isClockSkewed.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/submodules/protocols/coercing-serializers.d.ts +18 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/submodules/protocols/common.d.ts +2 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/submodules/protocols/index.d.ts +4 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/awsExpectUnion.d.ts +7 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/parseJsonBody.d.ts +4 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/submodules/protocols/xml/parseXmlBody.d.ts +4 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/index.d.ts +3 -3
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/emitWarningIfUnsupportedVersion.d.ts +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/index.d.ts +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.d.ts +21 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/index.d.ts +2 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.d.ts +55 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/index.d.ts +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/utils/getDateHeader.d.ts +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/utils/getSkewCorrectedDate.d.ts +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/utils/getUpdatedSystemClockOffset.d.ts +4 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/utils/index.d.ts +3 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/utils/isClockSkewed.d.ts +4 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/coercing-serializers.d.ts +3 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/common.d.ts +5 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/index.d.ts +4 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/awsExpectUnion.d.ts +3 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/parseJsonBody.d.ts +13 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/xml/parseXmlBody.d.ts +13 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/httpAuthSchemes.js +5 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/package.json +45 -8
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/protocols.js +5 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-env/dist-cjs/index.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-env/package.json +6 -6
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.browser.js +2 -3
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.js +8 -9
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/requestHelpers.js +1 -2
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-http/package.json +11 -11
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js +3 -17
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveAssumeRoleCredentials.js +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-ini/dist-types/fromIni.d.ts +5 -2
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/fromIni.d.ts +1 -2
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-ini/package.json +15 -13
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-node/README.md +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js +3 -2
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-node/dist-es/defaultProvider.js +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-node/package.json +14 -14
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-process/package.json +7 -7
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js +2 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-sso/package.json +9 -9
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromTokenFile.js +4 -5
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromWebToken.js +3 -4
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/index.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-web-identity/dist-es/fromWebToken.js +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-web-identity/dist-types/fromWebToken.d.ts +2 -2
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-web-identity/dist-types/ts3.4/fromWebToken.d.ts +1 -2
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-web-identity/package.json +9 -7
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/middleware-host-header/dist-cjs/index.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/middleware-host-header/package.json +5 -5
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/middleware-logger/dist-cjs/index.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/middleware-logger/package.json +5 -5
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/middleware-recursion-detection/dist-cjs/index.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/middleware-recursion-detection/package.json +5 -5
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/middleware-user-agent/dist-cjs/index.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/middleware-user-agent/package.json +6 -6
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/region-config-resolver/dist-cjs/index.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/region-config-resolver/package.json +7 -7
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +15 -20
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/token-providers/dist-es/getNewSsoOidcToken.js +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/token-providers/dist-es/getSsoOidcClient.js +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/token-providers/package.json +10 -8
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/types/dist-cjs/index.js +1 -4
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/types/dist-types/logger.d.ts +2 -2
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/types/package.json +3 -3
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js +6 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/partitions.json +5 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partitions.json +5 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/util-endpoints/package.json +5 -5
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/util-user-agent-browser/dist-cjs/index.js +3 -4
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/util-user-agent-browser/package.json +3 -3
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/util-user-agent-node/dist-cjs/index.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/util-user-agent-node/package.json +6 -6
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/abort-controller/package.json +3 -4
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/config-resolver/package.json +6 -7
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/core/package.json +10 -10
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/httpRequest.d.ts +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/httpRequest.d.ts +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/credential-provider-imds/package.json +7 -8
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/fetch-http-handler/README.md +7 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +21 -9
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/fetch-http-handler/dist-es/fetch-http-handler.js +10 -3
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/fetch-http-handler/dist-es/stream-collector.js +11 -6
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/fetch-http-handler/package.json +8 -25
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/hash-node/package.json +6 -7
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/invalid-dependency/package.json +2 -3
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/is-array-buffer/package.json +2 -3
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-content-length/package.json +5 -6
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-endpoint/dist-cjs/index.js +3 -3
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-endpoint/dist-es/service-customizations/s3.js +3 -3
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-endpoint/package.json +8 -9
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/package.json +11 -12
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-serde/dist-cjs/index.js +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-serde/dist-es/deserializerMiddleware.js +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-serde/package.json +4 -5
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-stack/dist-cjs/index.js +7 -4
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-stack/package.json +3 -4
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/node-config-provider/dist-es/fromSharedConfigFiles.js +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/node-config-provider/package.json +6 -7
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/node-http-handler/README.md +5 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/node-http-handler/dist-cjs/index.js +46 -15
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/node-http-handler/dist-es/stream-collector/index.js +39 -12
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/node-http-handler/package.json +7 -8
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/property-provider/package.json +3 -4
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/protocol-http/package.json +3 -4
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/querystring-builder/package.json +4 -5
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/querystring-parser/package.json +3 -4
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/service-error-classification/package.json +3 -4
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/shared-ini-file-loader/package.json +4 -5
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/signature-v4/dist-cjs/HeaderFormatter.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/signature-v4/dist-cjs/index.js +130 -8
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/signature-v4/dist-es/HeaderFormatter.js +125 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/signature-v4/dist-es/SignatureV4.js +6 -5
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/signature-v4/dist-types/HeaderFormatter.d.ts +24 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/signature-v4/dist-types/SignatureV4.d.ts +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/signature-v4/dist-types/ts3.4/HeaderFormatter.d.ts +24 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/signature-v4/dist-types/ts3.4/SignatureV4.d.ts +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/signature-v4/package.json +9 -11
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/smithy-client/dist-cjs/index.js +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/smithy-client/dist-es/emitWarningIfUnsupportedVersion.js +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/smithy-client/package.json +8 -9
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/types/dist-types/client.d.ts +12 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/types/dist-types/http.d.ts +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/types/dist-types/transform/no-undefined.d.ts +5 -5
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/types/dist-types/ts3.4/client.d.ts +12 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/types/dist-types/ts3.4/http.d.ts +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/types/dist-types/ts3.4/transform/no-undefined.d.ts +9 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/types/package.json +2 -3
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/url-parser/package.json +3 -4
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-base64/package.json +5 -6
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-body-length-browser/package.json +1 -2
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-body-length-node/package.json +3 -4
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-buffer-from/package.json +4 -5
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-config-provider/package.json +3 -4
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-defaults-mode-browser/package.json +5 -6
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-defaults-mode-node/package.json +8 -9
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-endpoints/dist-cjs/index.js +3 -3
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateCondition.js +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateConditions.js +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateEndpointRule.js +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-endpoints/package.json +5 -6
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-hex-encoding/package.json +2 -3
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-middleware/package.json +4 -5
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-retry/dist-cjs/index.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-retry/package.json +5 -6
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-stream/dist-cjs/sdk-stream-mixin.js +8 -2
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-stream/dist-es/sdk-stream-mixin.js +8 -2
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-stream/dist-types/sdk-stream-mixin.d.ts +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-stream/dist-types/ts3.4/sdk-stream-mixin.d.ts +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-stream/package.json +13 -29
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-uri-escape/package.json +2 -3
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-utf8/package.json +3 -4
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-waiter/package.json +4 -5
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/README.md +53 -2
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/commonjs/glob.d.ts +45 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/commonjs/glob.d.ts.map +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/commonjs/glob.js +24 -20
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/commonjs/glob.js.map +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/commonjs/has-magic.js.map +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/commonjs/ignore.d.ts +6 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/commonjs/ignore.d.ts.map +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/commonjs/ignore.js +37 -26
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/commonjs/ignore.js.map +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/commonjs/index.d.ts +8 -7
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/commonjs/index.d.ts.map +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/commonjs/index.js +10 -10
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/commonjs/index.js.map +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/commonjs/package.json +3 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/commonjs/pattern.d.ts.map +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/commonjs/pattern.js +11 -11
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/commonjs/pattern.js.map +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/commonjs/processor.d.ts.map +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/commonjs/processor.js +4 -5
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/commonjs/processor.js.map +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/commonjs/walker.d.ts +7 -5
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/commonjs/walker.d.ts.map +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/commonjs/walker.js +44 -15
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/commonjs/walker.js.map +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/esm/bin.mjs +5 -7
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/esm/bin.mjs.map +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/esm/glob.d.ts +45 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/esm/glob.d.ts.map +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/esm/glob.js +23 -19
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/esm/glob.js.map +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/esm/has-magic.js.map +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/esm/ignore.d.ts +6 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/esm/ignore.d.ts.map +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/esm/ignore.js +37 -26
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/esm/ignore.js.map +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/esm/index.d.ts +8 -7
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/esm/index.d.ts.map +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/esm/index.js +4 -5
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/esm/index.js.map +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/esm/package.json +3 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/esm/pattern.d.ts.map +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/esm/pattern.js +11 -11
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/esm/pattern.js.map +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/esm/processor.d.ts.map +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/esm/processor.js +4 -5
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/esm/processor.js.map +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/esm/walker.d.ts +7 -5
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/esm/walker.d.ts.map +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/esm/walker.js +44 -15
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/esm/walker.js.map +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/package.json +14 -14
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/jackspeak/README.md +3 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/jackspeak/dist/commonjs/index.d.ts +26 -20
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/jackspeak/dist/commonjs/index.d.ts.map +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/jackspeak/dist/commonjs/index.js +204 -92
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/jackspeak/dist/commonjs/index.js.map +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/jackspeak/dist/commonjs/package.json +3 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/jackspeak/dist/commonjs/parse-args-cjs.cjs.map +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/jackspeak/dist/esm/index.d.ts +26 -20
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/jackspeak/dist/esm/index.d.ts.map +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/jackspeak/dist/esm/index.js +204 -92
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/jackspeak/dist/esm/index.js.map +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/jackspeak/dist/esm/package.json +3 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/jackspeak/dist/esm/parse-args.js +2 -2
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/jackspeak/dist/esm/parse-args.js.map +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/jackspeak/package.json +5 -4
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/lru-cache/dist/commonjs/index.min.js +2 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/lru-cache/dist/commonjs/index.min.js.map +7 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/lru-cache/dist/esm/index.min.js +2 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/lru-cache/dist/esm/index.min.js.map +7 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/lru-cache/package.json +6 -7
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/commonjs/assert-valid-pattern.d.ts +2 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/commonjs/assert-valid-pattern.d.ts.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/commonjs/assert-valid-pattern.js +14 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/commonjs/assert-valid-pattern.js.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/commonjs/ast.d.ts +20 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/commonjs/ast.d.ts.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/commonjs/ast.js +592 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/commonjs/ast.js.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/commonjs/brace-expressions.d.ts +8 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/commonjs/brace-expressions.d.ts.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/commonjs/brace-expressions.js +152 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/commonjs/brace-expressions.js.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/commonjs/escape.d.ts +12 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/commonjs/escape.d.ts.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/commonjs/escape.js +22 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/commonjs/escape.js.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/commonjs/index.d.ts +94 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/commonjs/index.d.ts.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/commonjs/index.js +1016 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/commonjs/index.js.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/commonjs/package.json +3 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/commonjs/unescape.d.ts +17 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/commonjs/unescape.d.ts.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/commonjs/unescape.js +24 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/commonjs/unescape.js.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/esm/assert-valid-pattern.d.ts +2 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/esm/assert-valid-pattern.d.ts.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/esm/assert-valid-pattern.js +10 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/esm/assert-valid-pattern.js.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/esm/ast.d.ts +20 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/esm/ast.d.ts.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/esm/ast.js +588 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/esm/ast.js.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/esm/brace-expressions.d.ts +8 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/esm/brace-expressions.d.ts.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/esm/brace-expressions.js +148 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/esm/brace-expressions.js.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/esm/escape.d.ts +12 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/esm/escape.d.ts.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/esm/escape.js +18 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/esm/escape.js.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/esm/index.d.ts +94 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/esm/index.d.ts.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/esm/index.js +1000 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/esm/index.js.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/esm/package.json +3 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/esm/unescape.d.ts +17 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/esm/unescape.d.ts.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/esm/unescape.js +20 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/esm/unescape.js.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/package.json +21 -25
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minipass/dist/commonjs/index.d.ts +4 -4
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minipass/dist/commonjs/index.d.ts.map +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minipass/dist/commonjs/index.js +9 -9
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minipass/dist/commonjs/index.js.map +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minipass/dist/commonjs/package.json +3 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minipass/dist/esm/index.d.ts +4 -4
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minipass/dist/esm/index.d.ts.map +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minipass/dist/esm/index.js +3 -3
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minipass/dist/esm/index.js.map +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minipass/dist/esm/package.json +3 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minipass/package.json +6 -6
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/path-scurry/README.md +34 -29
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/path-scurry/dist/commonjs/index.d.ts +15 -6
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/path-scurry/dist/commonjs/index.d.ts.map +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/path-scurry/dist/commonjs/index.js +59 -65
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/path-scurry/dist/commonjs/index.js.map +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/path-scurry/dist/esm/index.d.ts +15 -6
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/path-scurry/dist/esm/index.d.ts.map +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/path-scurry/dist/esm/index.js +54 -60
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/path-scurry/dist/esm/index.js.map +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/path-scurry/package.json +10 -6
- package/lib/internal-lambdas/sourceWatcherLambda/src/package-lock.json +766 -699
- package/lib/internal-lambdas/sourceWatcherLambda/src/package.json +3 -3
- package/package.json +6 -7
|
@@ -0,0 +1,226 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all)
|
|
9
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
+
};
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from))
|
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
+
}
|
|
17
|
+
return to;
|
|
18
|
+
};
|
|
19
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
20
|
+
|
|
21
|
+
// src/submodules/httpAuthSchemes/index.ts
|
|
22
|
+
var httpAuthSchemes_exports = {};
|
|
23
|
+
__export(httpAuthSchemes_exports, {
|
|
24
|
+
AWSSDKSigV4Signer: () => AWSSDKSigV4Signer,
|
|
25
|
+
AwsSdkSigV4Signer: () => AwsSdkSigV4Signer,
|
|
26
|
+
resolveAWSSDKSigV4Config: () => resolveAWSSDKSigV4Config,
|
|
27
|
+
resolveAwsSdkSigV4Config: () => resolveAwsSdkSigV4Config
|
|
28
|
+
});
|
|
29
|
+
module.exports = __toCommonJS(httpAuthSchemes_exports);
|
|
30
|
+
|
|
31
|
+
// src/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.ts
|
|
32
|
+
var import_protocol_http2 = require("@smithy/protocol-http");
|
|
33
|
+
|
|
34
|
+
// src/submodules/httpAuthSchemes/utils/getDateHeader.ts
|
|
35
|
+
var import_protocol_http = require("@smithy/protocol-http");
|
|
36
|
+
var getDateHeader = /* @__PURE__ */ __name((response) => {
|
|
37
|
+
var _a, _b;
|
|
38
|
+
return import_protocol_http.HttpResponse.isInstance(response) ? ((_a = response.headers) == null ? void 0 : _a.date) ?? ((_b = response.headers) == null ? void 0 : _b.Date) : void 0;
|
|
39
|
+
}, "getDateHeader");
|
|
40
|
+
|
|
41
|
+
// src/submodules/httpAuthSchemes/utils/getSkewCorrectedDate.ts
|
|
42
|
+
var getSkewCorrectedDate = /* @__PURE__ */ __name((systemClockOffset) => new Date(Date.now() + systemClockOffset), "getSkewCorrectedDate");
|
|
43
|
+
|
|
44
|
+
// src/submodules/httpAuthSchemes/utils/isClockSkewed.ts
|
|
45
|
+
var isClockSkewed = /* @__PURE__ */ __name((clockTime, systemClockOffset) => Math.abs(getSkewCorrectedDate(systemClockOffset).getTime() - clockTime) >= 3e5, "isClockSkewed");
|
|
46
|
+
|
|
47
|
+
// src/submodules/httpAuthSchemes/utils/getUpdatedSystemClockOffset.ts
|
|
48
|
+
var getUpdatedSystemClockOffset = /* @__PURE__ */ __name((clockTime, currentSystemClockOffset) => {
|
|
49
|
+
const clockTimeInMs = Date.parse(clockTime);
|
|
50
|
+
if (isClockSkewed(clockTimeInMs, currentSystemClockOffset)) {
|
|
51
|
+
return clockTimeInMs - Date.now();
|
|
52
|
+
}
|
|
53
|
+
return currentSystemClockOffset;
|
|
54
|
+
}, "getUpdatedSystemClockOffset");
|
|
55
|
+
|
|
56
|
+
// src/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.ts
|
|
57
|
+
var throwSigningPropertyError = /* @__PURE__ */ __name((name, property) => {
|
|
58
|
+
if (!property) {
|
|
59
|
+
throw new Error(`Property \`${name}\` is not resolved for AWS SDK SigV4Auth`);
|
|
60
|
+
}
|
|
61
|
+
return property;
|
|
62
|
+
}, "throwSigningPropertyError");
|
|
63
|
+
var validateSigningProperties = /* @__PURE__ */ __name(async (signingProperties) => {
|
|
64
|
+
var _a, _b, _c;
|
|
65
|
+
const context = throwSigningPropertyError(
|
|
66
|
+
"context",
|
|
67
|
+
signingProperties.context
|
|
68
|
+
);
|
|
69
|
+
const config = throwSigningPropertyError("config", signingProperties.config);
|
|
70
|
+
const authScheme = (_c = (_b = (_a = context.endpointV2) == null ? void 0 : _a.properties) == null ? void 0 : _b.authSchemes) == null ? void 0 : _c[0];
|
|
71
|
+
const signerFunction = throwSigningPropertyError(
|
|
72
|
+
"signer",
|
|
73
|
+
config.signer
|
|
74
|
+
);
|
|
75
|
+
const signer = await signerFunction(authScheme);
|
|
76
|
+
const signingRegion = signingProperties == null ? void 0 : signingProperties.signingRegion;
|
|
77
|
+
const signingName = signingProperties == null ? void 0 : signingProperties.signingName;
|
|
78
|
+
return {
|
|
79
|
+
config,
|
|
80
|
+
signer,
|
|
81
|
+
signingRegion,
|
|
82
|
+
signingName
|
|
83
|
+
};
|
|
84
|
+
}, "validateSigningProperties");
|
|
85
|
+
var _AwsSdkSigV4Signer = class _AwsSdkSigV4Signer {
|
|
86
|
+
async sign(httpRequest, identity, signingProperties) {
|
|
87
|
+
if (!import_protocol_http2.HttpRequest.isInstance(httpRequest)) {
|
|
88
|
+
throw new Error("The request is not an instance of `HttpRequest` and cannot be signed");
|
|
89
|
+
}
|
|
90
|
+
const { config, signer, signingRegion, signingName } = await validateSigningProperties(signingProperties);
|
|
91
|
+
const signedRequest = await signer.sign(httpRequest, {
|
|
92
|
+
signingDate: getSkewCorrectedDate(config.systemClockOffset),
|
|
93
|
+
signingRegion,
|
|
94
|
+
signingService: signingName
|
|
95
|
+
});
|
|
96
|
+
return signedRequest;
|
|
97
|
+
}
|
|
98
|
+
errorHandler(signingProperties) {
|
|
99
|
+
return (error) => {
|
|
100
|
+
const serverTime = error.ServerTime ?? getDateHeader(error.$response);
|
|
101
|
+
if (serverTime) {
|
|
102
|
+
const config = throwSigningPropertyError("config", signingProperties.config);
|
|
103
|
+
const initialSystemClockOffset = config.systemClockOffset;
|
|
104
|
+
config.systemClockOffset = getUpdatedSystemClockOffset(serverTime, config.systemClockOffset);
|
|
105
|
+
const clockSkewCorrected = config.systemClockOffset !== initialSystemClockOffset;
|
|
106
|
+
if (clockSkewCorrected && error.$metadata) {
|
|
107
|
+
error.$metadata.clockSkewCorrected = true;
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
throw error;
|
|
111
|
+
};
|
|
112
|
+
}
|
|
113
|
+
successHandler(httpResponse, signingProperties) {
|
|
114
|
+
const dateHeader = getDateHeader(httpResponse);
|
|
115
|
+
if (dateHeader) {
|
|
116
|
+
const config = throwSigningPropertyError("config", signingProperties.config);
|
|
117
|
+
config.systemClockOffset = getUpdatedSystemClockOffset(dateHeader, config.systemClockOffset);
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
};
|
|
121
|
+
__name(_AwsSdkSigV4Signer, "AwsSdkSigV4Signer");
|
|
122
|
+
var AwsSdkSigV4Signer = _AwsSdkSigV4Signer;
|
|
123
|
+
var AWSSDKSigV4Signer = AwsSdkSigV4Signer;
|
|
124
|
+
|
|
125
|
+
// src/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.ts
|
|
126
|
+
var import_core = require("@smithy/core");
|
|
127
|
+
var import_signature_v4 = require("@smithy/signature-v4");
|
|
128
|
+
var resolveAwsSdkSigV4Config = /* @__PURE__ */ __name((config) => {
|
|
129
|
+
let normalizedCreds;
|
|
130
|
+
if (config.credentials) {
|
|
131
|
+
normalizedCreds = (0, import_core.memoizeIdentityProvider)(config.credentials, import_core.isIdentityExpired, import_core.doesIdentityRequireRefresh);
|
|
132
|
+
}
|
|
133
|
+
if (!normalizedCreds) {
|
|
134
|
+
if (config.credentialDefaultProvider) {
|
|
135
|
+
normalizedCreds = (0, import_core.normalizeProvider)(
|
|
136
|
+
config.credentialDefaultProvider(
|
|
137
|
+
Object.assign({}, config, {
|
|
138
|
+
parentClientConfig: config
|
|
139
|
+
})
|
|
140
|
+
)
|
|
141
|
+
);
|
|
142
|
+
} else {
|
|
143
|
+
normalizedCreds = /* @__PURE__ */ __name(async () => {
|
|
144
|
+
throw new Error("`credentials` is missing");
|
|
145
|
+
}, "normalizedCreds");
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
const {
|
|
149
|
+
// Default for signingEscapePath
|
|
150
|
+
signingEscapePath = true,
|
|
151
|
+
// Default for systemClockOffset
|
|
152
|
+
systemClockOffset = config.systemClockOffset || 0,
|
|
153
|
+
// No default for sha256 since it is platform dependent
|
|
154
|
+
sha256
|
|
155
|
+
} = config;
|
|
156
|
+
let signer;
|
|
157
|
+
if (config.signer) {
|
|
158
|
+
signer = (0, import_core.normalizeProvider)(config.signer);
|
|
159
|
+
} else if (config.regionInfoProvider) {
|
|
160
|
+
signer = /* @__PURE__ */ __name(() => (0, import_core.normalizeProvider)(config.region)().then(
|
|
161
|
+
async (region) => [
|
|
162
|
+
await config.regionInfoProvider(region, {
|
|
163
|
+
useFipsEndpoint: await config.useFipsEndpoint(),
|
|
164
|
+
useDualstackEndpoint: await config.useDualstackEndpoint()
|
|
165
|
+
}) || {},
|
|
166
|
+
region
|
|
167
|
+
]
|
|
168
|
+
).then(([regionInfo, region]) => {
|
|
169
|
+
const { signingRegion, signingService } = regionInfo;
|
|
170
|
+
config.signingRegion = config.signingRegion || signingRegion || region;
|
|
171
|
+
config.signingName = config.signingName || signingService || config.serviceId;
|
|
172
|
+
const params = {
|
|
173
|
+
...config,
|
|
174
|
+
credentials: normalizedCreds,
|
|
175
|
+
region: config.signingRegion,
|
|
176
|
+
service: config.signingName,
|
|
177
|
+
sha256,
|
|
178
|
+
uriEscapePath: signingEscapePath
|
|
179
|
+
};
|
|
180
|
+
const SignerCtor = config.signerConstructor || import_signature_v4.SignatureV4;
|
|
181
|
+
return new SignerCtor(params);
|
|
182
|
+
}), "signer");
|
|
183
|
+
} else {
|
|
184
|
+
signer = /* @__PURE__ */ __name(async (authScheme) => {
|
|
185
|
+
authScheme = Object.assign(
|
|
186
|
+
{},
|
|
187
|
+
{
|
|
188
|
+
name: "sigv4",
|
|
189
|
+
signingName: config.signingName || config.defaultSigningName,
|
|
190
|
+
signingRegion: await (0, import_core.normalizeProvider)(config.region)(),
|
|
191
|
+
properties: {}
|
|
192
|
+
},
|
|
193
|
+
authScheme
|
|
194
|
+
);
|
|
195
|
+
const signingRegion = authScheme.signingRegion;
|
|
196
|
+
const signingService = authScheme.signingName;
|
|
197
|
+
config.signingRegion = config.signingRegion || signingRegion;
|
|
198
|
+
config.signingName = config.signingName || signingService || config.serviceId;
|
|
199
|
+
const params = {
|
|
200
|
+
...config,
|
|
201
|
+
credentials: normalizedCreds,
|
|
202
|
+
region: config.signingRegion,
|
|
203
|
+
service: config.signingName,
|
|
204
|
+
sha256,
|
|
205
|
+
uriEscapePath: signingEscapePath
|
|
206
|
+
};
|
|
207
|
+
const SignerCtor = config.signerConstructor || import_signature_v4.SignatureV4;
|
|
208
|
+
return new SignerCtor(params);
|
|
209
|
+
}, "signer");
|
|
210
|
+
}
|
|
211
|
+
return {
|
|
212
|
+
...config,
|
|
213
|
+
systemClockOffset,
|
|
214
|
+
signingEscapePath,
|
|
215
|
+
credentials: normalizedCreds,
|
|
216
|
+
signer
|
|
217
|
+
};
|
|
218
|
+
}, "resolveAwsSdkSigV4Config");
|
|
219
|
+
var resolveAWSSDKSigV4Config = resolveAwsSdkSigV4Config;
|
|
220
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
221
|
+
0 && (module.exports = {
|
|
222
|
+
AWSSDKSigV4Signer,
|
|
223
|
+
AwsSdkSigV4Signer,
|
|
224
|
+
resolveAWSSDKSigV4Config,
|
|
225
|
+
resolveAwsSdkSigV4Config
|
|
226
|
+
});
|
|
@@ -0,0 +1,228 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all)
|
|
9
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
+
};
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from))
|
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
+
}
|
|
17
|
+
return to;
|
|
18
|
+
};
|
|
19
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
20
|
+
|
|
21
|
+
// src/submodules/protocols/index.ts
|
|
22
|
+
var protocols_exports = {};
|
|
23
|
+
__export(protocols_exports, {
|
|
24
|
+
_toBool: () => _toBool,
|
|
25
|
+
_toNum: () => _toNum,
|
|
26
|
+
_toStr: () => _toStr,
|
|
27
|
+
awsExpectUnion: () => awsExpectUnion,
|
|
28
|
+
loadRestJsonErrorCode: () => loadRestJsonErrorCode,
|
|
29
|
+
loadRestXmlErrorCode: () => loadRestXmlErrorCode,
|
|
30
|
+
parseJsonBody: () => parseJsonBody,
|
|
31
|
+
parseJsonErrorBody: () => parseJsonErrorBody,
|
|
32
|
+
parseXmlBody: () => parseXmlBody,
|
|
33
|
+
parseXmlErrorBody: () => parseXmlErrorBody
|
|
34
|
+
});
|
|
35
|
+
module.exports = __toCommonJS(protocols_exports);
|
|
36
|
+
|
|
37
|
+
// src/submodules/protocols/coercing-serializers.ts
|
|
38
|
+
var _toStr = /* @__PURE__ */ __name((val) => {
|
|
39
|
+
if (val == null) {
|
|
40
|
+
return val;
|
|
41
|
+
}
|
|
42
|
+
if (typeof val === "number" || typeof val === "bigint") {
|
|
43
|
+
const warning = new Error(`Received number ${val} where a string was expected.`);
|
|
44
|
+
warning.name = "Warning";
|
|
45
|
+
console.warn(warning);
|
|
46
|
+
return String(val);
|
|
47
|
+
}
|
|
48
|
+
if (typeof val === "boolean") {
|
|
49
|
+
const warning = new Error(`Received boolean ${val} where a string was expected.`);
|
|
50
|
+
warning.name = "Warning";
|
|
51
|
+
console.warn(warning);
|
|
52
|
+
return String(val);
|
|
53
|
+
}
|
|
54
|
+
return val;
|
|
55
|
+
}, "_toStr");
|
|
56
|
+
var _toBool = /* @__PURE__ */ __name((val) => {
|
|
57
|
+
if (val == null) {
|
|
58
|
+
return val;
|
|
59
|
+
}
|
|
60
|
+
if (typeof val === "number") {
|
|
61
|
+
}
|
|
62
|
+
if (typeof val === "string") {
|
|
63
|
+
const lowercase = val.toLowerCase();
|
|
64
|
+
if (val !== "" && lowercase !== "false" && lowercase !== "true") {
|
|
65
|
+
const warning = new Error(`Received string "${val}" where a boolean was expected.`);
|
|
66
|
+
warning.name = "Warning";
|
|
67
|
+
console.warn(warning);
|
|
68
|
+
}
|
|
69
|
+
return val !== "" && lowercase !== "false";
|
|
70
|
+
}
|
|
71
|
+
return val;
|
|
72
|
+
}, "_toBool");
|
|
73
|
+
var _toNum = /* @__PURE__ */ __name((val) => {
|
|
74
|
+
if (val == null) {
|
|
75
|
+
return val;
|
|
76
|
+
}
|
|
77
|
+
if (typeof val === "boolean") {
|
|
78
|
+
}
|
|
79
|
+
if (typeof val === "string") {
|
|
80
|
+
const num = Number(val);
|
|
81
|
+
if (num.toString() !== val) {
|
|
82
|
+
const warning = new Error(`Received string "${val}" where a number was expected.`);
|
|
83
|
+
warning.name = "Warning";
|
|
84
|
+
console.warn(warning);
|
|
85
|
+
return val;
|
|
86
|
+
}
|
|
87
|
+
return num;
|
|
88
|
+
}
|
|
89
|
+
return val;
|
|
90
|
+
}, "_toNum");
|
|
91
|
+
|
|
92
|
+
// src/submodules/protocols/json/awsExpectUnion.ts
|
|
93
|
+
var import_smithy_client = require("@smithy/smithy-client");
|
|
94
|
+
var awsExpectUnion = /* @__PURE__ */ __name((value) => {
|
|
95
|
+
if (value == null) {
|
|
96
|
+
return void 0;
|
|
97
|
+
}
|
|
98
|
+
if (typeof value === "object" && "__type" in value) {
|
|
99
|
+
delete value.__type;
|
|
100
|
+
}
|
|
101
|
+
return (0, import_smithy_client.expectUnion)(value);
|
|
102
|
+
}, "awsExpectUnion");
|
|
103
|
+
|
|
104
|
+
// src/submodules/protocols/common.ts
|
|
105
|
+
var import_smithy_client2 = require("@smithy/smithy-client");
|
|
106
|
+
var collectBodyString = /* @__PURE__ */ __name((streamBody, context) => (0, import_smithy_client2.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body)), "collectBodyString");
|
|
107
|
+
|
|
108
|
+
// src/submodules/protocols/json/parseJsonBody.ts
|
|
109
|
+
var parseJsonBody = /* @__PURE__ */ __name((streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
110
|
+
if (encoded.length) {
|
|
111
|
+
try {
|
|
112
|
+
return JSON.parse(encoded);
|
|
113
|
+
} catch (e) {
|
|
114
|
+
if ((e == null ? void 0 : e.name) === "SyntaxError") {
|
|
115
|
+
Object.defineProperty(e, "$responseBodyText", {
|
|
116
|
+
value: encoded
|
|
117
|
+
});
|
|
118
|
+
}
|
|
119
|
+
throw e;
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
return {};
|
|
123
|
+
}), "parseJsonBody");
|
|
124
|
+
var parseJsonErrorBody = /* @__PURE__ */ __name(async (errorBody, context) => {
|
|
125
|
+
const value = await parseJsonBody(errorBody, context);
|
|
126
|
+
value.message = value.message ?? value.Message;
|
|
127
|
+
return value;
|
|
128
|
+
}, "parseJsonErrorBody");
|
|
129
|
+
var loadRestJsonErrorCode = /* @__PURE__ */ __name((output, data) => {
|
|
130
|
+
const findKey = /* @__PURE__ */ __name((object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase()), "findKey");
|
|
131
|
+
const sanitizeErrorCode = /* @__PURE__ */ __name((rawValue) => {
|
|
132
|
+
let cleanValue = rawValue;
|
|
133
|
+
if (typeof cleanValue === "number") {
|
|
134
|
+
cleanValue = cleanValue.toString();
|
|
135
|
+
}
|
|
136
|
+
if (cleanValue.indexOf(",") >= 0) {
|
|
137
|
+
cleanValue = cleanValue.split(",")[0];
|
|
138
|
+
}
|
|
139
|
+
if (cleanValue.indexOf(":") >= 0) {
|
|
140
|
+
cleanValue = cleanValue.split(":")[0];
|
|
141
|
+
}
|
|
142
|
+
if (cleanValue.indexOf("#") >= 0) {
|
|
143
|
+
cleanValue = cleanValue.split("#")[1];
|
|
144
|
+
}
|
|
145
|
+
return cleanValue;
|
|
146
|
+
}, "sanitizeErrorCode");
|
|
147
|
+
const headerKey = findKey(output.headers, "x-amzn-errortype");
|
|
148
|
+
if (headerKey !== void 0) {
|
|
149
|
+
return sanitizeErrorCode(output.headers[headerKey]);
|
|
150
|
+
}
|
|
151
|
+
if (data.code !== void 0) {
|
|
152
|
+
return sanitizeErrorCode(data.code);
|
|
153
|
+
}
|
|
154
|
+
if (data["__type"] !== void 0) {
|
|
155
|
+
return sanitizeErrorCode(data["__type"]);
|
|
156
|
+
}
|
|
157
|
+
}, "loadRestJsonErrorCode");
|
|
158
|
+
|
|
159
|
+
// src/submodules/protocols/xml/parseXmlBody.ts
|
|
160
|
+
var import_smithy_client3 = require("@smithy/smithy-client");
|
|
161
|
+
var import_fast_xml_parser = require("fast-xml-parser");
|
|
162
|
+
var parseXmlBody = /* @__PURE__ */ __name((streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
163
|
+
if (encoded.length) {
|
|
164
|
+
const parser = new import_fast_xml_parser.XMLParser({
|
|
165
|
+
attributeNamePrefix: "",
|
|
166
|
+
htmlEntities: true,
|
|
167
|
+
ignoreAttributes: false,
|
|
168
|
+
ignoreDeclaration: true,
|
|
169
|
+
parseTagValue: false,
|
|
170
|
+
trimValues: false,
|
|
171
|
+
tagValueProcessor: (_, val) => val.trim() === "" && val.includes("\n") ? "" : void 0
|
|
172
|
+
});
|
|
173
|
+
parser.addEntity("#xD", "\r");
|
|
174
|
+
parser.addEntity("#10", "\n");
|
|
175
|
+
let parsedObj;
|
|
176
|
+
try {
|
|
177
|
+
parsedObj = parser.parse(encoded, true);
|
|
178
|
+
} catch (e) {
|
|
179
|
+
if (e && typeof e === "object") {
|
|
180
|
+
Object.defineProperty(e, "$responseBodyText", {
|
|
181
|
+
value: encoded
|
|
182
|
+
});
|
|
183
|
+
}
|
|
184
|
+
throw e;
|
|
185
|
+
}
|
|
186
|
+
const textNodeName = "#text";
|
|
187
|
+
const key = Object.keys(parsedObj)[0];
|
|
188
|
+
const parsedObjToReturn = parsedObj[key];
|
|
189
|
+
if (parsedObjToReturn[textNodeName]) {
|
|
190
|
+
parsedObjToReturn[key] = parsedObjToReturn[textNodeName];
|
|
191
|
+
delete parsedObjToReturn[textNodeName];
|
|
192
|
+
}
|
|
193
|
+
return (0, import_smithy_client3.getValueFromTextNode)(parsedObjToReturn);
|
|
194
|
+
}
|
|
195
|
+
return {};
|
|
196
|
+
}), "parseXmlBody");
|
|
197
|
+
var parseXmlErrorBody = /* @__PURE__ */ __name(async (errorBody, context) => {
|
|
198
|
+
const value = await parseXmlBody(errorBody, context);
|
|
199
|
+
if (value.Error) {
|
|
200
|
+
value.Error.message = value.Error.message ?? value.Error.Message;
|
|
201
|
+
}
|
|
202
|
+
return value;
|
|
203
|
+
}, "parseXmlErrorBody");
|
|
204
|
+
var loadRestXmlErrorCode = /* @__PURE__ */ __name((output, data) => {
|
|
205
|
+
var _a;
|
|
206
|
+
if (((_a = data == null ? void 0 : data.Error) == null ? void 0 : _a.Code) !== void 0) {
|
|
207
|
+
return data.Error.Code;
|
|
208
|
+
}
|
|
209
|
+
if ((data == null ? void 0 : data.Code) !== void 0) {
|
|
210
|
+
return data.Code;
|
|
211
|
+
}
|
|
212
|
+
if (output.statusCode == 404) {
|
|
213
|
+
return "NotFound";
|
|
214
|
+
}
|
|
215
|
+
}, "loadRestXmlErrorCode");
|
|
216
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
217
|
+
0 && (module.exports = {
|
|
218
|
+
_toBool,
|
|
219
|
+
_toNum,
|
|
220
|
+
_toStr,
|
|
221
|
+
awsExpectUnion,
|
|
222
|
+
loadRestJsonErrorCode,
|
|
223
|
+
loadRestXmlErrorCode,
|
|
224
|
+
parseJsonBody,
|
|
225
|
+
parseJsonErrorBody,
|
|
226
|
+
parseXmlBody,
|
|
227
|
+
parseXmlErrorBody
|
|
228
|
+
});
|
package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from "./client/index";
|
|
2
|
-
export * from "./httpAuthSchemes/index";
|
|
3
|
-
export * from "./protocols/index";
|
|
1
|
+
export * from "./submodules/client/index";
|
|
2
|
+
export * from "./submodules/httpAuthSchemes/index";
|
|
3
|
+
export * from "./submodules/protocols/index";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./emitWarningIfUnsupportedVersion";
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { HttpRequest } from "@smithy/protocol-http";
|
|
2
|
+
import { getDateHeader, getSkewCorrectedDate, getUpdatedSystemClockOffset } from "../utils";
|
|
3
|
+
const throwSigningPropertyError = (name, property) => {
|
|
4
|
+
if (!property) {
|
|
5
|
+
throw new Error(`Property \`${name}\` is not resolved for AWS SDK SigV4Auth`);
|
|
6
|
+
}
|
|
7
|
+
return property;
|
|
8
|
+
};
|
|
9
|
+
const validateSigningProperties = async (signingProperties) => {
|
|
10
|
+
const context = throwSigningPropertyError("context", signingProperties.context);
|
|
11
|
+
const config = throwSigningPropertyError("config", signingProperties.config);
|
|
12
|
+
const authScheme = context.endpointV2?.properties?.authSchemes?.[0];
|
|
13
|
+
const signerFunction = throwSigningPropertyError("signer", config.signer);
|
|
14
|
+
const signer = await signerFunction(authScheme);
|
|
15
|
+
const signingRegion = signingProperties?.signingRegion;
|
|
16
|
+
const signingName = signingProperties?.signingName;
|
|
17
|
+
return {
|
|
18
|
+
config,
|
|
19
|
+
signer,
|
|
20
|
+
signingRegion,
|
|
21
|
+
signingName,
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
export class AwsSdkSigV4Signer {
|
|
25
|
+
async sign(httpRequest, identity, signingProperties) {
|
|
26
|
+
if (!HttpRequest.isInstance(httpRequest)) {
|
|
27
|
+
throw new Error("The request is not an instance of `HttpRequest` and cannot be signed");
|
|
28
|
+
}
|
|
29
|
+
const { config, signer, signingRegion, signingName } = await validateSigningProperties(signingProperties);
|
|
30
|
+
const signedRequest = await signer.sign(httpRequest, {
|
|
31
|
+
signingDate: getSkewCorrectedDate(config.systemClockOffset),
|
|
32
|
+
signingRegion: signingRegion,
|
|
33
|
+
signingService: signingName,
|
|
34
|
+
});
|
|
35
|
+
return signedRequest;
|
|
36
|
+
}
|
|
37
|
+
errorHandler(signingProperties) {
|
|
38
|
+
return (error) => {
|
|
39
|
+
const serverTime = error.ServerTime ?? getDateHeader(error.$response);
|
|
40
|
+
if (serverTime) {
|
|
41
|
+
const config = throwSigningPropertyError("config", signingProperties.config);
|
|
42
|
+
const initialSystemClockOffset = config.systemClockOffset;
|
|
43
|
+
config.systemClockOffset = getUpdatedSystemClockOffset(serverTime, config.systemClockOffset);
|
|
44
|
+
const clockSkewCorrected = config.systemClockOffset !== initialSystemClockOffset;
|
|
45
|
+
if (clockSkewCorrected && error.$metadata) {
|
|
46
|
+
error.$metadata.clockSkewCorrected = true;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
throw error;
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
successHandler(httpResponse, signingProperties) {
|
|
53
|
+
const dateHeader = getDateHeader(httpResponse);
|
|
54
|
+
if (dateHeader) {
|
|
55
|
+
const config = throwSigningPropertyError("config", signingProperties.config);
|
|
56
|
+
config.systemClockOffset = getUpdatedSystemClockOffset(dateHeader, config.systemClockOffset);
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
export const AWSSDKSigV4Signer = AwsSdkSigV4Signer;
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { doesIdentityRequireRefresh, isIdentityExpired, memoizeIdentityProvider, normalizeProvider, } from "@smithy/core";
|
|
2
|
+
import { SignatureV4 } from "@smithy/signature-v4";
|
|
3
|
+
export const resolveAwsSdkSigV4Config = (config) => {
|
|
4
|
+
let normalizedCreds;
|
|
5
|
+
if (config.credentials) {
|
|
6
|
+
normalizedCreds = memoizeIdentityProvider(config.credentials, isIdentityExpired, doesIdentityRequireRefresh);
|
|
7
|
+
}
|
|
8
|
+
if (!normalizedCreds) {
|
|
9
|
+
if (config.credentialDefaultProvider) {
|
|
10
|
+
normalizedCreds = normalizeProvider(config.credentialDefaultProvider(Object.assign({}, config, {
|
|
11
|
+
parentClientConfig: config,
|
|
12
|
+
})));
|
|
13
|
+
}
|
|
14
|
+
else {
|
|
15
|
+
normalizedCreds = async () => {
|
|
16
|
+
throw new Error("`credentials` is missing");
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
const { signingEscapePath = true, systemClockOffset = config.systemClockOffset || 0, sha256, } = config;
|
|
21
|
+
let signer;
|
|
22
|
+
if (config.signer) {
|
|
23
|
+
signer = normalizeProvider(config.signer);
|
|
24
|
+
}
|
|
25
|
+
else if (config.regionInfoProvider) {
|
|
26
|
+
signer = () => normalizeProvider(config.region)()
|
|
27
|
+
.then(async (region) => [
|
|
28
|
+
(await config.regionInfoProvider(region, {
|
|
29
|
+
useFipsEndpoint: await config.useFipsEndpoint(),
|
|
30
|
+
useDualstackEndpoint: await config.useDualstackEndpoint(),
|
|
31
|
+
})) || {},
|
|
32
|
+
region,
|
|
33
|
+
])
|
|
34
|
+
.then(([regionInfo, region]) => {
|
|
35
|
+
const { signingRegion, signingService } = regionInfo;
|
|
36
|
+
config.signingRegion = config.signingRegion || signingRegion || region;
|
|
37
|
+
config.signingName = config.signingName || signingService || config.serviceId;
|
|
38
|
+
const params = {
|
|
39
|
+
...config,
|
|
40
|
+
credentials: normalizedCreds,
|
|
41
|
+
region: config.signingRegion,
|
|
42
|
+
service: config.signingName,
|
|
43
|
+
sha256,
|
|
44
|
+
uriEscapePath: signingEscapePath,
|
|
45
|
+
};
|
|
46
|
+
const SignerCtor = config.signerConstructor || SignatureV4;
|
|
47
|
+
return new SignerCtor(params);
|
|
48
|
+
});
|
|
49
|
+
}
|
|
50
|
+
else {
|
|
51
|
+
signer = async (authScheme) => {
|
|
52
|
+
authScheme = Object.assign({}, {
|
|
53
|
+
name: "sigv4",
|
|
54
|
+
signingName: config.signingName || config.defaultSigningName,
|
|
55
|
+
signingRegion: await normalizeProvider(config.region)(),
|
|
56
|
+
properties: {},
|
|
57
|
+
}, authScheme);
|
|
58
|
+
const signingRegion = authScheme.signingRegion;
|
|
59
|
+
const signingService = authScheme.signingName;
|
|
60
|
+
config.signingRegion = config.signingRegion || signingRegion;
|
|
61
|
+
config.signingName = config.signingName || signingService || config.serviceId;
|
|
62
|
+
const params = {
|
|
63
|
+
...config,
|
|
64
|
+
credentials: normalizedCreds,
|
|
65
|
+
region: config.signingRegion,
|
|
66
|
+
service: config.signingName,
|
|
67
|
+
sha256,
|
|
68
|
+
uriEscapePath: signingEscapePath,
|
|
69
|
+
};
|
|
70
|
+
const SignerCtor = config.signerConstructor || SignatureV4;
|
|
71
|
+
return new SignerCtor(params);
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
return {
|
|
75
|
+
...config,
|
|
76
|
+
systemClockOffset,
|
|
77
|
+
signingEscapePath,
|
|
78
|
+
credentials: normalizedCreds,
|
|
79
|
+
signer,
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
export const resolveAWSSDKSigV4Config = resolveAwsSdkSigV4Config;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./aws_sdk";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const getSkewCorrectedDate = (systemClockOffset) => new Date(Date.now() + systemClockOffset);
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { isClockSkewed } from "./isClockSkewed";
|
|
2
|
+
export const getUpdatedSystemClockOffset = (clockTime, currentSystemClockOffset) => {
|
|
3
|
+
const clockTimeInMs = Date.parse(clockTime);
|
|
4
|
+
if (isClockSkewed(clockTimeInMs, currentSystemClockOffset)) {
|
|
5
|
+
return clockTimeInMs - Date.now();
|
|
6
|
+
}
|
|
7
|
+
return currentSystemClockOffset;
|
|
8
|
+
};
|