@jjrawlins/cdk-iam-policy-builder-helper 0.0.30 → 0.0.32
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 +59 -311
- package/.mergify.yml +4 -3
- package/cdk-iam-policy-builder-helper/go.mod +3 -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 +25 -1
- package/lib/constructs/Actions.js +26 -2
- package/lib/constructs/ManagedPolicies.d.ts +8 -8
- package/lib/constructs/ManagedPolicies.js +9 -9
- package/methods_list.txt +7 -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 +22 -22
- 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 +21 -21
- package/node_modules/@aws-sdk/core/package.json +8 -8
- package/node_modules/@aws-sdk/credential-provider-env/package.json +5 -4
- 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 +7 -6
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +13 -12
- package/node_modules/@aws-sdk/credential-provider-node/package.json +15 -13
- 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 +6 -5
- 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 +8 -7
- 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 +7 -5
- package/node_modules/@aws-sdk/middleware-host-header/package.json +3 -2
- package/node_modules/@aws-sdk/middleware-logger/package.json +3 -2
- package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +3 -2
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +6 -5
- 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 +22 -21
- package/node_modules/@aws-sdk/region-config-resolver/package.json +5 -4
- package/node_modules/@aws-sdk/token-providers/package.json +7 -7
- package/node_modules/@aws-sdk/types/package.json +2 -1
- package/node_modules/@aws-sdk/util-endpoints/package.json +4 -4
- package/node_modules/@aws-sdk/util-locate-window/package.json +2 -1
- package/node_modules/@aws-sdk/util-user-agent-browser/package.json +3 -2
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +5 -4
- package/node_modules/@aws-sdk/xml-builder/package.json +2 -1
- 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/middleware-endpoint/package.json +2 -2
- package/node_modules/@smithy/middleware-retry/package.json +4 -4
- 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/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 +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 +7 -7
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { setCredentialFeature } from "@aws-sdk/core/client";
|
|
2
2
|
import { CredentialsProviderError } from "@smithy/property-provider";
|
|
3
|
+
import { externalDataInterceptor } from "@smithy/shared-ini-file-loader";
|
|
3
4
|
import { readFileSync } from "fs";
|
|
4
5
|
import { fromWebToken } from "./fromWebToken";
|
|
5
6
|
const ENV_TOKEN_FILE = "AWS_WEB_IDENTITY_TOKEN_FILE";
|
|
@@ -17,7 +18,8 @@ export const fromTokenFile = (init = {}) => async () => {
|
|
|
17
18
|
}
|
|
18
19
|
const credentials = await fromWebToken({
|
|
19
20
|
...init,
|
|
20
|
-
webIdentityToken:
|
|
21
|
+
webIdentityToken: externalDataInterceptor?.getTokenRecord?.()[webIdentityTokenFile] ??
|
|
22
|
+
readFileSync(webIdentityTokenFile, { encoding: "ascii" }),
|
|
21
23
|
roleArn,
|
|
22
24
|
roleSessionName,
|
|
23
25
|
})();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-web-identity",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.893.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",
|
|
@@ -27,16 +27,18 @@
|
|
|
27
27
|
"aws",
|
|
28
28
|
"credentials"
|
|
29
29
|
],
|
|
30
|
+
"sideEffects": false,
|
|
30
31
|
"author": {
|
|
31
32
|
"name": "AWS SDK for JavaScript Team",
|
|
32
33
|
"url": "https://aws.amazon.com/javascript/"
|
|
33
34
|
},
|
|
34
35
|
"license": "Apache-2.0",
|
|
35
36
|
"dependencies": {
|
|
36
|
-
"@aws-sdk/core": "3.
|
|
37
|
-
"@aws-sdk/nested-clients": "3.
|
|
38
|
-
"@aws-sdk/types": "3.
|
|
39
|
-
"@smithy/property-provider": "^4.
|
|
37
|
+
"@aws-sdk/core": "3.893.0",
|
|
38
|
+
"@aws-sdk/nested-clients": "3.893.0",
|
|
39
|
+
"@aws-sdk/types": "3.893.0",
|
|
40
|
+
"@smithy/property-provider": "^4.1.1",
|
|
41
|
+
"@smithy/shared-ini-file-loader": "^4.2.0",
|
|
40
42
|
"@smithy/types": "^4.5.0",
|
|
41
43
|
"tslib": "^2.6.2"
|
|
42
44
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/middleware-host-header",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.893.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-host-header",
|
|
@@ -18,13 +18,14 @@
|
|
|
18
18
|
"main": "./dist-cjs/index.js",
|
|
19
19
|
"module": "./dist-es/index.js",
|
|
20
20
|
"types": "./dist-types/index.d.ts",
|
|
21
|
+
"sideEffects": false,
|
|
21
22
|
"author": {
|
|
22
23
|
"name": "AWS SDK for JavaScript Team",
|
|
23
24
|
"url": "https://aws.amazon.com/javascript/"
|
|
24
25
|
},
|
|
25
26
|
"license": "Apache-2.0",
|
|
26
27
|
"dependencies": {
|
|
27
|
-
"@aws-sdk/types": "3.
|
|
28
|
+
"@aws-sdk/types": "3.893.0",
|
|
28
29
|
"@smithy/protocol-http": "^5.2.1",
|
|
29
30
|
"@smithy/types": "^4.5.0",
|
|
30
31
|
"tslib": "^2.6.2"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/middleware-logger",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.893.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-logger",
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
"test:watch": "yarn g:vitest watch",
|
|
15
15
|
"test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.mts"
|
|
16
16
|
},
|
|
17
|
+
"sideEffects": false,
|
|
17
18
|
"author": {
|
|
18
19
|
"name": "AWS SDK for JavaScript Team",
|
|
19
20
|
"email": "",
|
|
@@ -24,7 +25,7 @@
|
|
|
24
25
|
"module": "./dist-es/index.js",
|
|
25
26
|
"types": "./dist-types/index.d.ts",
|
|
26
27
|
"dependencies": {
|
|
27
|
-
"@aws-sdk/types": "3.
|
|
28
|
+
"@aws-sdk/types": "3.893.0",
|
|
28
29
|
"@smithy/types": "^4.5.0",
|
|
29
30
|
"tslib": "^2.6.2"
|
|
30
31
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/middleware-recursion-detection",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.893.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",
|
|
@@ -17,13 +17,14 @@
|
|
|
17
17
|
"main": "./dist-cjs/index.js",
|
|
18
18
|
"module": "./dist-es/index.js",
|
|
19
19
|
"types": "./dist-types/index.d.ts",
|
|
20
|
+
"sideEffects": false,
|
|
20
21
|
"author": {
|
|
21
22
|
"name": "AWS SDK for JavaScript Team",
|
|
22
23
|
"url": "https://aws.amazon.com/javascript/"
|
|
23
24
|
},
|
|
24
25
|
"license": "Apache-2.0",
|
|
25
26
|
"dependencies": {
|
|
26
|
-
"@aws-sdk/types": "3.
|
|
27
|
+
"@aws-sdk/types": "3.893.0",
|
|
27
28
|
"@aws/lambda-invoke-store": "^0.0.1",
|
|
28
29
|
"@smithy/protocol-http": "^5.2.1",
|
|
29
30
|
"@smithy/types": "^4.5.0",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/middleware-user-agent",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.893.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",
|
|
@@ -18,16 +18,17 @@
|
|
|
18
18
|
"main": "./dist-cjs/index.js",
|
|
19
19
|
"module": "./dist-es/index.js",
|
|
20
20
|
"types": "./dist-types/index.d.ts",
|
|
21
|
+
"sideEffects": false,
|
|
21
22
|
"author": {
|
|
22
23
|
"name": "AWS SDK for JavaScript Team",
|
|
23
24
|
"url": "https://aws.amazon.com/javascript/"
|
|
24
25
|
},
|
|
25
26
|
"license": "Apache-2.0",
|
|
26
27
|
"dependencies": {
|
|
27
|
-
"@aws-sdk/core": "3.
|
|
28
|
-
"@aws-sdk/types": "3.
|
|
29
|
-
"@aws-sdk/util-endpoints": "3.
|
|
30
|
-
"@smithy/core": "^3.11.
|
|
28
|
+
"@aws-sdk/core": "3.893.0",
|
|
29
|
+
"@aws-sdk/types": "3.893.0",
|
|
30
|
+
"@aws-sdk/util-endpoints": "3.893.0",
|
|
31
|
+
"@smithy/core": "^3.11.1",
|
|
31
32
|
"@smithy/protocol-http": "^5.2.1",
|
|
32
33
|
"@smithy/types": "^4.5.0",
|
|
33
34
|
"tslib": "^2.6.2"
|
|
@@ -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.893.0",
|
|
4
4
|
"description": "Nested clients for AWS SDK packages.",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -20,6 +20,7 @@
|
|
|
20
20
|
"engines": {
|
|
21
21
|
"node": ">=18.0.0"
|
|
22
22
|
},
|
|
23
|
+
"sideEffects": false,
|
|
23
24
|
"author": {
|
|
24
25
|
"name": "AWS SDK for JavaScript Team",
|
|
25
26
|
"url": "https://aws.amazon.com/javascript/"
|
|
@@ -28,40 +29,40 @@
|
|
|
28
29
|
"dependencies": {
|
|
29
30
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
30
31
|
"@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.
|
|
37
|
-
"@aws-sdk/types": "3.
|
|
38
|
-
"@aws-sdk/util-endpoints": "3.
|
|
39
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
40
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
41
|
-
"@smithy/config-resolver": "^4.2.
|
|
42
|
-
"@smithy/core": "^3.11.
|
|
32
|
+
"@aws-sdk/core": "3.893.0",
|
|
33
|
+
"@aws-sdk/middleware-host-header": "3.893.0",
|
|
34
|
+
"@aws-sdk/middleware-logger": "3.893.0",
|
|
35
|
+
"@aws-sdk/middleware-recursion-detection": "3.893.0",
|
|
36
|
+
"@aws-sdk/middleware-user-agent": "3.893.0",
|
|
37
|
+
"@aws-sdk/region-config-resolver": "3.893.0",
|
|
38
|
+
"@aws-sdk/types": "3.893.0",
|
|
39
|
+
"@aws-sdk/util-endpoints": "3.893.0",
|
|
40
|
+
"@aws-sdk/util-user-agent-browser": "3.893.0",
|
|
41
|
+
"@aws-sdk/util-user-agent-node": "3.893.0",
|
|
42
|
+
"@smithy/config-resolver": "^4.2.2",
|
|
43
|
+
"@smithy/core": "^3.11.1",
|
|
43
44
|
"@smithy/fetch-http-handler": "^5.2.1",
|
|
44
45
|
"@smithy/hash-node": "^4.1.1",
|
|
45
46
|
"@smithy/invalid-dependency": "^4.1.1",
|
|
46
47
|
"@smithy/middleware-content-length": "^4.1.1",
|
|
47
|
-
"@smithy/middleware-endpoint": "^4.2.
|
|
48
|
-
"@smithy/middleware-retry": "^4.2.
|
|
48
|
+
"@smithy/middleware-endpoint": "^4.2.3",
|
|
49
|
+
"@smithy/middleware-retry": "^4.2.4",
|
|
49
50
|
"@smithy/middleware-serde": "^4.1.1",
|
|
50
51
|
"@smithy/middleware-stack": "^4.1.1",
|
|
51
|
-
"@smithy/node-config-provider": "^4.2.
|
|
52
|
+
"@smithy/node-config-provider": "^4.2.2",
|
|
52
53
|
"@smithy/node-http-handler": "^4.2.1",
|
|
53
54
|
"@smithy/protocol-http": "^5.2.1",
|
|
54
|
-
"@smithy/smithy-client": "^4.6.
|
|
55
|
+
"@smithy/smithy-client": "^4.6.3",
|
|
55
56
|
"@smithy/types": "^4.5.0",
|
|
56
57
|
"@smithy/url-parser": "^4.1.1",
|
|
57
58
|
"@smithy/util-base64": "^4.1.0",
|
|
58
59
|
"@smithy/util-body-length-browser": "^4.1.0",
|
|
59
60
|
"@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.
|
|
61
|
+
"@smithy/util-defaults-mode-browser": "^4.1.3",
|
|
62
|
+
"@smithy/util-defaults-mode-node": "^4.1.3",
|
|
63
|
+
"@smithy/util-endpoints": "^3.1.2",
|
|
63
64
|
"@smithy/util-middleware": "^4.1.1",
|
|
64
|
-
"@smithy/util-retry": "^4.1.
|
|
65
|
+
"@smithy/util-retry": "^4.1.2",
|
|
65
66
|
"@smithy/util-utf8": "^4.1.0",
|
|
66
67
|
"tslib": "^2.6.2"
|
|
67
68
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/region-config-resolver",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.893.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",
|
|
@@ -16,16 +16,17 @@
|
|
|
16
16
|
"main": "./dist-cjs/index.js",
|
|
17
17
|
"module": "./dist-es/index.js",
|
|
18
18
|
"types": "./dist-types/index.d.ts",
|
|
19
|
+
"sideEffects": false,
|
|
19
20
|
"author": {
|
|
20
21
|
"name": "AWS SDK for JavaScript Team",
|
|
21
22
|
"url": "https://aws.amazon.com/javascript/"
|
|
22
23
|
},
|
|
23
24
|
"license": "Apache-2.0",
|
|
24
25
|
"dependencies": {
|
|
25
|
-
"@aws-sdk/types": "3.
|
|
26
|
-
"@smithy/node-config-provider": "^4.2.
|
|
26
|
+
"@aws-sdk/types": "3.893.0",
|
|
27
|
+
"@smithy/node-config-provider": "^4.2.2",
|
|
27
28
|
"@smithy/types": "^4.5.0",
|
|
28
|
-
"@smithy/util-config-provider": "^4.
|
|
29
|
+
"@smithy/util-config-provider": "^4.1.0",
|
|
29
30
|
"@smithy/util-middleware": "^4.1.1",
|
|
30
31
|
"tslib": "^2.6.2"
|
|
31
32
|
},
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/token-providers",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.893.0",
|
|
4
4
|
"description": "A collection of token providers",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
7
|
-
"sideEffects": false,
|
|
8
7
|
"scripts": {
|
|
9
8
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
10
9
|
"build:cjs": "node ../../scripts/compilation/inline token-providers",
|
|
@@ -23,17 +22,18 @@
|
|
|
23
22
|
"aws",
|
|
24
23
|
"token"
|
|
25
24
|
],
|
|
25
|
+
"sideEffects": false,
|
|
26
26
|
"author": {
|
|
27
27
|
"name": "AWS SDK for JavaScript Team",
|
|
28
28
|
"url": "https://aws.amazon.com/javascript/"
|
|
29
29
|
},
|
|
30
30
|
"license": "Apache-2.0",
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@aws-sdk/core": "3.
|
|
33
|
-
"@aws-sdk/nested-clients": "3.
|
|
34
|
-
"@aws-sdk/types": "3.
|
|
35
|
-
"@smithy/property-provider": "^4.
|
|
36
|
-
"@smithy/shared-ini-file-loader": "^4.0
|
|
32
|
+
"@aws-sdk/core": "3.893.0",
|
|
33
|
+
"@aws-sdk/nested-clients": "3.893.0",
|
|
34
|
+
"@aws-sdk/types": "3.893.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/types",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.893.0",
|
|
4
4
|
"main": "./dist-cjs/index.js",
|
|
5
5
|
"module": "./dist-es/index.js",
|
|
6
6
|
"types": "./dist-types/index.d.ts",
|
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
"extract:docs": "api-extractor run --local",
|
|
17
17
|
"test": "tsc -p tsconfig.test.json"
|
|
18
18
|
},
|
|
19
|
+
"sideEffects": false,
|
|
19
20
|
"author": {
|
|
20
21
|
"name": "AWS SDK for JavaScript Team",
|
|
21
22
|
"url": "https://aws.amazon.com/javascript/"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/util-endpoints",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.893.0",
|
|
4
4
|
"description": "Utilities to help with endpoint resolution",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -18,17 +18,17 @@
|
|
|
18
18
|
"test:watch": "yarn g:vitest watch",
|
|
19
19
|
"test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.mts"
|
|
20
20
|
},
|
|
21
|
+
"sideEffects": true,
|
|
21
22
|
"author": {
|
|
22
23
|
"name": "AWS SDK for JavaScript Team",
|
|
23
24
|
"url": "https://aws.amazon.com/javascript/"
|
|
24
25
|
},
|
|
25
26
|
"license": "Apache-2.0",
|
|
26
|
-
"sideEffects": true,
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@aws-sdk/types": "3.
|
|
28
|
+
"@aws-sdk/types": "3.893.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-locate-window",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.893.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-locate-window",
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
"test": "yarn g:vitest run",
|
|
13
13
|
"test:watch": "yarn g:vitest watch"
|
|
14
14
|
},
|
|
15
|
+
"sideEffects": false,
|
|
15
16
|
"author": {
|
|
16
17
|
"name": "AWS SDK for JavaScript Team",
|
|
17
18
|
"url": "https://aws.amazon.com/javascript/"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/util-user-agent-browser",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.893.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-browser",
|
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
"module": "./dist-es/index.js",
|
|
17
17
|
"browser": "./dist-es/index.js",
|
|
18
18
|
"types": "./dist-types/index.d.ts",
|
|
19
|
+
"sideEffects": false,
|
|
19
20
|
"author": {
|
|
20
21
|
"name": "AWS SDK for JavaScript Team",
|
|
21
22
|
"url": "https://aws.amazon.com/javascript/"
|
|
@@ -23,7 +24,7 @@
|
|
|
23
24
|
"license": "Apache-2.0",
|
|
24
25
|
"react-native": "dist-es/index.native.js",
|
|
25
26
|
"dependencies": {
|
|
26
|
-
"@aws-sdk/types": "3.
|
|
27
|
+
"@aws-sdk/types": "3.893.0",
|
|
27
28
|
"@smithy/types": "^4.5.0",
|
|
28
29
|
"bowser": "^2.11.0",
|
|
29
30
|
"tslib": "^2.6.2"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/util-user-agent-node",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.893.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",
|
|
@@ -15,15 +15,16 @@
|
|
|
15
15
|
"main": "./dist-cjs/index.js",
|
|
16
16
|
"module": "./dist-es/index.js",
|
|
17
17
|
"types": "./dist-types/index.d.ts",
|
|
18
|
+
"sideEffects": false,
|
|
18
19
|
"author": {
|
|
19
20
|
"name": "AWS SDK for JavaScript Team",
|
|
20
21
|
"url": "https://aws.amazon.com/javascript/"
|
|
21
22
|
},
|
|
22
23
|
"license": "Apache-2.0",
|
|
23
24
|
"dependencies": {
|
|
24
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
25
|
-
"@aws-sdk/types": "3.
|
|
26
|
-
"@smithy/node-config-provider": "^4.2.
|
|
25
|
+
"@aws-sdk/middleware-user-agent": "3.893.0",
|
|
26
|
+
"@aws-sdk/types": "3.893.0",
|
|
27
|
+
"@smithy/node-config-provider": "^4.2.2",
|
|
27
28
|
"@smithy/types": "^4.5.0",
|
|
28
29
|
"tslib": "^2.6.2"
|
|
29
30
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/xml-builder",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.893.0",
|
|
4
4
|
"description": "XML builder for the AWS SDK",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"@smithy/types": "^4.5.0",
|
|
@@ -17,6 +17,7 @@
|
|
|
17
17
|
"test": "yarn g:vitest run",
|
|
18
18
|
"test:watch": "yarn g:vitest watch"
|
|
19
19
|
},
|
|
20
|
+
"sideEffects": false,
|
|
20
21
|
"author": {
|
|
21
22
|
"name": "AWS SDK for JavaScript Team",
|
|
22
23
|
"url": "https://aws.amazon.com/javascript/"
|
|
@@ -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/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,7 +25,7 @@
|
|
|
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
30
|
"@smithy/node-config-provider": "^4.2.2",
|
|
31
31
|
"@smithy/shared-ini-file-loader": "^4.2.0",
|
|
@@ -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",
|
|
@@ -36,11 +36,11 @@
|
|
|
36
36
|
"dependencies": {
|
|
37
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"
|
|
@@ -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",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/smithy-client",
|
|
3
|
-
"version": "4.6.
|
|
3
|
+
"version": "4.6.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 smithy-client",
|
|
@@ -25,12 +25,12 @@
|
|
|
25
25
|
"license": "Apache-2.0",
|
|
26
26
|
"sideEffects": false,
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@smithy/core": "^3.11.
|
|
29
|
-
"@smithy/middleware-endpoint": "^4.2.
|
|
28
|
+
"@smithy/core": "^3.11.1",
|
|
29
|
+
"@smithy/middleware-endpoint": "^4.2.3",
|
|
30
30
|
"@smithy/middleware-stack": "^4.1.1",
|
|
31
31
|
"@smithy/protocol-http": "^5.2.1",
|
|
32
32
|
"@smithy/types": "^4.5.0",
|
|
33
|
-
"@smithy/util-stream": "^4.3.
|
|
33
|
+
"@smithy/util-stream": "^4.3.2",
|
|
34
34
|
"tslib": "^2.6.2"
|
|
35
35
|
},
|
|
36
36
|
"engines": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/util-defaults-mode-browser",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.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 util-defaults-mode-browser",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"sideEffects": false,
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"@smithy/property-provider": "^4.1.1",
|
|
28
|
-
"@smithy/smithy-client": "^4.6.
|
|
28
|
+
"@smithy/smithy-client": "^4.6.3",
|
|
29
29
|
"@smithy/types": "^4.5.0",
|
|
30
30
|
"bowser": "^2.11.0",
|
|
31
31
|
"tslib": "^2.6.2"
|