@mavogel/awscdk-rootmail 0.0.269 → 0.0.271
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 +7 -7
- package/lib/rootmail.js +1 -1
- package/lib/ses-receive.js +1 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/package.json +6 -8
- package/node_modules/@aws-sdk/client-route-53/package.json +6 -8
- package/node_modules/@aws-sdk/client-s3/dist-cjs/index.js +100 -31
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectCommand.js +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/models/models_0.js +5 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/protocols/Aws_restXml.js +91 -29
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/AbortMultipartUploadCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/CompleteMultipartUploadCommand.d.ts +8 -2
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/CopyObjectCommand.d.ts +5 -3
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateBucketCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateBucketMetadataTableConfigurationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateMultipartUploadCommand.d.ts +6 -4
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateSessionCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketLifecycleCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketPolicyCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectsCommand.d.ts +3 -3
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketLifecycleConfigurationCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketPolicyCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectAttributesCommand.d.ts +5 -2
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectCommand.d.ts +4 -2
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/HeadBucketCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/HeadObjectCommand.d.ts +4 -2
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListDirectoryBucketsCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListMultipartUploadsCommand.d.ts +4 -3
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectVersionsCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectsCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectsV2Command.d.ts +4 -3
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListPartsCommand.d.ts +5 -3
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketAccelerateConfigurationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketAclCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketCorsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketEncryptionCommand.d.ts +3 -3
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketLifecycleConfigurationCommand.d.ts +3 -3
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketLoggingCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketPolicyCommand.d.ts +3 -3
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketReplicationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketRequestPaymentCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketTaggingCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketVersioningCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketWebsiteCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectAclCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectCommand.d.ts +6 -3
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectLegalHoldCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectLockConfigurationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectRetentionCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectTaggingCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutPublicAccessBlockCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/RestoreObjectCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/UploadPartCommand.d.ts +5 -3
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/UploadPartCopyCommand.d.ts +3 -2
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/WriteGetObjectResponseCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/models/models_0.d.ts +251 -111
- package/node_modules/@aws-sdk/client-s3/dist-types/models/models_1.d.ts +140 -64
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_0.d.ts +28 -3
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_1.d.ts +12 -1
- package/node_modules/@aws-sdk/client-s3/package.json +10 -12
- package/node_modules/@aws-sdk/client-ses/package.json +6 -8
- package/node_modules/@aws-sdk/client-ssm/package.json +6 -8
- package/node_modules/@aws-sdk/client-sso/package.json +5 -5
- package/node_modules/@aws-sdk/core/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-env/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-http/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js +1 -1
- package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveAssumeRoleCredentials.js +1 -1
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +8 -10
- 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/dist-cjs/fromWebToken.js +1 -1
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-es/fromWebToken.js +1 -1
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -5
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-cjs/index.js +88 -17
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/constants.js +2 -2
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/crc64-nvme-crt-container.js +3 -0
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/flexibleChecksumsInputMiddleware.js +37 -0
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/flexibleChecksumsMiddleware.js +17 -2
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/getChecksumAlgorithmForRequest.js +9 -5
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/getFlexibleChecksumsPlugin.js +2 -0
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/index.js +1 -0
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/selectChecksumAlgorithmFunction.js +10 -0
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/types.js +2 -0
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/configuration.d.ts +10 -1
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/constants.d.ts +5 -5
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/crc64-nvme-crt-container.d.ts +13 -0
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/flexibleChecksumsInputMiddleware.d.ts +19 -0
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/getChecksumAlgorithmForRequest.d.ts +6 -2
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/getFlexibleChecksumsPlugin.d.ts +2 -1
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/index.d.ts +1 -0
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/configuration.d.ts +7 -0
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/constants.d.ts +2 -3
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/crc64-nvme-crt-container.d.ts +4 -0
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/flexibleChecksumsInputMiddleware.d.ts +10 -0
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/getChecksumAlgorithmForRequest.d.ts +4 -3
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/getFlexibleChecksumsPlugin.d.ts +2 -0
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/index.d.ts +1 -0
- package/node_modules/@aws-sdk/middleware-flexible-checksums/package.json +2 -2
- package/node_modules/@aws-sdk/middleware-sdk-s3/package.json +2 -2
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +3 -3
- package/node_modules/@aws-sdk/nested-clients/README.md +13 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/index.js +2 -0
- package/node_modules/@aws-sdk/{client-sso-oidc/dist-cjs → nested-clients/dist-cjs/submodules/sso-oidc}/auth/httpAuthSchemeProvider.js +0 -8
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/endpoint/ruleset.js +106 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +804 -0
- package/node_modules/@aws-sdk/{client-sso-oidc/dist-cjs → nested-clients/dist-cjs/submodules/sso-oidc}/runtimeConfig.browser.js +1 -2
- package/node_modules/@aws-sdk/{client-sso-oidc/dist-cjs → nested-clients/dist-cjs/submodules/sso-oidc}/runtimeConfig.js +1 -3
- package/node_modules/@aws-sdk/{client-sts/dist-cjs → nested-clients/dist-cjs/submodules/sts}/auth/httpAuthSchemeProvider.js +0 -4
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/ruleset.js +145 -0
- package/node_modules/@aws-sdk/{client-sts/dist-cjs → nested-clients/dist-cjs/submodules/sts}/index.js +99 -695
- package/node_modules/@aws-sdk/{client-sts/dist-cjs → nested-clients/dist-cjs/submodules/sts}/runtimeConfig.browser.js +1 -1
- package/node_modules/@aws-sdk/{client-sts/dist-cjs → nested-clients/dist-cjs/submodules/sts}/runtimeConfig.js +2 -4
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/SSOOIDC.js +9 -0
- package/node_modules/@aws-sdk/{client-sso-oidc/dist-es → nested-clients/dist-es/submodules/sso-oidc}/auth/httpAuthSchemeProvider.js +0 -8
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/commands/index.js +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/ruleset.js +103 -0
- package/node_modules/@aws-sdk/{client-sso-oidc/dist-es → nested-clients/dist-es/submodules/sso-oidc}/models/models_0.js +12 -85
- package/node_modules/@aws-sdk/{client-sso-oidc/dist-es → nested-clients/dist-es/submodules/sso-oidc}/protocols/Aws_restJson1.js +2 -174
- package/node_modules/@aws-sdk/{client-sso-oidc/dist-es → nested-clients/dist-es/submodules/sso-oidc}/runtimeConfig.browser.js +1 -2
- package/node_modules/@aws-sdk/{client-sso-oidc/dist-es → nested-clients/dist-es/submodules/sso-oidc}/runtimeConfig.js +1 -3
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/STS.js +11 -0
- package/node_modules/@aws-sdk/{client-sts/dist-es → nested-clients/dist-es/submodules/sts}/auth/httpAuthSchemeProvider.js +0 -4
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/commands/index.js +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/endpoint/ruleset.js +142 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/extensionConfiguration.js +1 -0
- package/node_modules/@aws-sdk/{client-sts/dist-es → nested-clients/dist-es/submodules/sts}/models/models_0.js +16 -48
- package/node_modules/@aws-sdk/{client-sts/dist-es → nested-clients/dist-es/submodules/sts}/protocols/Aws_query.js +10 -420
- package/node_modules/@aws-sdk/{client-sts/dist-es → nested-clients/dist-es/submodules/sts}/runtimeConfig.browser.js +1 -1
- package/node_modules/@aws-sdk/{client-sts/dist-es → nested-clients/dist-es/submodules/sts}/runtimeConfig.js +2 -4
- package/node_modules/@aws-sdk/nested-clients/dist-types/index.d.ts +6 -0
- package/node_modules/@aws-sdk/{client-sso-oidc/dist-types → nested-clients/dist-types/submodules/sso-oidc}/SSOOIDC.d.ts +0 -21
- package/node_modules/@aws-sdk/{client-sso-oidc/dist-types → nested-clients/dist-types/submodules/sso-oidc}/SSOOIDCClient.d.ts +3 -12
- package/node_modules/@aws-sdk/{client-sso-oidc/dist-types → nested-clients/dist-types/submodules/sso-oidc}/commands/CreateTokenCommand.d.ts +3 -50
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/commands/index.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/models/models_0.d.ts +396 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/protocols/Aws_restJson1.d.ts +11 -0
- package/node_modules/@aws-sdk/{client-sso-oidc/dist-types → nested-clients/dist-types/submodules/sso-oidc}/runtimeConfig.browser.d.ts +0 -1
- package/node_modules/@aws-sdk/{client-sso-oidc/dist-types → nested-clients/dist-types/submodules/sso-oidc}/runtimeConfig.d.ts +0 -1
- package/node_modules/@aws-sdk/{client-sso-oidc/dist-types → nested-clients/dist-types/submodules/sso-oidc}/runtimeConfig.native.d.ts +0 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/STS.d.ts +27 -0
- package/node_modules/@aws-sdk/{client-sts/dist-types → nested-clients/dist-types/submodules/sts}/STSClient.d.ts +2 -9
- package/node_modules/@aws-sdk/{client-sts/dist-types → nested-clients/dist-types/submodules/sts}/commands/AssumeRoleCommand.d.ts +0 -47
- package/node_modules/@aws-sdk/{client-sts/dist-types → nested-clients/dist-types/submodules/sts}/commands/AssumeRoleWithWebIdentityCommand.d.ts +0 -34
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/commands/index.d.ts +2 -0
- package/node_modules/@aws-sdk/{client-sts/dist-types → nested-clients/dist-types/submodules/sts}/models/models_0.d.ts +16 -630
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/protocols/Aws_query.d.ts +20 -0
- package/node_modules/@aws-sdk/{client-sts/dist-types → nested-clients/dist-types/submodules/sts}/runtimeConfig.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/index.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/SSOOIDC.d.ts +22 -0
- package/node_modules/@aws-sdk/{client-sso-oidc/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso-oidc}/SSOOIDCClient.d.ts +2 -24
- package/node_modules/@aws-sdk/{client-sso-oidc/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso-oidc}/commands/CreateTokenCommand.d.ts +5 -9
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/commands/index.d.ts +1 -0
- package/node_modules/@aws-sdk/{client-sso-oidc/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso-oidc}/models/models_0.d.ts +6 -99
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/protocols/Aws_restJson1.d.ts +17 -0
- package/node_modules/@aws-sdk/{client-sso-oidc/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso-oidc}/runtimeConfig.browser.d.ts +0 -5
- package/node_modules/@aws-sdk/{client-sso-oidc/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso-oidc}/runtimeConfig.d.ts +0 -9
- package/node_modules/@aws-sdk/{client-sso-oidc/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso-oidc}/runtimeConfig.native.d.ts +0 -5
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/STS.d.ts +39 -0
- package/node_modules/@aws-sdk/{client-sts/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sts}/STSClient.d.ts +2 -44
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/commands/index.d.ts +2 -0
- package/node_modules/@aws-sdk/{client-sts/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sts}/models/models_0.d.ts +10 -105
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/protocols/Aws_query.d.ts +29 -0
- package/node_modules/@aws-sdk/{client-sts/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sts}/runtimeConfig.d.ts +3 -9
- package/node_modules/@aws-sdk/{client-sts → nested-clients}/package.json +47 -34
- package/node_modules/@aws-sdk/nested-clients/sso-oidc.d.ts +7 -0
- package/node_modules/@aws-sdk/nested-clients/sso-oidc.js +5 -0
- package/node_modules/@aws-sdk/nested-clients/sts.d.ts +7 -0
- package/node_modules/@aws-sdk/nested-clients/sts.js +5 -0
- package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +2 -2
- package/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +2 -2
- package/node_modules/@aws-sdk/token-providers/dist-es/getNewSsoOidcToken.js +1 -1
- package/node_modules/@aws-sdk/token-providers/dist-es/getSsoOidcClient.js +1 -1
- package/node_modules/@aws-sdk/token-providers/dist-types/getNewSsoOidcToken.d.ts +2 -1
- package/node_modules/@aws-sdk/token-providers/dist-types/getSsoOidcClient.d.ts +2 -1
- package/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/getNewSsoOidcToken.d.ts +3 -1
- package/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/getSsoOidcClient.d.ts +1 -1
- package/node_modules/@aws-sdk/token-providers/package.json +2 -4
- package/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js +3 -0
- package/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/partitions.json +3 -0
- package/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partitions.json +3 -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/@smithy/core/package.json +3 -3
- package/node_modules/@smithy/middleware-endpoint/package.json +3 -3
- package/node_modules/@smithy/middleware-retry/package.json +2 -2
- package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +2 -2
- package/node_modules/@smithy/node-http-handler/dist-es/write-request-body.js +2 -2
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/write-request-body.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/write-request-body.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/package.json +2 -2
- package/node_modules/@smithy/smithy-client/package.json +4 -4
- 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-stream/package.json +3 -3
- package/package.json +7 -7
- package/node_modules/@aws-sdk/client-sso-oidc/LICENSE +0 -201
- package/node_modules/@aws-sdk/client-sso-oidc/README.md +0 -274
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/endpoint/ruleset.js +0 -7
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/index.js +0 -1255
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/SSOOIDC.js +0 -15
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/commands/CreateTokenWithIAMCommand.js +0 -23
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/commands/RegisterClientCommand.js +0 -23
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/commands/StartDeviceAuthorizationCommand.js +0 -23
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/commands/index.js +0 -4
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/endpoint/ruleset.js +0 -4
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/CreateTokenWithIAMCommand.d.ts +0 -257
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/RegisterClientCommand.d.ts +0 -143
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/StartDeviceAuthorizationCommand.d.ts +0 -123
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/index.d.ts +0 -4
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/models/models_0.d.ts +0 -795
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/protocols/Aws_restJson1.d.ts +0 -38
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/SSOOIDC.d.ts +0 -73
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/commands/CreateTokenWithIAMCommand.d.ts +0 -51
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/commands/RegisterClientCommand.d.ts +0 -50
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/commands/StartDeviceAuthorizationCommand.d.ts +0 -51
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/commands/index.d.ts +0 -4
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -53
- package/node_modules/@aws-sdk/client-sso-oidc/package.json +0 -102
- package/node_modules/@aws-sdk/client-sts/LICENSE +0 -201
- package/node_modules/@aws-sdk/client-sts/README.md +0 -281
- package/node_modules/@aws-sdk/client-sts/dist-cjs/endpoint/ruleset.js +0 -7
- package/node_modules/@aws-sdk/client-sts/dist-es/STS.js +0 -25
- package/node_modules/@aws-sdk/client-sts/dist-es/commands/AssumeRoleWithSAMLCommand.js +0 -23
- package/node_modules/@aws-sdk/client-sts/dist-es/commands/AssumeRootCommand.js +0 -23
- package/node_modules/@aws-sdk/client-sts/dist-es/commands/DecodeAuthorizationMessageCommand.js +0 -22
- package/node_modules/@aws-sdk/client-sts/dist-es/commands/GetAccessKeyInfoCommand.js +0 -22
- package/node_modules/@aws-sdk/client-sts/dist-es/commands/GetCallerIdentityCommand.js +0 -22
- package/node_modules/@aws-sdk/client-sts/dist-es/commands/GetFederationTokenCommand.js +0 -23
- package/node_modules/@aws-sdk/client-sts/dist-es/commands/GetSessionTokenCommand.js +0 -23
- package/node_modules/@aws-sdk/client-sts/dist-es/commands/index.js +0 -9
- package/node_modules/@aws-sdk/client-sts/dist-es/endpoint/ruleset.js +0 -4
- package/node_modules/@aws-sdk/client-sts/dist-types/STS.d.ts +0 -78
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/AssumeRoleWithSAMLCommand.d.ts +0 -294
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/AssumeRootCommand.d.ts +0 -129
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/DecodeAuthorizationMessageCommand.d.ts +0 -127
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetAccessKeyInfoCommand.d.ts +0 -87
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetCallerIdentityCommand.d.ts +0 -128
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetFederationTokenCommand.d.ts +0 -242
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetSessionTokenCommand.d.ts +0 -166
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/index.d.ts +0 -9
- package/node_modules/@aws-sdk/client-sts/dist-types/protocols/Aws_query.d.ts +0 -83
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/STS.d.ts +0 -160
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/AssumeRoleWithSAMLCommand.d.ts +0 -51
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/AssumeRootCommand.d.ts +0 -47
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/DecodeAuthorizationMessageCommand.d.ts +0 -51
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/GetAccessKeyInfoCommand.d.ts +0 -50
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/GetCallerIdentityCommand.d.ts +0 -51
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/GetFederationTokenCommand.d.ts +0 -51
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/GetSessionTokenCommand.d.ts +0 -50
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/index.d.ts +0 -9
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/protocols/Aws_query.d.ts +0 -113
- /package/node_modules/@aws-sdk/{client-sso-oidc/dist-cjs → nested-clients/dist-cjs/submodules/sso-oidc}/endpoint/endpointResolver.js +0 -0
- /package/node_modules/@aws-sdk/{client-sso-oidc/dist-cjs → nested-clients/dist-cjs/submodules/sso-oidc}/runtimeConfig.native.js +0 -0
- /package/node_modules/@aws-sdk/{client-sso-oidc/dist-cjs → nested-clients/dist-cjs/submodules/sso-oidc}/runtimeConfig.shared.js +0 -0
- /package/node_modules/@aws-sdk/{client-sts/dist-cjs → nested-clients/dist-cjs/submodules/sts}/STSClient.js +0 -0
- /package/node_modules/@aws-sdk/{client-sts/dist-cjs → nested-clients/dist-cjs/submodules/sts}/auth/httpAuthExtensionConfiguration.js +0 -0
- /package/node_modules/@aws-sdk/{client-sts/dist-cjs → nested-clients/dist-cjs/submodules/sts}/endpoint/EndpointParameters.js +0 -0
- /package/node_modules/@aws-sdk/{client-sts/dist-cjs → nested-clients/dist-cjs/submodules/sts}/endpoint/endpointResolver.js +0 -0
- /package/node_modules/@aws-sdk/{client-sts/dist-cjs → nested-clients/dist-cjs/submodules/sts}/runtimeConfig.native.js +0 -0
- /package/node_modules/@aws-sdk/{client-sts/dist-cjs → nested-clients/dist-cjs/submodules/sts}/runtimeConfig.shared.js +0 -0
- /package/node_modules/@aws-sdk/{client-sts/dist-cjs → nested-clients/dist-cjs/submodules/sts}/runtimeExtensions.js +0 -0
- /package/node_modules/@aws-sdk/{client-sso-oidc/dist-es/extensionConfiguration.js → nested-clients/dist-es/index.js} +0 -0
- /package/node_modules/@aws-sdk/{client-sso-oidc/dist-es → nested-clients/dist-es/submodules/sso-oidc}/SSOOIDCClient.js +0 -0
- /package/node_modules/@aws-sdk/{client-sso-oidc/dist-es → nested-clients/dist-es/submodules/sso-oidc}/auth/httpAuthExtensionConfiguration.js +0 -0
- /package/node_modules/@aws-sdk/{client-sso-oidc/dist-es → nested-clients/dist-es/submodules/sso-oidc}/commands/CreateTokenCommand.js +0 -0
- /package/node_modules/@aws-sdk/{client-sso-oidc/dist-es → nested-clients/dist-es/submodules/sso-oidc}/endpoint/EndpointParameters.js +0 -0
- /package/node_modules/@aws-sdk/{client-sso-oidc/dist-es → nested-clients/dist-es/submodules/sso-oidc}/endpoint/endpointResolver.js +0 -0
- /package/node_modules/@aws-sdk/{client-sts/dist-es → nested-clients/dist-es/submodules/sso-oidc}/extensionConfiguration.js +0 -0
- /package/node_modules/@aws-sdk/{client-sso-oidc/dist-es → nested-clients/dist-es/submodules/sso-oidc}/index.js +0 -0
- /package/node_modules/@aws-sdk/{client-sso-oidc/dist-es → nested-clients/dist-es/submodules/sso-oidc}/models/SSOOIDCServiceException.js +0 -0
- /package/node_modules/@aws-sdk/{client-sso-oidc/dist-es → nested-clients/dist-es/submodules/sso-oidc}/models/index.js +0 -0
- /package/node_modules/@aws-sdk/{client-sso-oidc/dist-es → nested-clients/dist-es/submodules/sso-oidc}/runtimeConfig.native.js +0 -0
- /package/node_modules/@aws-sdk/{client-sso-oidc/dist-es → nested-clients/dist-es/submodules/sso-oidc}/runtimeConfig.shared.js +0 -0
- /package/node_modules/@aws-sdk/{client-sso-oidc/dist-es → nested-clients/dist-es/submodules/sso-oidc}/runtimeExtensions.js +0 -0
- /package/node_modules/@aws-sdk/{client-sts/dist-es → nested-clients/dist-es/submodules/sts}/STSClient.js +0 -0
- /package/node_modules/@aws-sdk/{client-sts/dist-es → nested-clients/dist-es/submodules/sts}/auth/httpAuthExtensionConfiguration.js +0 -0
- /package/node_modules/@aws-sdk/{client-sts/dist-es → nested-clients/dist-es/submodules/sts}/commands/AssumeRoleCommand.js +0 -0
- /package/node_modules/@aws-sdk/{client-sts/dist-es → nested-clients/dist-es/submodules/sts}/commands/AssumeRoleWithWebIdentityCommand.js +0 -0
- /package/node_modules/@aws-sdk/{client-sts/dist-es → nested-clients/dist-es/submodules/sts}/defaultRoleAssumers.js +0 -0
- /package/node_modules/@aws-sdk/{client-sts/dist-es → nested-clients/dist-es/submodules/sts}/defaultStsRoleAssumers.js +0 -0
- /package/node_modules/@aws-sdk/{client-sts/dist-es → nested-clients/dist-es/submodules/sts}/endpoint/EndpointParameters.js +0 -0
- /package/node_modules/@aws-sdk/{client-sts/dist-es → nested-clients/dist-es/submodules/sts}/endpoint/endpointResolver.js +0 -0
- /package/node_modules/@aws-sdk/{client-sts/dist-es → nested-clients/dist-es/submodules/sts}/index.js +0 -0
- /package/node_modules/@aws-sdk/{client-sts/dist-es → nested-clients/dist-es/submodules/sts}/models/STSServiceException.js +0 -0
- /package/node_modules/@aws-sdk/{client-sts/dist-es → nested-clients/dist-es/submodules/sts}/models/index.js +0 -0
- /package/node_modules/@aws-sdk/{client-sts/dist-es → nested-clients/dist-es/submodules/sts}/runtimeConfig.native.js +0 -0
- /package/node_modules/@aws-sdk/{client-sts/dist-es → nested-clients/dist-es/submodules/sts}/runtimeConfig.shared.js +0 -0
- /package/node_modules/@aws-sdk/{client-sts/dist-es → nested-clients/dist-es/submodules/sts}/runtimeExtensions.js +0 -0
- /package/node_modules/@aws-sdk/{client-sso-oidc/dist-types → nested-clients/dist-types/submodules/sso-oidc}/auth/httpAuthExtensionConfiguration.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sso-oidc/dist-types → nested-clients/dist-types/submodules/sso-oidc}/auth/httpAuthSchemeProvider.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sso-oidc/dist-types → nested-clients/dist-types/submodules/sso-oidc}/endpoint/EndpointParameters.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sso-oidc/dist-types → nested-clients/dist-types/submodules/sso-oidc}/endpoint/endpointResolver.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sso-oidc/dist-types → nested-clients/dist-types/submodules/sso-oidc}/endpoint/ruleset.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sso-oidc/dist-types → nested-clients/dist-types/submodules/sso-oidc}/extensionConfiguration.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sso-oidc/dist-types → nested-clients/dist-types/submodules/sso-oidc}/index.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sso-oidc/dist-types → nested-clients/dist-types/submodules/sso-oidc}/models/SSOOIDCServiceException.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sso-oidc/dist-types → nested-clients/dist-types/submodules/sso-oidc}/models/index.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sso-oidc/dist-types → nested-clients/dist-types/submodules/sso-oidc}/runtimeConfig.shared.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sso-oidc/dist-types → nested-clients/dist-types/submodules/sso-oidc}/runtimeExtensions.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sts/dist-types → nested-clients/dist-types/submodules/sts}/auth/httpAuthExtensionConfiguration.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sts/dist-types → nested-clients/dist-types/submodules/sts}/auth/httpAuthSchemeProvider.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sts/dist-types → nested-clients/dist-types/submodules/sts}/defaultRoleAssumers.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sts/dist-types → nested-clients/dist-types/submodules/sts}/defaultStsRoleAssumers.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sts/dist-types → nested-clients/dist-types/submodules/sts}/endpoint/EndpointParameters.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sts/dist-types → nested-clients/dist-types/submodules/sts}/endpoint/endpointResolver.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sso-oidc/dist-types/ts3.4 → nested-clients/dist-types/submodules/sts}/endpoint/ruleset.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sts/dist-types → nested-clients/dist-types/submodules/sts}/extensionConfiguration.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sts/dist-types → nested-clients/dist-types/submodules/sts}/index.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sts/dist-types → nested-clients/dist-types/submodules/sts}/models/STSServiceException.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sso-oidc/dist-types/ts3.4 → nested-clients/dist-types/submodules/sts}/models/index.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sts/dist-types → nested-clients/dist-types/submodules/sts}/runtimeConfig.browser.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sts/dist-types → nested-clients/dist-types/submodules/sts}/runtimeConfig.native.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sts/dist-types → nested-clients/dist-types/submodules/sts}/runtimeConfig.shared.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sts/dist-types → nested-clients/dist-types/submodules/sts}/runtimeExtensions.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sso-oidc/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso-oidc}/auth/httpAuthExtensionConfiguration.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sso-oidc/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso-oidc}/auth/httpAuthSchemeProvider.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sso-oidc/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso-oidc}/endpoint/EndpointParameters.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sso-oidc/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso-oidc}/endpoint/endpointResolver.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sts/dist-types → nested-clients/dist-types/ts3.4/submodules/sso-oidc}/endpoint/ruleset.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sso-oidc/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso-oidc}/extensionConfiguration.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sso-oidc/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso-oidc}/index.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sso-oidc/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso-oidc}/models/SSOOIDCServiceException.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sts/dist-types → nested-clients/dist-types/ts3.4/submodules/sso-oidc}/models/index.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sso-oidc/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso-oidc}/runtimeConfig.shared.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sso-oidc/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso-oidc}/runtimeExtensions.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sts/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sts}/auth/httpAuthExtensionConfiguration.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sts/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sts}/auth/httpAuthSchemeProvider.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sts/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sts}/commands/AssumeRoleCommand.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sts/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sts}/commands/AssumeRoleWithWebIdentityCommand.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sts/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sts}/defaultRoleAssumers.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sts/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sts}/defaultStsRoleAssumers.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sts/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sts}/endpoint/EndpointParameters.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sts/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sts}/endpoint/endpointResolver.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sts/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sts}/endpoint/ruleset.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sts/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sts}/extensionConfiguration.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sts/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sts}/index.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sts/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sts}/models/STSServiceException.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sts/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sts}/models/index.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sts/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sts}/runtimeConfig.browser.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sts/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sts}/runtimeConfig.native.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sts/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sts}/runtimeConfig.shared.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sts/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sts}/runtimeExtensions.d.ts +0 -0
|
@@ -0,0 +1,804 @@
|
|
|
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/sso-oidc/index.ts
|
|
22
|
+
var sso_oidc_exports = {};
|
|
23
|
+
__export(sso_oidc_exports, {
|
|
24
|
+
$Command: () => import_smithy_client5.Command,
|
|
25
|
+
AccessDeniedException: () => AccessDeniedException,
|
|
26
|
+
AuthorizationPendingException: () => AuthorizationPendingException,
|
|
27
|
+
ClientInputEndpointParameters: () => import_EndpointParameters3.ClientInputEndpointParameters,
|
|
28
|
+
CreateTokenCommand: () => CreateTokenCommand,
|
|
29
|
+
CreateTokenRequestFilterSensitiveLog: () => CreateTokenRequestFilterSensitiveLog,
|
|
30
|
+
CreateTokenResponseFilterSensitiveLog: () => CreateTokenResponseFilterSensitiveLog,
|
|
31
|
+
ExpiredTokenException: () => ExpiredTokenException,
|
|
32
|
+
InternalServerException: () => InternalServerException,
|
|
33
|
+
InvalidClientException: () => InvalidClientException,
|
|
34
|
+
InvalidGrantException: () => InvalidGrantException,
|
|
35
|
+
InvalidRequestException: () => InvalidRequestException,
|
|
36
|
+
InvalidScopeException: () => InvalidScopeException,
|
|
37
|
+
SSOOIDC: () => SSOOIDC,
|
|
38
|
+
SSOOIDCClient: () => SSOOIDCClient,
|
|
39
|
+
SSOOIDCServiceException: () => SSOOIDCServiceException,
|
|
40
|
+
SlowDownException: () => SlowDownException,
|
|
41
|
+
UnauthorizedClientException: () => UnauthorizedClientException,
|
|
42
|
+
UnsupportedGrantTypeException: () => UnsupportedGrantTypeException,
|
|
43
|
+
__Client: () => import_smithy_client.Client
|
|
44
|
+
});
|
|
45
|
+
module.exports = __toCommonJS(sso_oidc_exports);
|
|
46
|
+
|
|
47
|
+
// src/submodules/sso-oidc/SSOOIDCClient.ts
|
|
48
|
+
var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
|
|
49
|
+
var import_middleware_logger = require("@aws-sdk/middleware-logger");
|
|
50
|
+
var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");
|
|
51
|
+
var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");
|
|
52
|
+
var import_config_resolver = require("@smithy/config-resolver");
|
|
53
|
+
var import_core = require("@smithy/core");
|
|
54
|
+
var import_middleware_content_length = require("@smithy/middleware-content-length");
|
|
55
|
+
var import_middleware_endpoint = require("@smithy/middleware-endpoint");
|
|
56
|
+
var import_middleware_retry = require("@smithy/middleware-retry");
|
|
57
|
+
var import_smithy_client = require("@smithy/smithy-client");
|
|
58
|
+
var import_httpAuthSchemeProvider = require("./submodules/sts/auth/httpAuthSchemeProvider");
|
|
59
|
+
var import_EndpointParameters = require("./submodules/sts/endpoint/EndpointParameters");
|
|
60
|
+
var import_runtimeConfig = require("./submodules/sts/runtimeConfig");
|
|
61
|
+
var import_runtimeExtensions = require("./submodules/sts/runtimeExtensions");
|
|
62
|
+
var SSOOIDCClient = class extends import_smithy_client.Client {
|
|
63
|
+
static {
|
|
64
|
+
__name(this, "SSOOIDCClient");
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* The resolved configuration of SSOOIDCClient class. This is resolved and normalized from the {@link SSOOIDCClientConfig | constructor configuration interface}.
|
|
68
|
+
*/
|
|
69
|
+
config;
|
|
70
|
+
constructor(...[configuration]) {
|
|
71
|
+
const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
|
|
72
|
+
const _config_1 = (0, import_EndpointParameters.resolveClientEndpointParameters)(_config_0);
|
|
73
|
+
const _config_2 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_1);
|
|
74
|
+
const _config_3 = (0, import_middleware_retry.resolveRetryConfig)(_config_2);
|
|
75
|
+
const _config_4 = (0, import_config_resolver.resolveRegionConfig)(_config_3);
|
|
76
|
+
const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
|
|
77
|
+
const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
|
|
78
|
+
const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
|
|
79
|
+
const _config_8 = (0, import_runtimeExtensions.resolveRuntimeExtensions)(_config_7, configuration?.extensions || []);
|
|
80
|
+
super(_config_8);
|
|
81
|
+
this.config = _config_8;
|
|
82
|
+
this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
|
|
83
|
+
this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
|
|
84
|
+
this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
|
|
85
|
+
this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
|
|
86
|
+
this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
|
|
87
|
+
this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
|
|
88
|
+
this.middlewareStack.use(
|
|
89
|
+
(0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
|
|
90
|
+
httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultSSOOIDCHttpAuthSchemeParametersProvider,
|
|
91
|
+
identityProviderConfigProvider: async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
92
|
+
"aws.auth#sigv4": config.credentials
|
|
93
|
+
})
|
|
94
|
+
})
|
|
95
|
+
);
|
|
96
|
+
this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
|
|
97
|
+
}
|
|
98
|
+
/**
|
|
99
|
+
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
100
|
+
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
101
|
+
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
102
|
+
*/
|
|
103
|
+
destroy() {
|
|
104
|
+
super.destroy();
|
|
105
|
+
}
|
|
106
|
+
};
|
|
107
|
+
|
|
108
|
+
// src/submodules/sso-oidc/SSOOIDC.ts
|
|
109
|
+
var import_smithy_client6 = require("@smithy/smithy-client");
|
|
110
|
+
|
|
111
|
+
// src/submodules/sso-oidc/commands/CreateTokenCommand.ts
|
|
112
|
+
var import_middleware_endpoint2 = require("@smithy/middleware-endpoint");
|
|
113
|
+
var import_middleware_serde = require("@smithy/middleware-serde");
|
|
114
|
+
var import_smithy_client5 = require("@smithy/smithy-client");
|
|
115
|
+
var import_EndpointParameters2 = require("./submodules/sts/endpoint/EndpointParameters");
|
|
116
|
+
|
|
117
|
+
// src/submodules/sso-oidc/models/models_0.ts
|
|
118
|
+
var import_smithy_client3 = require("@smithy/smithy-client");
|
|
119
|
+
|
|
120
|
+
// src/submodules/sso-oidc/models/SSOOIDCServiceException.ts
|
|
121
|
+
var import_smithy_client2 = require("@smithy/smithy-client");
|
|
122
|
+
var SSOOIDCServiceException = class _SSOOIDCServiceException extends import_smithy_client2.ServiceException {
|
|
123
|
+
static {
|
|
124
|
+
__name(this, "SSOOIDCServiceException");
|
|
125
|
+
}
|
|
126
|
+
/**
|
|
127
|
+
* @internal
|
|
128
|
+
*/
|
|
129
|
+
constructor(options) {
|
|
130
|
+
super(options);
|
|
131
|
+
Object.setPrototypeOf(this, _SSOOIDCServiceException.prototype);
|
|
132
|
+
}
|
|
133
|
+
};
|
|
134
|
+
|
|
135
|
+
// src/submodules/sso-oidc/models/models_0.ts
|
|
136
|
+
var AccessDeniedException = class _AccessDeniedException extends SSOOIDCServiceException {
|
|
137
|
+
static {
|
|
138
|
+
__name(this, "AccessDeniedException");
|
|
139
|
+
}
|
|
140
|
+
name = "AccessDeniedException";
|
|
141
|
+
$fault = "client";
|
|
142
|
+
/**
|
|
143
|
+
* <p>Single error code.
|
|
144
|
+
* For this exception the value will be <code>access_denied</code>.</p>
|
|
145
|
+
* @public
|
|
146
|
+
*/
|
|
147
|
+
error;
|
|
148
|
+
/**
|
|
149
|
+
* <p>Human-readable text providing additional information, used to assist the
|
|
150
|
+
* client developer in understanding the error that occurred.</p>
|
|
151
|
+
* @public
|
|
152
|
+
*/
|
|
153
|
+
error_description;
|
|
154
|
+
/**
|
|
155
|
+
* @internal
|
|
156
|
+
*/
|
|
157
|
+
constructor(opts) {
|
|
158
|
+
super({
|
|
159
|
+
name: "AccessDeniedException",
|
|
160
|
+
$fault: "client",
|
|
161
|
+
...opts
|
|
162
|
+
});
|
|
163
|
+
Object.setPrototypeOf(this, _AccessDeniedException.prototype);
|
|
164
|
+
this.error = opts.error;
|
|
165
|
+
this.error_description = opts.error_description;
|
|
166
|
+
}
|
|
167
|
+
};
|
|
168
|
+
var AuthorizationPendingException = class _AuthorizationPendingException extends SSOOIDCServiceException {
|
|
169
|
+
static {
|
|
170
|
+
__name(this, "AuthorizationPendingException");
|
|
171
|
+
}
|
|
172
|
+
name = "AuthorizationPendingException";
|
|
173
|
+
$fault = "client";
|
|
174
|
+
/**
|
|
175
|
+
* <p>Single error code.
|
|
176
|
+
* For this exception the value will be <code>authorization_pending</code>.</p>
|
|
177
|
+
* @public
|
|
178
|
+
*/
|
|
179
|
+
error;
|
|
180
|
+
/**
|
|
181
|
+
* <p>Human-readable text providing additional information, used to assist the
|
|
182
|
+
* client developer in understanding the error that occurred.</p>
|
|
183
|
+
* @public
|
|
184
|
+
*/
|
|
185
|
+
error_description;
|
|
186
|
+
/**
|
|
187
|
+
* @internal
|
|
188
|
+
*/
|
|
189
|
+
constructor(opts) {
|
|
190
|
+
super({
|
|
191
|
+
name: "AuthorizationPendingException",
|
|
192
|
+
$fault: "client",
|
|
193
|
+
...opts
|
|
194
|
+
});
|
|
195
|
+
Object.setPrototypeOf(this, _AuthorizationPendingException.prototype);
|
|
196
|
+
this.error = opts.error;
|
|
197
|
+
this.error_description = opts.error_description;
|
|
198
|
+
}
|
|
199
|
+
};
|
|
200
|
+
var CreateTokenRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
201
|
+
...obj,
|
|
202
|
+
...obj.clientSecret && { clientSecret: import_smithy_client3.SENSITIVE_STRING },
|
|
203
|
+
...obj.refreshToken && { refreshToken: import_smithy_client3.SENSITIVE_STRING },
|
|
204
|
+
...obj.codeVerifier && { codeVerifier: import_smithy_client3.SENSITIVE_STRING }
|
|
205
|
+
}), "CreateTokenRequestFilterSensitiveLog");
|
|
206
|
+
var CreateTokenResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
207
|
+
...obj,
|
|
208
|
+
...obj.accessToken && { accessToken: import_smithy_client3.SENSITIVE_STRING },
|
|
209
|
+
...obj.refreshToken && { refreshToken: import_smithy_client3.SENSITIVE_STRING },
|
|
210
|
+
...obj.idToken && { idToken: import_smithy_client3.SENSITIVE_STRING }
|
|
211
|
+
}), "CreateTokenResponseFilterSensitiveLog");
|
|
212
|
+
var ExpiredTokenException = class _ExpiredTokenException extends SSOOIDCServiceException {
|
|
213
|
+
static {
|
|
214
|
+
__name(this, "ExpiredTokenException");
|
|
215
|
+
}
|
|
216
|
+
name = "ExpiredTokenException";
|
|
217
|
+
$fault = "client";
|
|
218
|
+
/**
|
|
219
|
+
* <p>Single error code.
|
|
220
|
+
* For this exception the value will be <code>expired_token</code>.</p>
|
|
221
|
+
* @public
|
|
222
|
+
*/
|
|
223
|
+
error;
|
|
224
|
+
/**
|
|
225
|
+
* <p>Human-readable text providing additional information, used to assist the
|
|
226
|
+
* client developer in understanding the error that occurred.</p>
|
|
227
|
+
* @public
|
|
228
|
+
*/
|
|
229
|
+
error_description;
|
|
230
|
+
/**
|
|
231
|
+
* @internal
|
|
232
|
+
*/
|
|
233
|
+
constructor(opts) {
|
|
234
|
+
super({
|
|
235
|
+
name: "ExpiredTokenException",
|
|
236
|
+
$fault: "client",
|
|
237
|
+
...opts
|
|
238
|
+
});
|
|
239
|
+
Object.setPrototypeOf(this, _ExpiredTokenException.prototype);
|
|
240
|
+
this.error = opts.error;
|
|
241
|
+
this.error_description = opts.error_description;
|
|
242
|
+
}
|
|
243
|
+
};
|
|
244
|
+
var InternalServerException = class _InternalServerException extends SSOOIDCServiceException {
|
|
245
|
+
static {
|
|
246
|
+
__name(this, "InternalServerException");
|
|
247
|
+
}
|
|
248
|
+
name = "InternalServerException";
|
|
249
|
+
$fault = "server";
|
|
250
|
+
/**
|
|
251
|
+
* <p>Single error code.
|
|
252
|
+
* For this exception the value will be <code>server_error</code>.</p>
|
|
253
|
+
* @public
|
|
254
|
+
*/
|
|
255
|
+
error;
|
|
256
|
+
/**
|
|
257
|
+
* <p>Human-readable text providing additional information, used to assist the
|
|
258
|
+
* client developer in understanding the error that occurred.</p>
|
|
259
|
+
* @public
|
|
260
|
+
*/
|
|
261
|
+
error_description;
|
|
262
|
+
/**
|
|
263
|
+
* @internal
|
|
264
|
+
*/
|
|
265
|
+
constructor(opts) {
|
|
266
|
+
super({
|
|
267
|
+
name: "InternalServerException",
|
|
268
|
+
$fault: "server",
|
|
269
|
+
...opts
|
|
270
|
+
});
|
|
271
|
+
Object.setPrototypeOf(this, _InternalServerException.prototype);
|
|
272
|
+
this.error = opts.error;
|
|
273
|
+
this.error_description = opts.error_description;
|
|
274
|
+
}
|
|
275
|
+
};
|
|
276
|
+
var InvalidClientException = class _InvalidClientException extends SSOOIDCServiceException {
|
|
277
|
+
static {
|
|
278
|
+
__name(this, "InvalidClientException");
|
|
279
|
+
}
|
|
280
|
+
name = "InvalidClientException";
|
|
281
|
+
$fault = "client";
|
|
282
|
+
/**
|
|
283
|
+
* <p>Single error code.
|
|
284
|
+
* For this exception the value will be <code>invalid_client</code>.</p>
|
|
285
|
+
* @public
|
|
286
|
+
*/
|
|
287
|
+
error;
|
|
288
|
+
/**
|
|
289
|
+
* <p>Human-readable text providing additional information, used to assist the
|
|
290
|
+
* client developer in understanding the error that occurred.</p>
|
|
291
|
+
* @public
|
|
292
|
+
*/
|
|
293
|
+
error_description;
|
|
294
|
+
/**
|
|
295
|
+
* @internal
|
|
296
|
+
*/
|
|
297
|
+
constructor(opts) {
|
|
298
|
+
super({
|
|
299
|
+
name: "InvalidClientException",
|
|
300
|
+
$fault: "client",
|
|
301
|
+
...opts
|
|
302
|
+
});
|
|
303
|
+
Object.setPrototypeOf(this, _InvalidClientException.prototype);
|
|
304
|
+
this.error = opts.error;
|
|
305
|
+
this.error_description = opts.error_description;
|
|
306
|
+
}
|
|
307
|
+
};
|
|
308
|
+
var InvalidGrantException = class _InvalidGrantException extends SSOOIDCServiceException {
|
|
309
|
+
static {
|
|
310
|
+
__name(this, "InvalidGrantException");
|
|
311
|
+
}
|
|
312
|
+
name = "InvalidGrantException";
|
|
313
|
+
$fault = "client";
|
|
314
|
+
/**
|
|
315
|
+
* <p>Single error code.
|
|
316
|
+
* For this exception the value will be <code>invalid_grant</code>.</p>
|
|
317
|
+
* @public
|
|
318
|
+
*/
|
|
319
|
+
error;
|
|
320
|
+
/**
|
|
321
|
+
* <p>Human-readable text providing additional information, used to assist the
|
|
322
|
+
* client developer in understanding the error that occurred.</p>
|
|
323
|
+
* @public
|
|
324
|
+
*/
|
|
325
|
+
error_description;
|
|
326
|
+
/**
|
|
327
|
+
* @internal
|
|
328
|
+
*/
|
|
329
|
+
constructor(opts) {
|
|
330
|
+
super({
|
|
331
|
+
name: "InvalidGrantException",
|
|
332
|
+
$fault: "client",
|
|
333
|
+
...opts
|
|
334
|
+
});
|
|
335
|
+
Object.setPrototypeOf(this, _InvalidGrantException.prototype);
|
|
336
|
+
this.error = opts.error;
|
|
337
|
+
this.error_description = opts.error_description;
|
|
338
|
+
}
|
|
339
|
+
};
|
|
340
|
+
var InvalidRequestException = class _InvalidRequestException extends SSOOIDCServiceException {
|
|
341
|
+
static {
|
|
342
|
+
__name(this, "InvalidRequestException");
|
|
343
|
+
}
|
|
344
|
+
name = "InvalidRequestException";
|
|
345
|
+
$fault = "client";
|
|
346
|
+
/**
|
|
347
|
+
* <p>Single error code.
|
|
348
|
+
* For this exception the value will be <code>invalid_request</code>.</p>
|
|
349
|
+
* @public
|
|
350
|
+
*/
|
|
351
|
+
error;
|
|
352
|
+
/**
|
|
353
|
+
* <p>Human-readable text providing additional information, used to assist the
|
|
354
|
+
* client developer in understanding the error that occurred.</p>
|
|
355
|
+
* @public
|
|
356
|
+
*/
|
|
357
|
+
error_description;
|
|
358
|
+
/**
|
|
359
|
+
* @internal
|
|
360
|
+
*/
|
|
361
|
+
constructor(opts) {
|
|
362
|
+
super({
|
|
363
|
+
name: "InvalidRequestException",
|
|
364
|
+
$fault: "client",
|
|
365
|
+
...opts
|
|
366
|
+
});
|
|
367
|
+
Object.setPrototypeOf(this, _InvalidRequestException.prototype);
|
|
368
|
+
this.error = opts.error;
|
|
369
|
+
this.error_description = opts.error_description;
|
|
370
|
+
}
|
|
371
|
+
};
|
|
372
|
+
var InvalidScopeException = class _InvalidScopeException extends SSOOIDCServiceException {
|
|
373
|
+
static {
|
|
374
|
+
__name(this, "InvalidScopeException");
|
|
375
|
+
}
|
|
376
|
+
name = "InvalidScopeException";
|
|
377
|
+
$fault = "client";
|
|
378
|
+
/**
|
|
379
|
+
* <p>Single error code.
|
|
380
|
+
* For this exception the value will be <code>invalid_scope</code>.</p>
|
|
381
|
+
* @public
|
|
382
|
+
*/
|
|
383
|
+
error;
|
|
384
|
+
/**
|
|
385
|
+
* <p>Human-readable text providing additional information, used to assist the
|
|
386
|
+
* client developer in understanding the error that occurred.</p>
|
|
387
|
+
* @public
|
|
388
|
+
*/
|
|
389
|
+
error_description;
|
|
390
|
+
/**
|
|
391
|
+
* @internal
|
|
392
|
+
*/
|
|
393
|
+
constructor(opts) {
|
|
394
|
+
super({
|
|
395
|
+
name: "InvalidScopeException",
|
|
396
|
+
$fault: "client",
|
|
397
|
+
...opts
|
|
398
|
+
});
|
|
399
|
+
Object.setPrototypeOf(this, _InvalidScopeException.prototype);
|
|
400
|
+
this.error = opts.error;
|
|
401
|
+
this.error_description = opts.error_description;
|
|
402
|
+
}
|
|
403
|
+
};
|
|
404
|
+
var SlowDownException = class _SlowDownException extends SSOOIDCServiceException {
|
|
405
|
+
static {
|
|
406
|
+
__name(this, "SlowDownException");
|
|
407
|
+
}
|
|
408
|
+
name = "SlowDownException";
|
|
409
|
+
$fault = "client";
|
|
410
|
+
/**
|
|
411
|
+
* <p>Single error code.
|
|
412
|
+
* For this exception the value will be <code>slow_down</code>.</p>
|
|
413
|
+
* @public
|
|
414
|
+
*/
|
|
415
|
+
error;
|
|
416
|
+
/**
|
|
417
|
+
* <p>Human-readable text providing additional information, used to assist the
|
|
418
|
+
* client developer in understanding the error that occurred.</p>
|
|
419
|
+
* @public
|
|
420
|
+
*/
|
|
421
|
+
error_description;
|
|
422
|
+
/**
|
|
423
|
+
* @internal
|
|
424
|
+
*/
|
|
425
|
+
constructor(opts) {
|
|
426
|
+
super({
|
|
427
|
+
name: "SlowDownException",
|
|
428
|
+
$fault: "client",
|
|
429
|
+
...opts
|
|
430
|
+
});
|
|
431
|
+
Object.setPrototypeOf(this, _SlowDownException.prototype);
|
|
432
|
+
this.error = opts.error;
|
|
433
|
+
this.error_description = opts.error_description;
|
|
434
|
+
}
|
|
435
|
+
};
|
|
436
|
+
var UnauthorizedClientException = class _UnauthorizedClientException extends SSOOIDCServiceException {
|
|
437
|
+
static {
|
|
438
|
+
__name(this, "UnauthorizedClientException");
|
|
439
|
+
}
|
|
440
|
+
name = "UnauthorizedClientException";
|
|
441
|
+
$fault = "client";
|
|
442
|
+
/**
|
|
443
|
+
* <p>Single error code.
|
|
444
|
+
* For this exception the value will be <code>unauthorized_client</code>.</p>
|
|
445
|
+
* @public
|
|
446
|
+
*/
|
|
447
|
+
error;
|
|
448
|
+
/**
|
|
449
|
+
* <p>Human-readable text providing additional information, used to assist the
|
|
450
|
+
* client developer in understanding the error that occurred.</p>
|
|
451
|
+
* @public
|
|
452
|
+
*/
|
|
453
|
+
error_description;
|
|
454
|
+
/**
|
|
455
|
+
* @internal
|
|
456
|
+
*/
|
|
457
|
+
constructor(opts) {
|
|
458
|
+
super({
|
|
459
|
+
name: "UnauthorizedClientException",
|
|
460
|
+
$fault: "client",
|
|
461
|
+
...opts
|
|
462
|
+
});
|
|
463
|
+
Object.setPrototypeOf(this, _UnauthorizedClientException.prototype);
|
|
464
|
+
this.error = opts.error;
|
|
465
|
+
this.error_description = opts.error_description;
|
|
466
|
+
}
|
|
467
|
+
};
|
|
468
|
+
var UnsupportedGrantTypeException = class _UnsupportedGrantTypeException extends SSOOIDCServiceException {
|
|
469
|
+
static {
|
|
470
|
+
__name(this, "UnsupportedGrantTypeException");
|
|
471
|
+
}
|
|
472
|
+
name = "UnsupportedGrantTypeException";
|
|
473
|
+
$fault = "client";
|
|
474
|
+
/**
|
|
475
|
+
* <p>Single error code.
|
|
476
|
+
* For this exception the value will be <code>unsupported_grant_type</code>.</p>
|
|
477
|
+
* @public
|
|
478
|
+
*/
|
|
479
|
+
error;
|
|
480
|
+
/**
|
|
481
|
+
* <p>Human-readable text providing additional information, used to assist the
|
|
482
|
+
* client developer in understanding the error that occurred.</p>
|
|
483
|
+
* @public
|
|
484
|
+
*/
|
|
485
|
+
error_description;
|
|
486
|
+
/**
|
|
487
|
+
* @internal
|
|
488
|
+
*/
|
|
489
|
+
constructor(opts) {
|
|
490
|
+
super({
|
|
491
|
+
name: "UnsupportedGrantTypeException",
|
|
492
|
+
$fault: "client",
|
|
493
|
+
...opts
|
|
494
|
+
});
|
|
495
|
+
Object.setPrototypeOf(this, _UnsupportedGrantTypeException.prototype);
|
|
496
|
+
this.error = opts.error;
|
|
497
|
+
this.error_description = opts.error_description;
|
|
498
|
+
}
|
|
499
|
+
};
|
|
500
|
+
|
|
501
|
+
// src/submodules/sso-oidc/protocols/Aws_restJson1.ts
|
|
502
|
+
var import_core2 = require("@aws-sdk/core");
|
|
503
|
+
var import_core3 = require("@smithy/core");
|
|
504
|
+
var import_smithy_client4 = require("@smithy/smithy-client");
|
|
505
|
+
var se_CreateTokenCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
506
|
+
const b = (0, import_core3.requestBuilder)(input, context);
|
|
507
|
+
const headers = {
|
|
508
|
+
"content-type": "application/json"
|
|
509
|
+
};
|
|
510
|
+
b.bp("/token");
|
|
511
|
+
let body;
|
|
512
|
+
body = JSON.stringify(
|
|
513
|
+
(0, import_smithy_client4.take)(input, {
|
|
514
|
+
clientId: [],
|
|
515
|
+
clientSecret: [],
|
|
516
|
+
code: [],
|
|
517
|
+
codeVerifier: [],
|
|
518
|
+
deviceCode: [],
|
|
519
|
+
grantType: [],
|
|
520
|
+
redirectUri: [],
|
|
521
|
+
refreshToken: [],
|
|
522
|
+
scope: (_) => (0, import_smithy_client4._json)(_)
|
|
523
|
+
})
|
|
524
|
+
);
|
|
525
|
+
b.m("POST").h(headers).b(body);
|
|
526
|
+
return b.build();
|
|
527
|
+
}, "se_CreateTokenCommand");
|
|
528
|
+
var de_CreateTokenCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
529
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
530
|
+
return de_CommandError(output, context);
|
|
531
|
+
}
|
|
532
|
+
const contents = (0, import_smithy_client4.map)({
|
|
533
|
+
$metadata: deserializeMetadata(output)
|
|
534
|
+
});
|
|
535
|
+
const data = (0, import_smithy_client4.expectNonNull)((0, import_smithy_client4.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
536
|
+
const doc = (0, import_smithy_client4.take)(data, {
|
|
537
|
+
accessToken: import_smithy_client4.expectString,
|
|
538
|
+
expiresIn: import_smithy_client4.expectInt32,
|
|
539
|
+
idToken: import_smithy_client4.expectString,
|
|
540
|
+
refreshToken: import_smithy_client4.expectString,
|
|
541
|
+
tokenType: import_smithy_client4.expectString
|
|
542
|
+
});
|
|
543
|
+
Object.assign(contents, doc);
|
|
544
|
+
return contents;
|
|
545
|
+
}, "de_CreateTokenCommand");
|
|
546
|
+
var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
547
|
+
const parsedOutput = {
|
|
548
|
+
...output,
|
|
549
|
+
body: await (0, import_core2.parseJsonErrorBody)(output.body, context)
|
|
550
|
+
};
|
|
551
|
+
const errorCode = (0, import_core2.loadRestJsonErrorCode)(output, parsedOutput.body);
|
|
552
|
+
switch (errorCode) {
|
|
553
|
+
case "AccessDeniedException":
|
|
554
|
+
case "com.amazonaws.ssooidc#AccessDeniedException":
|
|
555
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
556
|
+
case "AuthorizationPendingException":
|
|
557
|
+
case "com.amazonaws.ssooidc#AuthorizationPendingException":
|
|
558
|
+
throw await de_AuthorizationPendingExceptionRes(parsedOutput, context);
|
|
559
|
+
case "ExpiredTokenException":
|
|
560
|
+
case "com.amazonaws.ssooidc#ExpiredTokenException":
|
|
561
|
+
throw await de_ExpiredTokenExceptionRes(parsedOutput, context);
|
|
562
|
+
case "InternalServerException":
|
|
563
|
+
case "com.amazonaws.ssooidc#InternalServerException":
|
|
564
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
565
|
+
case "InvalidClientException":
|
|
566
|
+
case "com.amazonaws.ssooidc#InvalidClientException":
|
|
567
|
+
throw await de_InvalidClientExceptionRes(parsedOutput, context);
|
|
568
|
+
case "InvalidGrantException":
|
|
569
|
+
case "com.amazonaws.ssooidc#InvalidGrantException":
|
|
570
|
+
throw await de_InvalidGrantExceptionRes(parsedOutput, context);
|
|
571
|
+
case "InvalidRequestException":
|
|
572
|
+
case "com.amazonaws.ssooidc#InvalidRequestException":
|
|
573
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
574
|
+
case "InvalidScopeException":
|
|
575
|
+
case "com.amazonaws.ssooidc#InvalidScopeException":
|
|
576
|
+
throw await de_InvalidScopeExceptionRes(parsedOutput, context);
|
|
577
|
+
case "SlowDownException":
|
|
578
|
+
case "com.amazonaws.ssooidc#SlowDownException":
|
|
579
|
+
throw await de_SlowDownExceptionRes(parsedOutput, context);
|
|
580
|
+
case "UnauthorizedClientException":
|
|
581
|
+
case "com.amazonaws.ssooidc#UnauthorizedClientException":
|
|
582
|
+
throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
|
|
583
|
+
case "UnsupportedGrantTypeException":
|
|
584
|
+
case "com.amazonaws.ssooidc#UnsupportedGrantTypeException":
|
|
585
|
+
throw await de_UnsupportedGrantTypeExceptionRes(parsedOutput, context);
|
|
586
|
+
default:
|
|
587
|
+
const parsedBody = parsedOutput.body;
|
|
588
|
+
return throwDefaultError({
|
|
589
|
+
output,
|
|
590
|
+
parsedBody,
|
|
591
|
+
errorCode
|
|
592
|
+
});
|
|
593
|
+
}
|
|
594
|
+
}, "de_CommandError");
|
|
595
|
+
var throwDefaultError = (0, import_smithy_client4.withBaseException)(SSOOIDCServiceException);
|
|
596
|
+
var de_AccessDeniedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
597
|
+
const contents = (0, import_smithy_client4.map)({});
|
|
598
|
+
const data = parsedOutput.body;
|
|
599
|
+
const doc = (0, import_smithy_client4.take)(data, {
|
|
600
|
+
error: import_smithy_client4.expectString,
|
|
601
|
+
error_description: import_smithy_client4.expectString
|
|
602
|
+
});
|
|
603
|
+
Object.assign(contents, doc);
|
|
604
|
+
const exception = new AccessDeniedException({
|
|
605
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
606
|
+
...contents
|
|
607
|
+
});
|
|
608
|
+
return (0, import_smithy_client4.decorateServiceException)(exception, parsedOutput.body);
|
|
609
|
+
}, "de_AccessDeniedExceptionRes");
|
|
610
|
+
var de_AuthorizationPendingExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
611
|
+
const contents = (0, import_smithy_client4.map)({});
|
|
612
|
+
const data = parsedOutput.body;
|
|
613
|
+
const doc = (0, import_smithy_client4.take)(data, {
|
|
614
|
+
error: import_smithy_client4.expectString,
|
|
615
|
+
error_description: import_smithy_client4.expectString
|
|
616
|
+
});
|
|
617
|
+
Object.assign(contents, doc);
|
|
618
|
+
const exception = new AuthorizationPendingException({
|
|
619
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
620
|
+
...contents
|
|
621
|
+
});
|
|
622
|
+
return (0, import_smithy_client4.decorateServiceException)(exception, parsedOutput.body);
|
|
623
|
+
}, "de_AuthorizationPendingExceptionRes");
|
|
624
|
+
var de_ExpiredTokenExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
625
|
+
const contents = (0, import_smithy_client4.map)({});
|
|
626
|
+
const data = parsedOutput.body;
|
|
627
|
+
const doc = (0, import_smithy_client4.take)(data, {
|
|
628
|
+
error: import_smithy_client4.expectString,
|
|
629
|
+
error_description: import_smithy_client4.expectString
|
|
630
|
+
});
|
|
631
|
+
Object.assign(contents, doc);
|
|
632
|
+
const exception = new ExpiredTokenException({
|
|
633
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
634
|
+
...contents
|
|
635
|
+
});
|
|
636
|
+
return (0, import_smithy_client4.decorateServiceException)(exception, parsedOutput.body);
|
|
637
|
+
}, "de_ExpiredTokenExceptionRes");
|
|
638
|
+
var de_InternalServerExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
639
|
+
const contents = (0, import_smithy_client4.map)({});
|
|
640
|
+
const data = parsedOutput.body;
|
|
641
|
+
const doc = (0, import_smithy_client4.take)(data, {
|
|
642
|
+
error: import_smithy_client4.expectString,
|
|
643
|
+
error_description: import_smithy_client4.expectString
|
|
644
|
+
});
|
|
645
|
+
Object.assign(contents, doc);
|
|
646
|
+
const exception = new InternalServerException({
|
|
647
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
648
|
+
...contents
|
|
649
|
+
});
|
|
650
|
+
return (0, import_smithy_client4.decorateServiceException)(exception, parsedOutput.body);
|
|
651
|
+
}, "de_InternalServerExceptionRes");
|
|
652
|
+
var de_InvalidClientExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
653
|
+
const contents = (0, import_smithy_client4.map)({});
|
|
654
|
+
const data = parsedOutput.body;
|
|
655
|
+
const doc = (0, import_smithy_client4.take)(data, {
|
|
656
|
+
error: import_smithy_client4.expectString,
|
|
657
|
+
error_description: import_smithy_client4.expectString
|
|
658
|
+
});
|
|
659
|
+
Object.assign(contents, doc);
|
|
660
|
+
const exception = new InvalidClientException({
|
|
661
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
662
|
+
...contents
|
|
663
|
+
});
|
|
664
|
+
return (0, import_smithy_client4.decorateServiceException)(exception, parsedOutput.body);
|
|
665
|
+
}, "de_InvalidClientExceptionRes");
|
|
666
|
+
var de_InvalidGrantExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
667
|
+
const contents = (0, import_smithy_client4.map)({});
|
|
668
|
+
const data = parsedOutput.body;
|
|
669
|
+
const doc = (0, import_smithy_client4.take)(data, {
|
|
670
|
+
error: import_smithy_client4.expectString,
|
|
671
|
+
error_description: import_smithy_client4.expectString
|
|
672
|
+
});
|
|
673
|
+
Object.assign(contents, doc);
|
|
674
|
+
const exception = new InvalidGrantException({
|
|
675
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
676
|
+
...contents
|
|
677
|
+
});
|
|
678
|
+
return (0, import_smithy_client4.decorateServiceException)(exception, parsedOutput.body);
|
|
679
|
+
}, "de_InvalidGrantExceptionRes");
|
|
680
|
+
var de_InvalidRequestExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
681
|
+
const contents = (0, import_smithy_client4.map)({});
|
|
682
|
+
const data = parsedOutput.body;
|
|
683
|
+
const doc = (0, import_smithy_client4.take)(data, {
|
|
684
|
+
error: import_smithy_client4.expectString,
|
|
685
|
+
error_description: import_smithy_client4.expectString
|
|
686
|
+
});
|
|
687
|
+
Object.assign(contents, doc);
|
|
688
|
+
const exception = new InvalidRequestException({
|
|
689
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
690
|
+
...contents
|
|
691
|
+
});
|
|
692
|
+
return (0, import_smithy_client4.decorateServiceException)(exception, parsedOutput.body);
|
|
693
|
+
}, "de_InvalidRequestExceptionRes");
|
|
694
|
+
var de_InvalidScopeExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
695
|
+
const contents = (0, import_smithy_client4.map)({});
|
|
696
|
+
const data = parsedOutput.body;
|
|
697
|
+
const doc = (0, import_smithy_client4.take)(data, {
|
|
698
|
+
error: import_smithy_client4.expectString,
|
|
699
|
+
error_description: import_smithy_client4.expectString
|
|
700
|
+
});
|
|
701
|
+
Object.assign(contents, doc);
|
|
702
|
+
const exception = new InvalidScopeException({
|
|
703
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
704
|
+
...contents
|
|
705
|
+
});
|
|
706
|
+
return (0, import_smithy_client4.decorateServiceException)(exception, parsedOutput.body);
|
|
707
|
+
}, "de_InvalidScopeExceptionRes");
|
|
708
|
+
var de_SlowDownExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
709
|
+
const contents = (0, import_smithy_client4.map)({});
|
|
710
|
+
const data = parsedOutput.body;
|
|
711
|
+
const doc = (0, import_smithy_client4.take)(data, {
|
|
712
|
+
error: import_smithy_client4.expectString,
|
|
713
|
+
error_description: import_smithy_client4.expectString
|
|
714
|
+
});
|
|
715
|
+
Object.assign(contents, doc);
|
|
716
|
+
const exception = new SlowDownException({
|
|
717
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
718
|
+
...contents
|
|
719
|
+
});
|
|
720
|
+
return (0, import_smithy_client4.decorateServiceException)(exception, parsedOutput.body);
|
|
721
|
+
}, "de_SlowDownExceptionRes");
|
|
722
|
+
var de_UnauthorizedClientExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
723
|
+
const contents = (0, import_smithy_client4.map)({});
|
|
724
|
+
const data = parsedOutput.body;
|
|
725
|
+
const doc = (0, import_smithy_client4.take)(data, {
|
|
726
|
+
error: import_smithy_client4.expectString,
|
|
727
|
+
error_description: import_smithy_client4.expectString
|
|
728
|
+
});
|
|
729
|
+
Object.assign(contents, doc);
|
|
730
|
+
const exception = new UnauthorizedClientException({
|
|
731
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
732
|
+
...contents
|
|
733
|
+
});
|
|
734
|
+
return (0, import_smithy_client4.decorateServiceException)(exception, parsedOutput.body);
|
|
735
|
+
}, "de_UnauthorizedClientExceptionRes");
|
|
736
|
+
var de_UnsupportedGrantTypeExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
737
|
+
const contents = (0, import_smithy_client4.map)({});
|
|
738
|
+
const data = parsedOutput.body;
|
|
739
|
+
const doc = (0, import_smithy_client4.take)(data, {
|
|
740
|
+
error: import_smithy_client4.expectString,
|
|
741
|
+
error_description: import_smithy_client4.expectString
|
|
742
|
+
});
|
|
743
|
+
Object.assign(contents, doc);
|
|
744
|
+
const exception = new UnsupportedGrantTypeException({
|
|
745
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
746
|
+
...contents
|
|
747
|
+
});
|
|
748
|
+
return (0, import_smithy_client4.decorateServiceException)(exception, parsedOutput.body);
|
|
749
|
+
}, "de_UnsupportedGrantTypeExceptionRes");
|
|
750
|
+
var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
751
|
+
httpStatusCode: output.statusCode,
|
|
752
|
+
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
753
|
+
extendedRequestId: output.headers["x-amz-id-2"],
|
|
754
|
+
cfId: output.headers["x-amz-cf-id"]
|
|
755
|
+
}), "deserializeMetadata");
|
|
756
|
+
|
|
757
|
+
// src/submodules/sso-oidc/commands/CreateTokenCommand.ts
|
|
758
|
+
var CreateTokenCommand = class extends import_smithy_client5.Command.classBuilder().ep(import_EndpointParameters2.commonParams).m(function(Command, cs, config, o) {
|
|
759
|
+
return [
|
|
760
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
761
|
+
(0, import_middleware_endpoint2.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
762
|
+
];
|
|
763
|
+
}).s("AWSSSOOIDCService", "CreateToken", {}).n("SSOOIDCClient", "CreateTokenCommand").f(CreateTokenRequestFilterSensitiveLog, CreateTokenResponseFilterSensitiveLog).ser(se_CreateTokenCommand).de(de_CreateTokenCommand).build() {
|
|
764
|
+
static {
|
|
765
|
+
__name(this, "CreateTokenCommand");
|
|
766
|
+
}
|
|
767
|
+
};
|
|
768
|
+
|
|
769
|
+
// src/submodules/sso-oidc/SSOOIDC.ts
|
|
770
|
+
var commands = {
|
|
771
|
+
CreateTokenCommand
|
|
772
|
+
};
|
|
773
|
+
var SSOOIDC = class extends SSOOIDCClient {
|
|
774
|
+
static {
|
|
775
|
+
__name(this, "SSOOIDC");
|
|
776
|
+
}
|
|
777
|
+
};
|
|
778
|
+
(0, import_smithy_client6.createAggregatedClient)(commands, SSOOIDC);
|
|
779
|
+
|
|
780
|
+
// src/submodules/sso-oidc/index.ts
|
|
781
|
+
var import_EndpointParameters3 = require("./submodules/sts/endpoint/EndpointParameters");
|
|
782
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
783
|
+
0 && (module.exports = {
|
|
784
|
+
$Command,
|
|
785
|
+
AccessDeniedException,
|
|
786
|
+
AuthorizationPendingException,
|
|
787
|
+
ClientInputEndpointParameters,
|
|
788
|
+
CreateTokenCommand,
|
|
789
|
+
CreateTokenRequestFilterSensitiveLog,
|
|
790
|
+
CreateTokenResponseFilterSensitiveLog,
|
|
791
|
+
ExpiredTokenException,
|
|
792
|
+
InternalServerException,
|
|
793
|
+
InvalidClientException,
|
|
794
|
+
InvalidGrantException,
|
|
795
|
+
InvalidRequestException,
|
|
796
|
+
InvalidScopeException,
|
|
797
|
+
SSOOIDC,
|
|
798
|
+
SSOOIDCClient,
|
|
799
|
+
SSOOIDCServiceException,
|
|
800
|
+
SlowDownException,
|
|
801
|
+
UnauthorizedClientException,
|
|
802
|
+
UnsupportedGrantTypeException,
|
|
803
|
+
__Client
|
|
804
|
+
});
|