@jjrawlins/cdk-iam-policy-builder-helper 0.0.86 → 0.0.88
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/cdkiampolicybuilderhelper/jsii/jsii.go +2 -2
- package/cdkiampolicybuilderhelper/version +1 -1
- package/lib/constructs/Actions.d.ts +92 -0
- package/lib/constructs/Actions.js +93 -1
- package/lib/constructs/ManagedPolicies.d.ts +20 -0
- package/lib/constructs/ManagedPolicies.js +21 -1
- package/methods_list.txt +90 -0
- package/node_modules/@aws-sdk/client-iam/README.md +88 -0
- package/node_modules/@aws-sdk/client-iam/dist-cjs/index.js +623 -216
- package/node_modules/@aws-sdk/client-iam/dist-es/IAM.js +22 -0
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/AcceptDelegationRequestCommand.js +16 -0
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/AssociateDelegationRequestCommand.js +16 -0
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/DisableOutboundWebIdentityFederationCommand.js +16 -0
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/EnableOutboundWebIdentityFederationCommand.js +16 -0
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/GetDelegationRequestCommand.js +16 -0
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/GetHumanReadableSummaryCommand.js +16 -0
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/GetOutboundWebIdentityFederationInfoCommand.js +16 -0
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/ListDelegationRequestsCommand.js +16 -0
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/RejectDelegationRequestCommand.js +16 -0
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/SendDelegationTokenCommand.js +16 -0
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/UpdateDelegationRequestCommand.js +16 -0
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/index.js +11 -0
- package/node_modules/@aws-sdk/client-iam/dist-es/index.js +2 -1
- package/node_modules/@aws-sdk/client-iam/dist-es/models/enums.js +176 -0
- package/node_modules/@aws-sdk/client-iam/dist-es/models/errors.js +431 -0
- package/node_modules/@aws-sdk/client-iam/dist-es/models/models_0.js +1 -446
- package/node_modules/@aws-sdk/client-iam/dist-es/models/models_1.js +1 -113
- package/node_modules/@aws-sdk/client-iam/dist-es/schemas/schemas_0.js +234 -35
- package/node_modules/@aws-sdk/client-iam/dist-types/IAM.d.ts +81 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/IAMClient.d.ts +13 -2
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/AcceptDelegationRequestCommand.d.ts +92 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/AssociateDelegationRequestCommand.d.ts +108 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/CreateDelegationRequestCommand.d.ts +5 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/DisableOutboundWebIdentityFederationCommand.d.ts +74 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/EnableOutboundWebIdentityFederationCommand.d.ts +78 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/GenerateOrganizationsAccessReportCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/GenerateServiceLastAccessedDetailsCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/GetDelegationRequestCommand.d.ts +127 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/GetHumanReadableSummaryCommand.d.ts +105 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/GetOutboundWebIdentityFederationInfoCommand.d.ts +77 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/ListDelegationRequestsCommand.d.ts +132 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/RejectDelegationRequestCommand.d.ts +96 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/SendDelegationTokenCommand.d.ts +98 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/SetSecurityTokenServicePreferencesCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/SimulateCustomPolicyCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/SimulatePrincipalPolicyCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/TagInstanceProfileCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/TagMFADeviceCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/TagOpenIDConnectProviderCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/TagPolicyCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/TagRoleCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/TagSAMLProviderCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/TagServerCertificateCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/TagUserCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/UntagInstanceProfileCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/UntagMFADeviceCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/UntagOpenIDConnectProviderCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/UntagPolicyCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/UntagRoleCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/UntagSAMLProviderCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/UntagServerCertificateCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/UntagUserCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/UpdateAccessKeyCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/UpdateAccountPasswordPolicyCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/UpdateAssumeRolePolicyCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/UpdateDelegationRequestCommand.d.ts +96 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/UpdateGroupCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/UpdateLoginProfileCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/index.d.ts +11 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/index.d.ts +4 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/models/enums.d.ts +392 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/models/errors.d.ts +463 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/models/models_0.d.ts +1695 -675
- package/node_modules/@aws-sdk/client-iam/dist-types/models/models_1.d.ts +2 -1392
- package/node_modules/@aws-sdk/client-iam/dist-types/schemas/schemas_0.d.ts +29 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/IAM.d.ts +209 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/IAMClient.d.ts +66 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/AcceptDelegationRequestCommand.d.ts +47 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/AssociateDelegationRequestCommand.d.ts +47 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/DisableOutboundWebIdentityFederationCommand.d.ts +45 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/EnableOutboundWebIdentityFederationCommand.d.ts +47 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/GetDelegationRequestCommand.d.ts +51 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/GetHumanReadableSummaryCommand.d.ts +51 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/GetOutboundWebIdentityFederationInfoCommand.d.ts +47 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/ListDelegationRequestsCommand.d.ts +51 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/RejectDelegationRequestCommand.d.ts +47 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/SendDelegationTokenCommand.d.ts +46 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/SetSecurityTokenServicePreferencesCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/SimulateCustomPolicyCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/SimulatePrincipalPolicyCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/TagInstanceProfileCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/TagMFADeviceCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/TagOpenIDConnectProviderCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/TagPolicyCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/TagRoleCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/TagSAMLProviderCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/TagServerCertificateCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/TagUserCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UntagInstanceProfileCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UntagMFADeviceCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UntagOpenIDConnectProviderCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UntagPolicyCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UntagRoleCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UntagSAMLProviderCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UntagServerCertificateCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UntagUserCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UpdateAccessKeyCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UpdateAccountPasswordPolicyCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UpdateAssumeRolePolicyCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UpdateDelegationRequestCommand.d.ts +47 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UpdateGroupCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UpdateLoginProfileCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/index.d.ts +11 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/index.d.ts +4 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/models/enums.d.ts +222 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/models/errors.d.ts +297 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/models/models_0.d.ts +279 -390
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/models/models_1.d.ts +1 -265
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/schemas/schemas_0.d.ts +29 -0
- package/node_modules/@aws-sdk/client-iam/package.json +19 -19
- package/node_modules/@aws-sdk/client-sso/dist-es/index.js +1 -1
- package/node_modules/@aws-sdk/client-sso/dist-es/models/errors.js +49 -0
- package/node_modules/@aws-sdk/client-sso/dist-es/models/models_0.js +1 -49
- package/node_modules/@aws-sdk/client-sso/dist-es/schemas/schemas_0.js +1 -1
- package/node_modules/@aws-sdk/client-sso/dist-types/index.d.ts +2 -1
- package/node_modules/@aws-sdk/client-sso/dist-types/models/errors.d.ts +53 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/models/models_0.d.ts +0 -53
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/index.d.ts +2 -1
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/models/errors.d.ts +30 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/models/models_0.d.ts +0 -30
- package/node_modules/@aws-sdk/client-sso/package.json +18 -18
- package/node_modules/@aws-sdk/core/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-env/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-http/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js +15 -0
- package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveLoginCredentials.js +12 -0
- package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveProfileData.js +4 -0
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/fromIni.d.ts +4 -3
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveLoginCredentials.d.ts +10 -0
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/fromIni.d.ts +3 -1
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveLoginCredentials.d.ts +7 -0
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +10 -9
- package/node_modules/@aws-sdk/credential-provider-login/README.md +7 -0
- package/node_modules/@aws-sdk/credential-provider-login/dist-cjs/index.js +286 -0
- package/node_modules/@aws-sdk/credential-provider-login/dist-es/LoginCredentialsFetcher.js +262 -0
- package/node_modules/@aws-sdk/credential-provider-login/dist-es/fromLoginCredentials.js +21 -0
- package/node_modules/@aws-sdk/credential-provider-login/dist-es/index.js +2 -0
- package/node_modules/@aws-sdk/credential-provider-login/dist-es/types.js +1 -0
- package/node_modules/@aws-sdk/credential-provider-login/dist-types/LoginCredentialsFetcher.d.ts +42 -0
- package/node_modules/@aws-sdk/credential-provider-login/dist-types/fromLoginCredentials.d.ts +7 -0
- package/node_modules/@aws-sdk/credential-provider-login/dist-types/index.d.ts +8 -0
- package/node_modules/@aws-sdk/credential-provider-login/dist-types/ts3.4/LoginCredentialsFetcher.d.ts +24 -0
- package/node_modules/@aws-sdk/credential-provider-login/dist-types/ts3.4/fromLoginCredentials.d.ts +5 -0
- package/node_modules/@aws-sdk/credential-provider-login/dist-types/ts3.4/index.d.ts +2 -0
- package/node_modules/@aws-sdk/credential-provider-login/dist-types/ts3.4/types.d.ts +39 -0
- package/node_modules/@aws-sdk/credential-provider-login/dist-types/types.d.ts +59 -0
- package/node_modules/@aws-sdk/credential-provider-login/package.json +68 -0
- package/node_modules/@aws-sdk/credential-provider-node/package.json +8 -8
- package/node_modules/@aws-sdk/credential-provider-process/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-host-header/package.json +2 -2
- package/node_modules/@aws-sdk/middleware-logger/package.json +2 -2
- package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +2 -2
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +5 -5
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/auth/httpAuthSchemeProvider.js +56 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/endpoint/endpointResolver.js +18 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/endpoint/ruleset.js +7 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +439 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/runtimeConfig.browser.js +39 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/runtimeConfig.js +54 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/runtimeConfig.native.js +15 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/runtimeConfig.shared.js +42 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +10 -9
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/Signin.js +9 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/SigninClient.js +50 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/auth/httpAuthExtensionConfiguration.js +38 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/auth/httpAuthSchemeProvider.js +50 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/commands/CreateOAuth2TokenCommand.js +16 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/commands/index.js +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/EndpointParameters.js +13 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/endpointResolver.js +14 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/ruleset.js +4 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/extensionConfiguration.js +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/index.js +6 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/models/SigninServiceException.js +8 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/models/enums.js +8 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/models/errors.js +57 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/models/models_0.js +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.browser.js +34 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.js +49 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.native.js +11 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.shared.js +38 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeExtensions.js +9 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/schemas/schemas_0.js +221 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/index.js +2 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/models/enums.js +9 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/models/errors.js +181 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/models/models_0.js +1 -190
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/schemas/schemas_0.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/index.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/models/errors.js +85 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/models/models_0.js +1 -85
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/schemas/schemas_0.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/Signin.d.ts +18 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/SigninClient.d.ts +198 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/auth/httpAuthSchemeProvider.d.ts +75 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/commands/CreateOAuth2TokenCommand.d.ts +157 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/commands/index.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/endpoint/EndpointParameters.d.ts +38 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/endpoint/endpointResolver.d.ts +5 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/endpoint/ruleset.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/extensionConfiguration.d.ts +9 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/index.d.ts +16 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/models/SigninServiceException.d.ts +14 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/models/enums.d.ts +34 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/models/errors.d.ts +102 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/models/models_0.d.ts +142 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.browser.d.ts +59 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.d.ts +59 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.native.d.ts +58 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.shared.d.ts +33 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeExtensions.d.ts +17 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/schemas/schemas_0.d.ts +14 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/index.d.ts +3 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/models/enums.d.ts +25 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/models/errors.d.ts +279 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/models/models_0.d.ts +0 -303
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/index.d.ts +2 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/models/errors.d.ts +108 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/models/models_0.d.ts +0 -108
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/Signin.d.ts +22 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/SigninClient.d.ts +127 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/auth/httpAuthSchemeProvider.d.ts +47 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/commands/CreateOAuth2TokenCommand.d.ts +47 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/commands/index.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/endpoint/EndpointParameters.d.ts +51 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/endpoint/endpointResolver.d.ts +8 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/endpoint/ruleset.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/extensionConfiguration.d.ts +9 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/index.d.ts +10 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/models/SigninServiceException.d.ts +9 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/models/enums.d.ts +10 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/models/errors.d.ts +35 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/models/models_0.d.ts +26 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.browser.d.ts +121 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.d.ts +114 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.native.d.ts +125 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.shared.d.ts +53 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeExtensions.d.ts +11 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/schemas/schemas_0.d.ts +19 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/index.d.ts +3 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/models/enums.d.ts +13 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/models/errors.d.ts +105 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/models/models_0.d.ts +0 -114
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/index.d.ts +2 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/models/errors.d.ts +54 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/models/models_0.d.ts +0 -54
- package/node_modules/@aws-sdk/nested-clients/package.json +29 -18
- package/node_modules/@aws-sdk/nested-clients/signin.d.ts +7 -0
- package/node_modules/@aws-sdk/nested-clients/signin.js +5 -0
- package/node_modules/@aws-sdk/region-config-resolver/package.json +2 -2
- package/node_modules/@aws-sdk/token-providers/package.json +4 -4
- package/node_modules/@aws-sdk/types/dist-types/feature-ids.d.ts +2 -0
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/feature-ids.d.ts +2 -0
- package/node_modules/@aws-sdk/types/package.json +1 -1
- 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/package.json +3 -3
- package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +6 -0
- package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpBindingProtocol.js +6 -0
- package/node_modules/@smithy/core/dist-types/submodules/protocols/HttpBindingProtocol.d.ts +6 -2
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/HttpBindingProtocol.d.ts +6 -2
- package/node_modules/@smithy/core/package.json +1 -1
- package/node_modules/@smithy/middleware-endpoint/package.json +2 -2
- package/node_modules/@smithy/middleware-retry/package.json +2 -2
- package/node_modules/@smithy/smithy-client/package.json +3 -3
- package/node_modules/@smithy/util-defaults-mode-browser/package.json +2 -2
- package/node_modules/@smithy/util-defaults-mode-node/package.json +2 -2
- package/package.json +3 -3
- package/node_modules/@aws-sdk/client-iam/dist-es/models/index.js +0 -2
- package/node_modules/@aws-sdk/client-iam/dist-types/models/index.d.ts +0 -2
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/models/index.d.ts +0 -2
- package/node_modules/@aws-sdk/client-sso/dist-es/models/index.js +0 -1
- package/node_modules/@aws-sdk/client-sso/dist-types/models/index.d.ts +0 -1
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/models/index.d.ts +0 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/models/index.js +0 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/models/index.js +0 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/models/index.d.ts +0 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/models/index.d.ts +0 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/models/index.d.ts +0 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/models/index.d.ts +0 -1
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { SSOServiceException as __BaseException } from "./SSOServiceException";
|
|
3
|
+
/**
|
|
4
|
+
* <p>Indicates that a problem occurred with the input to the request. For example, a required
|
|
5
|
+
* parameter might be missing or out of range.</p>
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export declare class InvalidRequestException extends __BaseException {
|
|
9
|
+
readonly name: "InvalidRequestException";
|
|
10
|
+
readonly $fault: "client";
|
|
11
|
+
/**
|
|
12
|
+
* @internal
|
|
13
|
+
*/
|
|
14
|
+
constructor(opts: __ExceptionOptionType<InvalidRequestException, __BaseException>);
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* <p>The specified resource doesn't exist.</p>
|
|
18
|
+
* @public
|
|
19
|
+
*/
|
|
20
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
21
|
+
readonly name: "ResourceNotFoundException";
|
|
22
|
+
readonly $fault: "client";
|
|
23
|
+
/**
|
|
24
|
+
* @internal
|
|
25
|
+
*/
|
|
26
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* <p>Indicates that the request is being made too frequently and is more than what the server
|
|
30
|
+
* can handle.</p>
|
|
31
|
+
* @public
|
|
32
|
+
*/
|
|
33
|
+
export declare class TooManyRequestsException extends __BaseException {
|
|
34
|
+
readonly name: "TooManyRequestsException";
|
|
35
|
+
readonly $fault: "client";
|
|
36
|
+
/**
|
|
37
|
+
* @internal
|
|
38
|
+
*/
|
|
39
|
+
constructor(opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>);
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* <p>Indicates that the request is not authorized. This can happen due to an invalid access
|
|
43
|
+
* token in the request.</p>
|
|
44
|
+
* @public
|
|
45
|
+
*/
|
|
46
|
+
export declare class UnauthorizedException extends __BaseException {
|
|
47
|
+
readonly name: "UnauthorizedException";
|
|
48
|
+
readonly $fault: "client";
|
|
49
|
+
/**
|
|
50
|
+
* @internal
|
|
51
|
+
*/
|
|
52
|
+
constructor(opts: __ExceptionOptionType<UnauthorizedException, __BaseException>);
|
|
53
|
+
}
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
-
import { SSOServiceException as __BaseException } from "./SSOServiceException";
|
|
3
1
|
/**
|
|
4
2
|
* <p>Provides information about your AWS account.</p>
|
|
5
3
|
* @public
|
|
@@ -82,57 +80,6 @@ export interface GetRoleCredentialsResponse {
|
|
|
82
80
|
*/
|
|
83
81
|
roleCredentials?: RoleCredentials | undefined;
|
|
84
82
|
}
|
|
85
|
-
/**
|
|
86
|
-
* <p>Indicates that a problem occurred with the input to the request. For example, a required
|
|
87
|
-
* parameter might be missing or out of range.</p>
|
|
88
|
-
* @public
|
|
89
|
-
*/
|
|
90
|
-
export declare class InvalidRequestException extends __BaseException {
|
|
91
|
-
readonly name: "InvalidRequestException";
|
|
92
|
-
readonly $fault: "client";
|
|
93
|
-
/**
|
|
94
|
-
* @internal
|
|
95
|
-
*/
|
|
96
|
-
constructor(opts: __ExceptionOptionType<InvalidRequestException, __BaseException>);
|
|
97
|
-
}
|
|
98
|
-
/**
|
|
99
|
-
* <p>The specified resource doesn't exist.</p>
|
|
100
|
-
* @public
|
|
101
|
-
*/
|
|
102
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
103
|
-
readonly name: "ResourceNotFoundException";
|
|
104
|
-
readonly $fault: "client";
|
|
105
|
-
/**
|
|
106
|
-
* @internal
|
|
107
|
-
*/
|
|
108
|
-
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
109
|
-
}
|
|
110
|
-
/**
|
|
111
|
-
* <p>Indicates that the request is being made too frequently and is more than what the server
|
|
112
|
-
* can handle.</p>
|
|
113
|
-
* @public
|
|
114
|
-
*/
|
|
115
|
-
export declare class TooManyRequestsException extends __BaseException {
|
|
116
|
-
readonly name: "TooManyRequestsException";
|
|
117
|
-
readonly $fault: "client";
|
|
118
|
-
/**
|
|
119
|
-
* @internal
|
|
120
|
-
*/
|
|
121
|
-
constructor(opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>);
|
|
122
|
-
}
|
|
123
|
-
/**
|
|
124
|
-
* <p>Indicates that the request is not authorized. This can happen due to an invalid access
|
|
125
|
-
* token in the request.</p>
|
|
126
|
-
* @public
|
|
127
|
-
*/
|
|
128
|
-
export declare class UnauthorizedException extends __BaseException {
|
|
129
|
-
readonly name: "UnauthorizedException";
|
|
130
|
-
readonly $fault: "client";
|
|
131
|
-
/**
|
|
132
|
-
* @internal
|
|
133
|
-
*/
|
|
134
|
-
constructor(opts: __ExceptionOptionType<UnauthorizedException, __BaseException>);
|
|
135
|
-
}
|
|
136
83
|
/**
|
|
137
84
|
* @public
|
|
138
85
|
*/
|
|
@@ -5,5 +5,6 @@ export { RuntimeExtension } from "./runtimeExtensions";
|
|
|
5
5
|
export { SSOExtensionConfiguration } from "./extensionConfiguration";
|
|
6
6
|
export * from "./commands";
|
|
7
7
|
export * from "./pagination";
|
|
8
|
-
export * from "./models";
|
|
8
|
+
export * from "./models/errors";
|
|
9
|
+
export * from "./models/models_0";
|
|
9
10
|
export { SSOServiceException } from "./models/SSOServiceException";
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { SSOServiceException as __BaseException } from "./SSOServiceException";
|
|
3
|
+
export declare class InvalidRequestException extends __BaseException {
|
|
4
|
+
readonly name: "InvalidRequestException";
|
|
5
|
+
readonly $fault: "client";
|
|
6
|
+
constructor(
|
|
7
|
+
opts: __ExceptionOptionType<InvalidRequestException, __BaseException>
|
|
8
|
+
);
|
|
9
|
+
}
|
|
10
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
11
|
+
readonly name: "ResourceNotFoundException";
|
|
12
|
+
readonly $fault: "client";
|
|
13
|
+
constructor(
|
|
14
|
+
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
15
|
+
);
|
|
16
|
+
}
|
|
17
|
+
export declare class TooManyRequestsException extends __BaseException {
|
|
18
|
+
readonly name: "TooManyRequestsException";
|
|
19
|
+
readonly $fault: "client";
|
|
20
|
+
constructor(
|
|
21
|
+
opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>
|
|
22
|
+
);
|
|
23
|
+
}
|
|
24
|
+
export declare class UnauthorizedException extends __BaseException {
|
|
25
|
+
readonly name: "UnauthorizedException";
|
|
26
|
+
readonly $fault: "client";
|
|
27
|
+
constructor(
|
|
28
|
+
opts: __ExceptionOptionType<UnauthorizedException, __BaseException>
|
|
29
|
+
);
|
|
30
|
+
}
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
-
import { SSOServiceException as __BaseException } from "./SSOServiceException";
|
|
3
1
|
export interface AccountInfo {
|
|
4
2
|
accountId?: string | undefined;
|
|
5
3
|
accountName?: string | undefined;
|
|
@@ -19,34 +17,6 @@ export interface RoleCredentials {
|
|
|
19
17
|
export interface GetRoleCredentialsResponse {
|
|
20
18
|
roleCredentials?: RoleCredentials | undefined;
|
|
21
19
|
}
|
|
22
|
-
export declare class InvalidRequestException extends __BaseException {
|
|
23
|
-
readonly name: "InvalidRequestException";
|
|
24
|
-
readonly $fault: "client";
|
|
25
|
-
constructor(
|
|
26
|
-
opts: __ExceptionOptionType<InvalidRequestException, __BaseException>
|
|
27
|
-
);
|
|
28
|
-
}
|
|
29
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
30
|
-
readonly name: "ResourceNotFoundException";
|
|
31
|
-
readonly $fault: "client";
|
|
32
|
-
constructor(
|
|
33
|
-
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
34
|
-
);
|
|
35
|
-
}
|
|
36
|
-
export declare class TooManyRequestsException extends __BaseException {
|
|
37
|
-
readonly name: "TooManyRequestsException";
|
|
38
|
-
readonly $fault: "client";
|
|
39
|
-
constructor(
|
|
40
|
-
opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>
|
|
41
|
-
);
|
|
42
|
-
}
|
|
43
|
-
export declare class UnauthorizedException extends __BaseException {
|
|
44
|
-
readonly name: "UnauthorizedException";
|
|
45
|
-
readonly $fault: "client";
|
|
46
|
-
constructor(
|
|
47
|
-
opts: __ExceptionOptionType<UnauthorizedException, __BaseException>
|
|
48
|
-
);
|
|
49
|
-
}
|
|
50
20
|
export interface ListAccountRolesRequest {
|
|
51
21
|
nextToken?: string | undefined;
|
|
52
22
|
maxResults?: number | undefined;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-sso",
|
|
3
3
|
"description": "AWS SDK for JavaScript Sso Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.936.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-sso",
|
|
@@ -20,37 +20,37 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
25
|
-
"@aws-sdk/middleware-logger": "3.
|
|
26
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
27
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
28
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
29
|
-
"@aws-sdk/types": "3.
|
|
30
|
-
"@aws-sdk/util-endpoints": "3.
|
|
31
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
32
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.936.0",
|
|
24
|
+
"@aws-sdk/middleware-host-header": "3.936.0",
|
|
25
|
+
"@aws-sdk/middleware-logger": "3.936.0",
|
|
26
|
+
"@aws-sdk/middleware-recursion-detection": "3.936.0",
|
|
27
|
+
"@aws-sdk/middleware-user-agent": "3.936.0",
|
|
28
|
+
"@aws-sdk/region-config-resolver": "3.936.0",
|
|
29
|
+
"@aws-sdk/types": "3.936.0",
|
|
30
|
+
"@aws-sdk/util-endpoints": "3.936.0",
|
|
31
|
+
"@aws-sdk/util-user-agent-browser": "3.936.0",
|
|
32
|
+
"@aws-sdk/util-user-agent-node": "3.936.0",
|
|
33
33
|
"@smithy/config-resolver": "^4.4.3",
|
|
34
|
-
"@smithy/core": "^3.18.
|
|
34
|
+
"@smithy/core": "^3.18.5",
|
|
35
35
|
"@smithy/fetch-http-handler": "^5.3.6",
|
|
36
36
|
"@smithy/hash-node": "^4.2.5",
|
|
37
37
|
"@smithy/invalid-dependency": "^4.2.5",
|
|
38
38
|
"@smithy/middleware-content-length": "^4.2.5",
|
|
39
|
-
"@smithy/middleware-endpoint": "^4.3.
|
|
40
|
-
"@smithy/middleware-retry": "^4.4.
|
|
41
|
-
"@smithy/middleware-serde": "^4.2.
|
|
39
|
+
"@smithy/middleware-endpoint": "^4.3.12",
|
|
40
|
+
"@smithy/middleware-retry": "^4.4.12",
|
|
41
|
+
"@smithy/middleware-serde": "^4.2.6",
|
|
42
42
|
"@smithy/middleware-stack": "^4.2.5",
|
|
43
43
|
"@smithy/node-config-provider": "^4.3.5",
|
|
44
44
|
"@smithy/node-http-handler": "^4.4.5",
|
|
45
45
|
"@smithy/protocol-http": "^5.3.5",
|
|
46
|
-
"@smithy/smithy-client": "^4.9.
|
|
46
|
+
"@smithy/smithy-client": "^4.9.8",
|
|
47
47
|
"@smithy/types": "^4.9.0",
|
|
48
48
|
"@smithy/url-parser": "^4.2.5",
|
|
49
49
|
"@smithy/util-base64": "^4.3.0",
|
|
50
50
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
51
51
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
52
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
53
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
52
|
+
"@smithy/util-defaults-mode-browser": "^4.3.11",
|
|
53
|
+
"@smithy/util-defaults-mode-node": "^4.2.14",
|
|
54
54
|
"@smithy/util-endpoints": "^3.2.5",
|
|
55
55
|
"@smithy/util-middleware": "^4.2.5",
|
|
56
56
|
"@smithy/util-retry": "^4.2.5",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/core",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.936.0",
|
|
4
4
|
"description": "Core functions & classes shared by multiple AWS SDK clients.",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "yarn lint && concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
@@ -81,14 +81,14 @@
|
|
|
81
81
|
},
|
|
82
82
|
"license": "Apache-2.0",
|
|
83
83
|
"dependencies": {
|
|
84
|
-
"@aws-sdk/types": "3.
|
|
84
|
+
"@aws-sdk/types": "3.936.0",
|
|
85
85
|
"@aws-sdk/xml-builder": "3.930.0",
|
|
86
|
-
"@smithy/core": "^3.18.
|
|
86
|
+
"@smithy/core": "^3.18.5",
|
|
87
87
|
"@smithy/node-config-provider": "^4.3.5",
|
|
88
88
|
"@smithy/property-provider": "^4.2.5",
|
|
89
89
|
"@smithy/protocol-http": "^5.3.5",
|
|
90
90
|
"@smithy/signature-v4": "^5.3.5",
|
|
91
|
-
"@smithy/smithy-client": "^4.9.
|
|
91
|
+
"@smithy/smithy-client": "^4.9.8",
|
|
92
92
|
"@smithy/types": "^4.9.0",
|
|
93
93
|
"@smithy/util-base64": "^4.3.0",
|
|
94
94
|
"@smithy/util-middleware": "^4.2.5",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-env",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.936.0",
|
|
4
4
|
"description": "AWS credential provider that sources credentials from known environment variables",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -26,8 +26,8 @@
|
|
|
26
26
|
},
|
|
27
27
|
"license": "Apache-2.0",
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@aws-sdk/core": "3.
|
|
30
|
-
"@aws-sdk/types": "3.
|
|
29
|
+
"@aws-sdk/core": "3.936.0",
|
|
30
|
+
"@aws-sdk/types": "3.936.0",
|
|
31
31
|
"@smithy/property-provider": "^4.2.5",
|
|
32
32
|
"@smithy/types": "^4.9.0",
|
|
33
33
|
"tslib": "^2.6.2"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-http",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.936.0",
|
|
4
4
|
"description": "AWS credential provider for containers and HTTP sources",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -28,13 +28,13 @@
|
|
|
28
28
|
},
|
|
29
29
|
"license": "Apache-2.0",
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@aws-sdk/core": "3.
|
|
32
|
-
"@aws-sdk/types": "3.
|
|
31
|
+
"@aws-sdk/core": "3.936.0",
|
|
32
|
+
"@aws-sdk/types": "3.936.0",
|
|
33
33
|
"@smithy/fetch-http-handler": "^5.3.6",
|
|
34
34
|
"@smithy/node-http-handler": "^4.4.5",
|
|
35
35
|
"@smithy/property-provider": "^4.2.5",
|
|
36
36
|
"@smithy/protocol-http": "^5.3.5",
|
|
37
|
-
"@smithy/smithy-client": "^4.9.
|
|
37
|
+
"@smithy/smithy-client": "^4.9.8",
|
|
38
38
|
"@smithy/types": "^4.9.0",
|
|
39
39
|
"@smithy/util-stream": "^4.5.6",
|
|
40
40
|
"tslib": "^2.6.2"
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
var sharedIniFileLoader = require('@smithy/shared-ini-file-loader');
|
|
4
4
|
var propertyProvider = require('@smithy/property-provider');
|
|
5
5
|
var client = require('@aws-sdk/core/client');
|
|
6
|
+
var credentialProviderLogin = require('@aws-sdk/credential-provider-login');
|
|
6
7
|
|
|
7
8
|
const resolveCredentialSource = (credentialSource, profileName, logger) => {
|
|
8
9
|
const sourceProvidersMap = {
|
|
@@ -109,6 +110,17 @@ const isCredentialSourceWithoutRoleArn = (section) => {
|
|
|
109
110
|
return !section.role_arn && !!section.credential_source;
|
|
110
111
|
};
|
|
111
112
|
|
|
113
|
+
const isLoginProfile = (data) => {
|
|
114
|
+
return Boolean(data && data.login_session);
|
|
115
|
+
};
|
|
116
|
+
const resolveLoginCredentials = async (profileName, options) => {
|
|
117
|
+
const credentials = await credentialProviderLogin.fromLoginCredentials({
|
|
118
|
+
...options,
|
|
119
|
+
profile: profileName,
|
|
120
|
+
})();
|
|
121
|
+
return client.setCredentialFeature(credentials, "CREDENTIALS_PROFILE_LOGIN", "AC");
|
|
122
|
+
};
|
|
123
|
+
|
|
112
124
|
const isProcessProfile = (arg) => Boolean(arg) && typeof arg === "object" && typeof arg.credential_process === "string";
|
|
113
125
|
const resolveProcessCredentials = async (options, profile) => import('@aws-sdk/credential-provider-process').then(({ fromProcess }) => fromProcess({
|
|
114
126
|
...options,
|
|
@@ -190,6 +202,9 @@ const resolveProfileData = async (profileName, profiles, options, visitedProfile
|
|
|
190
202
|
if (isSsoProfile(data)) {
|
|
191
203
|
return await resolveSsoCredentials(profileName, data, options);
|
|
192
204
|
}
|
|
205
|
+
if (isLoginProfile(data)) {
|
|
206
|
+
return resolveLoginCredentials(profileName, options);
|
|
207
|
+
}
|
|
193
208
|
throw new propertyProvider.CredentialsProviderError(`Could not resolve credentials using profile: [${profileName}] in configuration/credentials file(s).`, { logger: options.logger });
|
|
194
209
|
};
|
|
195
210
|
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { setCredentialFeature } from "@aws-sdk/core/client";
|
|
2
|
+
import { fromLoginCredentials } from "@aws-sdk/credential-provider-login";
|
|
3
|
+
export const isLoginProfile = (data) => {
|
|
4
|
+
return Boolean(data && data.login_session);
|
|
5
|
+
};
|
|
6
|
+
export const resolveLoginCredentials = async (profileName, options) => {
|
|
7
|
+
const credentials = await fromLoginCredentials({
|
|
8
|
+
...options,
|
|
9
|
+
profile: profileName,
|
|
10
|
+
})();
|
|
11
|
+
return setCredentialFeature(credentials, "CREDENTIALS_PROFILE_LOGIN", "AC");
|
|
12
|
+
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { CredentialsProviderError } from "@smithy/property-provider";
|
|
2
2
|
import { isAssumeRoleProfile, resolveAssumeRoleCredentials } from "./resolveAssumeRoleCredentials";
|
|
3
|
+
import { isLoginProfile, resolveLoginCredentials } from "./resolveLoginCredentials";
|
|
3
4
|
import { isProcessProfile, resolveProcessCredentials } from "./resolveProcessCredentials";
|
|
4
5
|
import { isSsoProfile, resolveSsoCredentials } from "./resolveSsoCredentials";
|
|
5
6
|
import { isStaticCredsProfile, resolveStaticCredentials } from "./resolveStaticCredentials";
|
|
@@ -24,5 +25,8 @@ export const resolveProfileData = async (profileName, profiles, options, visited
|
|
|
24
25
|
if (isSsoProfile(data)) {
|
|
25
26
|
return await resolveSsoCredentials(profileName, data, options);
|
|
26
27
|
}
|
|
28
|
+
if (isLoginProfile(data)) {
|
|
29
|
+
return resolveLoginCredentials(profileName, options);
|
|
30
|
+
}
|
|
27
31
|
throw new CredentialsProviderError(`Could not resolve credentials using profile: [${profileName}] in configuration/credentials file(s).`, { logger: options.logger });
|
|
28
32
|
};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { FromLoginCredentialsInit } from "@aws-sdk/credential-provider-login";
|
|
1
2
|
import type { AssumeRoleWithWebIdentityParams } from "@aws-sdk/credential-provider-web-identity";
|
|
2
3
|
import type { CredentialProviderOptions } from "@aws-sdk/types";
|
|
3
4
|
import type { RuntimeConfigAwsCredentialIdentityProvider } from "@aws-sdk/types";
|
|
@@ -7,7 +8,7 @@ import { AssumeRoleParams } from "./resolveAssumeRoleCredentials";
|
|
|
7
8
|
/**
|
|
8
9
|
* @public
|
|
9
10
|
*/
|
|
10
|
-
export interface FromIniInit extends SourceProfileInit, CredentialProviderOptions {
|
|
11
|
+
export interface FromIniInit extends SourceProfileInit, CredentialProviderOptions, FromLoginCredentialsInit {
|
|
11
12
|
/**
|
|
12
13
|
* A function that returns a promise fulfilled with an MFA token code for
|
|
13
14
|
* the provided MFA Serial code. If a profile requires an MFA code and
|
|
@@ -34,8 +35,8 @@ export interface FromIniInit extends SourceProfileInit, CredentialProviderOption
|
|
|
34
35
|
*/
|
|
35
36
|
roleAssumerWithWebIdentity?: (params: AssumeRoleWithWebIdentityParams) => Promise<AwsCredentialIdentity>;
|
|
36
37
|
/**
|
|
37
|
-
*
|
|
38
|
-
* for auth operations.
|
|
38
|
+
* AWS SDK Client configuration to be used for creating inner client
|
|
39
|
+
* for auth operations. Inner clients include STS, SSO, and Signin clients.
|
|
39
40
|
* @internal
|
|
40
41
|
*/
|
|
41
42
|
clientConfig?: any;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { AwsCredentialIdentity, ParsedIniData } from "@smithy/types";
|
|
2
|
+
import type { FromIniInit } from "./fromIni";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export declare const isLoginProfile: (data: ParsedIniData[string]) => boolean;
|
|
7
|
+
/**
|
|
8
|
+
* @internal
|
|
9
|
+
*/
|
|
10
|
+
export declare const resolveLoginCredentials: (profileName: string, options: FromIniInit) => Promise<AwsCredentialIdentity>;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { FromLoginCredentialsInit } from "@aws-sdk/credential-provider-login";
|
|
1
2
|
import { AssumeRoleWithWebIdentityParams } from "@aws-sdk/credential-provider-web-identity";
|
|
2
3
|
import { CredentialProviderOptions } from "@aws-sdk/types";
|
|
3
4
|
import { RuntimeConfigAwsCredentialIdentityProvider } from "@aws-sdk/types";
|
|
@@ -6,7 +7,8 @@ import { AwsCredentialIdentity, Pluggable } from "@smithy/types";
|
|
|
6
7
|
import { AssumeRoleParams } from "./resolveAssumeRoleCredentials";
|
|
7
8
|
export interface FromIniInit
|
|
8
9
|
extends SourceProfileInit,
|
|
9
|
-
CredentialProviderOptions
|
|
10
|
+
CredentialProviderOptions,
|
|
11
|
+
FromLoginCredentialsInit {
|
|
10
12
|
mfaCodeProvider?: (mfaSerial: string) => Promise<string>;
|
|
11
13
|
roleAssumer?: (
|
|
12
14
|
sourceCreds: AwsCredentialIdentity,
|
package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveLoginCredentials.d.ts
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { AwsCredentialIdentity, ParsedIniData } from "@smithy/types";
|
|
2
|
+
import { FromIniInit } from "./fromIni";
|
|
3
|
+
export declare const isLoginProfile: (data: ParsedIniData[string]) => boolean;
|
|
4
|
+
export declare const resolveLoginCredentials: (
|
|
5
|
+
profileName: string,
|
|
6
|
+
options: FromIniInit
|
|
7
|
+
) => Promise<AwsCredentialIdentity>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-ini",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.936.0",
|
|
4
4
|
"description": "AWS credential provider that sources credentials from ~/.aws/credentials and ~/.aws/config",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -28,14 +28,15 @@
|
|
|
28
28
|
},
|
|
29
29
|
"license": "Apache-2.0",
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@aws-sdk/core": "3.
|
|
32
|
-
"@aws-sdk/credential-provider-env": "3.
|
|
33
|
-
"@aws-sdk/credential-provider-http": "3.
|
|
34
|
-
"@aws-sdk/credential-provider-
|
|
35
|
-
"@aws-sdk/credential-provider-
|
|
36
|
-
"@aws-sdk/credential-provider-
|
|
37
|
-
"@aws-sdk/
|
|
38
|
-
"@aws-sdk/
|
|
31
|
+
"@aws-sdk/core": "3.936.0",
|
|
32
|
+
"@aws-sdk/credential-provider-env": "3.936.0",
|
|
33
|
+
"@aws-sdk/credential-provider-http": "3.936.0",
|
|
34
|
+
"@aws-sdk/credential-provider-login": "3.936.0",
|
|
35
|
+
"@aws-sdk/credential-provider-process": "3.936.0",
|
|
36
|
+
"@aws-sdk/credential-provider-sso": "3.936.0",
|
|
37
|
+
"@aws-sdk/credential-provider-web-identity": "3.936.0",
|
|
38
|
+
"@aws-sdk/nested-clients": "3.936.0",
|
|
39
|
+
"@aws-sdk/types": "3.936.0",
|
|
39
40
|
"@smithy/credential-provider-imds": "^4.2.5",
|
|
40
41
|
"@smithy/property-provider": "^4.2.5",
|
|
41
42
|
"@smithy/shared-ini-file-loader": "^4.4.0",
|