@jjrawlins/cdk-iam-policy-builder-helper 0.0.29 → 0.0.31
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 +58 -310
- package/.mergify.yml +4 -3
- package/cdk-iam-policy-builder-helper/jsii/jsii.go +2 -2
- package/cdk-iam-policy-builder-helper/version +1 -1
- package/lib/bin/create-actions-json.js +5 -4
- package/lib/bin/download-managed-policies-json.js +3 -2
- package/lib/constructs/Actions.d.ts +22 -1
- package/lib/constructs/Actions.js +23 -2
- package/lib/constructs/ManagedPolicies.d.ts +4 -8
- package/lib/constructs/ManagedPolicies.js +5 -9
- package/methods_list.txt +22 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/AddClientIDToOpenIDConnectProviderCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/AddRoleToInstanceProfileCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/AddUserToGroupCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/AttachGroupPolicyCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/AttachRolePolicyCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/AttachUserPolicyCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/ChangePasswordCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/CreateAccessKeyCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/CreateAccountAliasCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/CreateGroupCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/CreateInstanceProfileCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/CreateLoginProfileCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/CreateOpenIDConnectProviderCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/CreatePolicyCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/CreatePolicyVersionCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/CreateRoleCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/CreateSAMLProviderCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/CreateServiceLinkedRoleCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/CreateServiceSpecificCredentialCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/CreateUserCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/CreateVirtualMFADeviceCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/DeactivateMFADeviceCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/DeleteAccessKeyCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/DeleteAccountAliasCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/DeleteAccountPasswordPolicyCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/DeleteGroupCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/DeleteGroupPolicyCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/DeleteInstanceProfileCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/DeleteLoginProfileCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/DeleteOpenIDConnectProviderCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/DeletePolicyCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/DeletePolicyVersionCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/DeleteRoleCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/DeleteRolePermissionsBoundaryCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/DeleteRolePolicyCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/DeleteSAMLProviderCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/DeleteSSHPublicKeyCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/DeleteServerCertificateCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/DeleteServiceLinkedRoleCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/DeleteServiceSpecificCredentialCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/DeleteSigningCertificateCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/DeleteUserCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/DeleteUserPermissionsBoundaryCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/DeleteUserPolicyCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/DeleteVirtualMFADeviceCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/DetachGroupPolicyCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/DetachRolePolicyCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/DetachUserPolicyCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/DisableOrganizationsRootCredentialsManagementCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/DisableOrganizationsRootSessionsCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/EnableMFADeviceCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/EnableOrganizationsRootCredentialsManagementCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/EnableOrganizationsRootSessionsCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/GenerateCredentialReportCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/GenerateOrganizationsAccessReportCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/GenerateServiceLastAccessedDetailsCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/GetAccessKeyLastUsedCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/GetAccountAuthorizationDetailsCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/GetAccountPasswordPolicyCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/GetAccountSummaryCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/GetContextKeysForCustomPolicyCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/GetContextKeysForPrincipalPolicyCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/GetCredentialReportCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/GetGroupCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/GetGroupPolicyCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/GetInstanceProfileCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/GetLoginProfileCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/GetMFADeviceCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/GetOpenIDConnectProviderCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/GetOrganizationsAccessReportCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/GetPolicyCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/GetPolicyVersionCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/GetRoleCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/GetRolePolicyCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/GetSAMLProviderCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/GetSSHPublicKeyCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/GetServerCertificateCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/GetServiceLastAccessedDetailsCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/GetServiceLastAccessedDetailsWithEntitiesCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/GetServiceLinkedRoleDeletionStatusCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/GetUserCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/GetUserPolicyCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/ListAccessKeysCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/ListAccountAliasesCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/ListAttachedGroupPoliciesCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/ListAttachedRolePoliciesCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/ListAttachedUserPoliciesCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/ListEntitiesForPolicyCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/ListGroupPoliciesCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/ListGroupsCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/ListGroupsForUserCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/ListInstanceProfileTagsCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/ListInstanceProfilesCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/ListInstanceProfilesForRoleCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/ListMFADeviceTagsCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/ListMFADevicesCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/ListOpenIDConnectProviderTagsCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/ListOpenIDConnectProvidersCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/ListOrganizationsFeaturesCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/ListPoliciesCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/ListPoliciesGrantingServiceAccessCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/ListPolicyTagsCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/ListPolicyVersionsCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/ListRolePoliciesCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/ListRoleTagsCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/ListRolesCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/ListSAMLProviderTagsCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/ListSAMLProvidersCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/ListSSHPublicKeysCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/ListServerCertificateTagsCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/ListServerCertificatesCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/ListServiceSpecificCredentialsCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/ListSigningCertificatesCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/ListUserPoliciesCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/ListUserTagsCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/ListUsersCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/ListVirtualMFADevicesCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/PutGroupPolicyCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/PutRolePermissionsBoundaryCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/PutRolePolicyCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/PutUserPermissionsBoundaryCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/PutUserPolicyCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/RemoveClientIDFromOpenIDConnectProviderCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/RemoveRoleFromInstanceProfileCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/RemoveUserFromGroupCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/ResetServiceSpecificCredentialCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/ResyncMFADeviceCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/SetDefaultPolicyVersionCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/SetSecurityTokenServicePreferencesCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/SimulateCustomPolicyCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/SimulatePrincipalPolicyCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/TagInstanceProfileCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/TagMFADeviceCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/TagOpenIDConnectProviderCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/TagPolicyCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/TagRoleCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/TagSAMLProviderCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/TagServerCertificateCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/TagUserCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/UntagInstanceProfileCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/UntagMFADeviceCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/UntagOpenIDConnectProviderCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/UntagPolicyCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/UntagRoleCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/UntagSAMLProviderCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/UntagServerCertificateCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/UntagUserCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/UpdateAccessKeyCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/UpdateAccountPasswordPolicyCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/UpdateAssumeRolePolicyCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/UpdateGroupCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/UpdateLoginProfileCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/UpdateOpenIDConnectProviderThumbprintCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/UpdateRoleCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/UpdateRoleDescriptionCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/UpdateSAMLProviderCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/UpdateSSHPublicKeyCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/UpdateServerCertificateCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/UpdateServiceSpecificCredentialCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/UpdateSigningCertificateCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/UpdateUserCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/UploadSSHPublicKeyCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/UploadServerCertificateCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/UploadSigningCertificateCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-iam/package.json +19 -19
- package/node_modules/@aws-sdk/client-sso/dist-types/commands/GetRoleCredentialsCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/commands/ListAccountRolesCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/commands/ListAccountsCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/commands/LogoutCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-sso/package.json +18 -18
- package/node_modules/@aws-sdk/core/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-env/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.js +1 -1
- package/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/fromHttp.js +1 -1
- package/node_modules/@aws-sdk/credential-provider-http/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +11 -11
- package/node_modules/@aws-sdk/credential-provider-node/package.json +13 -12
- package/node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js +3 -2
- package/node_modules/@aws-sdk/credential-provider-process/dist-es/resolveProcessCredentials.js +2 -1
- package/node_modules/@aws-sdk/credential-provider-process/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js +19 -3
- package/node_modules/@aws-sdk/credential-provider-sso/dist-es/fromSSO.js +8 -0
- package/node_modules/@aws-sdk/credential-provider-sso/dist-es/resolveSSOCredentials.js +7 -2
- 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/resolveSSOCredentials.d.ts +3 -0
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +6 -6
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromTokenFile.js +3 -1
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-es/fromTokenFile.js +3 -1
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +5 -4
- package/node_modules/@aws-sdk/middleware-host-header/package.json +1 -1
- package/node_modules/@aws-sdk/middleware-logger/package.json +1 -1
- package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +1 -1
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +3 -3
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/commands/CreateTokenCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/commands/AssumeRoleCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/package.json +18 -18
- package/node_modules/@aws-sdk/region-config-resolver/package.json +3 -3
- package/node_modules/@aws-sdk/token-providers/package.json +5 -5
- package/node_modules/@aws-sdk/util-endpoints/package.json +2 -2
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +3 -3
- package/node_modules/@smithy/config-resolver/package.json +2 -2
- package/node_modules/@smithy/core/dist-types/submodules/cbor/cbor.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/cbor.d.ts +1 -1
- package/node_modules/@smithy/core/package.json +2 -2
- package/node_modules/@smithy/credential-provider-imds/package.json +2 -2
- package/node_modules/@smithy/middleware-endpoint/package.json +4 -4
- package/node_modules/@smithy/middleware-retry/package.json +5 -5
- package/node_modules/@smithy/node-config-provider/package.json +2 -2
- package/node_modules/@smithy/service-error-classification/dist-cjs/index.js +2 -2
- package/node_modules/@smithy/service-error-classification/dist-es/index.js +3 -2
- package/node_modules/@smithy/service-error-classification/package.json +1 -1
- package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/externalDataInterceptor.js +1 -0
- package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFromFile.js +5 -1
- package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/index.js +24 -2
- package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/slurpFile.js +9 -5
- package/node_modules/@smithy/shared-ini-file-loader/dist-es/externalDataInterceptor.js +16 -0
- package/node_modules/@smithy/shared-ini-file-loader/dist-es/getSSOTokenFromFile.js +4 -0
- package/node_modules/@smithy/shared-ini-file-loader/dist-es/index.js +2 -1
- package/node_modules/@smithy/shared-ini-file-loader/dist-es/slurpFile.js +5 -1
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/externalDataInterceptor.d.ts +9 -0
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/getSSOTokenFromFile.d.ts +5 -1
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/index.d.ts +2 -1
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/slurpFile.d.ts +2 -0
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/externalDataInterceptor.d.ts +9 -0
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSSOTokenFromFile.d.ts +5 -1
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/index.d.ts +2 -1
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/slurpFile.d.ts +2 -0
- package/node_modules/@smithy/shared-ini-file-loader/package.json +1 -1
- package/node_modules/@smithy/smithy-client/package.json +4 -4
- package/node_modules/@smithy/util-defaults-mode-browser/package.json +2 -2
- package/node_modules/@smithy/util-defaults-mode-node/package.json +5 -5
- package/node_modules/@smithy/util-endpoints/package.json +2 -2
- package/node_modules/@smithy/util-retry/package.json +5 -3
- package/node_modules/@smithy/util-stream/dist-types/ByteArrayCollector.d.ts +1 -1
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/ByteArrayCollector.d.ts +1 -1
- package/node_modules/@smithy/util-stream/package.json +1 -1
- package/package.json +5 -5
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-web-identity",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.891.0",
|
|
4
4
|
"description": "AWS credential provider that calls STS assumeRole for temporary AWS credentials",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -33,10 +33,11 @@
|
|
|
33
33
|
},
|
|
34
34
|
"license": "Apache-2.0",
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@aws-sdk/core": "3.
|
|
37
|
-
"@aws-sdk/nested-clients": "3.
|
|
36
|
+
"@aws-sdk/core": "3.890.0",
|
|
37
|
+
"@aws-sdk/nested-clients": "3.891.0",
|
|
38
38
|
"@aws-sdk/types": "3.887.0",
|
|
39
|
-
"@smithy/property-provider": "^4.
|
|
39
|
+
"@smithy/property-provider": "^4.1.1",
|
|
40
|
+
"@smithy/shared-ini-file-loader": "^4.2.0",
|
|
40
41
|
"@smithy/types": "^4.5.0",
|
|
41
42
|
"tslib": "^2.6.2"
|
|
42
43
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/middleware-recursion-detection",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.891.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
6
6
|
"build:cjs": "node ../../scripts/compilation/inline middleware-recursion-detection",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/middleware-user-agent",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.891.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
6
6
|
"build:cjs": "node ../../scripts/compilation/inline middleware-user-agent",
|
|
@@ -24,9 +24,9 @@
|
|
|
24
24
|
},
|
|
25
25
|
"license": "Apache-2.0",
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@aws-sdk/core": "3.
|
|
27
|
+
"@aws-sdk/core": "3.890.0",
|
|
28
28
|
"@aws-sdk/types": "3.887.0",
|
|
29
|
-
"@aws-sdk/util-endpoints": "3.
|
|
29
|
+
"@aws-sdk/util-endpoints": "3.891.0",
|
|
30
30
|
"@smithy/core": "^3.11.0",
|
|
31
31
|
"@smithy/protocol-http": "^5.2.1",
|
|
32
32
|
"@smithy/types": "^4.5.0",
|
|
@@ -35,6 +35,8 @@ declare const CreateTokenCommand_base: {
|
|
|
35
35
|
* ```javascript
|
|
36
36
|
* import { SSOOIDCClient, CreateTokenCommand } from "@aws-sdk/client-sso-oidc"; // ES Modules import
|
|
37
37
|
* // const { SSOOIDCClient, CreateTokenCommand } = require("@aws-sdk/client-sso-oidc"); // CommonJS import
|
|
38
|
+
* // import type { SSOOIDCClientConfig } from "@aws-sdk/client-sso-oidc";
|
|
39
|
+
* const config = {}; // type is SSOOIDCClientConfig
|
|
38
40
|
* const client = new SSOOIDCClient(config);
|
|
39
41
|
* const input = { // CreateTokenRequest
|
|
40
42
|
* clientId: "STRING_VALUE", // required
|
|
@@ -120,6 +120,8 @@ declare const AssumeRoleCommand_base: {
|
|
|
120
120
|
* ```javascript
|
|
121
121
|
* import { STSClient, AssumeRoleCommand } from "@aws-sdk/client-sts"; // ES Modules import
|
|
122
122
|
* // const { STSClient, AssumeRoleCommand } = require("@aws-sdk/client-sts"); // CommonJS import
|
|
123
|
+
* // import type { STSClientConfig } from "@aws-sdk/client-sts";
|
|
124
|
+
* const config = {}; // type is STSClientConfig
|
|
123
125
|
* const client = new STSClient(config);
|
|
124
126
|
* const input = { // AssumeRoleRequest
|
|
125
127
|
* RoleArn: "STRING_VALUE", // required
|
|
@@ -149,6 +149,8 @@ declare const AssumeRoleWithWebIdentityCommand_base: {
|
|
|
149
149
|
* ```javascript
|
|
150
150
|
* import { STSClient, AssumeRoleWithWebIdentityCommand } from "@aws-sdk/client-sts"; // ES Modules import
|
|
151
151
|
* // const { STSClient, AssumeRoleWithWebIdentityCommand } = require("@aws-sdk/client-sts"); // CommonJS import
|
|
152
|
+
* // import type { STSClientConfig } from "@aws-sdk/client-sts";
|
|
153
|
+
* const config = {}; // type is STSClientConfig
|
|
152
154
|
* const client = new STSClient(config);
|
|
153
155
|
* const input = { // AssumeRoleWithWebIdentityRequest
|
|
154
156
|
* RoleArn: "STRING_VALUE", // required
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/nested-clients",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.891.0",
|
|
4
4
|
"description": "Nested clients for AWS SDK packages.",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -28,40 +28,40 @@
|
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
30
30
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
31
|
-
"@aws-sdk/core": "3.
|
|
32
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
33
|
-
"@aws-sdk/middleware-logger": "3.
|
|
34
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
35
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
36
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
31
|
+
"@aws-sdk/core": "3.890.0",
|
|
32
|
+
"@aws-sdk/middleware-host-header": "3.891.0",
|
|
33
|
+
"@aws-sdk/middleware-logger": "3.891.0",
|
|
34
|
+
"@aws-sdk/middleware-recursion-detection": "3.891.0",
|
|
35
|
+
"@aws-sdk/middleware-user-agent": "3.891.0",
|
|
36
|
+
"@aws-sdk/region-config-resolver": "3.890.0",
|
|
37
37
|
"@aws-sdk/types": "3.887.0",
|
|
38
|
-
"@aws-sdk/util-endpoints": "3.
|
|
38
|
+
"@aws-sdk/util-endpoints": "3.891.0",
|
|
39
39
|
"@aws-sdk/util-user-agent-browser": "3.887.0",
|
|
40
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
41
|
-
"@smithy/config-resolver": "^4.2.
|
|
40
|
+
"@aws-sdk/util-user-agent-node": "3.891.0",
|
|
41
|
+
"@smithy/config-resolver": "^4.2.2",
|
|
42
42
|
"@smithy/core": "^3.11.0",
|
|
43
43
|
"@smithy/fetch-http-handler": "^5.2.1",
|
|
44
44
|
"@smithy/hash-node": "^4.1.1",
|
|
45
45
|
"@smithy/invalid-dependency": "^4.1.1",
|
|
46
46
|
"@smithy/middleware-content-length": "^4.1.1",
|
|
47
|
-
"@smithy/middleware-endpoint": "^4.2.
|
|
48
|
-
"@smithy/middleware-retry": "^4.2.
|
|
47
|
+
"@smithy/middleware-endpoint": "^4.2.2",
|
|
48
|
+
"@smithy/middleware-retry": "^4.2.3",
|
|
49
49
|
"@smithy/middleware-serde": "^4.1.1",
|
|
50
50
|
"@smithy/middleware-stack": "^4.1.1",
|
|
51
|
-
"@smithy/node-config-provider": "^4.2.
|
|
51
|
+
"@smithy/node-config-provider": "^4.2.2",
|
|
52
52
|
"@smithy/node-http-handler": "^4.2.1",
|
|
53
53
|
"@smithy/protocol-http": "^5.2.1",
|
|
54
|
-
"@smithy/smithy-client": "^4.6.
|
|
54
|
+
"@smithy/smithy-client": "^4.6.2",
|
|
55
55
|
"@smithy/types": "^4.5.0",
|
|
56
56
|
"@smithy/url-parser": "^4.1.1",
|
|
57
57
|
"@smithy/util-base64": "^4.1.0",
|
|
58
58
|
"@smithy/util-body-length-browser": "^4.1.0",
|
|
59
59
|
"@smithy/util-body-length-node": "^4.1.0",
|
|
60
|
-
"@smithy/util-defaults-mode-browser": "^4.1.
|
|
61
|
-
"@smithy/util-defaults-mode-node": "^4.1.
|
|
62
|
-
"@smithy/util-endpoints": "^3.1.
|
|
60
|
+
"@smithy/util-defaults-mode-browser": "^4.1.2",
|
|
61
|
+
"@smithy/util-defaults-mode-node": "^4.1.2",
|
|
62
|
+
"@smithy/util-endpoints": "^3.1.2",
|
|
63
63
|
"@smithy/util-middleware": "^4.1.1",
|
|
64
|
-
"@smithy/util-retry": "^4.1.
|
|
64
|
+
"@smithy/util-retry": "^4.1.2",
|
|
65
65
|
"@smithy/util-utf8": "^4.1.0",
|
|
66
66
|
"tslib": "^2.6.2"
|
|
67
67
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/region-config-resolver",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.890.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
6
6
|
"build:cjs": "node ../../scripts/compilation/inline region-config-resolver",
|
|
@@ -23,9 +23,9 @@
|
|
|
23
23
|
"license": "Apache-2.0",
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"@aws-sdk/types": "3.887.0",
|
|
26
|
-
"@smithy/node-config-provider": "^4.2.
|
|
26
|
+
"@smithy/node-config-provider": "^4.2.2",
|
|
27
27
|
"@smithy/types": "^4.5.0",
|
|
28
|
-
"@smithy/util-config-provider": "^4.
|
|
28
|
+
"@smithy/util-config-provider": "^4.1.0",
|
|
29
29
|
"@smithy/util-middleware": "^4.1.1",
|
|
30
30
|
"tslib": "^2.6.2"
|
|
31
31
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/token-providers",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.891.0",
|
|
4
4
|
"description": "A collection of token providers",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -29,11 +29,11 @@
|
|
|
29
29
|
},
|
|
30
30
|
"license": "Apache-2.0",
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@aws-sdk/core": "3.
|
|
33
|
-
"@aws-sdk/nested-clients": "3.
|
|
32
|
+
"@aws-sdk/core": "3.890.0",
|
|
33
|
+
"@aws-sdk/nested-clients": "3.891.0",
|
|
34
34
|
"@aws-sdk/types": "3.887.0",
|
|
35
|
-
"@smithy/property-provider": "^4.
|
|
36
|
-
"@smithy/shared-ini-file-loader": "^4.0
|
|
35
|
+
"@smithy/property-provider": "^4.1.1",
|
|
36
|
+
"@smithy/shared-ini-file-loader": "^4.2.0",
|
|
37
37
|
"@smithy/types": "^4.5.0",
|
|
38
38
|
"tslib": "^2.6.2"
|
|
39
39
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/util-endpoints",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.891.0",
|
|
4
4
|
"description": "Utilities to help with endpoint resolution",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"@aws-sdk/types": "3.887.0",
|
|
29
29
|
"@smithy/types": "^4.5.0",
|
|
30
30
|
"@smithy/url-parser": "^4.1.1",
|
|
31
|
-
"@smithy/util-endpoints": "^3.1.
|
|
31
|
+
"@smithy/util-endpoints": "^3.1.2",
|
|
32
32
|
"tslib": "^2.6.2"
|
|
33
33
|
},
|
|
34
34
|
"engines": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/util-user-agent-node",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.891.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
6
6
|
"build:cjs": "node ../../scripts/compilation/inline util-user-agent-node",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
},
|
|
22
22
|
"license": "Apache-2.0",
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
24
|
+
"@aws-sdk/middleware-user-agent": "3.891.0",
|
|
25
25
|
"@aws-sdk/types": "3.887.0",
|
|
26
|
-
"@smithy/node-config-provider": "^4.2.
|
|
26
|
+
"@smithy/node-config-provider": "^4.2.2",
|
|
27
27
|
"@smithy/types": "^4.5.0",
|
|
28
28
|
"tslib": "^2.6.2"
|
|
29
29
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/config-resolver",
|
|
3
|
-
"version": "4.2.
|
|
3
|
+
"version": "4.2.2",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
|
6
6
|
"build:cjs": "node ../../scripts/inline config-resolver",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"license": "Apache-2.0",
|
|
26
26
|
"sideEffects": false,
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@smithy/node-config-provider": "^4.2.
|
|
28
|
+
"@smithy/node-config-provider": "^4.2.2",
|
|
29
29
|
"@smithy/types": "^4.5.0",
|
|
30
30
|
"@smithy/util-config-provider": "^4.1.0",
|
|
31
31
|
"@smithy/util-middleware": "^4.1.1",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/core",
|
|
3
|
-
"version": "3.11.
|
|
3
|
+
"version": "3.11.1",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "yarn lint && concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
|
6
6
|
"build:cjs": "node ../../scripts/inline core",
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
"@smithy/util-base64": "^4.1.0",
|
|
84
84
|
"@smithy/util-body-length-browser": "^4.1.0",
|
|
85
85
|
"@smithy/util-middleware": "^4.1.1",
|
|
86
|
-
"@smithy/util-stream": "^4.3.
|
|
86
|
+
"@smithy/util-stream": "^4.3.2",
|
|
87
87
|
"@smithy/util-utf8": "^4.1.0",
|
|
88
88
|
"@types/uuid": "^9.0.1",
|
|
89
89
|
"tslib": "^2.6.2",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/credential-provider-imds",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.2",
|
|
4
4
|
"description": "AWS credential provider that sources credentials from the EC2 instance metadata service and ECS container metadata service",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"license": "Apache-2.0",
|
|
29
29
|
"sideEffects": false,
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@smithy/node-config-provider": "^4.2.
|
|
31
|
+
"@smithy/node-config-provider": "^4.2.2",
|
|
32
32
|
"@smithy/property-provider": "^4.1.1",
|
|
33
33
|
"@smithy/types": "^4.5.0",
|
|
34
34
|
"@smithy/url-parser": "^4.1.1",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/middleware-endpoint",
|
|
3
|
-
"version": "4.2.
|
|
3
|
+
"version": "4.2.3",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
|
6
6
|
"build:cjs": "node ../../scripts/inline middleware-endpoint",
|
|
@@ -25,10 +25,10 @@
|
|
|
25
25
|
"license": "Apache-2.0",
|
|
26
26
|
"sideEffects": false,
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@smithy/core": "^3.11.
|
|
28
|
+
"@smithy/core": "^3.11.1",
|
|
29
29
|
"@smithy/middleware-serde": "^4.1.1",
|
|
30
|
-
"@smithy/node-config-provider": "^4.2.
|
|
31
|
-
"@smithy/shared-ini-file-loader": "^4.
|
|
30
|
+
"@smithy/node-config-provider": "^4.2.2",
|
|
31
|
+
"@smithy/shared-ini-file-loader": "^4.2.0",
|
|
32
32
|
"@smithy/types": "^4.5.0",
|
|
33
33
|
"@smithy/url-parser": "^4.1.1",
|
|
34
34
|
"@smithy/util-middleware": "^4.1.1",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/middleware-retry",
|
|
3
|
-
"version": "4.2.
|
|
3
|
+
"version": "4.2.4",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
|
6
6
|
"build:cjs": "node ../../scripts/inline middleware-retry",
|
|
@@ -34,13 +34,13 @@
|
|
|
34
34
|
"license": "Apache-2.0",
|
|
35
35
|
"sideEffects": false,
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@smithy/node-config-provider": "^4.2.
|
|
37
|
+
"@smithy/node-config-provider": "^4.2.2",
|
|
38
38
|
"@smithy/protocol-http": "^5.2.1",
|
|
39
|
-
"@smithy/service-error-classification": "^4.1.
|
|
40
|
-
"@smithy/smithy-client": "^4.6.
|
|
39
|
+
"@smithy/service-error-classification": "^4.1.2",
|
|
40
|
+
"@smithy/smithy-client": "^4.6.3",
|
|
41
41
|
"@smithy/types": "^4.5.0",
|
|
42
42
|
"@smithy/util-middleware": "^4.1.1",
|
|
43
|
-
"@smithy/util-retry": "^4.1.
|
|
43
|
+
"@smithy/util-retry": "^4.1.2",
|
|
44
44
|
"@types/uuid": "^9.0.1",
|
|
45
45
|
"tslib": "^2.6.2",
|
|
46
46
|
"uuid": "^9.0.1"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/node-config-provider",
|
|
3
|
-
"version": "4.2.
|
|
3
|
+
"version": "4.2.2",
|
|
4
4
|
"description": "Load config default values from ini config files and environmental variable",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"types": "./dist-types/index.d.ts",
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"@smithy/property-provider": "^4.1.1",
|
|
30
|
-
"@smithy/shared-ini-file-loader": "^4.
|
|
30
|
+
"@smithy/shared-ini-file-loader": "^4.2.0",
|
|
31
31
|
"@smithy/types": "^4.5.0",
|
|
32
32
|
"tslib": "^2.6.2"
|
|
33
33
|
},
|
|
@@ -62,7 +62,7 @@ var NODEJS_TIMEOUT_ERROR_CODES = ["ECONNRESET", "ECONNREFUSED", "EPIPE", "ETIMED
|
|
|
62
62
|
var NODEJS_NETWORK_ERROR_CODES = ["EHOSTUNREACH", "ENETUNREACH", "ENOTFOUND"];
|
|
63
63
|
|
|
64
64
|
// src/index.ts
|
|
65
|
-
var isRetryableByTrait = /* @__PURE__ */ __name((error) => error
|
|
65
|
+
var isRetryableByTrait = /* @__PURE__ */ __name((error) => error?.$retryable !== void 0, "isRetryableByTrait");
|
|
66
66
|
var isClockSkewError = /* @__PURE__ */ __name((error) => CLOCK_SKEW_ERROR_CODES.includes(error.name), "isClockSkewError");
|
|
67
67
|
var isClockSkewCorrectedError = /* @__PURE__ */ __name((error) => error.$metadata?.clockSkewCorrected, "isClockSkewCorrectedError");
|
|
68
68
|
var isBrowserNetworkError = /* @__PURE__ */ __name((error) => {
|
|
@@ -85,7 +85,7 @@ var isBrowserNetworkError = /* @__PURE__ */ __name((error) => {
|
|
|
85
85
|
return errorMessages.has(error.message);
|
|
86
86
|
}, "isBrowserNetworkError");
|
|
87
87
|
var isThrottlingError = /* @__PURE__ */ __name((error) => error.$metadata?.httpStatusCode === 429 || THROTTLING_ERROR_CODES.includes(error.name) || error.$retryable?.throttling == true, "isThrottlingError");
|
|
88
|
-
var isTransientError = /* @__PURE__ */ __name((error, depth = 0) => isClockSkewCorrectedError(error) || TRANSIENT_ERROR_CODES.includes(error.name) || NODEJS_TIMEOUT_ERROR_CODES.includes(error?.code || "") || NODEJS_NETWORK_ERROR_CODES.includes(error?.code || "") || TRANSIENT_ERROR_STATUS_CODES.includes(error.$metadata?.httpStatusCode || 0) || isBrowserNetworkError(error) || error.cause !== void 0 && depth <= 10 && isTransientError(error.cause, depth + 1), "isTransientError");
|
|
88
|
+
var isTransientError = /* @__PURE__ */ __name((error, depth = 0) => isRetryableByTrait(error) || isClockSkewCorrectedError(error) || TRANSIENT_ERROR_CODES.includes(error.name) || NODEJS_TIMEOUT_ERROR_CODES.includes(error?.code || "") || NODEJS_NETWORK_ERROR_CODES.includes(error?.code || "") || TRANSIENT_ERROR_STATUS_CODES.includes(error.$metadata?.httpStatusCode || 0) || isBrowserNetworkError(error) || error.cause !== void 0 && depth <= 10 && isTransientError(error.cause, depth + 1), "isTransientError");
|
|
89
89
|
var isServerError = /* @__PURE__ */ __name((error) => {
|
|
90
90
|
if (error.$metadata?.httpStatusCode !== void 0) {
|
|
91
91
|
const statusCode = error.$metadata.httpStatusCode;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CLOCK_SKEW_ERROR_CODES, NODEJS_NETWORK_ERROR_CODES, NODEJS_TIMEOUT_ERROR_CODES, THROTTLING_ERROR_CODES, TRANSIENT_ERROR_CODES, TRANSIENT_ERROR_STATUS_CODES, } from "./constants";
|
|
2
|
-
export const isRetryableByTrait = (error) => error
|
|
2
|
+
export const isRetryableByTrait = (error) => error?.$retryable !== undefined;
|
|
3
3
|
export const isClockSkewError = (error) => CLOCK_SKEW_ERROR_CODES.includes(error.name);
|
|
4
4
|
export const isClockSkewCorrectedError = (error) => error.$metadata?.clockSkewCorrected;
|
|
5
5
|
export const isBrowserNetworkError = (error) => {
|
|
@@ -19,7 +19,8 @@ export const isBrowserNetworkError = (error) => {
|
|
|
19
19
|
export const isThrottlingError = (error) => error.$metadata?.httpStatusCode === 429 ||
|
|
20
20
|
THROTTLING_ERROR_CODES.includes(error.name) ||
|
|
21
21
|
error.$retryable?.throttling == true;
|
|
22
|
-
export const isTransientError = (error, depth = 0) =>
|
|
22
|
+
export const isTransientError = (error, depth = 0) => isRetryableByTrait(error) ||
|
|
23
|
+
isClockSkewCorrectedError(error) ||
|
|
23
24
|
TRANSIENT_ERROR_CODES.includes(error.name) ||
|
|
24
25
|
NODEJS_TIMEOUT_ERROR_CODES.includes(error?.code || "") ||
|
|
25
26
|
NODEJS_NETWORK_ERROR_CODES.includes(error?.code || "") ||
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/service-error-classification",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.2",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
|
6
6
|
"build:cjs": "node ../../scripts/inline service-error-classification",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require("./index.js");
|
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getSSOTokenFromFile = void 0;
|
|
3
|
+
exports.getSSOTokenFromFile = exports.tokenIntercept = void 0;
|
|
4
4
|
const fs_1 = require("fs");
|
|
5
5
|
const getSSOTokenFilepath_1 = require("./getSSOTokenFilepath");
|
|
6
6
|
const { readFile } = fs_1.promises;
|
|
7
|
+
exports.tokenIntercept = {};
|
|
7
8
|
const getSSOTokenFromFile = async (id) => {
|
|
9
|
+
if (exports.tokenIntercept[id]) {
|
|
10
|
+
return exports.tokenIntercept[id];
|
|
11
|
+
}
|
|
8
12
|
const ssoTokenFilepath = (0, getSSOTokenFilepath_1.getSSOTokenFilepath)(id);
|
|
9
13
|
const ssoTokenText = await readFile(ssoTokenFilepath, "utf8");
|
|
10
14
|
return JSON.parse(ssoTokenText);
|
|
@@ -24,7 +24,10 @@ __export(index_exports, {
|
|
|
24
24
|
CONFIG_PREFIX_SEPARATOR: () => CONFIG_PREFIX_SEPARATOR,
|
|
25
25
|
DEFAULT_PROFILE: () => DEFAULT_PROFILE,
|
|
26
26
|
ENV_PROFILE: () => ENV_PROFILE,
|
|
27
|
+
SSOToken: () => import_getSSOTokenFromFile2.SSOToken,
|
|
28
|
+
externalDataInterceptor: () => externalDataInterceptor,
|
|
27
29
|
getProfileName: () => getProfileName,
|
|
30
|
+
getSSOTokenFromFile: () => import_getSSOTokenFromFile2.getSSOTokenFromFile,
|
|
28
31
|
loadSharedConfigFiles: () => loadSharedConfigFiles,
|
|
29
32
|
loadSsoSessionData: () => loadSsoSessionData,
|
|
30
33
|
parseKnownFiles: () => parseKnownFiles
|
|
@@ -39,7 +42,7 @@ var getProfileName = /* @__PURE__ */ __name((init) => init.profile || process.en
|
|
|
39
42
|
|
|
40
43
|
// src/index.ts
|
|
41
44
|
__reExport(index_exports, require("././getSSOTokenFilepath"), module.exports);
|
|
42
|
-
|
|
45
|
+
var import_getSSOTokenFromFile2 = require("././getSSOTokenFromFile");
|
|
43
46
|
|
|
44
47
|
// src/loadSharedConfigFiles.ts
|
|
45
48
|
|
|
@@ -189,15 +192,34 @@ var parseKnownFiles = /* @__PURE__ */ __name(async (init) => {
|
|
|
189
192
|
const parsedFiles = await loadSharedConfigFiles(init);
|
|
190
193
|
return mergeConfigFiles(parsedFiles.configFile, parsedFiles.credentialsFile);
|
|
191
194
|
}, "parseKnownFiles");
|
|
195
|
+
|
|
196
|
+
// src/externalDataInterceptor.ts
|
|
197
|
+
var import_getSSOTokenFromFile = require("././getSSOTokenFromFile");
|
|
198
|
+
var import_slurpFile3 = require("././slurpFile");
|
|
199
|
+
var externalDataInterceptor = {
|
|
200
|
+
getFileRecord() {
|
|
201
|
+
return import_slurpFile3.fileIntercept;
|
|
202
|
+
},
|
|
203
|
+
interceptFile(path, contents) {
|
|
204
|
+
import_slurpFile3.fileIntercept[path] = Promise.resolve(contents);
|
|
205
|
+
},
|
|
206
|
+
getTokenRecord() {
|
|
207
|
+
return import_getSSOTokenFromFile.tokenIntercept;
|
|
208
|
+
},
|
|
209
|
+
interceptToken(id, contents) {
|
|
210
|
+
import_getSSOTokenFromFile.tokenIntercept[id] = contents;
|
|
211
|
+
}
|
|
212
|
+
};
|
|
192
213
|
// Annotate the CommonJS export names for ESM import in node:
|
|
193
214
|
|
|
194
215
|
0 && (module.exports = {
|
|
216
|
+
getSSOTokenFromFile,
|
|
217
|
+
externalDataInterceptor,
|
|
195
218
|
getHomeDir,
|
|
196
219
|
ENV_PROFILE,
|
|
197
220
|
DEFAULT_PROFILE,
|
|
198
221
|
getProfileName,
|
|
199
222
|
getSSOTokenFilepath,
|
|
200
|
-
getSSOTokenFromFile,
|
|
201
223
|
CONFIG_PREFIX_SEPARATOR,
|
|
202
224
|
loadSharedConfigFiles,
|
|
203
225
|
loadSsoSessionData,
|
|
@@ -1,13 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.slurpFile = void 0;
|
|
3
|
+
exports.slurpFile = exports.fileIntercept = exports.filePromisesHash = void 0;
|
|
4
4
|
const fs_1 = require("fs");
|
|
5
5
|
const { readFile } = fs_1.promises;
|
|
6
|
-
|
|
6
|
+
exports.filePromisesHash = {};
|
|
7
|
+
exports.fileIntercept = {};
|
|
7
8
|
const slurpFile = (path, options) => {
|
|
8
|
-
if (
|
|
9
|
-
|
|
9
|
+
if (exports.fileIntercept[path] !== undefined) {
|
|
10
|
+
return exports.fileIntercept[path];
|
|
10
11
|
}
|
|
11
|
-
|
|
12
|
+
if (!exports.filePromisesHash[path] || (options === null || options === void 0 ? void 0 : options.ignoreCache)) {
|
|
13
|
+
exports.filePromisesHash[path] = readFile(path, "utf8");
|
|
14
|
+
}
|
|
15
|
+
return exports.filePromisesHash[path];
|
|
12
16
|
};
|
|
13
17
|
exports.slurpFile = slurpFile;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { tokenIntercept } from "./getSSOTokenFromFile";
|
|
2
|
+
import { fileIntercept } from "./slurpFile";
|
|
3
|
+
export const externalDataInterceptor = {
|
|
4
|
+
getFileRecord() {
|
|
5
|
+
return fileIntercept;
|
|
6
|
+
},
|
|
7
|
+
interceptFile(path, contents) {
|
|
8
|
+
fileIntercept[path] = Promise.resolve(contents);
|
|
9
|
+
},
|
|
10
|
+
getTokenRecord() {
|
|
11
|
+
return tokenIntercept;
|
|
12
|
+
},
|
|
13
|
+
interceptToken(id, contents) {
|
|
14
|
+
tokenIntercept[id] = contents;
|
|
15
|
+
},
|
|
16
|
+
};
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
import { promises as fsPromises } from "fs";
|
|
2
2
|
import { getSSOTokenFilepath } from "./getSSOTokenFilepath";
|
|
3
3
|
const { readFile } = fsPromises;
|
|
4
|
+
export const tokenIntercept = {};
|
|
4
5
|
export const getSSOTokenFromFile = async (id) => {
|
|
6
|
+
if (tokenIntercept[id]) {
|
|
7
|
+
return tokenIntercept[id];
|
|
8
|
+
}
|
|
5
9
|
const ssoTokenFilepath = getSSOTokenFilepath(id);
|
|
6
10
|
const ssoTokenText = await readFile(ssoTokenFilepath, "utf8");
|
|
7
11
|
return JSON.parse(ssoTokenText);
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
export * from "./getHomeDir";
|
|
2
2
|
export * from "./getProfileName";
|
|
3
3
|
export * from "./getSSOTokenFilepath";
|
|
4
|
-
export
|
|
4
|
+
export { getSSOTokenFromFile } from "./getSSOTokenFromFile";
|
|
5
5
|
export * from "./loadSharedConfigFiles";
|
|
6
6
|
export * from "./loadSsoSessionData";
|
|
7
7
|
export * from "./parseKnownFiles";
|
|
8
|
+
export { externalDataInterceptor } from "./externalDataInterceptor";
|
|
8
9
|
export * from "./types";
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
import { promises as fsPromises } from "fs";
|
|
2
2
|
const { readFile } = fsPromises;
|
|
3
|
-
const filePromisesHash = {};
|
|
3
|
+
export const filePromisesHash = {};
|
|
4
|
+
export const fileIntercept = {};
|
|
4
5
|
export const slurpFile = (path, options) => {
|
|
6
|
+
if (fileIntercept[path] !== undefined) {
|
|
7
|
+
return fileIntercept[path];
|
|
8
|
+
}
|
|
5
9
|
if (!filePromisesHash[path] || options?.ignoreCache) {
|
|
6
10
|
filePromisesHash[path] = readFile(path, "utf8");
|
|
7
11
|
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @internal
|
|
3
|
+
*/
|
|
4
|
+
export declare const externalDataInterceptor: {
|
|
5
|
+
getFileRecord(): Record<string, Promise<string>>;
|
|
6
|
+
interceptFile(path: string, contents: string): void;
|
|
7
|
+
getTokenRecord(): Record<string, any>;
|
|
8
|
+
interceptToken(id: string, contents: any): void;
|
|
9
|
+
};
|
|
@@ -38,9 +38,13 @@ export interface SSOToken {
|
|
|
38
38
|
*/
|
|
39
39
|
startUrl?: string;
|
|
40
40
|
}
|
|
41
|
+
/**
|
|
42
|
+
* @internal
|
|
43
|
+
*/
|
|
44
|
+
export declare const tokenIntercept: Record<string, any>;
|
|
41
45
|
/**
|
|
42
46
|
* @internal
|
|
43
47
|
* @param id - can be either a start URL or the SSO session name.
|
|
44
48
|
* Returns the SSO token from the file system.
|
|
45
49
|
*/
|
|
46
|
-
export declare const getSSOTokenFromFile: (id: string) => Promise<
|
|
50
|
+
export declare const getSSOTokenFromFile: (id: string) => Promise<any>;
|