@cdk8s/awscdk-resolver 0.0.54 → 0.0.56
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 +3 -3
- package/lib/resolve.js +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/README.md +88 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/CreateGeneratedTemplateCommand.js +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DeleteGeneratedTemplateCommand.js +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DescribeGeneratedTemplateCommand.js +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DescribeResourceScanCommand.js +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/GetGeneratedTemplateCommand.js +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/ListGeneratedTemplatesCommand.js +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/ListResourceScanRelatedResourcesCommand.js +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/ListResourceScanResourcesCommand.js +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/ListResourceScansCommand.js +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/StartResourceScanCommand.js +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/UpdateGeneratedTemplateCommand.js +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/index.js +1677 -73
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/models/models_1.js +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/pagination/ListGeneratedTemplatesPaginator.js +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/pagination/ListResourceScanRelatedResourcesPaginator.js +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/pagination/ListResourceScanResourcesPaginator.js +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/pagination/ListResourceScansPaginator.js +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/runtimeConfig.js +1 -2
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/CloudFormation.js +22 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/CreateGeneratedTemplateCommand.js +24 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DeleteGeneratedTemplateCommand.js +24 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeGeneratedTemplateCommand.js +24 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeResourceScanCommand.js +24 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/GetGeneratedTemplateCommand.js +24 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListGeneratedTemplatesCommand.js +24 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListResourceScanRelatedResourcesCommand.js +24 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListResourceScanResourcesCommand.js +24 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListResourceScansCommand.js +24 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/StartResourceScanCommand.js +24 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/UpdateGeneratedTemplateCommand.js +24 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/index.js +11 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/models/index.js +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/models/models_0.js +104 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/models/models_1.js +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/pagination/ListGeneratedTemplatesPaginator.js +4 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/pagination/ListResourceScanRelatedResourcesPaginator.js +4 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/pagination/ListResourceScanResourcesPaginator.js +4 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/pagination/ListResourceScansPaginator.js +4 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/pagination/index.js +4 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/protocols/Aws_query.js +1322 -92
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/runtimeConfig.js +1 -2
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/CloudFormation.d.ts +77 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/CloudFormationClient.d.ts +13 -2
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/CreateGeneratedTemplateCommand.d.ts +116 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DeleteGeneratedTemplateCommand.d.ts +75 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeGeneratedTemplateCommand.d.ts +135 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeResourceScanCommand.d.ts +168 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/GetGeneratedTemplateCommand.d.ts +100 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListGeneratedTemplatesCommand.d.ts +112 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListResourceScanRelatedResourcesCommand.d.ts +145 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListResourceScanResourcesCommand.d.ts +147 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListResourceScansCommand.d.ts +97 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/StartResourceScanCommand.d.ts +91 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/StopStackSetOperationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/TestTypeCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/UpdateGeneratedTemplateCommand.d.ts +156 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/UpdateStackCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/UpdateStackInstancesCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/UpdateStackSetCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/UpdateTerminationProtectionCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ValidateTemplateCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/index.d.ts +11 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/models/index.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/models/models_0.d.ts +4075 -3877
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/models/models_1.d.ts +974 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/pagination/ListGeneratedTemplatesPaginator.d.ts +7 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/pagination/ListResourceScanRelatedResourcesPaginator.d.ts +7 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/pagination/ListResourceScanResourcesPaginator.d.ts +7 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/pagination/ListResourceScansPaginator.d.ts +7 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/pagination/index.d.ts +4 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/protocols/Aws_query.d.ts +99 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/CloudFormation.d.ts +187 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/CloudFormationClient.d.ts +66 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/CreateGeneratedTemplateCommand.d.ts +30 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/DeleteGeneratedTemplateCommand.d.ts +26 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/DescribeGeneratedTemplateCommand.d.ts +30 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/DescribeResourceScanCommand.d.ts +30 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/GetGeneratedTemplateCommand.d.ts +30 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ListGeneratedTemplatesCommand.d.ts +30 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ListResourceScanRelatedResourcesCommand.d.ts +30 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ListResourceScanResourcesCommand.d.ts +30 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ListResourceScansCommand.d.ts +29 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/StartResourceScanCommand.d.ts +29 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/StopStackSetOperationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/TestTypeCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/UpdateGeneratedTemplateCommand.d.ts +30 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/UpdateStackCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/UpdateStackInstancesCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/UpdateStackSetCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/UpdateTerminationProtectionCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ValidateTemplateCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/index.d.ts +11 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/models/index.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/models/models_0.d.ts +250 -99
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/models/models_1.d.ts +132 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/pagination/ListGeneratedTemplatesPaginator.d.ts +11 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/pagination/ListResourceScanRelatedResourcesPaginator.d.ts +11 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/pagination/ListResourceScanResourcesPaginator.d.ts +11 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/pagination/ListResourceScansPaginator.d.ts +11 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/pagination/index.d.ts +4 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/protocols/Aws_query.d.ts +132 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.d.ts +6 -2
- package/node_modules/@aws-sdk/client-cloudformation/package.json +13 -13
- package/node_modules/@aws-sdk/client-sso/dist-cjs/index.js +14 -13
- package/node_modules/@aws-sdk/client-sso/package.json +10 -10
- package/node_modules/@aws-sdk/client-sso-oidc/LICENSE +201 -0
- package/node_modules/@aws-sdk/client-sso-oidc/README.md +274 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/SSOOIDC.js +1 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/SSOOIDCClient.js +1 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/commands/CreateTokenCommand.js +1 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/commands/CreateTokenWithIAMCommand.js +1 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/commands/RegisterClientCommand.js +1 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/commands/StartDeviceAuthorizationCommand.js +1 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/commands/index.js +1 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/credentialDefaultProvider.js +29 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/endpoint/EndpointParameters.js +1 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/endpoint/endpointResolver.js +12 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/endpoint/ruleset.js +7 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/extensionConfiguration.js +1 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/index.js +1115 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/models/SSOOIDCServiceException.js +1 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/models/index.js +1 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/models/models_0.js +1 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/protocols/Aws_restJson1.js +1 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/runtimeConfig.browser.js +39 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/runtimeConfig.js +49 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/runtimeConfig.native.js +15 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/runtimeConfig.shared.js +24 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/runtimeExtensions.js +1 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/SSOOIDC.js +15 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/SSOOIDCClient.js +38 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/commands/CreateTokenCommand.js +25 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/commands/CreateTokenWithIAMCommand.js +27 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/commands/RegisterClientCommand.js +25 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/commands/StartDeviceAuthorizationCommand.js +25 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/commands/index.js +4 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/credentialDefaultProvider.js +3 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/endpoint/EndpointParameters.js +14 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/endpoint/endpointResolver.js +8 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/endpoint/ruleset.js +4 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/extensionConfiguration.js +1 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/index.js +6 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/models/SSOOIDCServiceException.js +8 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/models/index.js +1 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/models/models_0.js +217 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/protocols/Aws_restJson1.js +553 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/runtimeConfig.browser.js +34 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/runtimeConfig.js +44 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/runtimeConfig.native.js +11 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/runtimeConfig.shared.js +20 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/runtimeExtensions.js +18 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/SSOOIDC.d.ts +75 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/SSOOIDCClient.d.ts +210 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/CreateTokenCommand.d.ts +161 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/CreateTokenWithIAMCommand.d.ts +243 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/RegisterClientCommand.d.ts +107 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/StartDeviceAuthorizationCommand.d.ts +110 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/index.d.ts +4 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/credentialDefaultProvider.d.ts +4 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/endpoint/EndpointParameters.d.ts +40 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/endpoint/ruleset.d.ts +2 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/extensionConfiguration.d.ts +8 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/index.d.ts +51 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/models/SSOOIDCServiceException.d.ts +13 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/models/index.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/models/models_0.d.ts +734 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/protocols/Aws_restJson1.d.ts +38 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.browser.d.ts +46 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.d.ts +46 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.native.d.ts +45 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.shared.d.ts +19 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeExtensions.d.ts +17 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/SSOOIDC.d.ts +73 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/SSOOIDCClient.d.ts +142 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/commands/CreateTokenCommand.d.ts +26 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/commands/CreateTokenWithIAMCommand.d.ts +30 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/commands/RegisterClientCommand.d.ts +29 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/commands/StartDeviceAuthorizationCommand.d.ts +30 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/commands/index.d.ts +4 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/credentialDefaultProvider.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +51 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/extensionConfiguration.d.ts +7 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/index.d.ts +9 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/models/SSOOIDCServiceException.d.ts +8 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/models/index.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/models/models_0.d.ts +201 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +53 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.browser.d.ts +97 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.d.ts +95 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.native.d.ts +88 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.shared.d.ts +19 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
- package/node_modules/@aws-sdk/client-sso-oidc/package.json +103 -0
- package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/AssumeRoleCommand.js +1 -29
- package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/AssumeRoleWithWebIdentityCommand.js +1 -29
- package/node_modules/@aws-sdk/client-sts/dist-cjs/credentialDefaultProvider.js +29 -0
- package/node_modules/@aws-sdk/client-sts/dist-cjs/defaultStsRoleAssumers.js +1 -78
- package/node_modules/@aws-sdk/client-sts/dist-cjs/index.js +1412 -72
- package/node_modules/@aws-sdk/client-sts/dist-cjs/models/STSServiceException.js +1 -12
- package/node_modules/@aws-sdk/client-sts/dist-cjs/models/models_0.js +1 -149
- package/node_modules/@aws-sdk/client-sts/dist-cjs/protocols/Aws_query.js +1 -1084
- package/node_modules/@aws-sdk/client-sts/dist-cjs/runtimeConfig.js +3 -4
- package/node_modules/@aws-sdk/client-sts/dist-es/credentialDefaultProvider.js +3 -0
- package/node_modules/@aws-sdk/client-sts/dist-es/runtimeConfig.js +3 -4
- package/node_modules/@aws-sdk/client-sts/dist-types/credentialDefaultProvider.d.ts +4 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/defaultRoleAssumers.d.ts +3 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.d.ts +8 -3
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/credentialDefaultProvider.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.d.ts +26 -14
- package/node_modules/@aws-sdk/client-sts/package.json +14 -12
- package/node_modules/@aws-sdk/credential-provider-env/dist-cjs/index.js +5 -3
- package/node_modules/@aws-sdk/credential-provider-env/dist-es/fromEnv.js +2 -1
- package/node_modules/@aws-sdk/credential-provider-env/dist-types/fromEnv.d.ts +4 -1
- package/node_modules/@aws-sdk/credential-provider-env/dist-types/ts3.4/fromEnv.d.ts +5 -1
- package/node_modules/@aws-sdk/credential-provider-env/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-http/README.md +10 -0
- package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/checkUrl.js +46 -0
- package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.browser.js +32 -0
- package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.js +65 -0
- package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttpTypes.js +2 -0
- package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/requestHelpers.js +59 -0
- package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/retry-wrapper.js +17 -0
- package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/index.browser.js +5 -0
- package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/index.js +5 -0
- package/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/checkUrl.js +42 -0
- package/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/fromHttp.browser.js +27 -0
- package/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/fromHttp.js +59 -0
- package/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/fromHttpTypes.js +1 -0
- package/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/requestHelpers.js +53 -0
- package/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/retry-wrapper.js +13 -0
- package/node_modules/@aws-sdk/credential-provider-http/dist-es/index.browser.js +1 -0
- package/node_modules/@aws-sdk/credential-provider-http/dist-es/index.js +1 -0
- package/node_modules/@aws-sdk/credential-provider-http/dist-types/fromHttp/checkUrl.d.ts +7 -0
- package/node_modules/@aws-sdk/credential-provider-http/dist-types/fromHttp/fromHttp.browser.d.ts +6 -0
- package/node_modules/@aws-sdk/credential-provider-http/dist-types/fromHttp/fromHttp.d.ts +6 -0
- package/node_modules/@aws-sdk/credential-provider-http/dist-types/fromHttp/fromHttpTypes.d.ts +69 -0
- package/node_modules/@aws-sdk/credential-provider-http/dist-types/fromHttp/requestHelpers.d.ts +11 -0
- package/node_modules/@aws-sdk/credential-provider-http/dist-types/fromHttp/retry-wrapper.d.ts +10 -0
- package/node_modules/@aws-sdk/credential-provider-http/dist-types/index.browser.d.ts +2 -0
- package/node_modules/@aws-sdk/credential-provider-http/dist-types/index.d.ts +2 -0
- package/node_modules/@aws-sdk/credential-provider-http/dist-types/ts3.4/fromHttp/checkUrl.d.ts +1 -0
- package/node_modules/@aws-sdk/credential-provider-http/dist-types/ts3.4/fromHttp/fromHttp.browser.d.ts +5 -0
- package/node_modules/@aws-sdk/credential-provider-http/dist-types/ts3.4/fromHttp/fromHttp.d.ts +5 -0
- package/node_modules/@aws-sdk/credential-provider-http/dist-types/ts3.4/fromHttp/fromHttpTypes.d.ts +18 -0
- package/node_modules/@aws-sdk/credential-provider-http/dist-types/ts3.4/fromHttp/requestHelpers.d.ts +7 -0
- package/node_modules/@aws-sdk/credential-provider-http/dist-types/ts3.4/fromHttp/retry-wrapper.d.ts +8 -0
- package/node_modules/@aws-sdk/credential-provider-http/dist-types/ts3.4/index.browser.d.ts +5 -0
- package/node_modules/@aws-sdk/credential-provider-http/dist-types/ts3.4/index.d.ts +5 -0
- package/node_modules/@aws-sdk/credential-provider-http/package.json +67 -0
- package/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js +71 -43
- package/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/loadSts.js +1 -0
- package/node_modules/@aws-sdk/credential-provider-ini/dist-es/fromIni.js +1 -0
- package/node_modules/@aws-sdk/credential-provider-ini/dist-es/loadSts.js +2 -0
- package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveAssumeRoleCredentials.js +4 -2
- package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveCredentialSource.js +4 -6
- package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveProcessCredentials.js +2 -3
- package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveProfileData.js +3 -3
- package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveSsoCredentials.js +10 -9
- package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveStaticCredentials.js +9 -6
- package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveWebIdentityCredentials.js +3 -3
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/fromIni.d.ts +8 -4
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/loadSts.d.ts +3 -0
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveAssumeRoleCredentials.d.ts +2 -2
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveCredentialSource.d.ts +2 -1
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveProcessCredentials.d.ts +1 -2
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveProfileData.d.ts +1 -1
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveSsoCredentials.d.ts +6 -3
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveStaticCredentials.d.ts +2 -1
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/fromIni.d.ts +8 -1
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/loadSts.d.ts +3 -0
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveAssumeRoleCredentials.d.ts +2 -2
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveCredentialSource.d.ts +4 -1
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveProcessCredentials.d.ts +1 -2
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveSsoCredentials.d.ts +6 -3
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveStaticCredentials.d.ts +3 -1
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +7 -6
- package/node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js +24 -2
- package/node_modules/@aws-sdk/credential-provider-node/dist-es/defaultProvider.js +11 -1
- package/node_modules/@aws-sdk/credential-provider-node/dist-es/remoteProvider.js +5 -2
- package/node_modules/@aws-sdk/credential-provider-node/dist-types/defaultProvider.d.ts +17 -14
- package/node_modules/@aws-sdk/credential-provider-node/dist-types/remoteProvider.d.ts +3 -0
- package/node_modules/@aws-sdk/credential-provider-node/dist-types/ts3.4/defaultProvider.d.ts +5 -2
- package/node_modules/@aws-sdk/credential-provider-node/package.json +8 -7
- package/node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js +2 -0
- package/node_modules/@aws-sdk/credential-provider-process/dist-es/fromProcess.js +1 -0
- package/node_modules/@aws-sdk/credential-provider-process/dist-types/fromProcess.d.ts +2 -1
- package/node_modules/@aws-sdk/credential-provider-process/dist-types/ts3.4/fromProcess.d.ts +4 -1
- package/node_modules/@aws-sdk/credential-provider-process/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js +31 -7
- package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/loadSso.js +1 -0
- package/node_modules/@aws-sdk/credential-provider-sso/dist-es/fromSSO.js +5 -1
- package/node_modules/@aws-sdk/credential-provider-sso/dist-es/loadSso.js +2 -0
- package/node_modules/@aws-sdk/credential-provider-sso/dist-es/resolveSSOCredentials.js +7 -5
- package/node_modules/@aws-sdk/credential-provider-sso/dist-types/fromSSO.d.ts +4 -2
- package/node_modules/@aws-sdk/credential-provider-sso/dist-types/loadSso.d.ts +3 -0
- package/node_modules/@aws-sdk/credential-provider-sso/dist-types/resolveSSOCredentials.d.ts +1 -1
- package/node_modules/@aws-sdk/credential-provider-sso/dist-types/ts3.4/fromSSO.d.ts +6 -2
- package/node_modules/@aws-sdk/credential-provider-sso/dist-types/ts3.4/loadSso.d.ts +6 -0
- package/node_modules/@aws-sdk/credential-provider-sso/dist-types/ts3.4/resolveSSOCredentials.d.ts +1 -0
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromTokenFile.js +5 -4
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromWebToken.js +7 -5
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/loadSts.js +5 -0
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-es/fromTokenFile.js +1 -0
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-es/fromWebToken.js +6 -5
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-es/loadSts.js +2 -0
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-types/fromTokenFile.d.ts +4 -3
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-types/fromWebToken.d.ts +14 -4
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-types/loadSts.d.ts +3 -0
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-types/ts3.4/fromTokenFile.d.ts +7 -2
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-types/ts3.4/fromWebToken.d.ts +12 -6
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-types/ts3.4/loadSts.d.ts +3 -0
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -2
- package/node_modules/@aws-sdk/middleware-host-header/dist-cjs/index.js +2 -2
- package/node_modules/@aws-sdk/middleware-host-header/package.json +2 -2
- package/node_modules/@aws-sdk/middleware-logger/dist-cjs/index.js +2 -2
- package/node_modules/@aws-sdk/middleware-logger/package.json +2 -2
- package/node_modules/@aws-sdk/middleware-recursion-detection/dist-cjs/index.js +2 -2
- package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +2 -2
- package/node_modules/@aws-sdk/middleware-signing/dist-cjs/index.js +3 -3
- package/node_modules/@aws-sdk/middleware-signing/package.json +2 -2
- package/node_modules/@aws-sdk/middleware-user-agent/dist-cjs/index.js +3 -3
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +3 -3
- package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/index.js +4 -4
- package/node_modules/@aws-sdk/region-config-resolver/package.json +2 -2
- package/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +27 -24
- package/node_modules/@aws-sdk/token-providers/dist-cjs/loadSsoOidc.js +1 -0
- package/node_modules/@aws-sdk/token-providers/dist-es/fromSso.js +1 -0
- package/node_modules/@aws-sdk/token-providers/dist-es/fromStatic.js +2 -1
- package/node_modules/@aws-sdk/token-providers/dist-es/getNewSsoOidcToken.js +3 -3
- package/node_modules/@aws-sdk/token-providers/dist-es/getSsoOidcClient.js +2 -2
- package/node_modules/@aws-sdk/token-providers/dist-es/index.js +0 -1
- package/node_modules/@aws-sdk/token-providers/dist-es/loadSsoOidc.js +2 -0
- package/node_modules/@aws-sdk/token-providers/dist-types/fromSso.d.ts +2 -2
- package/node_modules/@aws-sdk/token-providers/dist-types/fromStatic.d.ts +3 -3
- package/node_modules/@aws-sdk/token-providers/dist-types/getNewSsoOidcToken.d.ts +2 -1
- package/node_modules/@aws-sdk/token-providers/dist-types/getSsoOidcClient.d.ts +2 -1
- package/node_modules/@aws-sdk/token-providers/dist-types/index.d.ts +0 -1
- package/node_modules/@aws-sdk/token-providers/dist-types/loadSsoOidc.d.ts +2 -0
- package/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/fromSso.d.ts +7 -2
- package/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/fromStatic.d.ts +7 -2
- 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 -1
- package/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/index.d.ts +0 -1
- package/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/loadSsoOidc.d.ts +2 -0
- package/node_modules/@aws-sdk/token-providers/package.json +6 -43
- package/node_modules/@aws-sdk/types/dist-cjs/index.js +3 -171
- package/node_modules/@aws-sdk/types/dist-types/credentials.d.ts +15 -0
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/credentials.d.ts +4 -0
- package/node_modules/@aws-sdk/types/package.json +1 -1
- package/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js +4 -24
- package/node_modules/@aws-sdk/util-endpoints/package.json +2 -2
- package/node_modules/@aws-sdk/util-user-agent-browser/package.json +2 -2
- package/node_modules/@aws-sdk/util-user-agent-node/dist-cjs/index.js +1 -1
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +2 -2
- package/package.json +5 -5
- package/node_modules/@aws-sdk/token-providers/dist-cjs/bundle/client-sso-oidc-browser.js +0 -1032
- package/node_modules/@aws-sdk/token-providers/dist-cjs/bundle/client-sso-oidc-node.js +0 -1038
- package/node_modules/@aws-sdk/token-providers/dist-es/bundle/client-sso-oidc-browser.js +0 -1010
- package/node_modules/@aws-sdk/token-providers/dist-es/bundle/client-sso-oidc-node.js +0 -1017
- package/node_modules/@aws-sdk/token-providers/dist-types/bundle/client-sso-oidc-browser.d.ts +0 -191
- package/node_modules/@aws-sdk/token-providers/dist-types/bundle/client-sso-oidc-node.d.ts +0 -191
- package/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/bundle/client-sso-oidc-browser.d.ts +0 -235
- package/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/bundle/client-sso-oidc-node.d.ts +0 -235
@@ -0,0 +1,274 @@
|
|
1
|
+
<!-- generated file, do not edit directly -->
|
2
|
+
|
3
|
+
# @aws-sdk/client-sso-oidc
|
4
|
+
|
5
|
+
## Description
|
6
|
+
|
7
|
+
AWS SDK for JavaScript SSOOIDC Client for Node.js, Browser and React Native.
|
8
|
+
|
9
|
+
<p>IAM Identity Center OpenID Connect (OIDC) is a web service that enables a client (such as CLI
|
10
|
+
or a native application) to register with IAM Identity Center. The service also enables the client to
|
11
|
+
fetch the user’s access token upon successful authentication and authorization with
|
12
|
+
IAM Identity Center.</p>
|
13
|
+
<note>
|
14
|
+
<p>IAM Identity Center uses the <code>sso</code> and <code>identitystore</code> API namespaces.</p>
|
15
|
+
</note>
|
16
|
+
<p>
|
17
|
+
<b>Considerations for Using This Guide</b>
|
18
|
+
</p>
|
19
|
+
<p>Before you begin using this guide, we recommend that you first review the following
|
20
|
+
important information about how the IAM Identity Center OIDC service works.</p>
|
21
|
+
<ul>
|
22
|
+
<li>
|
23
|
+
<p>The IAM Identity Center OIDC service currently implements only the portions of the OAuth 2.0 Device
|
24
|
+
Authorization Grant standard (<a href="https://tools.ietf.org/html/rfc8628">https://tools.ietf.org/html/rfc8628</a>) that are necessary to enable single
|
25
|
+
sign-on authentication with the CLI. </p>
|
26
|
+
</li>
|
27
|
+
<li>
|
28
|
+
<p>With older versions of the CLI, the service only emits OIDC access tokens, so to
|
29
|
+
obtain a new token, users must explicitly re-authenticate. To access the OIDC flow that
|
30
|
+
supports token refresh and doesn’t require re-authentication, update to the latest CLI
|
31
|
+
version (1.27.10 for CLI V1 and 2.9.0 for CLI V2) with support for OIDC token refresh and
|
32
|
+
configurable IAM Identity Center session durations. For more information, see <a href="https://docs.aws.amazon.com/singlesignon/latest/userguide/configure-user-session.html">Configure Amazon Web Services access portal session duration </a>. </p>
|
33
|
+
</li>
|
34
|
+
<li>
|
35
|
+
<p>The access tokens provided by this service grant access to all Amazon Web Services account
|
36
|
+
entitlements assigned to an IAM Identity Center user, not just a particular application.</p>
|
37
|
+
</li>
|
38
|
+
<li>
|
39
|
+
<p>The documentation in this guide does not describe the mechanism to convert the access
|
40
|
+
token into Amazon Web Services Auth (“sigv4”) credentials for use with IAM-protected Amazon Web Services service
|
41
|
+
endpoints. For more information, see <a href="https://docs.aws.amazon.com/singlesignon/latest/PortalAPIReference/API_GetRoleCredentials.html">GetRoleCredentials</a> in the <i>IAM Identity Center Portal API Reference
|
42
|
+
Guide</i>.</p>
|
43
|
+
</li>
|
44
|
+
</ul>
|
45
|
+
<p>For general information about IAM Identity Center, see <a href="https://docs.aws.amazon.com/singlesignon/latest/userguide/what-is.html">What is
|
46
|
+
IAM Identity Center?</a> in the <i>IAM Identity Center User Guide</i>.</p>
|
47
|
+
|
48
|
+
## Installing
|
49
|
+
|
50
|
+
To install the this package, simply type add or install @aws-sdk/client-sso-oidc
|
51
|
+
using your favorite package manager:
|
52
|
+
|
53
|
+
- `npm install @aws-sdk/client-sso-oidc`
|
54
|
+
- `yarn add @aws-sdk/client-sso-oidc`
|
55
|
+
- `pnpm add @aws-sdk/client-sso-oidc`
|
56
|
+
|
57
|
+
## Getting Started
|
58
|
+
|
59
|
+
### Import
|
60
|
+
|
61
|
+
The AWS SDK is modulized by clients and commands.
|
62
|
+
To send a request, you only need to import the `SSOOIDCClient` and
|
63
|
+
the commands you need, for example `CreateTokenCommand`:
|
64
|
+
|
65
|
+
```js
|
66
|
+
// ES5 example
|
67
|
+
const { SSOOIDCClient, CreateTokenCommand } = require("@aws-sdk/client-sso-oidc");
|
68
|
+
```
|
69
|
+
|
70
|
+
```ts
|
71
|
+
// ES6+ example
|
72
|
+
import { SSOOIDCClient, CreateTokenCommand } from "@aws-sdk/client-sso-oidc";
|
73
|
+
```
|
74
|
+
|
75
|
+
### Usage
|
76
|
+
|
77
|
+
To send a request, you:
|
78
|
+
|
79
|
+
- Initiate client with configuration (e.g. credentials, region).
|
80
|
+
- Initiate command with input parameters.
|
81
|
+
- Call `send` operation on client with command object as input.
|
82
|
+
- If you are using a custom http handler, you may call `destroy()` to close open connections.
|
83
|
+
|
84
|
+
```js
|
85
|
+
// a client can be shared by different commands.
|
86
|
+
const client = new SSOOIDCClient({ region: "REGION" });
|
87
|
+
|
88
|
+
const params = {
|
89
|
+
/** input parameters */
|
90
|
+
};
|
91
|
+
const command = new CreateTokenCommand(params);
|
92
|
+
```
|
93
|
+
|
94
|
+
#### Async/await
|
95
|
+
|
96
|
+
We recommend using [await](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/await)
|
97
|
+
operator to wait for the promise returned by send operation as follows:
|
98
|
+
|
99
|
+
```js
|
100
|
+
// async/await.
|
101
|
+
try {
|
102
|
+
const data = await client.send(command);
|
103
|
+
// process data.
|
104
|
+
} catch (error) {
|
105
|
+
// error handling.
|
106
|
+
} finally {
|
107
|
+
// finally.
|
108
|
+
}
|
109
|
+
```
|
110
|
+
|
111
|
+
Async-await is clean, concise, intuitive, easy to debug and has better error handling
|
112
|
+
as compared to using Promise chains or callbacks.
|
113
|
+
|
114
|
+
#### Promises
|
115
|
+
|
116
|
+
You can also use [Promise chaining](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Using_promises#chaining)
|
117
|
+
to execute send operation.
|
118
|
+
|
119
|
+
```js
|
120
|
+
client.send(command).then(
|
121
|
+
(data) => {
|
122
|
+
// process data.
|
123
|
+
},
|
124
|
+
(error) => {
|
125
|
+
// error handling.
|
126
|
+
}
|
127
|
+
);
|
128
|
+
```
|
129
|
+
|
130
|
+
Promises can also be called using `.catch()` and `.finally()` as follows:
|
131
|
+
|
132
|
+
```js
|
133
|
+
client
|
134
|
+
.send(command)
|
135
|
+
.then((data) => {
|
136
|
+
// process data.
|
137
|
+
})
|
138
|
+
.catch((error) => {
|
139
|
+
// error handling.
|
140
|
+
})
|
141
|
+
.finally(() => {
|
142
|
+
// finally.
|
143
|
+
});
|
144
|
+
```
|
145
|
+
|
146
|
+
#### Callbacks
|
147
|
+
|
148
|
+
We do not recommend using callbacks because of [callback hell](http://callbackhell.com/),
|
149
|
+
but they are supported by the send operation.
|
150
|
+
|
151
|
+
```js
|
152
|
+
// callbacks.
|
153
|
+
client.send(command, (err, data) => {
|
154
|
+
// process err and data.
|
155
|
+
});
|
156
|
+
```
|
157
|
+
|
158
|
+
#### v2 compatible style
|
159
|
+
|
160
|
+
The client can also send requests using v2 compatible style.
|
161
|
+
However, it results in a bigger bundle size and may be dropped in next major version. More details in the blog post
|
162
|
+
on [modular packages in AWS SDK for JavaScript](https://aws.amazon.com/blogs/developer/modular-packages-in-aws-sdk-for-javascript/)
|
163
|
+
|
164
|
+
```ts
|
165
|
+
import * as AWS from "@aws-sdk/client-sso-oidc";
|
166
|
+
const client = new AWS.SSOOIDC({ region: "REGION" });
|
167
|
+
|
168
|
+
// async/await.
|
169
|
+
try {
|
170
|
+
const data = await client.createToken(params);
|
171
|
+
// process data.
|
172
|
+
} catch (error) {
|
173
|
+
// error handling.
|
174
|
+
}
|
175
|
+
|
176
|
+
// Promises.
|
177
|
+
client
|
178
|
+
.createToken(params)
|
179
|
+
.then((data) => {
|
180
|
+
// process data.
|
181
|
+
})
|
182
|
+
.catch((error) => {
|
183
|
+
// error handling.
|
184
|
+
});
|
185
|
+
|
186
|
+
// callbacks.
|
187
|
+
client.createToken(params, (err, data) => {
|
188
|
+
// process err and data.
|
189
|
+
});
|
190
|
+
```
|
191
|
+
|
192
|
+
### Troubleshooting
|
193
|
+
|
194
|
+
When the service returns an exception, the error will include the exception information,
|
195
|
+
as well as response metadata (e.g. request id).
|
196
|
+
|
197
|
+
```js
|
198
|
+
try {
|
199
|
+
const data = await client.send(command);
|
200
|
+
// process data.
|
201
|
+
} catch (error) {
|
202
|
+
const { requestId, cfId, extendedRequestId } = error.$metadata;
|
203
|
+
console.log({ requestId, cfId, extendedRequestId });
|
204
|
+
/**
|
205
|
+
* The keys within exceptions are also parsed.
|
206
|
+
* You can access them by specifying exception names:
|
207
|
+
* if (error.name === 'SomeServiceException') {
|
208
|
+
* const value = error.specialKeyInException;
|
209
|
+
* }
|
210
|
+
*/
|
211
|
+
}
|
212
|
+
```
|
213
|
+
|
214
|
+
## Getting Help
|
215
|
+
|
216
|
+
Please use these community resources for getting help.
|
217
|
+
We use the GitHub issues for tracking bugs and feature requests, but have limited bandwidth to address them.
|
218
|
+
|
219
|
+
- Visit [Developer Guide](https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/welcome.html)
|
220
|
+
or [API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/index.html).
|
221
|
+
- Check out the blog posts tagged with [`aws-sdk-js`](https://aws.amazon.com/blogs/developer/tag/aws-sdk-js/)
|
222
|
+
on AWS Developer Blog.
|
223
|
+
- Ask a question on [StackOverflow](https://stackoverflow.com/questions/tagged/aws-sdk-js) and tag it with `aws-sdk-js`.
|
224
|
+
- Join the AWS JavaScript community on [gitter](https://gitter.im/aws/aws-sdk-js-v3).
|
225
|
+
- If it turns out that you may have found a bug, please [open an issue](https://github.com/aws/aws-sdk-js-v3/issues/new/choose).
|
226
|
+
|
227
|
+
To test your universal JavaScript code in Node.js, browser and react-native environments,
|
228
|
+
visit our [code samples repo](https://github.com/aws-samples/aws-sdk-js-tests).
|
229
|
+
|
230
|
+
## Contributing
|
231
|
+
|
232
|
+
This client code is generated automatically. Any modifications will be overwritten the next time the `@aws-sdk/client-sso-oidc` package is updated.
|
233
|
+
To contribute to client you can check our [generate clients scripts](https://github.com/aws/aws-sdk-js-v3/tree/main/scripts/generate-clients).
|
234
|
+
|
235
|
+
## License
|
236
|
+
|
237
|
+
This SDK is distributed under the
|
238
|
+
[Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0),
|
239
|
+
see LICENSE for more information.
|
240
|
+
|
241
|
+
## Client Commands (Operations List)
|
242
|
+
|
243
|
+
<details>
|
244
|
+
<summary>
|
245
|
+
CreateToken
|
246
|
+
</summary>
|
247
|
+
|
248
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/sso-oidc/command/CreateTokenCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-sso-oidc/Interface/CreateTokenCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-sso-oidc/Interface/CreateTokenCommandOutput/)
|
249
|
+
|
250
|
+
</details>
|
251
|
+
<details>
|
252
|
+
<summary>
|
253
|
+
CreateTokenWithIAM
|
254
|
+
</summary>
|
255
|
+
|
256
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/sso-oidc/command/CreateTokenWithIAMCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-sso-oidc/Interface/CreateTokenWithIAMCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-sso-oidc/Interface/CreateTokenWithIAMCommandOutput/)
|
257
|
+
|
258
|
+
</details>
|
259
|
+
<details>
|
260
|
+
<summary>
|
261
|
+
RegisterClient
|
262
|
+
</summary>
|
263
|
+
|
264
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/sso-oidc/command/RegisterClientCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-sso-oidc/Interface/RegisterClientCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-sso-oidc/Interface/RegisterClientCommandOutput/)
|
265
|
+
|
266
|
+
</details>
|
267
|
+
<details>
|
268
|
+
<summary>
|
269
|
+
StartDeviceAuthorization
|
270
|
+
</summary>
|
271
|
+
|
272
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/sso-oidc/command/StartDeviceAuthorizationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-sso-oidc/Interface/StartDeviceAuthorizationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-sso-oidc/Interface/StartDeviceAuthorizationCommandOutput/)
|
273
|
+
|
274
|
+
</details>
|
@@ -0,0 +1 @@
|
|
1
|
+
module.exports = require("./index.js");
|
@@ -0,0 +1 @@
|
|
1
|
+
module.exports = require("./index.js");
|
@@ -0,0 +1 @@
|
|
1
|
+
module.exports = require("../index.js");
|
@@ -0,0 +1 @@
|
|
1
|
+
module.exports = require("../index.js");
|
@@ -0,0 +1 @@
|
|
1
|
+
module.exports = require("../index.js");
|
package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/commands/StartDeviceAuthorizationCommand.js
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
module.exports = require("../index.js");
|
@@ -0,0 +1 @@
|
|
1
|
+
module.exports = require("../index.js");
|
@@ -0,0 +1,29 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
|
+
if (k2 === undefined) k2 = k;
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
+
}
|
8
|
+
Object.defineProperty(o, k2, desc);
|
9
|
+
}) : (function(o, m, k, k2) {
|
10
|
+
if (k2 === undefined) k2 = k;
|
11
|
+
o[k2] = m[k];
|
12
|
+
}));
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
15
|
+
}) : function(o, v) {
|
16
|
+
o["default"] = v;
|
17
|
+
});
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
19
|
+
if (mod && mod.__esModule) return mod;
|
20
|
+
var result = {};
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
22
|
+
__setModuleDefault(result, mod);
|
23
|
+
return result;
|
24
|
+
};
|
25
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
26
|
+
exports.defaultProvider = void 0;
|
27
|
+
exports.defaultProvider = ((input) => {
|
28
|
+
return () => Promise.resolve().then(() => __importStar(require("@aws-sdk/credential-provider-node"))).then(({ defaultProvider }) => defaultProvider(input)());
|
29
|
+
});
|
@@ -0,0 +1 @@
|
|
1
|
+
module.exports = require("../index.js");
|
@@ -0,0 +1,12 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.defaultEndpointResolver = void 0;
|
4
|
+
const util_endpoints_1 = require("@smithy/util-endpoints");
|
5
|
+
const ruleset_1 = require("./ruleset");
|
6
|
+
const defaultEndpointResolver = (endpointParams, context = {}) => {
|
7
|
+
return (0, util_endpoints_1.resolveEndpoint)(ruleset_1.ruleSet, {
|
8
|
+
endpointParams: endpointParams,
|
9
|
+
logger: context.logger,
|
10
|
+
});
|
11
|
+
};
|
12
|
+
exports.defaultEndpointResolver = defaultEndpointResolver;
|
@@ -0,0 +1,7 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.ruleSet = void 0;
|
4
|
+
const u = "required", v = "fn", w = "argv", x = "ref";
|
5
|
+
const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = "getAttr", i = { [u]: false, "type": "String" }, j = { [u]: true, "default": false, "type": "Boolean" }, k = { [x]: "Endpoint" }, l = { [v]: c, [w]: [{ [x]: "UseFIPS" }, true] }, m = { [v]: c, [w]: [{ [x]: "UseDualStack" }, true] }, n = {}, o = { [v]: h, [w]: [{ [x]: g }, "supportsFIPS"] }, p = { [x]: g }, q = { [v]: c, [w]: [true, { [v]: h, [w]: [p, "supportsDualStack"] }] }, r = [l], s = [m], t = [{ [x]: "Region" }];
|
6
|
+
const _data = { version: "1.0", parameters: { Region: i, UseDualStack: j, UseFIPS: j, Endpoint: i }, rules: [{ conditions: [{ [v]: b, [w]: [k] }], rules: [{ conditions: r, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { conditions: s, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { url: k, properties: n, headers: n }, type: e }], type: f }, { conditions: [{ [v]: b, [w]: t }], rules: [{ conditions: [{ [v]: "aws.partition", [w]: t, assign: g }], rules: [{ conditions: [l, m], rules: [{ conditions: [{ [v]: c, [w]: [a, o] }, q], rules: [{ endpoint: { url: "https://oidc-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: n, headers: n }, type: e }], type: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f }, { conditions: r, rules: [{ conditions: [{ [v]: c, [w]: [o, a] }], rules: [{ conditions: [{ [v]: "stringEquals", [w]: [{ [v]: h, [w]: [p, "name"] }, "aws-us-gov"] }], endpoint: { url: "https://oidc.{Region}.amazonaws.com", properties: n, headers: n }, type: e }, { endpoint: { url: "https://oidc-fips.{Region}.{PartitionResult#dnsSuffix}", properties: n, headers: n }, type: e }], type: f }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f }, { conditions: s, rules: [{ conditions: [q], rules: [{ endpoint: { url: "https://oidc.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: n, headers: n }, type: e }], type: f }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f }, { endpoint: { url: "https://oidc.{Region}.{PartitionResult#dnsSuffix}", properties: n, headers: n }, type: e }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }] };
|
7
|
+
exports.ruleSet = _data;
|
@@ -0,0 +1 @@
|
|
1
|
+
module.exports = require("./index.js");
|