@jjrawlins/cdk-ami-builder 0.0.158 → 0.0.159
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 +11 -11
- package/cdkamibuilder/jsii/jsii.go +2 -2
- package/cdkamibuilder/version +1 -1
- package/lib/ImagePipeline/ImagePipeline.js +1 -1
- package/lib/Lambdas/CheckStateMachineStatus/CheckStateMachineStatus-function.js +1 -1
- package/lib/Lambdas/StartStateMachine/StartStateMachine-function.js +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-cjs/index.js +11 -0
- package/node_modules/@aws-sdk/client-ec2/dist-cjs/schemas/schemas_0.js +7 -4
- package/node_modules/@aws-sdk/client-ec2/dist-es/models/enums.js +9 -0
- package/node_modules/@aws-sdk/client-ec2/dist-es/schemas/schemas_0.js +7 -4
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/GetInstanceMetadataDefaultsCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ModifyInstanceMetadataDefaultsCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/models/enums.d.ts +25 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_6.d.ts +17 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/enums.d.ts +13 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_6.d.ts +4 -0
- package/node_modules/@aws-sdk/client-ec2/package.json +39 -39
- package/node_modules/@aws-sdk/client-ecs/package.json +38 -38
- package/node_modules/@aws-sdk/client-kms/package.json +37 -37
- package/node_modules/@aws-sdk/client-s3/package.json +53 -53
- package/node_modules/@aws-sdk/client-secrets-manager/package.json +37 -37
- package/node_modules/@aws-sdk/client-sfn/package.json +37 -37
- package/node_modules/@aws-sdk/client-sns/package.json +37 -37
- package/node_modules/@aws-sdk/client-sqs/package.json +39 -39
- package/node_modules/@aws-sdk/client-ssm/package.json +38 -38
- package/node_modules/@aws-sdk/core/package.json +13 -13
- package/node_modules/@aws-sdk/crc64-nvme/dist-types/Crc64Nvme.d.ts +1 -1
- package/node_modules/@aws-sdk/crc64-nvme/dist-types/crc64-nvme-crt-container.d.ts +1 -1
- package/node_modules/@aws-sdk/crc64-nvme/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-env/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-http/package.json +10 -10
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +14 -14
- package/node_modules/@aws-sdk/credential-provider-login/package.json +8 -8
- package/node_modules/@aws-sdk/credential-provider-node/package.json +12 -12
- package/node_modules/@aws-sdk/credential-provider-process/package.json +6 -6
- package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js +1 -1
- package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/loadSso-BKDNrsal.js +8 -0
- package/node_modules/@aws-sdk/credential-provider-sso/dist-es/loadSso.js +1 -1
- package/node_modules/@aws-sdk/credential-provider-sso/dist-types/loadSso.d.ts +2 -2
- package/node_modules/@aws-sdk/credential-provider-sso/dist-types/ts3.4/loadSso.d.ts +5 -2
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +8 -8
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +7 -7
- package/node_modules/@aws-sdk/middleware-bucket-endpoint/package.json +6 -6
- package/node_modules/@aws-sdk/middleware-expect-continue/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-flexible-checksums/package.json +12 -12
- package/node_modules/@aws-sdk/middleware-host-header/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-location-constraint/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-logger/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-recursion-detection/dist-cjs/index.js +7 -3
- package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-sdk-ec2/package.json +8 -8
- package/node_modules/@aws-sdk/middleware-sdk-s3/package.json +13 -13
- package/node_modules/@aws-sdk/middleware-sdk-sqs/package.json +6 -6
- package/node_modules/@aws-sdk/middleware-ssec/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-user-agent/dist-types/user-agent-middleware.d.ts +2 -2
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +7 -7
- package/node_modules/@aws-sdk/nested-clients/cognito-identity.d.ts +7 -0
- package/node_modules/@aws-sdk/nested-clients/cognito-identity.js +5 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/auth/httpAuthSchemeProvider.js +60 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/endpoint/ruleset.js +146 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js +174 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/models/CognitoIdentityServiceException.js +12 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/models/errors.js +121 -0
- package/node_modules/@aws-sdk/{client-sso/dist-cjs → nested-clients/dist-cjs/submodules/cognito-identity}/runtimeConfig.browser.js +3 -2
- package/node_modules/@aws-sdk/{client-sso/dist-cjs → nested-clients/dist-cjs/submodules/cognito-identity}/runtimeConfig.js +5 -3
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/runtimeConfig.shared.js +50 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/schemas/schemas_0.js +110 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/endpoint/ruleset.js +128 -2
- package/node_modules/@aws-sdk/{client-sso/dist-cjs → nested-clients/dist-cjs/submodules/sso}/auth/httpAuthSchemeProvider.js +8 -27
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/endpoint/endpointResolver.js +18 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/endpoint/ruleset.js +106 -0
- package/node_modules/@aws-sdk/{client-sso/dist-cjs → nested-clients/dist-cjs/submodules/sso}/index.js +1 -53
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/runtimeConfig.browser.js +38 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/runtimeConfig.js +53 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/runtimeConfig.native.js +15 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/schemas/schemas_0.js +90 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/endpoint/ruleset.js +101 -2
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/ruleset.js +140 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/CognitoIdentity.js +11 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/CognitoIdentityClient.js +50 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/auth/httpAuthSchemeProvider.js +54 -0
- package/node_modules/@aws-sdk/{client-sso/dist-es/commands/ListAccountsCommand.js → nested-clients/dist-es/submodules/cognito-identity/commands/GetCredentialsForIdentityCommand.js} +5 -5
- package/node_modules/@aws-sdk/{client-sso/dist-es/commands/LogoutCommand.js → nested-clients/dist-es/submodules/cognito-identity/commands/GetIdCommand.js} +5 -5
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/commands/index.js +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/endpoint/EndpointParameters.js +13 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/endpoint/ruleset.js +143 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/index.js +7 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/models/CognitoIdentityServiceException.js +8 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/models/errors.js +109 -0
- package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/cognito-identity}/runtimeConfig.browser.js +3 -2
- package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/cognito-identity}/runtimeConfig.js +5 -3
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/runtimeConfig.shared.js +46 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/schemas/schemas_0.js +107 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/Signin.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/ruleset.js +128 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/SSO.js +9 -0
- package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/sso}/SSOClient.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/auth/httpAuthExtensionConfiguration.js +38 -0
- package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/sso}/auth/httpAuthSchemeProvider.js +9 -28
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/commands/index.js +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/endpoint/endpointResolver.js +14 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/endpoint/ruleset.js +103 -0
- package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/sso}/index.js +0 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/models/models_0.js +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.browser.js +33 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.js +48 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.native.js +11 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeExtensions.js +9 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/schemas/schemas_0.js +87 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/ruleset.js +101 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/defaultStsRoleAssumers.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/endpoint/ruleset.js +140 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/CognitoIdentity.d.ts +38 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/CognitoIdentityClient.d.ts +198 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/auth/httpAuthExtensionConfiguration.d.ts +30 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/auth/httpAuthSchemeProvider.d.ts +75 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/commands/GetCredentialsForIdentityCommand.d.ts +120 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/commands/GetIdCommand.d.ts +107 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/commands/index.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/endpoint/ruleset.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/extensionConfiguration.d.ts +9 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/index.d.ts +29 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/models/CognitoIdentityServiceException.d.ts +14 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/models/errors.d.ts +119 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/models/models_0.d.ts +136 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.browser.d.ts +62 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.d.ts +62 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.native.d.ts +61 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.shared.d.ts +38 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeExtensions.d.ts +17 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/schemas/schemas_0.d.ts +25 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/Signin.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/auth/httpAuthExtensionConfiguration.d.ts +2 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/endpoint/ruleset.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/models/errors.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/SSO.d.ts +32 -0
- package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/SSOClient.d.ts +6 -8
- package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/auth/httpAuthExtensionConfiguration.d.ts +2 -1
- package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/auth/httpAuthSchemeProvider.d.ts +1 -1
- package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/commands/GetRoleCredentialsCommand.d.ts +3 -3
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/commands/index.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/endpoint/EndpointParameters.d.ts +50 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/endpoint/endpointResolver.d.ts +8 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/endpoint/ruleset.d.ts +2 -0
- package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/index.d.ts +0 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/models/models_0.d.ts +61 -0
- package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/schemas/schemas_0.d.ts +0 -10
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/auth/httpAuthExtensionConfiguration.d.ts +2 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/endpoint/ruleset.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/models/errors.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/auth/httpAuthExtensionConfiguration.d.ts +2 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/defaultRoleAssumers.d.ts +3 -3
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/defaultStsRoleAssumers.d.ts +3 -3
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/endpoint/ruleset.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/CognitoIdentity.d.ts +38 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/CognitoIdentityClient.d.ts +126 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/auth/httpAuthSchemeProvider.d.ts +47 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/commands/GetCredentialsForIdentityCommand.d.ts +51 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/commands/GetIdCommand.d.ts +41 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/commands/index.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/extensionConfiguration.d.ts +9 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/index.d.ts +10 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/models/CognitoIdentityServiceException.d.ts +9 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/models/errors.d.ts +68 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/models/models_0.d.ts +23 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.browser.d.ts +122 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.d.ts +117 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.native.d.ts +126 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.shared.d.ts +60 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeExtensions.d.ts +13 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/schemas/schemas_0.d.ts +24 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/auth/httpAuthExtensionConfiguration.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/SSO.d.ts +22 -0
- package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/SSOClient.d.ts +3 -24
- package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/auth/httpAuthExtensionConfiguration.d.ts +1 -1
- package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/commands/GetRoleCredentialsCommand.d.ts +5 -9
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/commands/index.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/endpoint/EndpointParameters.d.ts +51 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/endpoint/endpointResolver.d.ts +8 -0
- package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/index.d.ts +0 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/models/models_0.d.ts +14 -0
- package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/schemas/schemas_0.d.ts +0 -10
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/auth/httpAuthExtensionConfiguration.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/auth/httpAuthExtensionConfiguration.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/package.json +54 -36
- package/node_modules/@aws-sdk/nested-clients/sso.d.ts +7 -0
- package/node_modules/@aws-sdk/nested-clients/sso.js +5 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/index.js +12 -23
- package/node_modules/@aws-sdk/region-config-resolver/package.json +5 -5
- package/node_modules/@aws-sdk/signature-v4-multi-region/dist-es/SignatureV4MultiRegion.js +1 -1
- package/node_modules/@aws-sdk/signature-v4-multi-region/dist-types/SignatureV4MultiRegion.d.ts +2 -2
- package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +6 -6
- package/node_modules/@aws-sdk/token-providers/package.json +7 -7
- package/node_modules/@aws-sdk/types/dist-cjs/index.js +3 -12
- package/node_modules/@aws-sdk/types/package.json +2 -2
- package/node_modules/@aws-sdk/util-endpoints/dist-types/aws.d.ts +1 -1
- package/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/parseArn.d.ts +1 -1
- package/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/partition.d.ts +1 -1
- package/node_modules/@aws-sdk/util-endpoints/package.json +5 -5
- package/node_modules/@aws-sdk/util-format-url/package.json +4 -4
- package/node_modules/@aws-sdk/util-user-agent-browser/package.json +3 -3
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +5 -5
- package/node_modules/@aws-sdk/xml-builder/dist-cjs/index.js +1 -4
- package/node_modules/@aws-sdk/xml-builder/package.json +2 -2
- package/node_modules/@smithy/abort-controller/package.json +2 -2
- package/node_modules/@smithy/config-resolver/package.json +5 -5
- package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +23 -3
- package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpBindingProtocol.js +22 -2
- package/node_modules/@smithy/core/dist-es/submodules/protocols/resolve-path.js +1 -1
- package/node_modules/@smithy/core/package.json +7 -7
- package/node_modules/@smithy/credential-provider-imds/package.json +5 -5
- package/node_modules/@smithy/eventstream-codec/package.json +2 -2
- package/node_modules/@smithy/eventstream-serde-browser/package.json +3 -3
- package/node_modules/@smithy/eventstream-serde-config-resolver/package.json +2 -2
- package/node_modules/@smithy/eventstream-serde-node/package.json +3 -3
- package/node_modules/@smithy/eventstream-serde-universal/package.json +3 -3
- package/node_modules/@smithy/fetch-http-handler/package.json +5 -5
- package/node_modules/@smithy/hash-blob-browser/package.json +2 -2
- package/node_modules/@smithy/hash-node/package.json +2 -2
- package/node_modules/@smithy/hash-stream-node/package.json +2 -2
- package/node_modules/@smithy/invalid-dependency/package.json +2 -2
- package/node_modules/@smithy/md5-js/package.json +2 -2
- package/node_modules/@smithy/middleware-content-length/package.json +3 -3
- package/node_modules/@smithy/middleware-endpoint/package.json +8 -8
- package/node_modules/@smithy/middleware-retry/package.json +8 -8
- package/node_modules/@smithy/middleware-serde/package.json +3 -3
- package/node_modules/@smithy/middleware-stack/package.json +2 -2
- package/node_modules/@smithy/node-config-provider/package.json +4 -4
- package/node_modules/@smithy/node-http-handler/package.json +5 -5
- package/node_modules/@smithy/property-provider/package.json +2 -2
- package/node_modules/@smithy/protocol-http/package.json +2 -2
- package/node_modules/@smithy/querystring-builder/package.json +2 -2
- package/node_modules/@smithy/querystring-parser/package.json +2 -2
- package/node_modules/@smithy/service-error-classification/package.json +2 -2
- package/node_modules/@smithy/shared-ini-file-loader/package.json +2 -2
- package/node_modules/@smithy/signature-v4/package.json +4 -4
- package/node_modules/@smithy/smithy-client/dist-cjs/index.js +20 -1
- package/node_modules/@smithy/smithy-client/dist-es/extensions/checksum.js +20 -1
- package/node_modules/@smithy/smithy-client/dist-types/extensions/checksum.d.ts +9 -7
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/extensions/checksum.d.ts +9 -7
- package/node_modules/@smithy/smithy-client/package.json +10 -8
- package/node_modules/@smithy/types/dist-types/extensions/checksum.d.ts +1 -1
- package/node_modules/@smithy/types/dist-types/ts3.4/extensions/checksum.d.ts +1 -1
- package/node_modules/@smithy/types/package.json +1 -1
- package/node_modules/@smithy/url-parser/package.json +3 -3
- package/node_modules/@smithy/util-defaults-mode-browser/package.json +4 -4
- package/node_modules/@smithy/util-defaults-mode-node/package.json +7 -7
- package/node_modules/@smithy/util-endpoints/dist-cjs/index.js +1 -1
- package/node_modules/@smithy/util-endpoints/dist-es/lib/substring.js +1 -1
- package/node_modules/@smithy/util-endpoints/package.json +3 -3
- package/node_modules/@smithy/util-middleware/package.json +2 -2
- package/node_modules/@smithy/util-retry/package.json +3 -3
- package/node_modules/@smithy/util-stream/package.json +4 -4
- package/node_modules/@smithy/util-waiter/package.json +3 -3
- package/package.json +11 -11
- package/node_modules/@aws-sdk/client-sso/LICENSE +0 -201
- package/node_modules/@aws-sdk/client-sso/README.md +0 -244
- package/node_modules/@aws-sdk/client-sso/dist-cjs/endpoint/ruleset.js +0 -7
- package/node_modules/@aws-sdk/client-sso/dist-cjs/schemas/schemas_0.js +0 -161
- package/node_modules/@aws-sdk/client-sso/dist-es/SSO.js +0 -21
- package/node_modules/@aws-sdk/client-sso/dist-es/commands/ListAccountRolesCommand.js +0 -16
- package/node_modules/@aws-sdk/client-sso/dist-es/commands/index.js +0 -4
- package/node_modules/@aws-sdk/client-sso/dist-es/endpoint/ruleset.js +0 -4
- package/node_modules/@aws-sdk/client-sso/dist-es/pagination/ListAccountRolesPaginator.js +0 -4
- package/node_modules/@aws-sdk/client-sso/dist-es/pagination/ListAccountsPaginator.js +0 -4
- package/node_modules/@aws-sdk/client-sso/dist-es/pagination/index.js +0 -3
- package/node_modules/@aws-sdk/client-sso/dist-es/schemas/schemas_0.js +0 -158
- package/node_modules/@aws-sdk/client-sso/dist-types/SSO.d.ts +0 -67
- package/node_modules/@aws-sdk/client-sso/dist-types/commands/ListAccountRolesCommand.d.ts +0 -98
- package/node_modules/@aws-sdk/client-sso/dist-types/commands/ListAccountsCommand.d.ts +0 -100
- package/node_modules/@aws-sdk/client-sso/dist-types/commands/LogoutCommand.d.ts +0 -97
- package/node_modules/@aws-sdk/client-sso/dist-types/commands/index.d.ts +0 -4
- package/node_modules/@aws-sdk/client-sso/dist-types/models/models_0.d.ts +0 -189
- package/node_modules/@aws-sdk/client-sso/dist-types/pagination/Interfaces.d.ts +0 -8
- package/node_modules/@aws-sdk/client-sso/dist-types/pagination/ListAccountRolesPaginator.d.ts +0 -7
- package/node_modules/@aws-sdk/client-sso/dist-types/pagination/ListAccountsPaginator.d.ts +0 -7
- package/node_modules/@aws-sdk/client-sso/dist-types/pagination/index.d.ts +0 -3
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/SSO.d.ts +0 -91
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/commands/ListAccountRolesCommand.d.ts +0 -50
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/commands/ListAccountsCommand.d.ts +0 -47
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/commands/LogoutCommand.d.ts +0 -41
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/commands/index.d.ts +0 -4
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/models/models_0.d.ts +0 -45
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/pagination/Interfaces.d.ts +0 -5
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/pagination/ListAccountRolesPaginator.d.ts +0 -11
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/pagination/ListAccountsPaginator.d.ts +0 -11
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/pagination/index.d.ts +0 -3
- package/node_modules/@aws-sdk/client-sso/package.json +0 -99
- package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/loadSso-Bw7VSvlO.js +0 -8
- /package/node_modules/@aws-sdk/{client-sso/dist-cjs → nested-clients/dist-cjs/submodules/cognito-identity}/endpoint/endpointResolver.js +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-cjs → nested-clients/dist-cjs/submodules/cognito-identity}/runtimeConfig.native.js +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-cjs → nested-clients/dist-cjs/submodules/sso}/models/SSOServiceException.js +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-cjs → nested-clients/dist-cjs/submodules/sso}/models/errors.js +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-cjs → nested-clients/dist-cjs/submodules/sso}/runtimeConfig.shared.js +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/cognito-identity}/auth/httpAuthExtensionConfiguration.js +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/cognito-identity}/endpoint/endpointResolver.js +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/cognito-identity}/extensionConfiguration.js +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/cognito-identity}/models/models_0.js +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/cognito-identity}/runtimeConfig.native.js +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/cognito-identity}/runtimeExtensions.js +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/sso}/commands/GetRoleCredentialsCommand.js +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/sso}/endpoint/EndpointParameters.js +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-es/pagination/Interfaces.js → nested-clients/dist-es/submodules/sso/extensionConfiguration.js} +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/sso}/models/SSOServiceException.js +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/sso}/models/errors.js +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/sso}/runtimeConfig.shared.js +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/cognito-identity}/endpoint/EndpointParameters.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/cognito-identity}/endpoint/endpointResolver.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/extensionConfiguration.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/models/SSOServiceException.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/models/errors.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/runtimeConfig.browser.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/runtimeConfig.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/runtimeConfig.native.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/runtimeConfig.shared.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/runtimeExtensions.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/cognito-identity}/endpoint/EndpointParameters.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/cognito-identity}/endpoint/endpointResolver.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/ts3.4/submodules/cognito-identity}/endpoint/ruleset.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/auth/httpAuthSchemeProvider.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/endpoint/ruleset.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/extensionConfiguration.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/models/SSOServiceException.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/models/errors.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/runtimeConfig.browser.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/runtimeConfig.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/runtimeConfig.native.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/runtimeConfig.shared.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/runtimeExtensions.d.ts +0 -0
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, } from "@aws-sdk/region-config-resolver";
|
|
2
|
+
import { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig } from "@smithy/protocol-http";
|
|
3
|
+
import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from "@smithy/smithy-client";
|
|
4
|
+
import { getHttpAuthExtensionConfiguration, resolveHttpAuthRuntimeConfig } from "./auth/httpAuthExtensionConfiguration";
|
|
5
|
+
export const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
6
|
+
const extensionConfiguration = Object.assign(getAwsRegionExtensionConfiguration(runtimeConfig), getDefaultExtensionConfiguration(runtimeConfig), getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
|
|
7
|
+
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
8
|
+
return Object.assign(runtimeConfig, resolveAwsRegionExtensionConfiguration(extensionConfiguration), resolveDefaultRuntimeConfig(extensionConfiguration), resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
|
|
9
|
+
};
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
const _ATT = "AccessTokenType";
|
|
2
|
+
const _GRC = "GetRoleCredentials";
|
|
3
|
+
const _GRCR = "GetRoleCredentialsRequest";
|
|
4
|
+
const _GRCRe = "GetRoleCredentialsResponse";
|
|
5
|
+
const _IRE = "InvalidRequestException";
|
|
6
|
+
const _RC = "RoleCredentials";
|
|
7
|
+
const _RNFE = "ResourceNotFoundException";
|
|
8
|
+
const _SAKT = "SecretAccessKeyType";
|
|
9
|
+
const _STT = "SessionTokenType";
|
|
10
|
+
const _TMRE = "TooManyRequestsException";
|
|
11
|
+
const _UE = "UnauthorizedException";
|
|
12
|
+
const _aI = "accountId";
|
|
13
|
+
const _aKI = "accessKeyId";
|
|
14
|
+
const _aT = "accessToken";
|
|
15
|
+
const _ai = "account_id";
|
|
16
|
+
const _c = "client";
|
|
17
|
+
const _e = "error";
|
|
18
|
+
const _ex = "expiration";
|
|
19
|
+
const _h = "http";
|
|
20
|
+
const _hE = "httpError";
|
|
21
|
+
const _hH = "httpHeader";
|
|
22
|
+
const _hQ = "httpQuery";
|
|
23
|
+
const _m = "message";
|
|
24
|
+
const _rC = "roleCredentials";
|
|
25
|
+
const _rN = "roleName";
|
|
26
|
+
const _rn = "role_name";
|
|
27
|
+
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.sso";
|
|
28
|
+
const _sAK = "secretAccessKey";
|
|
29
|
+
const _sT = "sessionToken";
|
|
30
|
+
const _xasbt = "x-amz-sso_bearer_token";
|
|
31
|
+
const n0 = "com.amazonaws.sso";
|
|
32
|
+
import { TypeRegistry } from "@smithy/core/schema";
|
|
33
|
+
import { InvalidRequestException, ResourceNotFoundException, TooManyRequestsException, UnauthorizedException, } from "../models/errors";
|
|
34
|
+
import { SSOServiceException } from "../models/SSOServiceException";
|
|
35
|
+
const _s_registry = TypeRegistry.for(_s);
|
|
36
|
+
export var SSOServiceException$ = [-3, _s, "SSOServiceException", 0, [], []];
|
|
37
|
+
_s_registry.registerError(SSOServiceException$, SSOServiceException);
|
|
38
|
+
const n0_registry = TypeRegistry.for(n0);
|
|
39
|
+
export var InvalidRequestException$ = [-3, n0, _IRE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
|
|
40
|
+
n0_registry.registerError(InvalidRequestException$, InvalidRequestException);
|
|
41
|
+
export var ResourceNotFoundException$ = [-3, n0, _RNFE, { [_e]: _c, [_hE]: 404 }, [_m], [0]];
|
|
42
|
+
n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
|
|
43
|
+
export var TooManyRequestsException$ = [-3, n0, _TMRE, { [_e]: _c, [_hE]: 429 }, [_m], [0]];
|
|
44
|
+
n0_registry.registerError(TooManyRequestsException$, TooManyRequestsException);
|
|
45
|
+
export var UnauthorizedException$ = [-3, n0, _UE, { [_e]: _c, [_hE]: 401 }, [_m], [0]];
|
|
46
|
+
n0_registry.registerError(UnauthorizedException$, UnauthorizedException);
|
|
47
|
+
export const errorTypeRegistries = [_s_registry, n0_registry];
|
|
48
|
+
var AccessTokenType = [0, n0, _ATT, 8, 0];
|
|
49
|
+
var SecretAccessKeyType = [0, n0, _SAKT, 8, 0];
|
|
50
|
+
var SessionTokenType = [0, n0, _STT, 8, 0];
|
|
51
|
+
export var GetRoleCredentialsRequest$ = [
|
|
52
|
+
3,
|
|
53
|
+
n0,
|
|
54
|
+
_GRCR,
|
|
55
|
+
0,
|
|
56
|
+
[_rN, _aI, _aT],
|
|
57
|
+
[
|
|
58
|
+
[0, { [_hQ]: _rn }],
|
|
59
|
+
[0, { [_hQ]: _ai }],
|
|
60
|
+
[() => AccessTokenType, { [_hH]: _xasbt }],
|
|
61
|
+
],
|
|
62
|
+
3,
|
|
63
|
+
];
|
|
64
|
+
export var GetRoleCredentialsResponse$ = [
|
|
65
|
+
3,
|
|
66
|
+
n0,
|
|
67
|
+
_GRCRe,
|
|
68
|
+
0,
|
|
69
|
+
[_rC],
|
|
70
|
+
[[() => RoleCredentials$, 0]],
|
|
71
|
+
];
|
|
72
|
+
export var RoleCredentials$ = [
|
|
73
|
+
3,
|
|
74
|
+
n0,
|
|
75
|
+
_RC,
|
|
76
|
+
0,
|
|
77
|
+
[_aKI, _sAK, _sT, _ex],
|
|
78
|
+
[0, [() => SecretAccessKeyType, 0], [() => SessionTokenType, 0], 1],
|
|
79
|
+
];
|
|
80
|
+
export var GetRoleCredentials$ = [
|
|
81
|
+
9,
|
|
82
|
+
n0,
|
|
83
|
+
_GRC,
|
|
84
|
+
{ [_h]: ["GET", "/federation/credentials", 200] },
|
|
85
|
+
() => GetRoleCredentialsRequest$,
|
|
86
|
+
() => GetRoleCredentialsResponse$,
|
|
87
|
+
];
|
package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/ruleset.js
CHANGED
|
@@ -1,4 +1,103 @@
|
|
|
1
1
|
const u = "required", v = "fn", w = "argv", x = "ref";
|
|
2
|
-
const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = "getAttr", i = { [u]: false,
|
|
3
|
-
const _data = {
|
|
2
|
+
const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = "getAttr", i = { [u]: false, type: "string" }, j = { [u]: true, default: false, type: "boolean" }, k = { [x]: "Endpoint" }, l = { [v]: c, [w]: [{ [x]: "UseFIPS" }, true] }, m = { [v]: c, [w]: [{ [x]: "UseDualStack" }, true] }, n = {}, o = { [v]: h, [w]: [{ [x]: g }, "supportsFIPS"] }, p = { [x]: g }, q = { [v]: c, [w]: [true, { [v]: h, [w]: [p, "supportsDualStack"] }] }, r = [l], s = [m], t = [{ [x]: "Region" }];
|
|
3
|
+
const _data = {
|
|
4
|
+
version: "1.0",
|
|
5
|
+
parameters: { Region: i, UseDualStack: j, UseFIPS: j, Endpoint: i },
|
|
6
|
+
rules: [
|
|
7
|
+
{
|
|
8
|
+
conditions: [{ [v]: b, [w]: [k] }],
|
|
9
|
+
rules: [
|
|
10
|
+
{ conditions: r, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d },
|
|
11
|
+
{ conditions: s, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d },
|
|
12
|
+
{ endpoint: { url: k, properties: n, headers: n }, type: e },
|
|
13
|
+
],
|
|
14
|
+
type: f,
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
conditions: [{ [v]: b, [w]: t }],
|
|
18
|
+
rules: [
|
|
19
|
+
{
|
|
20
|
+
conditions: [{ [v]: "aws.partition", [w]: t, assign: g }],
|
|
21
|
+
rules: [
|
|
22
|
+
{
|
|
23
|
+
conditions: [l, m],
|
|
24
|
+
rules: [
|
|
25
|
+
{
|
|
26
|
+
conditions: [{ [v]: c, [w]: [a, o] }, q],
|
|
27
|
+
rules: [
|
|
28
|
+
{
|
|
29
|
+
endpoint: {
|
|
30
|
+
url: "https://oidc-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",
|
|
31
|
+
properties: n,
|
|
32
|
+
headers: n,
|
|
33
|
+
},
|
|
34
|
+
type: e,
|
|
35
|
+
},
|
|
36
|
+
],
|
|
37
|
+
type: f,
|
|
38
|
+
},
|
|
39
|
+
{ error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d },
|
|
40
|
+
],
|
|
41
|
+
type: f,
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
conditions: r,
|
|
45
|
+
rules: [
|
|
46
|
+
{
|
|
47
|
+
conditions: [{ [v]: c, [w]: [o, a] }],
|
|
48
|
+
rules: [
|
|
49
|
+
{
|
|
50
|
+
conditions: [{ [v]: "stringEquals", [w]: [{ [v]: h, [w]: [p, "name"] }, "aws-us-gov"] }],
|
|
51
|
+
endpoint: { url: "https://oidc.{Region}.amazonaws.com", properties: n, headers: n },
|
|
52
|
+
type: e,
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
endpoint: {
|
|
56
|
+
url: "https://oidc-fips.{Region}.{PartitionResult#dnsSuffix}",
|
|
57
|
+
properties: n,
|
|
58
|
+
headers: n,
|
|
59
|
+
},
|
|
60
|
+
type: e,
|
|
61
|
+
},
|
|
62
|
+
],
|
|
63
|
+
type: f,
|
|
64
|
+
},
|
|
65
|
+
{ error: "FIPS is enabled but this partition does not support FIPS", type: d },
|
|
66
|
+
],
|
|
67
|
+
type: f,
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
conditions: s,
|
|
71
|
+
rules: [
|
|
72
|
+
{
|
|
73
|
+
conditions: [q],
|
|
74
|
+
rules: [
|
|
75
|
+
{
|
|
76
|
+
endpoint: {
|
|
77
|
+
url: "https://oidc.{Region}.{PartitionResult#dualStackDnsSuffix}",
|
|
78
|
+
properties: n,
|
|
79
|
+
headers: n,
|
|
80
|
+
},
|
|
81
|
+
type: e,
|
|
82
|
+
},
|
|
83
|
+
],
|
|
84
|
+
type: f,
|
|
85
|
+
},
|
|
86
|
+
{ error: "DualStack is enabled but this partition does not support DualStack", type: d },
|
|
87
|
+
],
|
|
88
|
+
type: f,
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
endpoint: { url: "https://oidc.{Region}.{PartitionResult#dnsSuffix}", properties: n, headers: n },
|
|
92
|
+
type: e,
|
|
93
|
+
},
|
|
94
|
+
],
|
|
95
|
+
type: f,
|
|
96
|
+
},
|
|
97
|
+
],
|
|
98
|
+
type: f,
|
|
99
|
+
},
|
|
100
|
+
{ error: "Invalid Configuration: Missing Region", type: d },
|
|
101
|
+
],
|
|
102
|
+
};
|
|
4
103
|
export const ruleSet = _data;
|
package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/defaultStsRoleAssumers.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { setCredentialFeature } from "@aws-sdk/core/client";
|
|
2
2
|
import { stsRegionDefaultResolver } from "@aws-sdk/region-config-resolver";
|
|
3
3
|
import { AssumeRoleCommand } from "./commands/AssumeRoleCommand";
|
|
4
|
-
import { AssumeRoleWithWebIdentityCommand
|
|
4
|
+
import { AssumeRoleWithWebIdentityCommand } from "./commands/AssumeRoleWithWebIdentityCommand";
|
|
5
5
|
const getAccountIdFromAssumedRoleUser = (assumedRoleUser) => {
|
|
6
6
|
if (typeof assumedRoleUser?.Arn === "string") {
|
|
7
7
|
const arnComponents = assumedRoleUser.Arn.split(":");
|
|
@@ -1,4 +1,142 @@
|
|
|
1
1
|
const F = "required", G = "type", H = "fn", I = "argv", J = "ref";
|
|
2
|
-
const a = false, b = true, c = "booleanEquals", d = "stringEquals", e = "sigv4", f = "sts", g = "us-east-1", h = "endpoint", i = "https://sts.{Region}.{PartitionResult#dnsSuffix}", j = "tree", k = "error", l = "getAttr", m = { [F]: false, [G]: "string" }, n = { [F]: true,
|
|
3
|
-
|
|
2
|
+
const a = false, b = true, c = "booleanEquals", d = "stringEquals", e = "sigv4", f = "sts", g = "us-east-1", h = "endpoint", i = "https://sts.{Region}.{PartitionResult#dnsSuffix}", j = "tree", k = "error", l = "getAttr", m = { [F]: false, [G]: "string" }, n = { [F]: true, default: false, [G]: "boolean" }, o = { [J]: "Endpoint" }, p = { [H]: "isSet", [I]: [{ [J]: "Region" }] }, q = { [J]: "Region" }, r = { [H]: "aws.partition", [I]: [q], assign: "PartitionResult" }, s = { [J]: "UseFIPS" }, t = { [J]: "UseDualStack" }, u = {
|
|
3
|
+
url: "https://sts.amazonaws.com",
|
|
4
|
+
properties: { authSchemes: [{ name: e, signingName: f, signingRegion: g }] },
|
|
5
|
+
headers: {},
|
|
6
|
+
}, v = {}, w = { conditions: [{ [H]: d, [I]: [q, "aws-global"] }], [h]: u, [G]: h }, x = { [H]: c, [I]: [s, true] }, y = { [H]: c, [I]: [t, true] }, z = { [H]: l, [I]: [{ [J]: "PartitionResult" }, "supportsFIPS"] }, A = { [J]: "PartitionResult" }, B = { [H]: c, [I]: [true, { [H]: l, [I]: [A, "supportsDualStack"] }] }, C = [{ [H]: "isSet", [I]: [o] }], D = [x], E = [y];
|
|
7
|
+
const _data = {
|
|
8
|
+
version: "1.0",
|
|
9
|
+
parameters: { Region: m, UseDualStack: n, UseFIPS: n, Endpoint: m, UseGlobalEndpoint: n },
|
|
10
|
+
rules: [
|
|
11
|
+
{
|
|
12
|
+
conditions: [
|
|
13
|
+
{ [H]: c, [I]: [{ [J]: "UseGlobalEndpoint" }, b] },
|
|
14
|
+
{ [H]: "not", [I]: C },
|
|
15
|
+
p,
|
|
16
|
+
r,
|
|
17
|
+
{ [H]: c, [I]: [s, a] },
|
|
18
|
+
{ [H]: c, [I]: [t, a] },
|
|
19
|
+
],
|
|
20
|
+
rules: [
|
|
21
|
+
{ conditions: [{ [H]: d, [I]: [q, "ap-northeast-1"] }], endpoint: u, [G]: h },
|
|
22
|
+
{ conditions: [{ [H]: d, [I]: [q, "ap-south-1"] }], endpoint: u, [G]: h },
|
|
23
|
+
{ conditions: [{ [H]: d, [I]: [q, "ap-southeast-1"] }], endpoint: u, [G]: h },
|
|
24
|
+
{ conditions: [{ [H]: d, [I]: [q, "ap-southeast-2"] }], endpoint: u, [G]: h },
|
|
25
|
+
w,
|
|
26
|
+
{ conditions: [{ [H]: d, [I]: [q, "ca-central-1"] }], endpoint: u, [G]: h },
|
|
27
|
+
{ conditions: [{ [H]: d, [I]: [q, "eu-central-1"] }], endpoint: u, [G]: h },
|
|
28
|
+
{ conditions: [{ [H]: d, [I]: [q, "eu-north-1"] }], endpoint: u, [G]: h },
|
|
29
|
+
{ conditions: [{ [H]: d, [I]: [q, "eu-west-1"] }], endpoint: u, [G]: h },
|
|
30
|
+
{ conditions: [{ [H]: d, [I]: [q, "eu-west-2"] }], endpoint: u, [G]: h },
|
|
31
|
+
{ conditions: [{ [H]: d, [I]: [q, "eu-west-3"] }], endpoint: u, [G]: h },
|
|
32
|
+
{ conditions: [{ [H]: d, [I]: [q, "sa-east-1"] }], endpoint: u, [G]: h },
|
|
33
|
+
{ conditions: [{ [H]: d, [I]: [q, g] }], endpoint: u, [G]: h },
|
|
34
|
+
{ conditions: [{ [H]: d, [I]: [q, "us-east-2"] }], endpoint: u, [G]: h },
|
|
35
|
+
{ conditions: [{ [H]: d, [I]: [q, "us-west-1"] }], endpoint: u, [G]: h },
|
|
36
|
+
{ conditions: [{ [H]: d, [I]: [q, "us-west-2"] }], endpoint: u, [G]: h },
|
|
37
|
+
{
|
|
38
|
+
endpoint: {
|
|
39
|
+
url: i,
|
|
40
|
+
properties: { authSchemes: [{ name: e, signingName: f, signingRegion: "{Region}" }] },
|
|
41
|
+
headers: v,
|
|
42
|
+
},
|
|
43
|
+
[G]: h,
|
|
44
|
+
},
|
|
45
|
+
],
|
|
46
|
+
[G]: j,
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
conditions: C,
|
|
50
|
+
rules: [
|
|
51
|
+
{ conditions: D, error: "Invalid Configuration: FIPS and custom endpoint are not supported", [G]: k },
|
|
52
|
+
{ conditions: E, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", [G]: k },
|
|
53
|
+
{ endpoint: { url: o, properties: v, headers: v }, [G]: h },
|
|
54
|
+
],
|
|
55
|
+
[G]: j,
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
conditions: [p],
|
|
59
|
+
rules: [
|
|
60
|
+
{
|
|
61
|
+
conditions: [r],
|
|
62
|
+
rules: [
|
|
63
|
+
{
|
|
64
|
+
conditions: [x, y],
|
|
65
|
+
rules: [
|
|
66
|
+
{
|
|
67
|
+
conditions: [{ [H]: c, [I]: [b, z] }, B],
|
|
68
|
+
rules: [
|
|
69
|
+
{
|
|
70
|
+
endpoint: {
|
|
71
|
+
url: "https://sts-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",
|
|
72
|
+
properties: v,
|
|
73
|
+
headers: v,
|
|
74
|
+
},
|
|
75
|
+
[G]: h,
|
|
76
|
+
},
|
|
77
|
+
],
|
|
78
|
+
[G]: j,
|
|
79
|
+
},
|
|
80
|
+
{ error: "FIPS and DualStack are enabled, but this partition does not support one or both", [G]: k },
|
|
81
|
+
],
|
|
82
|
+
[G]: j,
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
conditions: D,
|
|
86
|
+
rules: [
|
|
87
|
+
{
|
|
88
|
+
conditions: [{ [H]: c, [I]: [z, b] }],
|
|
89
|
+
rules: [
|
|
90
|
+
{
|
|
91
|
+
conditions: [{ [H]: d, [I]: [{ [H]: l, [I]: [A, "name"] }, "aws-us-gov"] }],
|
|
92
|
+
endpoint: { url: "https://sts.{Region}.amazonaws.com", properties: v, headers: v },
|
|
93
|
+
[G]: h,
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
endpoint: {
|
|
97
|
+
url: "https://sts-fips.{Region}.{PartitionResult#dnsSuffix}",
|
|
98
|
+
properties: v,
|
|
99
|
+
headers: v,
|
|
100
|
+
},
|
|
101
|
+
[G]: h,
|
|
102
|
+
},
|
|
103
|
+
],
|
|
104
|
+
[G]: j,
|
|
105
|
+
},
|
|
106
|
+
{ error: "FIPS is enabled but this partition does not support FIPS", [G]: k },
|
|
107
|
+
],
|
|
108
|
+
[G]: j,
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
conditions: E,
|
|
112
|
+
rules: [
|
|
113
|
+
{
|
|
114
|
+
conditions: [B],
|
|
115
|
+
rules: [
|
|
116
|
+
{
|
|
117
|
+
endpoint: {
|
|
118
|
+
url: "https://sts.{Region}.{PartitionResult#dualStackDnsSuffix}",
|
|
119
|
+
properties: v,
|
|
120
|
+
headers: v,
|
|
121
|
+
},
|
|
122
|
+
[G]: h,
|
|
123
|
+
},
|
|
124
|
+
],
|
|
125
|
+
[G]: j,
|
|
126
|
+
},
|
|
127
|
+
{ error: "DualStack is enabled but this partition does not support DualStack", [G]: k },
|
|
128
|
+
],
|
|
129
|
+
[G]: j,
|
|
130
|
+
},
|
|
131
|
+
w,
|
|
132
|
+
{ endpoint: { url: i, properties: v, headers: v }, [G]: h },
|
|
133
|
+
],
|
|
134
|
+
[G]: j,
|
|
135
|
+
},
|
|
136
|
+
],
|
|
137
|
+
[G]: j,
|
|
138
|
+
},
|
|
139
|
+
{ error: "Invalid Configuration: Missing Region", [G]: k },
|
|
140
|
+
],
|
|
141
|
+
};
|
|
4
142
|
export const ruleSet = _data;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
2
|
+
import { CognitoIdentityClient } from "./CognitoIdentityClient";
|
|
3
|
+
import type { GetCredentialsForIdentityCommandInput, GetCredentialsForIdentityCommandOutput } from "./commands/GetCredentialsForIdentityCommand";
|
|
4
|
+
import type { GetIdCommandInput, GetIdCommandOutput } from "./commands/GetIdCommand";
|
|
5
|
+
export interface CognitoIdentity {
|
|
6
|
+
/**
|
|
7
|
+
* @see {@link GetCredentialsForIdentityCommand}
|
|
8
|
+
*/
|
|
9
|
+
getCredentialsForIdentity(args: GetCredentialsForIdentityCommandInput, options?: __HttpHandlerOptions): Promise<GetCredentialsForIdentityCommandOutput>;
|
|
10
|
+
getCredentialsForIdentity(args: GetCredentialsForIdentityCommandInput, cb: (err: any, data?: GetCredentialsForIdentityCommandOutput) => void): void;
|
|
11
|
+
getCredentialsForIdentity(args: GetCredentialsForIdentityCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetCredentialsForIdentityCommandOutput) => void): void;
|
|
12
|
+
/**
|
|
13
|
+
* @see {@link GetIdCommand}
|
|
14
|
+
*/
|
|
15
|
+
getId(args: GetIdCommandInput, options?: __HttpHandlerOptions): Promise<GetIdCommandOutput>;
|
|
16
|
+
getId(args: GetIdCommandInput, cb: (err: any, data?: GetIdCommandOutput) => void): void;
|
|
17
|
+
getId(args: GetIdCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetIdCommandOutput) => void): void;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* <fullname>Amazon Cognito Federated Identities</fullname>
|
|
21
|
+
* <p>Amazon Cognito Federated Identities is a web service that delivers scoped temporary
|
|
22
|
+
* credentials to mobile devices and other untrusted environments. It uniquely identifies a
|
|
23
|
+
* device and supplies the user with a consistent identity over the lifetime of an
|
|
24
|
+
* application.</p>
|
|
25
|
+
* <p>Using Amazon Cognito Federated Identities, you can enable authentication with one or
|
|
26
|
+
* more third-party identity providers (Facebook, Google, or Login with Amazon) or an Amazon
|
|
27
|
+
* Cognito user pool, and you can also choose to support unauthenticated access from your app.
|
|
28
|
+
* Cognito delivers a unique identifier for each user and acts as an OpenID token provider
|
|
29
|
+
* trusted by Security Token Service (STS) to access temporary, limited-privilege Amazon Web Services credentials.</p>
|
|
30
|
+
* <p>For a description of the authentication flow from the Amazon Cognito Developer Guide
|
|
31
|
+
* see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/authentication-flow.html">Authentication
|
|
32
|
+
* Flow</a>.</p>
|
|
33
|
+
* <p>For more information see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-identity.html">Amazon Cognito Federated
|
|
34
|
+
* Identities</a>.</p>
|
|
35
|
+
* @public
|
|
36
|
+
*/
|
|
37
|
+
export declare class CognitoIdentity extends CognitoIdentityClient implements CognitoIdentity {
|
|
38
|
+
}
|
|
@@ -0,0 +1,198 @@
|
|
|
1
|
+
import { type HostHeaderInputConfig, type HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
|
|
2
|
+
import { type UserAgentInputConfig, type UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
3
|
+
import { type RegionInputConfig, type RegionResolvedConfig } from "@smithy/config-resolver";
|
|
4
|
+
import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/middleware-endpoint";
|
|
5
|
+
import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/middleware-retry";
|
|
6
|
+
import type { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
|
|
7
|
+
import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/smithy-client";
|
|
8
|
+
import type { Provider, UserAgent as __UserAgent } from "@smithy/types";
|
|
9
|
+
import { type BodyLengthCalculator as __BodyLengthCalculator, type CheckOptionalClientConfig as __CheckOptionalClientConfig, type ChecksumConstructor as __ChecksumConstructor, type Decoder as __Decoder, type Encoder as __Encoder, type HashConstructor as __HashConstructor, type HttpHandlerOptions as __HttpHandlerOptions, type Logger as __Logger, type Provider as __Provider, type StreamCollector as __StreamCollector, type UrlParser as __UrlParser } from "@smithy/types";
|
|
10
|
+
import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
11
|
+
import type { GetCredentialsForIdentityCommandInput, GetCredentialsForIdentityCommandOutput } from "./commands/GetCredentialsForIdentityCommand";
|
|
12
|
+
import type { GetIdCommandInput, GetIdCommandOutput } from "./commands/GetIdCommand";
|
|
13
|
+
import type { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
14
|
+
import { type RuntimeExtension, type RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
15
|
+
export { __Client };
|
|
16
|
+
/**
|
|
17
|
+
* @public
|
|
18
|
+
*/
|
|
19
|
+
export type ServiceInputTypes = GetCredentialsForIdentityCommandInput | GetIdCommandInput;
|
|
20
|
+
/**
|
|
21
|
+
* @public
|
|
22
|
+
*/
|
|
23
|
+
export type ServiceOutputTypes = GetCredentialsForIdentityCommandOutput | GetIdCommandOutput;
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
*/
|
|
27
|
+
export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
|
|
28
|
+
/**
|
|
29
|
+
* The HTTP handler to use or its constructor options. Fetch in browser and Https in Nodejs.
|
|
30
|
+
*/
|
|
31
|
+
requestHandler?: __HttpHandlerUserInput;
|
|
32
|
+
/**
|
|
33
|
+
* A constructor for a class implementing the {@link @smithy/types#ChecksumConstructor} interface
|
|
34
|
+
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
35
|
+
* @internal
|
|
36
|
+
*/
|
|
37
|
+
sha256?: __ChecksumConstructor | __HashConstructor;
|
|
38
|
+
/**
|
|
39
|
+
* The function that will be used to convert strings into HTTP endpoints.
|
|
40
|
+
* @internal
|
|
41
|
+
*/
|
|
42
|
+
urlParser?: __UrlParser;
|
|
43
|
+
/**
|
|
44
|
+
* A function that can calculate the length of a request body.
|
|
45
|
+
* @internal
|
|
46
|
+
*/
|
|
47
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
48
|
+
/**
|
|
49
|
+
* A function that converts a stream into an array of bytes.
|
|
50
|
+
* @internal
|
|
51
|
+
*/
|
|
52
|
+
streamCollector?: __StreamCollector;
|
|
53
|
+
/**
|
|
54
|
+
* The function that will be used to convert a base64-encoded string to a byte array.
|
|
55
|
+
* @internal
|
|
56
|
+
*/
|
|
57
|
+
base64Decoder?: __Decoder;
|
|
58
|
+
/**
|
|
59
|
+
* The function that will be used to convert binary data to a base64-encoded string.
|
|
60
|
+
* @internal
|
|
61
|
+
*/
|
|
62
|
+
base64Encoder?: __Encoder;
|
|
63
|
+
/**
|
|
64
|
+
* The function that will be used to convert a UTF8-encoded string to a byte array.
|
|
65
|
+
* @internal
|
|
66
|
+
*/
|
|
67
|
+
utf8Decoder?: __Decoder;
|
|
68
|
+
/**
|
|
69
|
+
* The function that will be used to convert binary data to a UTF-8 encoded string.
|
|
70
|
+
* @internal
|
|
71
|
+
*/
|
|
72
|
+
utf8Encoder?: __Encoder;
|
|
73
|
+
/**
|
|
74
|
+
* The runtime environment.
|
|
75
|
+
* @internal
|
|
76
|
+
*/
|
|
77
|
+
runtime?: string;
|
|
78
|
+
/**
|
|
79
|
+
* Disable dynamically changing the endpoint of the client based on the hostPrefix
|
|
80
|
+
* trait of an operation.
|
|
81
|
+
*/
|
|
82
|
+
disableHostPrefix?: boolean;
|
|
83
|
+
/**
|
|
84
|
+
* Unique service identifier.
|
|
85
|
+
* @internal
|
|
86
|
+
*/
|
|
87
|
+
serviceId?: string;
|
|
88
|
+
/**
|
|
89
|
+
* Enables IPv6/IPv4 dualstack endpoint.
|
|
90
|
+
*/
|
|
91
|
+
useDualstackEndpoint?: boolean | __Provider<boolean>;
|
|
92
|
+
/**
|
|
93
|
+
* Enables FIPS compatible endpoints.
|
|
94
|
+
*/
|
|
95
|
+
useFipsEndpoint?: boolean | __Provider<boolean>;
|
|
96
|
+
/**
|
|
97
|
+
* The AWS region to which this client will send requests
|
|
98
|
+
*/
|
|
99
|
+
region?: string | __Provider<string>;
|
|
100
|
+
/**
|
|
101
|
+
* Setting a client profile is similar to setting a value for the
|
|
102
|
+
* AWS_PROFILE environment variable. Setting a profile on a client
|
|
103
|
+
* in code only affects the single client instance, unlike AWS_PROFILE.
|
|
104
|
+
*
|
|
105
|
+
* When set, and only for environments where an AWS configuration
|
|
106
|
+
* file exists, fields configurable by this file will be retrieved
|
|
107
|
+
* from the specified profile within that file.
|
|
108
|
+
* Conflicting code configuration and environment variables will
|
|
109
|
+
* still have higher priority.
|
|
110
|
+
*
|
|
111
|
+
* For client credential resolution that involves checking the AWS
|
|
112
|
+
* configuration file, the client's profile (this value) will be
|
|
113
|
+
* used unless a different profile is set in the credential
|
|
114
|
+
* provider options.
|
|
115
|
+
*
|
|
116
|
+
*/
|
|
117
|
+
profile?: string;
|
|
118
|
+
/**
|
|
119
|
+
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
|
|
120
|
+
* @internal
|
|
121
|
+
*/
|
|
122
|
+
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
123
|
+
/**
|
|
124
|
+
* Value for how many times a request will be made at most in case of retry.
|
|
125
|
+
*/
|
|
126
|
+
maxAttempts?: number | __Provider<number>;
|
|
127
|
+
/**
|
|
128
|
+
* Specifies which retry algorithm to use.
|
|
129
|
+
* @see https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-smithy-util-retry/Enum/RETRY_MODES/
|
|
130
|
+
*
|
|
131
|
+
*/
|
|
132
|
+
retryMode?: string | __Provider<string>;
|
|
133
|
+
/**
|
|
134
|
+
* Optional logger for logging debug/info/warn/error.
|
|
135
|
+
*/
|
|
136
|
+
logger?: __Logger;
|
|
137
|
+
/**
|
|
138
|
+
* Optional extensions
|
|
139
|
+
*/
|
|
140
|
+
extensions?: RuntimeExtension[];
|
|
141
|
+
/**
|
|
142
|
+
* The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
143
|
+
*/
|
|
144
|
+
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
145
|
+
}
|
|
146
|
+
/**
|
|
147
|
+
* @public
|
|
148
|
+
*/
|
|
149
|
+
export type CognitoIdentityClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & UserAgentInputConfig & RetryInputConfig & RegionInputConfig & HostHeaderInputConfig & EndpointInputConfig<EndpointParameters> & HttpAuthSchemeInputConfig & ClientInputEndpointParameters;
|
|
150
|
+
/**
|
|
151
|
+
* @public
|
|
152
|
+
*
|
|
153
|
+
* The configuration interface of CognitoIdentityClient class constructor that set the region, credentials and other options.
|
|
154
|
+
*/
|
|
155
|
+
export interface CognitoIdentityClientConfig extends CognitoIdentityClientConfigType {
|
|
156
|
+
}
|
|
157
|
+
/**
|
|
158
|
+
* @public
|
|
159
|
+
*/
|
|
160
|
+
export type CognitoIdentityClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & UserAgentResolvedConfig & RetryResolvedConfig & RegionResolvedConfig & HostHeaderResolvedConfig & EndpointResolvedConfig<EndpointParameters> & HttpAuthSchemeResolvedConfig & ClientResolvedEndpointParameters;
|
|
161
|
+
/**
|
|
162
|
+
* @public
|
|
163
|
+
*
|
|
164
|
+
* The resolved configuration interface of CognitoIdentityClient class. This is resolved and normalized from the {@link CognitoIdentityClientConfig | constructor configuration interface}.
|
|
165
|
+
*/
|
|
166
|
+
export interface CognitoIdentityClientResolvedConfig extends CognitoIdentityClientResolvedConfigType {
|
|
167
|
+
}
|
|
168
|
+
/**
|
|
169
|
+
* <fullname>Amazon Cognito Federated Identities</fullname>
|
|
170
|
+
* <p>Amazon Cognito Federated Identities is a web service that delivers scoped temporary
|
|
171
|
+
* credentials to mobile devices and other untrusted environments. It uniquely identifies a
|
|
172
|
+
* device and supplies the user with a consistent identity over the lifetime of an
|
|
173
|
+
* application.</p>
|
|
174
|
+
* <p>Using Amazon Cognito Federated Identities, you can enable authentication with one or
|
|
175
|
+
* more third-party identity providers (Facebook, Google, or Login with Amazon) or an Amazon
|
|
176
|
+
* Cognito user pool, and you can also choose to support unauthenticated access from your app.
|
|
177
|
+
* Cognito delivers a unique identifier for each user and acts as an OpenID token provider
|
|
178
|
+
* trusted by Security Token Service (STS) to access temporary, limited-privilege Amazon Web Services credentials.</p>
|
|
179
|
+
* <p>For a description of the authentication flow from the Amazon Cognito Developer Guide
|
|
180
|
+
* see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/authentication-flow.html">Authentication
|
|
181
|
+
* Flow</a>.</p>
|
|
182
|
+
* <p>For more information see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-identity.html">Amazon Cognito Federated
|
|
183
|
+
* Identities</a>.</p>
|
|
184
|
+
* @public
|
|
185
|
+
*/
|
|
186
|
+
export declare class CognitoIdentityClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, CognitoIdentityClientResolvedConfig> {
|
|
187
|
+
/**
|
|
188
|
+
* The resolved configuration of CognitoIdentityClient class. This is resolved and normalized from the {@link CognitoIdentityClientConfig | constructor configuration interface}.
|
|
189
|
+
*/
|
|
190
|
+
readonly config: CognitoIdentityClientResolvedConfig;
|
|
191
|
+
constructor(...[configuration]: __CheckOptionalClientConfig<CognitoIdentityClientConfig>);
|
|
192
|
+
/**
|
|
193
|
+
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
194
|
+
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
195
|
+
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
196
|
+
*/
|
|
197
|
+
destroy(): void;
|
|
198
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { AwsCredentialIdentity, AwsCredentialIdentityProvider } from "@smithy/types";
|
|
2
|
+
import { type HttpAuthScheme } from "@smithy/types";
|
|
3
|
+
import type { CognitoIdentityHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
|
|
4
|
+
/**
|
|
5
|
+
* @internal
|
|
6
|
+
*/
|
|
7
|
+
export interface HttpAuthExtensionConfiguration {
|
|
8
|
+
setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
|
|
9
|
+
httpAuthSchemes(): HttpAuthScheme[];
|
|
10
|
+
setHttpAuthSchemeProvider(httpAuthSchemeProvider: CognitoIdentityHttpAuthSchemeProvider): void;
|
|
11
|
+
httpAuthSchemeProvider(): CognitoIdentityHttpAuthSchemeProvider;
|
|
12
|
+
setCredentials(credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider): void;
|
|
13
|
+
credentials(): AwsCredentialIdentity | AwsCredentialIdentityProvider | undefined;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* @internal
|
|
17
|
+
*/
|
|
18
|
+
export type HttpAuthRuntimeConfig = Partial<{
|
|
19
|
+
httpAuthSchemes: HttpAuthScheme[];
|
|
20
|
+
httpAuthSchemeProvider: CognitoIdentityHttpAuthSchemeProvider;
|
|
21
|
+
credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider;
|
|
22
|
+
}>;
|
|
23
|
+
/**
|
|
24
|
+
* @internal
|
|
25
|
+
*/
|
|
26
|
+
export declare const getHttpAuthExtensionConfiguration: (runtimeConfig: HttpAuthRuntimeConfig) => HttpAuthExtensionConfiguration;
|
|
27
|
+
/**
|
|
28
|
+
* @internal
|
|
29
|
+
*/
|
|
30
|
+
export declare const resolveHttpAuthRuntimeConfig: (config: HttpAuthExtensionConfiguration) => HttpAuthRuntimeConfig;
|