@cdklabs/cdk-ecs-codedeploy 0.0.207 → 0.0.208
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 +108 -49
- package/.jsii.tabl.json +1 -1
- package/.projenrc.ts +3 -5
- package/API.md +4 -4
- package/API.md.md +4 -9
- package/lib/api-canary/index.d.ts +1 -1
- package/lib/api-canary/index.js +7 -7
- package/lib/ecs-appspec/index.js +1 -1
- package/lib/ecs-deployment/index.js +1 -1
- package/lib/ecs-patterns/application-load-balanced-codedeployed-fargate-service.js +4 -4
- package/node_modules/@aws-sdk/client-codedeploy/README.md +7 -7
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/CodeDeployClient.js +6 -4
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/AddTagsToOnPremisesInstancesCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/BatchGetApplicationRevisionsCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/BatchGetApplicationsCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/BatchGetDeploymentGroupsCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/BatchGetDeploymentInstancesCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/BatchGetDeploymentTargetsCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/BatchGetDeploymentsCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/BatchGetOnPremisesInstancesCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/ContinueDeploymentCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/CreateApplicationCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/CreateDeploymentCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/CreateDeploymentConfigCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/CreateDeploymentGroupCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/DeleteApplicationCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/DeleteDeploymentConfigCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/DeleteDeploymentGroupCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/DeleteGitHubAccountTokenCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/DeleteResourcesByExternalIdCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/DeregisterOnPremisesInstanceCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/GetApplicationCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/GetApplicationRevisionCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/GetDeploymentCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/GetDeploymentConfigCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/GetDeploymentGroupCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/GetDeploymentInstanceCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/GetDeploymentTargetCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/GetOnPremisesInstanceCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/ListApplicationRevisionsCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/ListApplicationsCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/ListDeploymentConfigsCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/ListDeploymentGroupsCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/ListDeploymentInstancesCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/ListDeploymentTargetsCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/ListDeploymentsCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/ListGitHubAccountTokenNamesCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/ListOnPremisesInstancesCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/ListTagsForResourceCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/PutLifecycleEventHookExecutionStatusCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/RegisterApplicationRevisionCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/RegisterOnPremisesInstanceCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/RemoveTagsFromOnPremisesInstancesCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/SkipWaitTimeForInstanceTerminationCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/StopDeploymentCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/TagResourceCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/UntagResourceCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/UpdateApplicationCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/UpdateDeploymentGroupCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/endpoint/ruleset.js +3 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/runtimeConfig.shared.js +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/runtimeExtensions.js +22 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/CodeDeployClient.js +6 -4
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/AddTagsToOnPremisesInstancesCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/BatchGetApplicationRevisionsCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/BatchGetApplicationsCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/BatchGetDeploymentGroupsCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/BatchGetDeploymentInstancesCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/BatchGetDeploymentTargetsCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/BatchGetDeploymentsCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/BatchGetOnPremisesInstancesCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ContinueDeploymentCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/CreateApplicationCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/CreateDeploymentCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/CreateDeploymentConfigCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/CreateDeploymentGroupCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/DeleteApplicationCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/DeleteDeploymentConfigCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/DeleteDeploymentGroupCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/DeleteGitHubAccountTokenCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/DeleteResourcesByExternalIdCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/DeregisterOnPremisesInstanceCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/GetApplicationCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/GetApplicationRevisionCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/GetDeploymentCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/GetDeploymentConfigCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/GetDeploymentGroupCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/GetDeploymentInstanceCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/GetDeploymentTargetCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/GetOnPremisesInstanceCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListApplicationRevisionsCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListApplicationsCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListDeploymentConfigsCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListDeploymentGroupsCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListDeploymentInstancesCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListDeploymentTargetsCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListDeploymentsCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListGitHubAccountTokenNamesCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListOnPremisesInstancesCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListTagsForResourceCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/PutLifecycleEventHookExecutionStatusCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/RegisterApplicationRevisionCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/RegisterOnPremisesInstanceCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/RemoveTagsFromOnPremisesInstancesCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/SkipWaitTimeForInstanceTerminationCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/StopDeploymentCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/TagResourceCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/UntagResourceCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/UpdateApplicationCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/UpdateDeploymentGroupCommand.js +5 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/endpoint/ruleset.js +3 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/runtimeConfig.shared.js +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/runtimeExtensions.js +18 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/CodeDeploy.d.ts +25 -25
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/CodeDeployClient.d.ts +33 -28
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetApplicationRevisionsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetApplicationsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetDeploymentGroupsCommand.d.ts +2 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetDeploymentInstancesCommand.d.ts +3 -4
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetDeploymentTargetsCommand.d.ts +10 -11
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ContinueDeploymentCommand.d.ts +1 -2
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/CreateApplicationCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/CreateDeploymentCommand.d.ts +16 -16
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/CreateDeploymentConfigCommand.d.ts +1 -2
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/CreateDeploymentGroupCommand.d.ts +10 -10
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/DeleteDeploymentConfigCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/DeleteResourcesByExternalIdCommand.d.ts +8 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetApplicationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetApplicationRevisionCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetDeploymentCommand.d.ts +3 -4
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetDeploymentConfigCommand.d.ts +1 -2
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetDeploymentGroupCommand.d.ts +4 -4
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetDeploymentInstanceCommand.d.ts +1 -2
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetDeploymentTargetCommand.d.ts +1 -2
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListApplicationRevisionsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListApplicationsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListDeploymentConfigsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListDeploymentGroupsCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListDeploymentInstancesCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListDeploymentTargetsCommand.d.ts +1 -2
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListDeploymentsCommand.d.ts +4 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListOnPremisesInstancesCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/PutLifecycleEventHookExecutionStatusCommand.d.ts +1 -2
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/RegisterApplicationRevisionCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/RegisterOnPremisesInstanceCommand.d.ts +8 -9
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/SkipWaitTimeForInstanceTerminationCommand.d.ts +1 -2
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/StopDeploymentCommand.d.ts +3 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/TagResourceCommand.d.ts +4 -4
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/UntagResourceCommand.d.ts +4 -4
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/UpdateApplicationCommand.d.ts +3 -2
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/UpdateDeploymentGroupCommand.d.ts +12 -11
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/endpoint/EndpointParameters.d.ts +3 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/extensionConfiguration.d.ts +8 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/index.d.ts +26 -25
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/models/models_0.d.ts +701 -273
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/runtimeConfig.browser.d.ts +8 -2
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/runtimeConfig.d.ts +5 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/runtimeConfig.native.d.ts +5 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/runtimeExtensions.d.ts +17 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/CodeDeployClient.d.ts +7 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/extensionConfiguration.d.ts +7 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/index.d.ts +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/runtimeConfig.d.ts +9 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
- package/node_modules/@aws-sdk/client-codedeploy/package.json +37 -37
- package/node_modules/@aws-sdk/client-sso/README.md +7 -10
- package/node_modules/@aws-sdk/client-sso/dist-cjs/SSOClient.js +6 -4
- package/node_modules/@aws-sdk/client-sso/dist-cjs/commands/GetRoleCredentialsCommand.js +5 -0
- package/node_modules/@aws-sdk/client-sso/dist-cjs/commands/ListAccountRolesCommand.js +5 -0
- package/node_modules/@aws-sdk/client-sso/dist-cjs/commands/ListAccountsCommand.js +5 -0
- package/node_modules/@aws-sdk/client-sso/dist-cjs/commands/LogoutCommand.js +5 -0
- package/node_modules/@aws-sdk/client-sso/dist-cjs/endpoint/ruleset.js +3 -3
- package/node_modules/@aws-sdk/client-sso/dist-cjs/runtimeConfig.shared.js +1 -0
- package/node_modules/@aws-sdk/client-sso/dist-cjs/runtimeExtensions.js +22 -0
- package/node_modules/@aws-sdk/client-sso/dist-es/SSOClient.js +6 -4
- package/node_modules/@aws-sdk/client-sso/dist-es/commands/GetRoleCredentialsCommand.js +5 -0
- package/node_modules/@aws-sdk/client-sso/dist-es/commands/ListAccountRolesCommand.js +5 -0
- package/node_modules/@aws-sdk/client-sso/dist-es/commands/ListAccountsCommand.js +5 -0
- package/node_modules/@aws-sdk/client-sso/dist-es/commands/LogoutCommand.js +5 -0
- package/node_modules/@aws-sdk/client-sso/dist-es/endpoint/ruleset.js +3 -3
- package/node_modules/@aws-sdk/client-sso/dist-es/runtimeConfig.shared.js +1 -0
- package/node_modules/@aws-sdk/client-sso/dist-es/runtimeExtensions.js +18 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/SSO.d.ts +0 -3
- package/node_modules/@aws-sdk/client-sso/dist-types/SSOClient.d.ts +8 -6
- package/node_modules/@aws-sdk/client-sso/dist-types/commands/LogoutCommand.d.ts +0 -2
- package/node_modules/@aws-sdk/client-sso/dist-types/endpoint/EndpointParameters.d.ts +3 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/extensionConfiguration.d.ts +8 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/index.d.ts +1 -3
- package/node_modules/@aws-sdk/client-sso/dist-types/models/models_0.d.ts +25 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.browser.d.ts +5 -1
- package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.d.ts +5 -1
- package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.native.d.ts +5 -1
- package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/runtimeExtensions.d.ts +17 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/SSOClient.d.ts +5 -1
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/extensionConfiguration.d.ts +7 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/index.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -1
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.d.ts +9 -1
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -1
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
- package/node_modules/@aws-sdk/client-sso/package.json +33 -33
- package/node_modules/@aws-sdk/client-sts/README.md +7 -7
- package/node_modules/@aws-sdk/client-sts/dist-cjs/STSClient.js +6 -4
- package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/AssumeRoleCommand.js +5 -0
- package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/AssumeRoleWithSAMLCommand.js +5 -0
- package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/AssumeRoleWithWebIdentityCommand.js +5 -0
- package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/DecodeAuthorizationMessageCommand.js +5 -0
- package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/GetAccessKeyInfoCommand.js +5 -0
- package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/GetCallerIdentityCommand.js +5 -0
- package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/GetFederationTokenCommand.js +5 -0
- package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/GetSessionTokenCommand.js +5 -0
- package/node_modules/@aws-sdk/client-sts/dist-cjs/endpoint/ruleset.js +1 -1
- package/node_modules/@aws-sdk/client-sts/dist-cjs/protocols/Aws_query.js +35 -0
- package/node_modules/@aws-sdk/client-sts/dist-cjs/runtimeConfig.shared.js +1 -0
- package/node_modules/@aws-sdk/client-sts/dist-cjs/runtimeExtensions.js +22 -0
- package/node_modules/@aws-sdk/client-sts/dist-es/STSClient.js +6 -4
- package/node_modules/@aws-sdk/client-sts/dist-es/commands/AssumeRoleCommand.js +5 -0
- package/node_modules/@aws-sdk/client-sts/dist-es/commands/AssumeRoleWithSAMLCommand.js +5 -0
- package/node_modules/@aws-sdk/client-sts/dist-es/commands/AssumeRoleWithWebIdentityCommand.js +5 -0
- package/node_modules/@aws-sdk/client-sts/dist-es/commands/DecodeAuthorizationMessageCommand.js +5 -0
- package/node_modules/@aws-sdk/client-sts/dist-es/commands/GetAccessKeyInfoCommand.js +5 -0
- package/node_modules/@aws-sdk/client-sts/dist-es/commands/GetCallerIdentityCommand.js +5 -0
- package/node_modules/@aws-sdk/client-sts/dist-es/commands/GetFederationTokenCommand.js +5 -0
- package/node_modules/@aws-sdk/client-sts/dist-es/commands/GetSessionTokenCommand.js +5 -0
- package/node_modules/@aws-sdk/client-sts/dist-es/endpoint/ruleset.js +1 -1
- package/node_modules/@aws-sdk/client-sts/dist-es/protocols/Aws_query.js +35 -0
- package/node_modules/@aws-sdk/client-sts/dist-es/runtimeConfig.shared.js +1 -0
- package/node_modules/@aws-sdk/client-sts/dist-es/runtimeExtensions.js +18 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/STSClient.d.ts +8 -3
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/AssumeRoleCommand.d.ts +8 -2
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/AssumeRoleWithWebIdentityCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetAccessKeyInfoCommand.d.ts +6 -7
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetCallerIdentityCommand.d.ts +6 -4
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetFederationTokenCommand.d.ts +21 -16
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetSessionTokenCommand.d.ts +20 -18
- package/node_modules/@aws-sdk/client-sts/dist-types/endpoint/EndpointParameters.d.ts +3 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/extensionConfiguration.d.ts +8 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/index.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/models/models_0.d.ts +121 -28
- package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.browser.d.ts +5 -1
- package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.d.ts +5 -1
- package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.native.d.ts +5 -1
- package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/runtimeExtensions.d.ts +17 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/STSClient.d.ts +5 -1
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/extensionConfiguration.d.ts +7 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/index.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/models/models_0.d.ts +5 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -1
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.d.ts +9 -1
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -1
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
- package/node_modules/@aws-sdk/client-sts/package.json +36 -36
- package/node_modules/@aws-sdk/credential-provider-env/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/resolveAssumeRoleCredentials.js +1 -0
- package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveAssumeRoleCredentials.js +1 -0
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveAssumeRoleCredentials.d.ts +4 -0
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveAssumeRoleCredentials.d.ts +1 -0
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +10 -10
- package/node_modules/@aws-sdk/credential-provider-node/README.md +6 -3
- package/node_modules/@aws-sdk/credential-provider-node/package.json +11 -11
- package/node_modules/@aws-sdk/credential-provider-process/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/resolveSSOCredentials.js +1 -2
- package/node_modules/@aws-sdk/credential-provider-sso/dist-es/resolveSSOCredentials.js +1 -2
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +7 -7
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-host-header/dist-types/index.d.ts +3 -0
- package/node_modules/@aws-sdk/middleware-host-header/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-logger/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-sdk-sts/dist-types/index.d.ts +3 -0
- package/node_modules/@aws-sdk/middleware-sdk-sts/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-signing/dist-types/awsAuthConfiguration.d.ts +8 -1
- package/node_modules/@aws-sdk/middleware-signing/package.json +9 -8
- package/node_modules/@aws-sdk/middleware-user-agent/dist-types/configurations.d.ts +3 -0
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +7 -6
- package/node_modules/@aws-sdk/{client-sso-oidc → region-config-resolver}/LICENSE +2 -2
- package/node_modules/@aws-sdk/region-config-resolver/README.md +12 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/extensions/index.js +30 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/index.js +5 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/config.js +15 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/getRealRegion.js +10 -0
- package/node_modules/@aws-sdk/{types/dist-cjs/connection → region-config-resolver/dist-cjs/regionConfig}/index.js +1 -2
- package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/isFipsRegion.js +5 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/resolveRegionConfig.js +29 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-es/extensions/index.js +25 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-es/index.js +2 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-es/regionConfig/config.js +12 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-es/regionConfig/getRealRegion.js +6 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-es/regionConfig/index.js +2 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-es/regionConfig/isFipsRegion.js +1 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-es/regionConfig/resolveRegionConfig.js +25 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-types/extensions/index.d.ts +16 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-types/index.d.ts +2 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-types/regionConfig/config.d.ts +17 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-types/regionConfig/getRealRegion.d.ts +4 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-types/regionConfig/index.d.ts +8 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-types/regionConfig/isFipsRegion.d.ts +4 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-types/regionConfig/resolveRegionConfig.d.ts +37 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-types/ts3.4/extensions/index.d.ts +14 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-types/ts3.4/index.d.ts +2 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-types/ts3.4/regionConfig/config.d.ts +8 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-types/ts3.4/regionConfig/getRealRegion.d.ts +1 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-types/ts3.4/regionConfig/index.d.ts +2 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-types/ts3.4/regionConfig/isFipsRegion.d.ts +1 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-types/ts3.4/regionConfig/resolveRegionConfig.d.ts +14 -0
- package/node_modules/@aws-sdk/region-config-resolver/package.json +61 -0
- package/node_modules/@aws-sdk/token-providers/README.md +20 -6
- package/node_modules/@aws-sdk/token-providers/dist-cjs/bundle/client-sso-oidc-browser.js +895 -0
- package/node_modules/@aws-sdk/token-providers/dist-cjs/bundle/client-sso-oidc-node.js +901 -0
- package/node_modules/@aws-sdk/token-providers/dist-cjs/getNewSsoOidcToken.js +2 -2
- package/node_modules/@aws-sdk/token-providers/dist-cjs/getSsoOidcClient.js +2 -2
- package/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +1 -0
- package/node_modules/@aws-sdk/token-providers/dist-es/bundle/client-sso-oidc-browser.js +872 -0
- package/node_modules/@aws-sdk/token-providers/dist-es/bundle/client-sso-oidc-node.js +878 -0
- 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-es/index.js +1 -0
- package/node_modules/@aws-sdk/token-providers/dist-types/bundle/client-sso-oidc-browser.d.ts +187 -0
- package/node_modules/@aws-sdk/token-providers/dist-types/bundle/client-sso-oidc-node.d.ts +187 -0
- package/node_modules/@aws-sdk/token-providers/dist-types/getNewSsoOidcToken.d.ts +1 -1
- package/node_modules/@aws-sdk/token-providers/dist-types/getSsoOidcClient.d.ts +1 -2
- package/node_modules/@aws-sdk/token-providers/dist-types/index.d.ts +1 -0
- package/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/bundle/client-sso-oidc-browser.d.ts +235 -0
- package/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/bundle/client-sso-oidc-node.d.ts +235 -0
- package/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/getNewSsoOidcToken.d.ts +1 -1
- package/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/getSsoOidcClient.d.ts +1 -2
- package/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/index.d.ts +1 -0
- package/node_modules/@aws-sdk/token-providers/package.json +42 -6
- package/node_modules/@aws-sdk/types/dist-cjs/auth.js +2 -5
- package/node_modules/@aws-sdk/types/dist-cjs/connection.js +2 -0
- package/node_modules/@aws-sdk/types/dist-cjs/endpoint.js +2 -5
- package/node_modules/@aws-sdk/types/dist-cjs/extensions/index.js +2 -0
- package/node_modules/@aws-sdk/types/dist-cjs/index.js +1 -0
- package/node_modules/@aws-sdk/types/dist-cjs/transfer.js +2 -6
- package/node_modules/@aws-sdk/types/dist-es/auth.js +1 -5
- package/node_modules/@aws-sdk/types/dist-es/connection.js +1 -0
- package/node_modules/@aws-sdk/types/dist-es/endpoint.js +1 -5
- package/node_modules/@aws-sdk/types/dist-es/extensions/index.js +1 -0
- package/node_modules/@aws-sdk/types/dist-es/index.js +1 -0
- package/node_modules/@aws-sdk/types/dist-es/transfer.js +1 -6
- package/node_modules/@aws-sdk/types/dist-types/abort.d.ts +1 -49
- package/node_modules/@aws-sdk/types/dist-types/auth.d.ts +1 -55
- package/node_modules/@aws-sdk/types/dist-types/blob/blob-types.d.ts +2 -22
- package/node_modules/@aws-sdk/types/dist-types/checksum.d.ts +1 -63
- package/node_modules/@aws-sdk/types/dist-types/client.d.ts +1 -25
- package/node_modules/@aws-sdk/types/dist-types/command.d.ts +1 -10
- package/node_modules/@aws-sdk/types/dist-types/connection.d.ts +1 -0
- package/node_modules/@aws-sdk/types/dist-types/crypto.d.ts +1 -60
- package/node_modules/@aws-sdk/types/dist-types/encode.d.ts +1 -19
- package/node_modules/@aws-sdk/types/dist-types/endpoint.d.ts +1 -77
- package/node_modules/@aws-sdk/types/dist-types/eventStream.d.ts +1 -108
- package/node_modules/@aws-sdk/types/dist-types/extensions/index.d.ts +8 -0
- package/node_modules/@aws-sdk/types/dist-types/http.d.ts +2 -87
- package/node_modules/@aws-sdk/types/dist-types/identity/AwsCredentialIdentity.d.ts +1 -23
- package/node_modules/@aws-sdk/types/dist-types/identity/Identity.d.ts +1 -15
- package/node_modules/@aws-sdk/types/dist-types/index.d.ts +1 -0
- package/node_modules/@aws-sdk/types/dist-types/logger.d.ts +2 -13
- package/node_modules/@aws-sdk/types/dist-types/middleware.d.ts +1 -475
- package/node_modules/@aws-sdk/types/dist-types/pagination.d.ts +1 -26
- package/node_modules/@aws-sdk/types/dist-types/profile.d.ts +1 -22
- package/node_modules/@aws-sdk/types/dist-types/response.d.ts +1 -40
- package/node_modules/@aws-sdk/types/dist-types/retry.d.ts +1 -128
- package/node_modules/@aws-sdk/types/dist-types/serde.d.ts +1 -104
- package/node_modules/@aws-sdk/types/dist-types/shapes.d.ts +1 -72
- package/node_modules/@aws-sdk/types/dist-types/signature.d.ts +1 -150
- package/node_modules/@aws-sdk/types/dist-types/stream.d.ts +1 -22
- package/node_modules/@aws-sdk/types/dist-types/transfer.d.ts +1 -33
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/abort.d.ts +1 -11
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/auth.d.ts +5 -17
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/blob/blob-types.d.ts +2 -7
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/checksum.d.ts +1 -12
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/client.d.ts +1 -52
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/command.d.ts +1 -17
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/connection.d.ts +6 -0
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/crypto.d.ts +7 -14
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/encode.d.ts +6 -19
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/endpoint.d.ts +9 -43
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/eventStream.d.ts +24 -77
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/extensions/index.d.ts +5 -0
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/http.d.ts +10 -26
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/AwsCredentialIdentity.d.ts +4 -8
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/Identity.d.ts +1 -6
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/index.d.ts +1 -0
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/logger.d.ts +2 -7
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/middleware.d.ts +40 -211
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/pagination.d.ts +1 -8
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/profile.d.ts +6 -7
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/response.d.ts +1 -11
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/retry.d.ts +12 -43
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/serde.d.ts +12 -46
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/shapes.d.ts +6 -24
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/signature.d.ts +15 -59
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/stream.d.ts +4 -16
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/transfer.d.ts +7 -26
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/uri.d.ts +1 -11
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/util.d.ts +14 -50
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/waiter.d.ts +1 -9
- package/node_modules/@aws-sdk/types/dist-types/uri.d.ts +1 -17
- package/node_modules/@aws-sdk/types/dist-types/util.d.ts +1 -155
- package/node_modules/@aws-sdk/types/dist-types/waiter.d.ts +1 -35
- package/node_modules/@aws-sdk/types/package.json +2 -1
- package/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js +1 -0
- package/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/partitions.json +11 -1
- package/node_modules/@aws-sdk/util-endpoints/dist-es/index.js +1 -0
- package/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partitions.json +11 -1
- package/node_modules/@aws-sdk/util-endpoints/dist-types/index.d.ts +1 -0
- package/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/index.d.ts +1 -0
- package/node_modules/@aws-sdk/util-endpoints/package.json +2 -2
- package/node_modules/@aws-sdk/util-user-agent-browser/package.json +3 -3
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +4 -4
- package/node_modules/@smithy/abort-controller/package.json +7 -9
- package/node_modules/@smithy/config-resolver/dist-types/endpointsConfig/resolveCustomEndpointsConfig.d.ts +1 -1
- package/node_modules/@smithy/config-resolver/dist-types/endpointsConfig/resolveEndpointsConfig.d.ts +1 -1
- package/node_modules/@smithy/config-resolver/dist-types/regionConfig/resolveRegionConfig.d.ts +1 -1
- package/node_modules/@smithy/config-resolver/dist-types/ts3.4/endpointsConfig/resolveCustomEndpointsConfig.d.ts +1 -1
- package/node_modules/@smithy/config-resolver/dist-types/ts3.4/endpointsConfig/resolveEndpointsConfig.d.ts +1 -1
- package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionConfig/resolveRegionConfig.d.ts +1 -1
- package/node_modules/@smithy/config-resolver/package.json +11 -12
- package/node_modules/@smithy/credential-provider-imds/package.json +10 -12
- package/node_modules/@smithy/eventstream-codec/package.json +9 -11
- package/node_modules/@smithy/fetch-http-handler/dist-cjs/fetch-http-handler.js +23 -9
- package/node_modules/@smithy/fetch-http-handler/dist-es/fetch-http-handler.js +18 -5
- package/node_modules/@smithy/fetch-http-handler/dist-types/fetch-http-handler.d.ts +22 -2
- package/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/fetch-http-handler.d.ts +22 -2
- package/node_modules/@smithy/fetch-http-handler/package.json +11 -13
- package/node_modules/@smithy/hash-node/package.json +9 -11
- package/node_modules/@smithy/invalid-dependency/package.json +7 -9
- package/node_modules/@smithy/is-array-buffer/package.json +1 -1
- package/node_modules/@smithy/middleware-content-length/package.json +10 -10
- package/node_modules/@smithy/middleware-endpoint/dist-types/index.d.ts +0 -3
- package/node_modules/@smithy/middleware-endpoint/dist-types/resolveEndpointConfig.d.ts +1 -1
- package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/index.d.ts +0 -3
- package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/resolveEndpointConfig.d.ts +1 -1
- package/node_modules/@smithy/middleware-endpoint/package.json +11 -12
- package/node_modules/@smithy/middleware-retry/README.md +7 -0
- package/node_modules/@smithy/middleware-retry/dist-types/configurations.d.ts +3 -0
- package/node_modules/@smithy/middleware-retry/dist-types/ts3.4/configurations.d.ts +3 -0
- package/node_modules/@smithy/middleware-retry/package.json +14 -14
- package/node_modules/@smithy/middleware-serde/package.json +9 -9
- package/node_modules/@smithy/middleware-stack/dist-cjs/MiddlewareStack.js +97 -35
- package/node_modules/@smithy/middleware-stack/dist-es/MiddlewareStack.js +95 -35
- package/node_modules/@smithy/middleware-stack/package.json +7 -9
- package/node_modules/@smithy/node-config-provider/package.json +9 -11
- package/node_modules/@smithy/node-http-handler/dist-cjs/node-http-handler.js +13 -0
- package/node_modules/@smithy/node-http-handler/dist-cjs/node-http2-handler.js +13 -0
- package/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +12 -0
- package/node_modules/@smithy/node-http-handler/dist-es/node-http2-handler.js +12 -0
- package/node_modules/@smithy/node-http-handler/dist-types/node-http-handler.d.ts +4 -2
- package/node_modules/@smithy/node-http-handler/dist-types/node-http2-handler.d.ts +4 -2
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http-handler.d.ts +4 -2
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-handler.d.ts +4 -2
- package/node_modules/@smithy/node-http-handler/package.json +10 -12
- package/node_modules/@smithy/property-provider/dist-cjs/chain.js +19 -13
- package/node_modules/@smithy/property-provider/dist-es/chain.js +19 -13
- package/node_modules/@smithy/property-provider/dist-types/CredentialsProviderError.d.ts +1 -1
- package/node_modules/@smithy/property-provider/dist-types/ProviderError.d.ts +1 -1
- package/node_modules/@smithy/property-provider/dist-types/TokenProviderError.d.ts +1 -1
- package/node_modules/@smithy/property-provider/dist-types/chain.d.ts +1 -1
- package/node_modules/@smithy/property-provider/dist-types/ts3.4/CredentialsProviderError.d.ts +1 -1
- package/node_modules/@smithy/property-provider/dist-types/ts3.4/ProviderError.d.ts +1 -1
- package/node_modules/@smithy/property-provider/dist-types/ts3.4/TokenProviderError.d.ts +1 -1
- package/node_modules/@smithy/property-provider/dist-types/ts3.4/chain.d.ts +1 -1
- package/node_modules/@smithy/property-provider/package.json +7 -9
- package/node_modules/@smithy/protocol-http/dist-cjs/extensions/httpExtensionConfiguration.js +27 -0
- package/node_modules/{@aws-sdk/client-sso-oidc/dist-cjs/models → @smithy/protocol-http/dist-cjs/extensions}/index.js +1 -1
- package/node_modules/@smithy/protocol-http/dist-cjs/index.js +1 -0
- package/node_modules/@smithy/protocol-http/dist-es/extensions/httpExtensionConfiguration.js +22 -0
- package/node_modules/@smithy/protocol-http/dist-es/extensions/index.js +1 -0
- package/node_modules/@smithy/protocol-http/dist-es/index.js +1 -0
- package/node_modules/@smithy/protocol-http/dist-types/extensions/httpExtensionConfiguration.d.ts +37 -0
- package/node_modules/@smithy/protocol-http/dist-types/extensions/index.d.ts +1 -0
- package/node_modules/@smithy/protocol-http/dist-types/httpHandler.d.ts +15 -1
- package/node_modules/@smithy/protocol-http/dist-types/index.d.ts +1 -0
- package/node_modules/@smithy/protocol-http/dist-types/ts3.4/extensions/httpExtensionConfiguration.d.ts +37 -0
- package/node_modules/@smithy/protocol-http/dist-types/ts3.4/extensions/index.d.ts +1 -0
- package/node_modules/@smithy/protocol-http/dist-types/ts3.4/httpHandler.d.ts +15 -1
- package/node_modules/@smithy/protocol-http/dist-types/ts3.4/index.d.ts +1 -0
- package/node_modules/@smithy/protocol-http/package.json +7 -9
- package/node_modules/@smithy/querystring-builder/package.json +7 -9
- package/node_modules/@smithy/querystring-parser/package.json +7 -9
- package/node_modules/@smithy/service-error-classification/package.json +9 -9
- package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getHomeDir.js +11 -1
- package/node_modules/@smithy/shared-ini-file-loader/dist-es/getHomeDir.js +11 -1
- package/node_modules/@smithy/shared-ini-file-loader/package.json +7 -9
- package/node_modules/@smithy/signature-v4/dist-cjs/getCanonicalQuery.js +1 -1
- package/node_modules/@smithy/signature-v4/dist-es/getCanonicalQuery.js +1 -1
- package/node_modules/@smithy/signature-v4/package.json +14 -16
- package/node_modules/@smithy/smithy-client/dist-cjs/extensions/checksum.js +36 -0
- package/node_modules/@smithy/smithy-client/dist-cjs/extensions/defaultExtensionConfiguration.js +20 -0
- package/node_modules/@smithy/smithy-client/dist-cjs/extensions/index.js +4 -0
- package/node_modules/@smithy/smithy-client/dist-cjs/extensions/retry.js +21 -0
- package/node_modules/@smithy/smithy-client/dist-cjs/index.js +1 -0
- package/node_modules/@smithy/smithy-client/dist-es/extensions/checksum.js +31 -0
- package/node_modules/@smithy/smithy-client/dist-es/extensions/defaultExtensionConfiguration.js +15 -0
- package/node_modules/@smithy/smithy-client/dist-es/extensions/index.js +1 -0
- package/node_modules/@smithy/smithy-client/dist-es/extensions/retry.js +16 -0
- package/node_modules/@smithy/smithy-client/dist-es/index.js +1 -0
- package/node_modules/@smithy/smithy-client/dist-types/client.d.ts +1 -1
- package/node_modules/@smithy/smithy-client/dist-types/defaults-mode.d.ts +1 -1
- package/node_modules/@smithy/smithy-client/dist-types/extensions/checksum.d.ts +25 -0
- package/node_modules/@smithy/smithy-client/dist-types/extensions/defaultExtensionConfiguration.d.ts +38 -0
- package/node_modules/@smithy/smithy-client/dist-types/extensions/index.d.ts +1 -0
- package/node_modules/@smithy/smithy-client/dist-types/extensions/retry.d.ts +15 -0
- package/node_modules/@smithy/smithy-client/dist-types/index.d.ts +1 -0
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/client.d.ts +1 -1
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/defaults-mode.d.ts +1 -1
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/extensions/checksum.d.ts +25 -0
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/extensions/defaultExtensionConfiguration.d.ts +38 -0
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/extensions/index.d.ts +1 -0
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/extensions/retry.d.ts +15 -0
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/index.d.ts +1 -0
- package/node_modules/@smithy/smithy-client/package.json +9 -11
- package/node_modules/@smithy/types/README.md +37 -0
- package/node_modules/@smithy/types/dist-cjs/blob/blob-payload-input-types.js +2 -0
- package/node_modules/@smithy/types/dist-cjs/downlevel-ts3.4/transform/type-transform.js +2 -0
- package/node_modules/@smithy/types/dist-cjs/extensions/checksum.js +44 -0
- package/node_modules/@smithy/types/dist-cjs/extensions/defaultClientConfiguration.js +16 -0
- package/node_modules/@smithy/types/dist-cjs/extensions/defaultExtensionConfiguration.js +2 -0
- package/node_modules/@smithy/types/dist-cjs/extensions/index.js +8 -0
- package/node_modules/@smithy/types/dist-cjs/extensions/retry.js +2 -0
- package/node_modules/@smithy/types/dist-cjs/externals-check/browser-externals-check.js +2 -0
- package/node_modules/@smithy/types/dist-cjs/index.js +7 -0
- package/node_modules/@smithy/types/dist-cjs/middleware.js +2 -0
- package/node_modules/@smithy/types/dist-cjs/streaming-payload/streaming-blob-common-types.js +2 -0
- package/node_modules/@smithy/types/dist-cjs/streaming-payload/streaming-blob-payload-input-types.js +2 -0
- package/node_modules/@smithy/types/dist-cjs/streaming-payload/streaming-blob-payload-output-types.js +2 -0
- package/node_modules/@smithy/types/dist-cjs/transform/client-method-transforms.js +2 -0
- package/node_modules/@smithy/types/dist-cjs/transform/client-payload-blob-type-narrow.js +2 -0
- package/node_modules/@smithy/types/dist-cjs/transform/exact.js +2 -0
- package/node_modules/@smithy/types/dist-cjs/transform/type-transform.js +2 -0
- package/node_modules/@smithy/types/dist-es/blob/blob-payload-input-types.js +1 -0
- package/node_modules/@smithy/types/dist-es/downlevel-ts3.4/transform/type-transform.js +1 -0
- package/node_modules/@smithy/types/dist-es/extensions/checksum.js +39 -0
- package/node_modules/@smithy/types/dist-es/extensions/defaultClientConfiguration.js +11 -0
- package/node_modules/@smithy/types/dist-es/extensions/defaultExtensionConfiguration.js +1 -0
- package/node_modules/@smithy/types/dist-es/extensions/index.js +3 -0
- package/node_modules/@smithy/types/dist-es/extensions/retry.js +1 -0
- package/node_modules/@smithy/types/dist-es/externals-check/browser-externals-check.js +1 -0
- package/node_modules/@smithy/types/dist-es/index.js +7 -0
- package/node_modules/@smithy/types/dist-es/middleware.js +1 -1
- package/node_modules/@smithy/types/dist-es/streaming-payload/streaming-blob-common-types.js +1 -0
- package/node_modules/@smithy/types/dist-es/streaming-payload/streaming-blob-payload-input-types.js +1 -0
- package/node_modules/@smithy/types/dist-es/streaming-payload/streaming-blob-payload-output-types.js +1 -0
- package/node_modules/@smithy/types/dist-es/transform/client-method-transforms.js +1 -0
- package/node_modules/@smithy/types/dist-es/transform/client-payload-blob-type-narrow.js +1 -0
- package/node_modules/@smithy/types/dist-es/transform/exact.js +1 -0
- package/node_modules/@smithy/types/dist-es/transform/type-transform.js +1 -0
- package/node_modules/@smithy/types/dist-types/blob/blob-payload-input-types.d.ts +41 -0
- package/node_modules/@smithy/types/dist-types/client.d.ts +21 -2
- package/node_modules/@smithy/types/dist-types/downlevel-ts3.4/transform/type-transform.d.ts +25 -0
- package/node_modules/@smithy/types/dist-types/extensions/checksum.d.ts +55 -0
- package/node_modules/@smithy/types/dist-types/extensions/defaultClientConfiguration.d.ts +33 -0
- package/node_modules/@smithy/types/dist-types/extensions/defaultExtensionConfiguration.d.ts +9 -0
- package/node_modules/@smithy/types/dist-types/extensions/index.d.ts +4 -0
- package/node_modules/@smithy/types/dist-types/extensions/retry.d.ts +18 -0
- package/node_modules/@smithy/types/dist-types/externals-check/browser-externals-check.d.ts +35 -0
- package/node_modules/@smithy/types/dist-types/index.d.ts +7 -0
- package/node_modules/@smithy/types/dist-types/middleware.d.ts +35 -0
- package/node_modules/@smithy/types/dist-types/pagination.d.ts +1 -1
- package/node_modules/@smithy/types/dist-types/response.d.ts +1 -1
- package/node_modules/@smithy/types/dist-types/streaming-payload/streaming-blob-common-types.d.ts +33 -0
- package/node_modules/@smithy/types/dist-types/streaming-payload/streaming-blob-payload-input-types.d.ts +62 -0
- package/node_modules/@smithy/types/dist-types/streaming-payload/streaming-blob-payload-output-types.d.ts +53 -0
- package/node_modules/@smithy/types/dist-types/transform/client-method-transforms.d.ts +26 -0
- package/node_modules/@smithy/types/dist-types/transform/client-payload-blob-type-narrow.d.ts +59 -0
- package/node_modules/@smithy/types/dist-types/transform/exact.d.ts +6 -0
- package/node_modules/@smithy/types/dist-types/transform/type-transform.d.ts +34 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/blob/blob-payload-input-types.d.ts +40 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/client.d.ts +26 -2
- package/node_modules/@smithy/types/dist-types/ts3.4/downlevel-ts3.4/transform/type-transform.d.ts +41 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/extensions/checksum.d.ts +55 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/extensions/defaultClientConfiguration.d.ts +33 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/extensions/defaultExtensionConfiguration.d.ts +9 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/extensions/index.d.ts +4 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/extensions/retry.d.ts +18 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/externals-check/browser-externals-check.d.ts +35 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/index.d.ts +7 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/middleware.d.ts +35 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/pagination.d.ts +1 -1
- package/node_modules/@smithy/types/dist-types/ts3.4/response.d.ts +1 -1
- package/node_modules/@smithy/types/dist-types/ts3.4/streaming-payload/streaming-blob-common-types.d.ts +33 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/streaming-payload/streaming-blob-payload-input-types.d.ts +61 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/streaming-payload/streaming-blob-payload-output-types.d.ts +52 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/transform/client-method-transforms.d.ts +26 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/transform/client-payload-blob-type-narrow.d.ts +64 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/transform/exact.d.ts +14 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/transform/type-transform.d.ts +41 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/util.d.ts +14 -0
- package/node_modules/@smithy/types/dist-types/util.d.ts +6 -0
- package/node_modules/@smithy/types/package.json +9 -10
- package/node_modules/@smithy/url-parser/package.json +8 -10
- package/node_modules/@smithy/util-base64/package.json +2 -2
- package/node_modules/@smithy/util-body-length-browser/package.json +1 -1
- package/node_modules/@smithy/util-body-length-node/dist-cjs/calculateBodyLength.js +3 -0
- package/node_modules/@smithy/util-body-length-node/dist-es/calculateBodyLength.js +3 -0
- package/node_modules/@smithy/util-body-length-node/package.json +1 -1
- package/node_modules/@smithy/util-buffer-from/package.json +2 -2
- package/node_modules/@smithy/util-config-provider/package.json +1 -1
- package/node_modules/@smithy/util-defaults-mode-browser/package.json +9 -11
- package/node_modules/@smithy/util-defaults-mode-node/package.json +12 -14
- package/node_modules/@smithy/util-hex-encoding/package.json +1 -1
- package/node_modules/@smithy/util-middleware/dist-cjs/getSmithyContext.js +6 -0
- package/node_modules/@smithy/util-middleware/dist-cjs/index.js +1 -0
- package/node_modules/@smithy/util-middleware/dist-es/getSmithyContext.js +2 -0
- package/node_modules/@smithy/util-middleware/dist-es/index.js +1 -0
- package/node_modules/@smithy/util-middleware/dist-types/getSmithyContext.d.ts +5 -0
- package/node_modules/@smithy/util-middleware/dist-types/index.d.ts +4 -0
- package/node_modules/@smithy/util-middleware/dist-types/ts3.4/getSmithyContext.d.ts +5 -0
- package/node_modules/@smithy/util-middleware/dist-types/ts3.4/index.d.ts +4 -0
- package/node_modules/@smithy/util-middleware/package.json +7 -9
- package/node_modules/@smithy/util-retry/README.md +2 -1
- package/node_modules/@smithy/util-retry/package.json +8 -10
- package/node_modules/@smithy/util-stream/README.md +0 -6
- package/node_modules/@smithy/util-stream/package.json +16 -15
- package/node_modules/@smithy/util-uri-escape/package.json +1 -1
- package/node_modules/@smithy/util-utf8/package.json +2 -2
- package/node_modules/@smithy/util-waiter/package.json +8 -10
- package/node_modules/tslib/package.json +2 -2
- package/node_modules/tslib/tslib.es6.js +28 -28
- package/node_modules/tslib/tslib.es6.mjs +1 -1
- package/node_modules/tslib/tslib.js +1 -1
- package/package.json +17 -19
- package/node_modules/@aws-sdk/client-sso-oidc/README.md +0 -268
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/SSOOIDC.js +0 -17
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/SSOOIDCClient.js +0 -38
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/commands/CreateTokenCommand.js +0 -46
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/commands/RegisterClientCommand.js +0 -46
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/commands/StartDeviceAuthorizationCommand.js +0 -46
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/commands/index.js +0 -6
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/endpoint/EndpointParameters.js +0 -12
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/endpoint/endpointResolver.js +0 -12
- 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 -10
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/models/SSOOIDCServiceException.js +0 -12
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/models/models_0.js +0 -184
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/protocols/Aws_restJson1.js +0 -469
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/runtimeConfig.browser.js +0 -38
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/runtimeConfig.js +0 -45
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/runtimeConfig.native.js +0 -15
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/runtimeConfig.shared.js +0 -21
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/SSOOIDC.js +0 -13
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/SSOOIDCClient.js +0 -34
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/commands/CreateTokenCommand.js +0 -42
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/commands/RegisterClientCommand.js +0 -42
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/commands/StartDeviceAuthorizationCommand.js +0 -42
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/commands/index.js +0 -3
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/endpoint/EndpointParameters.js +0 -8
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/endpoint/endpointResolver.js +0 -8
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/endpoint/ruleset.js +0 -4
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/index.js +0 -5
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/models/SSOOIDCServiceException.js +0 -8
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/models/index.js +0 -1
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/models/models_0.js +0 -169
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/protocols/Aws_restJson1.js +0 -460
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/runtimeConfig.browser.js +0 -33
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/runtimeConfig.js +0 -40
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/runtimeConfig.native.js +0 -11
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/runtimeConfig.shared.js +0 -17
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/SSOOIDC.d.ts +0 -70
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/SSOOIDCClient.d.ts +0 -197
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/CreateTokenCommand.d.ts +0 -129
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/RegisterClientCommand.d.ts +0 -98
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/StartDeviceAuthorizationCommand.d.ts +0 -102
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/index.d.ts +0 -3
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/endpoint/EndpointParameters.d.ts +0 -19
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/endpoint/endpointResolver.d.ts +0 -5
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/endpoint/ruleset.d.ts +0 -2
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/index.d.ts +0 -49
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/models/SSOOIDCServiceException.d.ts +0 -13
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/models/index.d.ts +0 -1
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/models/models_0.d.ts +0 -377
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/protocols/Aws_restJson1.d.ts +0 -29
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.browser.d.ts +0 -35
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.d.ts +0 -35
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.native.d.ts +0 -34
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.shared.d.ts +0 -18
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/SSOOIDC.d.ts +0 -56
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/SSOOIDCClient.d.ts +0 -122
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/commands/CreateTokenCommand.d.ts +0 -35
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/commands/RegisterClientCommand.d.ts +0 -38
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/commands/StartDeviceAuthorizationCommand.d.ts +0 -42
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/commands/index.d.ts +0 -3
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +0 -33
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/endpoint/endpointResolver.d.ts +0 -8
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/endpoint/ruleset.d.ts +0 -2
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/index.d.ts +0 -5
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/models/SSOOIDCServiceException.d.ts +0 -8
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/models/index.d.ts +0 -1
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/models/models_0.d.ts +0 -151
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -41
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.browser.d.ts +0 -65
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.d.ts +0 -65
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.native.d.ts +0 -56
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.shared.d.ts +0 -18
- package/node_modules/@aws-sdk/client-sso-oidc/package.json +0 -97
- package/node_modules/@aws-sdk/types/dist-es/connection/index.js +0 -3
- package/node_modules/@aws-sdk/types/dist-types/connection/config.d.ts +0 -7
- package/node_modules/@aws-sdk/types/dist-types/connection/index.d.ts +0 -3
- package/node_modules/@aws-sdk/types/dist-types/connection/manager.d.ts +0 -28
- package/node_modules/@aws-sdk/types/dist-types/connection/pool.d.ts +0 -24
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/connection/config.d.ts +0 -3
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/connection/index.d.ts +0 -3
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/connection/manager.d.ts +0 -14
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/connection/pool.d.ts +0 -9
- /package/node_modules/@aws-sdk/{types/dist-cjs/connection/config.js → client-codedeploy/dist-cjs/extensionConfiguration.js} +0 -0
- /package/node_modules/@aws-sdk/{types/dist-es/connection/config.js → client-codedeploy/dist-es/extensionConfiguration.js} +0 -0
- /package/node_modules/@aws-sdk/{types/dist-cjs/connection/manager.js → client-sso/dist-cjs/extensionConfiguration.js} +0 -0
- /package/node_modules/@aws-sdk/{types/dist-es/connection/manager.js → client-sso/dist-es/extensionConfiguration.js} +0 -0
- /package/node_modules/@aws-sdk/{types/dist-cjs/connection/pool.js → client-sts/dist-cjs/extensionConfiguration.js} +0 -0
- /package/node_modules/@aws-sdk/{types/dist-es/connection/pool.js → client-sts/dist-es/extensionConfiguration.js} +0 -0
|
@@ -0,0 +1,872 @@
|
|
|
1
|
+
import { getHostHeaderPlugin, resolveHostHeaderConfig } from "@aws-sdk/middleware-host-header";
|
|
2
|
+
import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
|
|
3
|
+
import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detection";
|
|
4
|
+
import { getUserAgentPlugin, resolveUserAgentConfig } from "@aws-sdk/middleware-user-agent";
|
|
5
|
+
import { resolveRegionConfig } from "@smithy/config-resolver";
|
|
6
|
+
import { getContentLengthPlugin } from "@smithy/middleware-content-length";
|
|
7
|
+
import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
|
|
8
|
+
import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
|
|
9
|
+
import { Client as __Client } from "@smithy/smithy-client";
|
|
10
|
+
var resolveClientEndpointParameters = (options) => {
|
|
11
|
+
return {
|
|
12
|
+
...options,
|
|
13
|
+
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
14
|
+
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
15
|
+
defaultSigningName: "awsssooidc"
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
var package_default = { version: "3.387.0" };
|
|
19
|
+
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
20
|
+
import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
|
|
21
|
+
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@smithy/config-resolver";
|
|
22
|
+
import { FetchHttpHandler as RequestHandler, streamCollector } from "@smithy/fetch-http-handler";
|
|
23
|
+
import { invalidProvider } from "@smithy/invalid-dependency";
|
|
24
|
+
import { calculateBodyLength } from "@smithy/util-body-length-browser";
|
|
25
|
+
import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@smithy/util-retry";
|
|
26
|
+
import { NoOpLogger } from "@smithy/smithy-client";
|
|
27
|
+
import { parseUrl } from "@smithy/url-parser";
|
|
28
|
+
import { fromBase64, toBase64 } from "@smithy/util-base64";
|
|
29
|
+
import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
|
|
30
|
+
import { resolveEndpoint } from "@aws-sdk/util-endpoints";
|
|
31
|
+
var p = "required";
|
|
32
|
+
var q = "fn";
|
|
33
|
+
var r = "argv";
|
|
34
|
+
var s = "ref";
|
|
35
|
+
var a = "PartitionResult";
|
|
36
|
+
var b = "tree";
|
|
37
|
+
var c = "error";
|
|
38
|
+
var d = "endpoint";
|
|
39
|
+
var e = { [p]: false, "type": "String" };
|
|
40
|
+
var f = { [p]: true, "default": false, "type": "Boolean" };
|
|
41
|
+
var g = { [s]: "Endpoint" };
|
|
42
|
+
var h = { [q]: "booleanEquals", [r]: [{ [s]: "UseFIPS" }, true] };
|
|
43
|
+
var i = { [q]: "booleanEquals", [r]: [{ [s]: "UseDualStack" }, true] };
|
|
44
|
+
var j = {};
|
|
45
|
+
var k = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: a }, "supportsFIPS"] }] };
|
|
46
|
+
var l = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: a }, "supportsDualStack"] }] };
|
|
47
|
+
var m = [g];
|
|
48
|
+
var n = [h];
|
|
49
|
+
var o = [i];
|
|
50
|
+
var _data = { version: "1.0", parameters: { Region: e, UseDualStack: f, UseFIPS: f, Endpoint: e }, rules: [{ conditions: [{ [q]: "aws.partition", [r]: [{ [s]: "Region" }], assign: a }], type: b, rules: [{ conditions: [{ [q]: "isSet", [r]: m }, { [q]: "parseURL", [r]: m, assign: "url" }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: g, properties: j, headers: j }, type: d }] }] }, { conditions: [h, i], type: b, rules: [{ conditions: [k, l], type: b, rules: [{ endpoint: { url: "https://oidc-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: j, headers: j }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [k], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://oidc-fips.{Region}.{PartitionResult#dnsSuffix}", properties: j, headers: j }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [l], type: b, rules: [{ endpoint: { url: "https://oidc.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: j, headers: j }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://oidc.{Region}.{PartitionResult#dnsSuffix}", properties: j, headers: j }, type: d }] }] };
|
|
51
|
+
var ruleSet = _data;
|
|
52
|
+
var defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
53
|
+
return resolveEndpoint(ruleSet, {
|
|
54
|
+
endpointParams,
|
|
55
|
+
logger: context.logger
|
|
56
|
+
});
|
|
57
|
+
};
|
|
58
|
+
var getRuntimeConfig = (config) => ({
|
|
59
|
+
apiVersion: "2019-06-10",
|
|
60
|
+
base64Decoder: config?.base64Decoder ?? fromBase64,
|
|
61
|
+
base64Encoder: config?.base64Encoder ?? toBase64,
|
|
62
|
+
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
63
|
+
endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
|
|
64
|
+
logger: config?.logger ?? new NoOpLogger(),
|
|
65
|
+
serviceId: config?.serviceId ?? "SSO OIDC",
|
|
66
|
+
urlParser: config?.urlParser ?? parseUrl,
|
|
67
|
+
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
68
|
+
utf8Encoder: config?.utf8Encoder ?? toUtf8
|
|
69
|
+
});
|
|
70
|
+
import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
|
|
71
|
+
import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-browser";
|
|
72
|
+
var getRuntimeConfig2 = (config) => {
|
|
73
|
+
const defaultsMode = resolveDefaultsModeConfig(config);
|
|
74
|
+
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
|
|
75
|
+
const clientSharedValues = getRuntimeConfig(config);
|
|
76
|
+
return {
|
|
77
|
+
...clientSharedValues,
|
|
78
|
+
...config,
|
|
79
|
+
runtime: "browser",
|
|
80
|
+
defaultsMode,
|
|
81
|
+
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
82
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_default.version }),
|
|
83
|
+
maxAttempts: config?.maxAttempts ?? DEFAULT_MAX_ATTEMPTS,
|
|
84
|
+
region: config?.region ?? invalidProvider("Region is missing"),
|
|
85
|
+
requestHandler: config?.requestHandler ?? new RequestHandler(defaultConfigProvider),
|
|
86
|
+
retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE),
|
|
87
|
+
sha256: config?.sha256 ?? Sha256,
|
|
88
|
+
streamCollector: config?.streamCollector ?? streamCollector,
|
|
89
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
90
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT))
|
|
91
|
+
};
|
|
92
|
+
};
|
|
93
|
+
var SSOOIDCClient = class extends __Client {
|
|
94
|
+
constructor(...[configuration]) {
|
|
95
|
+
const _config_0 = getRuntimeConfig2(configuration || {});
|
|
96
|
+
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
97
|
+
const _config_2 = resolveRegionConfig(_config_1);
|
|
98
|
+
const _config_3 = resolveEndpointConfig(_config_2);
|
|
99
|
+
const _config_4 = resolveRetryConfig(_config_3);
|
|
100
|
+
const _config_5 = resolveHostHeaderConfig(_config_4);
|
|
101
|
+
const _config_6 = resolveUserAgentConfig(_config_5);
|
|
102
|
+
super(_config_6);
|
|
103
|
+
this.config = _config_6;
|
|
104
|
+
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
105
|
+
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
106
|
+
this.middlewareStack.use(getHostHeaderPlugin(this.config));
|
|
107
|
+
this.middlewareStack.use(getLoggerPlugin(this.config));
|
|
108
|
+
this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
|
|
109
|
+
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
|
110
|
+
}
|
|
111
|
+
destroy() {
|
|
112
|
+
super.destroy();
|
|
113
|
+
}
|
|
114
|
+
};
|
|
115
|
+
import { createAggregatedClient } from "@smithy/smithy-client";
|
|
116
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
117
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
118
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
119
|
+
import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
|
|
120
|
+
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, map, take, withBaseException } from "@smithy/smithy-client";
|
|
121
|
+
import { ServiceException as __ServiceException } from "@smithy/smithy-client";
|
|
122
|
+
var SSOOIDCServiceException = class _SSOOIDCServiceException extends __ServiceException {
|
|
123
|
+
constructor(options) {
|
|
124
|
+
super(options);
|
|
125
|
+
Object.setPrototypeOf(this, _SSOOIDCServiceException.prototype);
|
|
126
|
+
}
|
|
127
|
+
};
|
|
128
|
+
var AccessDeniedException = class _AccessDeniedException extends SSOOIDCServiceException {
|
|
129
|
+
constructor(opts) {
|
|
130
|
+
super({
|
|
131
|
+
name: "AccessDeniedException",
|
|
132
|
+
$fault: "client",
|
|
133
|
+
...opts
|
|
134
|
+
});
|
|
135
|
+
this.name = "AccessDeniedException";
|
|
136
|
+
this.$fault = "client";
|
|
137
|
+
Object.setPrototypeOf(this, _AccessDeniedException.prototype);
|
|
138
|
+
this.error = opts.error;
|
|
139
|
+
this.error_description = opts.error_description;
|
|
140
|
+
}
|
|
141
|
+
};
|
|
142
|
+
var AuthorizationPendingException = class _AuthorizationPendingException extends SSOOIDCServiceException {
|
|
143
|
+
constructor(opts) {
|
|
144
|
+
super({
|
|
145
|
+
name: "AuthorizationPendingException",
|
|
146
|
+
$fault: "client",
|
|
147
|
+
...opts
|
|
148
|
+
});
|
|
149
|
+
this.name = "AuthorizationPendingException";
|
|
150
|
+
this.$fault = "client";
|
|
151
|
+
Object.setPrototypeOf(this, _AuthorizationPendingException.prototype);
|
|
152
|
+
this.error = opts.error;
|
|
153
|
+
this.error_description = opts.error_description;
|
|
154
|
+
}
|
|
155
|
+
};
|
|
156
|
+
var ExpiredTokenException = class _ExpiredTokenException extends SSOOIDCServiceException {
|
|
157
|
+
constructor(opts) {
|
|
158
|
+
super({
|
|
159
|
+
name: "ExpiredTokenException",
|
|
160
|
+
$fault: "client",
|
|
161
|
+
...opts
|
|
162
|
+
});
|
|
163
|
+
this.name = "ExpiredTokenException";
|
|
164
|
+
this.$fault = "client";
|
|
165
|
+
Object.setPrototypeOf(this, _ExpiredTokenException.prototype);
|
|
166
|
+
this.error = opts.error;
|
|
167
|
+
this.error_description = opts.error_description;
|
|
168
|
+
}
|
|
169
|
+
};
|
|
170
|
+
var InternalServerException = class _InternalServerException extends SSOOIDCServiceException {
|
|
171
|
+
constructor(opts) {
|
|
172
|
+
super({
|
|
173
|
+
name: "InternalServerException",
|
|
174
|
+
$fault: "server",
|
|
175
|
+
...opts
|
|
176
|
+
});
|
|
177
|
+
this.name = "InternalServerException";
|
|
178
|
+
this.$fault = "server";
|
|
179
|
+
Object.setPrototypeOf(this, _InternalServerException.prototype);
|
|
180
|
+
this.error = opts.error;
|
|
181
|
+
this.error_description = opts.error_description;
|
|
182
|
+
}
|
|
183
|
+
};
|
|
184
|
+
var InvalidClientException = class _InvalidClientException extends SSOOIDCServiceException {
|
|
185
|
+
constructor(opts) {
|
|
186
|
+
super({
|
|
187
|
+
name: "InvalidClientException",
|
|
188
|
+
$fault: "client",
|
|
189
|
+
...opts
|
|
190
|
+
});
|
|
191
|
+
this.name = "InvalidClientException";
|
|
192
|
+
this.$fault = "client";
|
|
193
|
+
Object.setPrototypeOf(this, _InvalidClientException.prototype);
|
|
194
|
+
this.error = opts.error;
|
|
195
|
+
this.error_description = opts.error_description;
|
|
196
|
+
}
|
|
197
|
+
};
|
|
198
|
+
var InvalidGrantException = class _InvalidGrantException extends SSOOIDCServiceException {
|
|
199
|
+
constructor(opts) {
|
|
200
|
+
super({
|
|
201
|
+
name: "InvalidGrantException",
|
|
202
|
+
$fault: "client",
|
|
203
|
+
...opts
|
|
204
|
+
});
|
|
205
|
+
this.name = "InvalidGrantException";
|
|
206
|
+
this.$fault = "client";
|
|
207
|
+
Object.setPrototypeOf(this, _InvalidGrantException.prototype);
|
|
208
|
+
this.error = opts.error;
|
|
209
|
+
this.error_description = opts.error_description;
|
|
210
|
+
}
|
|
211
|
+
};
|
|
212
|
+
var InvalidRequestException = class _InvalidRequestException extends SSOOIDCServiceException {
|
|
213
|
+
constructor(opts) {
|
|
214
|
+
super({
|
|
215
|
+
name: "InvalidRequestException",
|
|
216
|
+
$fault: "client",
|
|
217
|
+
...opts
|
|
218
|
+
});
|
|
219
|
+
this.name = "InvalidRequestException";
|
|
220
|
+
this.$fault = "client";
|
|
221
|
+
Object.setPrototypeOf(this, _InvalidRequestException.prototype);
|
|
222
|
+
this.error = opts.error;
|
|
223
|
+
this.error_description = opts.error_description;
|
|
224
|
+
}
|
|
225
|
+
};
|
|
226
|
+
var InvalidScopeException = class _InvalidScopeException extends SSOOIDCServiceException {
|
|
227
|
+
constructor(opts) {
|
|
228
|
+
super({
|
|
229
|
+
name: "InvalidScopeException",
|
|
230
|
+
$fault: "client",
|
|
231
|
+
...opts
|
|
232
|
+
});
|
|
233
|
+
this.name = "InvalidScopeException";
|
|
234
|
+
this.$fault = "client";
|
|
235
|
+
Object.setPrototypeOf(this, _InvalidScopeException.prototype);
|
|
236
|
+
this.error = opts.error;
|
|
237
|
+
this.error_description = opts.error_description;
|
|
238
|
+
}
|
|
239
|
+
};
|
|
240
|
+
var SlowDownException = class _SlowDownException extends SSOOIDCServiceException {
|
|
241
|
+
constructor(opts) {
|
|
242
|
+
super({
|
|
243
|
+
name: "SlowDownException",
|
|
244
|
+
$fault: "client",
|
|
245
|
+
...opts
|
|
246
|
+
});
|
|
247
|
+
this.name = "SlowDownException";
|
|
248
|
+
this.$fault = "client";
|
|
249
|
+
Object.setPrototypeOf(this, _SlowDownException.prototype);
|
|
250
|
+
this.error = opts.error;
|
|
251
|
+
this.error_description = opts.error_description;
|
|
252
|
+
}
|
|
253
|
+
};
|
|
254
|
+
var UnauthorizedClientException = class _UnauthorizedClientException extends SSOOIDCServiceException {
|
|
255
|
+
constructor(opts) {
|
|
256
|
+
super({
|
|
257
|
+
name: "UnauthorizedClientException",
|
|
258
|
+
$fault: "client",
|
|
259
|
+
...opts
|
|
260
|
+
});
|
|
261
|
+
this.name = "UnauthorizedClientException";
|
|
262
|
+
this.$fault = "client";
|
|
263
|
+
Object.setPrototypeOf(this, _UnauthorizedClientException.prototype);
|
|
264
|
+
this.error = opts.error;
|
|
265
|
+
this.error_description = opts.error_description;
|
|
266
|
+
}
|
|
267
|
+
};
|
|
268
|
+
var UnsupportedGrantTypeException = class _UnsupportedGrantTypeException extends SSOOIDCServiceException {
|
|
269
|
+
constructor(opts) {
|
|
270
|
+
super({
|
|
271
|
+
name: "UnsupportedGrantTypeException",
|
|
272
|
+
$fault: "client",
|
|
273
|
+
...opts
|
|
274
|
+
});
|
|
275
|
+
this.name = "UnsupportedGrantTypeException";
|
|
276
|
+
this.$fault = "client";
|
|
277
|
+
Object.setPrototypeOf(this, _UnsupportedGrantTypeException.prototype);
|
|
278
|
+
this.error = opts.error;
|
|
279
|
+
this.error_description = opts.error_description;
|
|
280
|
+
}
|
|
281
|
+
};
|
|
282
|
+
var InvalidClientMetadataException = class _InvalidClientMetadataException extends SSOOIDCServiceException {
|
|
283
|
+
constructor(opts) {
|
|
284
|
+
super({
|
|
285
|
+
name: "InvalidClientMetadataException",
|
|
286
|
+
$fault: "client",
|
|
287
|
+
...opts
|
|
288
|
+
});
|
|
289
|
+
this.name = "InvalidClientMetadataException";
|
|
290
|
+
this.$fault = "client";
|
|
291
|
+
Object.setPrototypeOf(this, _InvalidClientMetadataException.prototype);
|
|
292
|
+
this.error = opts.error;
|
|
293
|
+
this.error_description = opts.error_description;
|
|
294
|
+
}
|
|
295
|
+
};
|
|
296
|
+
var se_CreateTokenCommand = async (input, context) => {
|
|
297
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
298
|
+
const headers = {
|
|
299
|
+
"content-type": "application/json"
|
|
300
|
+
};
|
|
301
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}/token`;
|
|
302
|
+
let body;
|
|
303
|
+
body = JSON.stringify(take(input, {
|
|
304
|
+
clientId: [],
|
|
305
|
+
clientSecret: [],
|
|
306
|
+
code: [],
|
|
307
|
+
deviceCode: [],
|
|
308
|
+
grantType: [],
|
|
309
|
+
redirectUri: [],
|
|
310
|
+
refreshToken: [],
|
|
311
|
+
scope: (_) => _json(_)
|
|
312
|
+
}));
|
|
313
|
+
return new __HttpRequest({
|
|
314
|
+
protocol,
|
|
315
|
+
hostname,
|
|
316
|
+
port,
|
|
317
|
+
method: "POST",
|
|
318
|
+
headers,
|
|
319
|
+
path: resolvedPath,
|
|
320
|
+
body
|
|
321
|
+
});
|
|
322
|
+
};
|
|
323
|
+
var se_RegisterClientCommand = async (input, context) => {
|
|
324
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
325
|
+
const headers = {
|
|
326
|
+
"content-type": "application/json"
|
|
327
|
+
};
|
|
328
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}/client/register`;
|
|
329
|
+
let body;
|
|
330
|
+
body = JSON.stringify(take(input, {
|
|
331
|
+
clientName: [],
|
|
332
|
+
clientType: [],
|
|
333
|
+
scopes: (_) => _json(_)
|
|
334
|
+
}));
|
|
335
|
+
return new __HttpRequest({
|
|
336
|
+
protocol,
|
|
337
|
+
hostname,
|
|
338
|
+
port,
|
|
339
|
+
method: "POST",
|
|
340
|
+
headers,
|
|
341
|
+
path: resolvedPath,
|
|
342
|
+
body
|
|
343
|
+
});
|
|
344
|
+
};
|
|
345
|
+
var se_StartDeviceAuthorizationCommand = async (input, context) => {
|
|
346
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
347
|
+
const headers = {
|
|
348
|
+
"content-type": "application/json"
|
|
349
|
+
};
|
|
350
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}/device_authorization`;
|
|
351
|
+
let body;
|
|
352
|
+
body = JSON.stringify(take(input, {
|
|
353
|
+
clientId: [],
|
|
354
|
+
clientSecret: [],
|
|
355
|
+
startUrl: []
|
|
356
|
+
}));
|
|
357
|
+
return new __HttpRequest({
|
|
358
|
+
protocol,
|
|
359
|
+
hostname,
|
|
360
|
+
port,
|
|
361
|
+
method: "POST",
|
|
362
|
+
headers,
|
|
363
|
+
path: resolvedPath,
|
|
364
|
+
body
|
|
365
|
+
});
|
|
366
|
+
};
|
|
367
|
+
var de_CreateTokenCommand = async (output, context) => {
|
|
368
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
369
|
+
return de_CreateTokenCommandError(output, context);
|
|
370
|
+
}
|
|
371
|
+
const contents = map({
|
|
372
|
+
$metadata: deserializeMetadata(output)
|
|
373
|
+
});
|
|
374
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
375
|
+
const doc = take(data, {
|
|
376
|
+
accessToken: __expectString,
|
|
377
|
+
expiresIn: __expectInt32,
|
|
378
|
+
idToken: __expectString,
|
|
379
|
+
refreshToken: __expectString,
|
|
380
|
+
tokenType: __expectString
|
|
381
|
+
});
|
|
382
|
+
Object.assign(contents, doc);
|
|
383
|
+
return contents;
|
|
384
|
+
};
|
|
385
|
+
var de_CreateTokenCommandError = async (output, context) => {
|
|
386
|
+
const parsedOutput = {
|
|
387
|
+
...output,
|
|
388
|
+
body: await parseErrorBody(output.body, context)
|
|
389
|
+
};
|
|
390
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
391
|
+
switch (errorCode) {
|
|
392
|
+
case "AccessDeniedException":
|
|
393
|
+
case "com.amazonaws.ssooidc#AccessDeniedException":
|
|
394
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
395
|
+
case "AuthorizationPendingException":
|
|
396
|
+
case "com.amazonaws.ssooidc#AuthorizationPendingException":
|
|
397
|
+
throw await de_AuthorizationPendingExceptionRes(parsedOutput, context);
|
|
398
|
+
case "ExpiredTokenException":
|
|
399
|
+
case "com.amazonaws.ssooidc#ExpiredTokenException":
|
|
400
|
+
throw await de_ExpiredTokenExceptionRes(parsedOutput, context);
|
|
401
|
+
case "InternalServerException":
|
|
402
|
+
case "com.amazonaws.ssooidc#InternalServerException":
|
|
403
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
404
|
+
case "InvalidClientException":
|
|
405
|
+
case "com.amazonaws.ssooidc#InvalidClientException":
|
|
406
|
+
throw await de_InvalidClientExceptionRes(parsedOutput, context);
|
|
407
|
+
case "InvalidGrantException":
|
|
408
|
+
case "com.amazonaws.ssooidc#InvalidGrantException":
|
|
409
|
+
throw await de_InvalidGrantExceptionRes(parsedOutput, context);
|
|
410
|
+
case "InvalidRequestException":
|
|
411
|
+
case "com.amazonaws.ssooidc#InvalidRequestException":
|
|
412
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
413
|
+
case "InvalidScopeException":
|
|
414
|
+
case "com.amazonaws.ssooidc#InvalidScopeException":
|
|
415
|
+
throw await de_InvalidScopeExceptionRes(parsedOutput, context);
|
|
416
|
+
case "SlowDownException":
|
|
417
|
+
case "com.amazonaws.ssooidc#SlowDownException":
|
|
418
|
+
throw await de_SlowDownExceptionRes(parsedOutput, context);
|
|
419
|
+
case "UnauthorizedClientException":
|
|
420
|
+
case "com.amazonaws.ssooidc#UnauthorizedClientException":
|
|
421
|
+
throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
|
|
422
|
+
case "UnsupportedGrantTypeException":
|
|
423
|
+
case "com.amazonaws.ssooidc#UnsupportedGrantTypeException":
|
|
424
|
+
throw await de_UnsupportedGrantTypeExceptionRes(parsedOutput, context);
|
|
425
|
+
default:
|
|
426
|
+
const parsedBody = parsedOutput.body;
|
|
427
|
+
return throwDefaultError({
|
|
428
|
+
output,
|
|
429
|
+
parsedBody,
|
|
430
|
+
errorCode
|
|
431
|
+
});
|
|
432
|
+
}
|
|
433
|
+
};
|
|
434
|
+
var de_RegisterClientCommand = async (output, context) => {
|
|
435
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
436
|
+
return de_RegisterClientCommandError(output, context);
|
|
437
|
+
}
|
|
438
|
+
const contents = map({
|
|
439
|
+
$metadata: deserializeMetadata(output)
|
|
440
|
+
});
|
|
441
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
442
|
+
const doc = take(data, {
|
|
443
|
+
authorizationEndpoint: __expectString,
|
|
444
|
+
clientId: __expectString,
|
|
445
|
+
clientIdIssuedAt: __expectLong,
|
|
446
|
+
clientSecret: __expectString,
|
|
447
|
+
clientSecretExpiresAt: __expectLong,
|
|
448
|
+
tokenEndpoint: __expectString
|
|
449
|
+
});
|
|
450
|
+
Object.assign(contents, doc);
|
|
451
|
+
return contents;
|
|
452
|
+
};
|
|
453
|
+
var de_RegisterClientCommandError = async (output, context) => {
|
|
454
|
+
const parsedOutput = {
|
|
455
|
+
...output,
|
|
456
|
+
body: await parseErrorBody(output.body, context)
|
|
457
|
+
};
|
|
458
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
459
|
+
switch (errorCode) {
|
|
460
|
+
case "InternalServerException":
|
|
461
|
+
case "com.amazonaws.ssooidc#InternalServerException":
|
|
462
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
463
|
+
case "InvalidClientMetadataException":
|
|
464
|
+
case "com.amazonaws.ssooidc#InvalidClientMetadataException":
|
|
465
|
+
throw await de_InvalidClientMetadataExceptionRes(parsedOutput, context);
|
|
466
|
+
case "InvalidRequestException":
|
|
467
|
+
case "com.amazonaws.ssooidc#InvalidRequestException":
|
|
468
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
469
|
+
case "InvalidScopeException":
|
|
470
|
+
case "com.amazonaws.ssooidc#InvalidScopeException":
|
|
471
|
+
throw await de_InvalidScopeExceptionRes(parsedOutput, context);
|
|
472
|
+
default:
|
|
473
|
+
const parsedBody = parsedOutput.body;
|
|
474
|
+
return throwDefaultError({
|
|
475
|
+
output,
|
|
476
|
+
parsedBody,
|
|
477
|
+
errorCode
|
|
478
|
+
});
|
|
479
|
+
}
|
|
480
|
+
};
|
|
481
|
+
var de_StartDeviceAuthorizationCommand = async (output, context) => {
|
|
482
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
483
|
+
return de_StartDeviceAuthorizationCommandError(output, context);
|
|
484
|
+
}
|
|
485
|
+
const contents = map({
|
|
486
|
+
$metadata: deserializeMetadata(output)
|
|
487
|
+
});
|
|
488
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
489
|
+
const doc = take(data, {
|
|
490
|
+
deviceCode: __expectString,
|
|
491
|
+
expiresIn: __expectInt32,
|
|
492
|
+
interval: __expectInt32,
|
|
493
|
+
userCode: __expectString,
|
|
494
|
+
verificationUri: __expectString,
|
|
495
|
+
verificationUriComplete: __expectString
|
|
496
|
+
});
|
|
497
|
+
Object.assign(contents, doc);
|
|
498
|
+
return contents;
|
|
499
|
+
};
|
|
500
|
+
var de_StartDeviceAuthorizationCommandError = async (output, context) => {
|
|
501
|
+
const parsedOutput = {
|
|
502
|
+
...output,
|
|
503
|
+
body: await parseErrorBody(output.body, context)
|
|
504
|
+
};
|
|
505
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
506
|
+
switch (errorCode) {
|
|
507
|
+
case "InternalServerException":
|
|
508
|
+
case "com.amazonaws.ssooidc#InternalServerException":
|
|
509
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
510
|
+
case "InvalidClientException":
|
|
511
|
+
case "com.amazonaws.ssooidc#InvalidClientException":
|
|
512
|
+
throw await de_InvalidClientExceptionRes(parsedOutput, context);
|
|
513
|
+
case "InvalidRequestException":
|
|
514
|
+
case "com.amazonaws.ssooidc#InvalidRequestException":
|
|
515
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
516
|
+
case "SlowDownException":
|
|
517
|
+
case "com.amazonaws.ssooidc#SlowDownException":
|
|
518
|
+
throw await de_SlowDownExceptionRes(parsedOutput, context);
|
|
519
|
+
case "UnauthorizedClientException":
|
|
520
|
+
case "com.amazonaws.ssooidc#UnauthorizedClientException":
|
|
521
|
+
throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
|
|
522
|
+
default:
|
|
523
|
+
const parsedBody = parsedOutput.body;
|
|
524
|
+
return throwDefaultError({
|
|
525
|
+
output,
|
|
526
|
+
parsedBody,
|
|
527
|
+
errorCode
|
|
528
|
+
});
|
|
529
|
+
}
|
|
530
|
+
};
|
|
531
|
+
var throwDefaultError = withBaseException(SSOOIDCServiceException);
|
|
532
|
+
var de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
533
|
+
const contents = map({});
|
|
534
|
+
const data = parsedOutput.body;
|
|
535
|
+
const doc = take(data, {
|
|
536
|
+
error: __expectString,
|
|
537
|
+
error_description: __expectString
|
|
538
|
+
});
|
|
539
|
+
Object.assign(contents, doc);
|
|
540
|
+
const exception = new AccessDeniedException({
|
|
541
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
542
|
+
...contents
|
|
543
|
+
});
|
|
544
|
+
return __decorateServiceException(exception, parsedOutput.body);
|
|
545
|
+
};
|
|
546
|
+
var de_AuthorizationPendingExceptionRes = async (parsedOutput, context) => {
|
|
547
|
+
const contents = map({});
|
|
548
|
+
const data = parsedOutput.body;
|
|
549
|
+
const doc = take(data, {
|
|
550
|
+
error: __expectString,
|
|
551
|
+
error_description: __expectString
|
|
552
|
+
});
|
|
553
|
+
Object.assign(contents, doc);
|
|
554
|
+
const exception = new AuthorizationPendingException({
|
|
555
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
556
|
+
...contents
|
|
557
|
+
});
|
|
558
|
+
return __decorateServiceException(exception, parsedOutput.body);
|
|
559
|
+
};
|
|
560
|
+
var de_ExpiredTokenExceptionRes = async (parsedOutput, context) => {
|
|
561
|
+
const contents = map({});
|
|
562
|
+
const data = parsedOutput.body;
|
|
563
|
+
const doc = take(data, {
|
|
564
|
+
error: __expectString,
|
|
565
|
+
error_description: __expectString
|
|
566
|
+
});
|
|
567
|
+
Object.assign(contents, doc);
|
|
568
|
+
const exception = new ExpiredTokenException({
|
|
569
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
570
|
+
...contents
|
|
571
|
+
});
|
|
572
|
+
return __decorateServiceException(exception, parsedOutput.body);
|
|
573
|
+
};
|
|
574
|
+
var de_InternalServerExceptionRes = async (parsedOutput, context) => {
|
|
575
|
+
const contents = map({});
|
|
576
|
+
const data = parsedOutput.body;
|
|
577
|
+
const doc = take(data, {
|
|
578
|
+
error: __expectString,
|
|
579
|
+
error_description: __expectString
|
|
580
|
+
});
|
|
581
|
+
Object.assign(contents, doc);
|
|
582
|
+
const exception = new InternalServerException({
|
|
583
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
584
|
+
...contents
|
|
585
|
+
});
|
|
586
|
+
return __decorateServiceException(exception, parsedOutput.body);
|
|
587
|
+
};
|
|
588
|
+
var de_InvalidClientExceptionRes = async (parsedOutput, context) => {
|
|
589
|
+
const contents = map({});
|
|
590
|
+
const data = parsedOutput.body;
|
|
591
|
+
const doc = take(data, {
|
|
592
|
+
error: __expectString,
|
|
593
|
+
error_description: __expectString
|
|
594
|
+
});
|
|
595
|
+
Object.assign(contents, doc);
|
|
596
|
+
const exception = new InvalidClientException({
|
|
597
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
598
|
+
...contents
|
|
599
|
+
});
|
|
600
|
+
return __decorateServiceException(exception, parsedOutput.body);
|
|
601
|
+
};
|
|
602
|
+
var de_InvalidClientMetadataExceptionRes = async (parsedOutput, context) => {
|
|
603
|
+
const contents = map({});
|
|
604
|
+
const data = parsedOutput.body;
|
|
605
|
+
const doc = take(data, {
|
|
606
|
+
error: __expectString,
|
|
607
|
+
error_description: __expectString
|
|
608
|
+
});
|
|
609
|
+
Object.assign(contents, doc);
|
|
610
|
+
const exception = new InvalidClientMetadataException({
|
|
611
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
612
|
+
...contents
|
|
613
|
+
});
|
|
614
|
+
return __decorateServiceException(exception, parsedOutput.body);
|
|
615
|
+
};
|
|
616
|
+
var de_InvalidGrantExceptionRes = async (parsedOutput, context) => {
|
|
617
|
+
const contents = map({});
|
|
618
|
+
const data = parsedOutput.body;
|
|
619
|
+
const doc = take(data, {
|
|
620
|
+
error: __expectString,
|
|
621
|
+
error_description: __expectString
|
|
622
|
+
});
|
|
623
|
+
Object.assign(contents, doc);
|
|
624
|
+
const exception = new InvalidGrantException({
|
|
625
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
626
|
+
...contents
|
|
627
|
+
});
|
|
628
|
+
return __decorateServiceException(exception, parsedOutput.body);
|
|
629
|
+
};
|
|
630
|
+
var de_InvalidRequestExceptionRes = async (parsedOutput, context) => {
|
|
631
|
+
const contents = map({});
|
|
632
|
+
const data = parsedOutput.body;
|
|
633
|
+
const doc = take(data, {
|
|
634
|
+
error: __expectString,
|
|
635
|
+
error_description: __expectString
|
|
636
|
+
});
|
|
637
|
+
Object.assign(contents, doc);
|
|
638
|
+
const exception = new InvalidRequestException({
|
|
639
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
640
|
+
...contents
|
|
641
|
+
});
|
|
642
|
+
return __decorateServiceException(exception, parsedOutput.body);
|
|
643
|
+
};
|
|
644
|
+
var de_InvalidScopeExceptionRes = async (parsedOutput, context) => {
|
|
645
|
+
const contents = map({});
|
|
646
|
+
const data = parsedOutput.body;
|
|
647
|
+
const doc = take(data, {
|
|
648
|
+
error: __expectString,
|
|
649
|
+
error_description: __expectString
|
|
650
|
+
});
|
|
651
|
+
Object.assign(contents, doc);
|
|
652
|
+
const exception = new InvalidScopeException({
|
|
653
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
654
|
+
...contents
|
|
655
|
+
});
|
|
656
|
+
return __decorateServiceException(exception, parsedOutput.body);
|
|
657
|
+
};
|
|
658
|
+
var de_SlowDownExceptionRes = async (parsedOutput, context) => {
|
|
659
|
+
const contents = map({});
|
|
660
|
+
const data = parsedOutput.body;
|
|
661
|
+
const doc = take(data, {
|
|
662
|
+
error: __expectString,
|
|
663
|
+
error_description: __expectString
|
|
664
|
+
});
|
|
665
|
+
Object.assign(contents, doc);
|
|
666
|
+
const exception = new SlowDownException({
|
|
667
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
668
|
+
...contents
|
|
669
|
+
});
|
|
670
|
+
return __decorateServiceException(exception, parsedOutput.body);
|
|
671
|
+
};
|
|
672
|
+
var de_UnauthorizedClientExceptionRes = async (parsedOutput, context) => {
|
|
673
|
+
const contents = map({});
|
|
674
|
+
const data = parsedOutput.body;
|
|
675
|
+
const doc = take(data, {
|
|
676
|
+
error: __expectString,
|
|
677
|
+
error_description: __expectString
|
|
678
|
+
});
|
|
679
|
+
Object.assign(contents, doc);
|
|
680
|
+
const exception = new UnauthorizedClientException({
|
|
681
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
682
|
+
...contents
|
|
683
|
+
});
|
|
684
|
+
return __decorateServiceException(exception, parsedOutput.body);
|
|
685
|
+
};
|
|
686
|
+
var de_UnsupportedGrantTypeExceptionRes = async (parsedOutput, context) => {
|
|
687
|
+
const contents = map({});
|
|
688
|
+
const data = parsedOutput.body;
|
|
689
|
+
const doc = take(data, {
|
|
690
|
+
error: __expectString,
|
|
691
|
+
error_description: __expectString
|
|
692
|
+
});
|
|
693
|
+
Object.assign(contents, doc);
|
|
694
|
+
const exception = new UnsupportedGrantTypeException({
|
|
695
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
696
|
+
...contents
|
|
697
|
+
});
|
|
698
|
+
return __decorateServiceException(exception, parsedOutput.body);
|
|
699
|
+
};
|
|
700
|
+
var deserializeMetadata = (output) => ({
|
|
701
|
+
httpStatusCode: output.statusCode,
|
|
702
|
+
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
703
|
+
extendedRequestId: output.headers["x-amz-id-2"],
|
|
704
|
+
cfId: output.headers["x-amz-cf-id"]
|
|
705
|
+
});
|
|
706
|
+
var collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
707
|
+
var parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
708
|
+
if (encoded.length) {
|
|
709
|
+
return JSON.parse(encoded);
|
|
710
|
+
}
|
|
711
|
+
return {};
|
|
712
|
+
});
|
|
713
|
+
var parseErrorBody = async (errorBody, context) => {
|
|
714
|
+
const value = await parseBody(errorBody, context);
|
|
715
|
+
value.message = value.message ?? value.Message;
|
|
716
|
+
return value;
|
|
717
|
+
};
|
|
718
|
+
var loadRestJsonErrorCode = (output, data) => {
|
|
719
|
+
const findKey = (object, key) => Object.keys(object).find((k2) => k2.toLowerCase() === key.toLowerCase());
|
|
720
|
+
const sanitizeErrorCode = (rawValue) => {
|
|
721
|
+
let cleanValue = rawValue;
|
|
722
|
+
if (typeof cleanValue === "number") {
|
|
723
|
+
cleanValue = cleanValue.toString();
|
|
724
|
+
}
|
|
725
|
+
if (cleanValue.indexOf(",") >= 0) {
|
|
726
|
+
cleanValue = cleanValue.split(",")[0];
|
|
727
|
+
}
|
|
728
|
+
if (cleanValue.indexOf(":") >= 0) {
|
|
729
|
+
cleanValue = cleanValue.split(":")[0];
|
|
730
|
+
}
|
|
731
|
+
if (cleanValue.indexOf("#") >= 0) {
|
|
732
|
+
cleanValue = cleanValue.split("#")[1];
|
|
733
|
+
}
|
|
734
|
+
return cleanValue;
|
|
735
|
+
};
|
|
736
|
+
const headerKey = findKey(output.headers, "x-amzn-errortype");
|
|
737
|
+
if (headerKey !== void 0) {
|
|
738
|
+
return sanitizeErrorCode(output.headers[headerKey]);
|
|
739
|
+
}
|
|
740
|
+
if (data.code !== void 0) {
|
|
741
|
+
return sanitizeErrorCode(data.code);
|
|
742
|
+
}
|
|
743
|
+
if (data["__type"] !== void 0) {
|
|
744
|
+
return sanitizeErrorCode(data["__type"]);
|
|
745
|
+
}
|
|
746
|
+
};
|
|
747
|
+
var CreateTokenCommand = class _CreateTokenCommand extends $Command {
|
|
748
|
+
constructor(input) {
|
|
749
|
+
super();
|
|
750
|
+
this.input = input;
|
|
751
|
+
}
|
|
752
|
+
static getEndpointParameterInstructions() {
|
|
753
|
+
return {
|
|
754
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
755
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
756
|
+
Region: { type: "builtInParams", name: "region" },
|
|
757
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
|
|
758
|
+
};
|
|
759
|
+
}
|
|
760
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
761
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
762
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, _CreateTokenCommand.getEndpointParameterInstructions()));
|
|
763
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
764
|
+
const { logger } = configuration;
|
|
765
|
+
const clientName = "SSOOIDCClient";
|
|
766
|
+
const commandName = "CreateTokenCommand";
|
|
767
|
+
const handlerExecutionContext = {
|
|
768
|
+
logger,
|
|
769
|
+
clientName,
|
|
770
|
+
commandName,
|
|
771
|
+
inputFilterSensitiveLog: (_) => _,
|
|
772
|
+
outputFilterSensitiveLog: (_) => _
|
|
773
|
+
};
|
|
774
|
+
const { requestHandler } = configuration;
|
|
775
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
776
|
+
}
|
|
777
|
+
serialize(input, context) {
|
|
778
|
+
return se_CreateTokenCommand(input, context);
|
|
779
|
+
}
|
|
780
|
+
deserialize(output, context) {
|
|
781
|
+
return de_CreateTokenCommand(output, context);
|
|
782
|
+
}
|
|
783
|
+
};
|
|
784
|
+
import { getEndpointPlugin as getEndpointPlugin2 } from "@smithy/middleware-endpoint";
|
|
785
|
+
import { getSerdePlugin as getSerdePlugin2 } from "@smithy/middleware-serde";
|
|
786
|
+
import { Command as $Command2 } from "@smithy/smithy-client";
|
|
787
|
+
var RegisterClientCommand = class _RegisterClientCommand extends $Command2 {
|
|
788
|
+
constructor(input) {
|
|
789
|
+
super();
|
|
790
|
+
this.input = input;
|
|
791
|
+
}
|
|
792
|
+
static getEndpointParameterInstructions() {
|
|
793
|
+
return {
|
|
794
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
795
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
796
|
+
Region: { type: "builtInParams", name: "region" },
|
|
797
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
|
|
798
|
+
};
|
|
799
|
+
}
|
|
800
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
801
|
+
this.middlewareStack.use(getSerdePlugin2(configuration, this.serialize, this.deserialize));
|
|
802
|
+
this.middlewareStack.use(getEndpointPlugin2(configuration, _RegisterClientCommand.getEndpointParameterInstructions()));
|
|
803
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
804
|
+
const { logger } = configuration;
|
|
805
|
+
const clientName = "SSOOIDCClient";
|
|
806
|
+
const commandName = "RegisterClientCommand";
|
|
807
|
+
const handlerExecutionContext = {
|
|
808
|
+
logger,
|
|
809
|
+
clientName,
|
|
810
|
+
commandName,
|
|
811
|
+
inputFilterSensitiveLog: (_) => _,
|
|
812
|
+
outputFilterSensitiveLog: (_) => _
|
|
813
|
+
};
|
|
814
|
+
const { requestHandler } = configuration;
|
|
815
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
816
|
+
}
|
|
817
|
+
serialize(input, context) {
|
|
818
|
+
return se_RegisterClientCommand(input, context);
|
|
819
|
+
}
|
|
820
|
+
deserialize(output, context) {
|
|
821
|
+
return de_RegisterClientCommand(output, context);
|
|
822
|
+
}
|
|
823
|
+
};
|
|
824
|
+
import { getEndpointPlugin as getEndpointPlugin3 } from "@smithy/middleware-endpoint";
|
|
825
|
+
import { getSerdePlugin as getSerdePlugin3 } from "@smithy/middleware-serde";
|
|
826
|
+
import { Command as $Command3 } from "@smithy/smithy-client";
|
|
827
|
+
var StartDeviceAuthorizationCommand = class _StartDeviceAuthorizationCommand extends $Command3 {
|
|
828
|
+
constructor(input) {
|
|
829
|
+
super();
|
|
830
|
+
this.input = input;
|
|
831
|
+
}
|
|
832
|
+
static getEndpointParameterInstructions() {
|
|
833
|
+
return {
|
|
834
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
835
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
836
|
+
Region: { type: "builtInParams", name: "region" },
|
|
837
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
|
|
838
|
+
};
|
|
839
|
+
}
|
|
840
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
841
|
+
this.middlewareStack.use(getSerdePlugin3(configuration, this.serialize, this.deserialize));
|
|
842
|
+
this.middlewareStack.use(getEndpointPlugin3(configuration, _StartDeviceAuthorizationCommand.getEndpointParameterInstructions()));
|
|
843
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
844
|
+
const { logger } = configuration;
|
|
845
|
+
const clientName = "SSOOIDCClient";
|
|
846
|
+
const commandName = "StartDeviceAuthorizationCommand";
|
|
847
|
+
const handlerExecutionContext = {
|
|
848
|
+
logger,
|
|
849
|
+
clientName,
|
|
850
|
+
commandName,
|
|
851
|
+
inputFilterSensitiveLog: (_) => _,
|
|
852
|
+
outputFilterSensitiveLog: (_) => _
|
|
853
|
+
};
|
|
854
|
+
const { requestHandler } = configuration;
|
|
855
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
856
|
+
}
|
|
857
|
+
serialize(input, context) {
|
|
858
|
+
return se_StartDeviceAuthorizationCommand(input, context);
|
|
859
|
+
}
|
|
860
|
+
deserialize(output, context) {
|
|
861
|
+
return de_StartDeviceAuthorizationCommand(output, context);
|
|
862
|
+
}
|
|
863
|
+
};
|
|
864
|
+
var commands = {
|
|
865
|
+
CreateTokenCommand,
|
|
866
|
+
RegisterClientCommand,
|
|
867
|
+
StartDeviceAuthorizationCommand
|
|
868
|
+
};
|
|
869
|
+
var SSOOIDC = class extends SSOOIDCClient {
|
|
870
|
+
};
|
|
871
|
+
createAggregatedClient(commands, SSOOIDC);
|
|
872
|
+
export { AccessDeniedException, AuthorizationPendingException, CreateTokenCommand, ExpiredTokenException, InternalServerException, InvalidClientException, InvalidRequestException, InvalidScopeException, SSOOIDCClient, SlowDownException, UnauthorizedClientException, UnsupportedGrantTypeException };
|