@jjrawlins/cdk-iam-policy-builder-helper 0.0.11 → 0.0.13
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 +6 -6
- 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/methods_list.txt +4 -0
- package/node_modules/@aws-sdk/client-iam/dist-cjs/auth/httpAuthSchemeProvider.js +3 -3
- package/node_modules/@aws-sdk/client-iam/dist-cjs/endpoint/ruleset.js +3 -3
- package/node_modules/@aws-sdk/client-iam/dist-cjs/index.js +63 -24
- package/node_modules/@aws-sdk/client-iam/dist-cjs/runtimeConfig.js +9 -5
- package/node_modules/@aws-sdk/client-iam/dist-es/IAMClient.js +2 -1
- package/node_modules/@aws-sdk/client-iam/dist-es/auth/httpAuthSchemeProvider.js +3 -3
- package/node_modules/@aws-sdk/client-iam/dist-es/endpoint/EndpointParameters.js +2 -3
- package/node_modules/@aws-sdk/client-iam/dist-es/endpoint/ruleset.js +3 -3
- package/node_modules/@aws-sdk/client-iam/dist-es/models/models_0.js +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-es/protocols/Aws_query.js +38 -0
- package/node_modules/@aws-sdk/client-iam/dist-es/runtimeConfig.js +10 -6
- package/node_modules/@aws-sdk/client-iam/dist-es/runtimeExtensions.js +2 -14
- package/node_modules/@aws-sdk/client-iam/dist-types/auth/httpAuthSchemeProvider.d.ts +15 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/AddClientIDToOpenIDConnectProviderCommand.d.ts +9 -6
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/AddRoleToInstanceProfileCommand.d.ts +9 -6
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/AddUserToGroupCommand.d.ts +9 -6
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/AttachGroupPolicyCommand.d.ts +9 -6
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/AttachRolePolicyCommand.d.ts +9 -6
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/AttachUserPolicyCommand.d.ts +9 -6
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/ChangePasswordCommand.d.ts +14 -10
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/CreateAccessKeyCommand.d.ts +11 -11
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/CreateAccountAliasCommand.d.ts +8 -5
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/CreateGroupCommand.d.ts +11 -11
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/CreateInstanceProfileCommand.d.ts +12 -12
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/CreateLoginProfileCommand.d.ts +11 -11
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/CreateOpenIDConnectProviderCommand.d.ts +9 -9
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/CreatePolicyCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/CreatePolicyVersionCommand.d.ts +3 -2
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/CreateRoleCommand.d.ts +14 -14
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/CreateSAMLProviderCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/CreateServiceLinkedRoleCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/CreateServiceSpecificCredentialCommand.d.ts +12 -9
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/CreateUserCommand.d.ts +11 -11
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/CreateVirtualMFADeviceCommand.d.ts +6 -4
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/DeactivateMFADeviceCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/DeleteAccessKeyCommand.d.ts +9 -6
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/DeleteAccountAliasCommand.d.ts +8 -5
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/DeleteAccountPasswordPolicyCommand.d.ts +7 -4
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/DeleteGroupCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/DeleteGroupPolicyCommand.d.ts +11 -8
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/DeleteInstanceProfileCommand.d.ts +8 -5
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/DeleteLoginProfileCommand.d.ts +12 -8
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/DeleteOpenIDConnectProviderCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/DeletePolicyCommand.d.ts +7 -8
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/DeletePolicyVersionCommand.d.ts +4 -3
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/DeleteRoleCommand.d.ts +12 -9
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/DeleteRolePermissionsBoundaryCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/DeleteRolePolicyCommand.d.ts +11 -8
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/DeleteSAMLProviderCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/DeleteSSHPublicKeyCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/DeleteServerCertificateCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/DeleteServiceLinkedRoleCommand.d.ts +3 -2
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/DeleteServiceSpecificCredentialCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/DeleteSigningCertificateCommand.d.ts +9 -6
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/DeleteUserCommand.d.ts +17 -14
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/DeleteUserPermissionsBoundaryCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/DeleteUserPolicyCommand.d.ts +11 -8
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/DeleteVirtualMFADeviceCommand.d.ts +9 -6
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/DetachGroupPolicyCommand.d.ts +3 -2
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/DetachRolePolicyCommand.d.ts +3 -2
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/DetachUserPolicyCommand.d.ts +3 -2
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/DisableOrganizationsRootCredentialsManagementCommand.d.ts +7 -7
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/DisableOrganizationsRootSessionsCommand.d.ts +7 -7
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/EnableMFADeviceCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/EnableOrganizationsRootCredentialsManagementCommand.d.ts +7 -7
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/EnableOrganizationsRootSessionsCommand.d.ts +7 -7
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/GenerateCredentialReportCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/GenerateOrganizationsAccessReportCommand.d.ts +11 -11
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/GenerateServiceLastAccessedDetailsCommand.d.ts +12 -12
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/GetAccessKeyLastUsedCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/GetAccountAuthorizationDetailsCommand.d.ts +3 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/GetAccountPasswordPolicyCommand.d.ts +15 -15
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/GetAccountSummaryCommand.d.ts +31 -31
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/GetContextKeysForCustomPolicyCommand.d.ts +6 -5
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/GetContextKeysForPrincipalPolicyCommand.d.ts +6 -4
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/GetCredentialReportCommand.d.ts +5 -4
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/GetGroupCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/GetGroupPolicyCommand.d.ts +6 -4
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/GetInstanceProfileCommand.d.ts +18 -18
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/GetLoginProfileCommand.d.ts +7 -7
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/GetMFADeviceCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/GetOpenIDConnectProviderCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/GetOrganizationsAccessReportCommand.d.ts +31 -32
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/GetPolicyCommand.d.ts +6 -5
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/GetPolicyVersionCommand.d.ts +7 -4
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/GetRoleCommand.d.ts +18 -17
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/GetRolePolicyCommand.d.ts +7 -5
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/GetSAMLProviderCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/GetSSHPublicKeyCommand.d.ts +3 -2
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/GetServerCertificateCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/GetServiceLastAccessedDetailsCommand.d.ts +18 -18
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/GetServiceLastAccessedDetailsWithEntitiesCommand.d.ts +24 -24
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/GetServiceLinkedRoleDeletionStatusCommand.d.ts +4 -3
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/GetUserCommand.d.ts +10 -10
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/GetUserPolicyCommand.d.ts +7 -5
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/ListAccessKeysCommand.d.ts +14 -14
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/ListAccountAliasesCommand.d.ts +5 -5
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/ListAttachedGroupPoliciesCommand.d.ts +4 -3
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/ListAttachedRolePoliciesCommand.d.ts +4 -3
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/ListAttachedUserPoliciesCommand.d.ts +4 -3
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/ListEntitiesForPolicyCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/ListGroupPoliciesCommand.d.ts +9 -9
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/ListGroupsCommand.d.ts +20 -20
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/ListGroupsForUserCommand.d.ts +16 -16
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/ListInstanceProfileTagsCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/ListInstanceProfilesCommand.d.ts +3 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/ListInstanceProfilesForRoleCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/ListMFADeviceTagsCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/ListMFADevicesCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/ListOpenIDConnectProviderTagsCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/ListOpenIDConnectProvidersCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/ListOrganizationsFeaturesCommand.d.ts +7 -7
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/ListPoliciesCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/ListPoliciesGrantingServiceAccessCommand.d.ts +23 -23
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/ListPolicyTagsCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/ListPolicyVersionsCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/ListRolePoliciesCommand.d.ts +5 -4
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/ListRoleTagsCommand.d.ts +11 -11
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/ListRolesCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/ListSAMLProviderTagsCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/ListSAMLProvidersCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/ListSSHPublicKeysCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/ListServerCertificateTagsCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/ListServerCertificatesCommand.d.ts +3 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/ListServiceSpecificCredentialsCommand.d.ts +10 -2
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/ListSigningCertificatesCommand.d.ts +11 -11
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/ListUserPoliciesCommand.d.ts +5 -4
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/ListUserTagsCommand.d.ts +11 -11
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/ListUsersCommand.d.ts +18 -18
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/ListVirtualMFADevicesCommand.d.ts +8 -8
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/PutGroupPolicyCommand.d.ts +11 -8
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/PutRolePermissionsBoundaryCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/PutRolePolicyCommand.d.ts +10 -7
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/PutUserPermissionsBoundaryCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/PutUserPolicyCommand.d.ts +10 -7
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/RemoveClientIDFromOpenIDConnectProviderCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/RemoveRoleFromInstanceProfileCommand.d.ts +9 -6
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/RemoveUserFromGroupCommand.d.ts +9 -6
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/ResetServiceSpecificCredentialCommand.d.ts +8 -4
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/ResyncMFADeviceCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/SetDefaultPolicyVersionCommand.d.ts +3 -2
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/SetSecurityTokenServicePreferencesCommand.d.ts +9 -6
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/SimulateCustomPolicyCommand.d.ts +4 -3
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/SimulatePrincipalPolicyCommand.d.ts +5 -5
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/TagInstanceProfileCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/TagMFADeviceCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/TagOpenIDConnectProviderCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/TagPolicyCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/TagRoleCommand.d.ts +13 -10
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/TagSAMLProviderCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/TagServerCertificateCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/TagUserCommand.d.ts +13 -10
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/UntagInstanceProfileCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/UntagMFADeviceCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/UntagOpenIDConnectProviderCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/UntagPolicyCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/UntagRoleCommand.d.ts +9 -6
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/UntagSAMLProviderCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/UntagServerCertificateCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/UntagUserCommand.d.ts +9 -6
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/UpdateAccessKeyCommand.d.ts +15 -8
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/UpdateAccountPasswordPolicyCommand.d.ts +8 -5
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/UpdateAssumeRolePolicyCommand.d.ts +9 -6
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/UpdateGroupCommand.d.ts +9 -6
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/UpdateLoginProfileCommand.d.ts +12 -9
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/UpdateOpenIDConnectProviderThumbprintCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/UpdateRoleCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/UpdateRoleDescriptionCommand.d.ts +3 -2
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/UpdateSAMLProviderCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/UpdateSSHPublicKeyCommand.d.ts +7 -2
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/UpdateServerCertificateCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/UpdateServiceSpecificCredentialCommand.d.ts +3 -2
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/UpdateSigningCertificateCommand.d.ts +15 -8
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/UpdateUserCommand.d.ts +9 -6
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/UploadSSHPublicKeyCommand.d.ts +3 -2
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/UploadServerCertificateCommand.d.ts +15 -15
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/UploadSigningCertificateCommand.d.ts +13 -13
- package/node_modules/@aws-sdk/client-iam/dist-types/endpoint/EndpointParameters.d.ts +9 -11
- package/node_modules/@aws-sdk/client-iam/dist-types/models/models_0.d.ts +241 -181
- package/node_modules/@aws-sdk/client-iam/dist-types/models/models_1.d.ts +20 -23
- package/node_modules/@aws-sdk/client-iam/dist-types/runtimeConfig.browser.d.ts +19 -18
- package/node_modules/@aws-sdk/client-iam/dist-types/runtimeConfig.d.ts +17 -16
- package/node_modules/@aws-sdk/client-iam/dist-types/runtimeConfig.native.d.ts +20 -19
- package/node_modules/@aws-sdk/client-iam/dist-types/runtimeConfig.shared.d.ts +3 -3
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +3 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/AddClientIDToOpenIDConnectProviderCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/AddRoleToInstanceProfileCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/AddUserToGroupCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/AttachGroupPolicyCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/AttachRolePolicyCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/AttachUserPolicyCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/ChangePasswordCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/CreateAccountAliasCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/CreateGroupCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/CreateInstanceProfileCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/CreateOpenIDConnectProviderCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/CreatePolicyCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/CreatePolicyVersionCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/CreateRoleCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/CreateSAMLProviderCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/CreateServiceLinkedRoleCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/CreateServiceSpecificCredentialCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/CreateUserCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/CreateVirtualMFADeviceCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/DeactivateMFADeviceCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/DeleteAccessKeyCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/DeleteAccountAliasCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/DeleteGroupCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/DeleteGroupPolicyCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/DeleteInstanceProfileCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/DeleteOpenIDConnectProviderCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/DeletePolicyCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/DeletePolicyVersionCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/DeleteRoleCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/DeleteRolePermissionsBoundaryCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/DeleteRolePolicyCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/DeleteSAMLProviderCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/DeleteSSHPublicKeyCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/DeleteServerCertificateCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/DeleteServiceLinkedRoleCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/DeleteServiceSpecificCredentialCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/DeleteSigningCertificateCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/DeleteUserCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/DeleteUserPermissionsBoundaryCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/DeleteUserPolicyCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/DeleteVirtualMFADeviceCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/DetachGroupPolicyCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/DetachRolePolicyCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/DetachUserPolicyCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/EnableMFADeviceCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/GenerateOrganizationsAccessReportCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/GenerateServiceLastAccessedDetailsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/GetAccessKeyLastUsedCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/GetContextKeysForCustomPolicyCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/GetContextKeysForPrincipalPolicyCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/GetGroupCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/GetGroupPolicyCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/GetInstanceProfileCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/GetMFADeviceCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/GetOpenIDConnectProviderCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/GetOrganizationsAccessReportCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/GetPolicyCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/GetPolicyVersionCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/GetRoleCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/GetRolePolicyCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/GetSAMLProviderCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/GetSSHPublicKeyCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/GetServerCertificateCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/GetServiceLastAccessedDetailsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/GetServiceLastAccessedDetailsWithEntitiesCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/GetServiceLinkedRoleDeletionStatusCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/GetUserPolicyCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/ListAttachedGroupPoliciesCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/ListAttachedRolePoliciesCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/ListAttachedUserPoliciesCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/ListEntitiesForPolicyCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/ListGroupPoliciesCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/ListGroupsForUserCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/ListInstanceProfileTagsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/ListInstanceProfilesForRoleCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/ListMFADeviceTagsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/ListOpenIDConnectProviderTagsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/ListPoliciesGrantingServiceAccessCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/ListPolicyTagsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/ListPolicyVersionsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/ListRolePoliciesCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/ListRoleTagsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/ListSAMLProviderTagsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/ListServerCertificateTagsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/ListUserPoliciesCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/ListUserTagsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/PutGroupPolicyCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/PutRolePermissionsBoundaryCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/PutRolePolicyCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/PutUserPermissionsBoundaryCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/PutUserPolicyCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/RemoveClientIDFromOpenIDConnectProviderCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/RemoveRoleFromInstanceProfileCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/RemoveUserFromGroupCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/ResetServiceSpecificCredentialCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/ResyncMFADeviceCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/SetDefaultPolicyVersionCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/SetSecurityTokenServicePreferencesCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/SimulateCustomPolicyCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/SimulatePrincipalPolicyCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/TagInstanceProfileCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/TagMFADeviceCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/TagOpenIDConnectProviderCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/TagPolicyCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/TagRoleCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/TagSAMLProviderCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/TagServerCertificateCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/TagUserCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UntagInstanceProfileCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UntagMFADeviceCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UntagOpenIDConnectProviderCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UntagPolicyCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UntagRoleCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UntagSAMLProviderCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UntagServerCertificateCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UntagUserCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UpdateAccessKeyCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UpdateAssumeRolePolicyCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UpdateGroupCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UpdateLoginProfileCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UpdateOpenIDConnectProviderThumbprintCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UpdateRoleCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UpdateRoleDescriptionCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UpdateSAMLProviderCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UpdateSSHPublicKeyCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UpdateServerCertificateCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UpdateServiceSpecificCredentialCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UpdateSigningCertificateCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UpdateUserCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UploadSSHPublicKeyCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UploadServerCertificateCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UploadSigningCertificateCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +12 -12
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/models/models_0.d.ts +15 -3
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/runtimeConfig.browser.d.ts +26 -30
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/runtimeConfig.d.ts +21 -29
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/runtimeConfig.native.d.ts +27 -31
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/runtimeConfig.shared.d.ts +3 -3
- package/node_modules/@aws-sdk/client-iam/package.json +35 -35
- package/node_modules/@aws-sdk/client-sso/dist-cjs/auth/httpAuthSchemeProvider.js +3 -3
- package/node_modules/@aws-sdk/client-sso/dist-cjs/index.js +22 -23
- package/node_modules/@aws-sdk/client-sso/dist-cjs/runtimeConfig.js +9 -5
- package/node_modules/@aws-sdk/client-sso/dist-es/SSOClient.js +2 -1
- package/node_modules/@aws-sdk/client-sso/dist-es/auth/httpAuthSchemeProvider.js +3 -3
- package/node_modules/@aws-sdk/client-sso/dist-es/endpoint/EndpointParameters.js +2 -3
- package/node_modules/@aws-sdk/client-sso/dist-es/runtimeConfig.js +10 -6
- package/node_modules/@aws-sdk/client-sso/dist-es/runtimeExtensions.js +2 -14
- package/node_modules/@aws-sdk/client-sso/dist-types/auth/httpAuthSchemeProvider.d.ts +15 -1
- package/node_modules/@aws-sdk/client-sso/dist-types/commands/GetRoleCredentialsCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-sso/dist-types/commands/ListAccountRolesCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-sso/dist-types/commands/ListAccountsCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-sso/dist-types/commands/LogoutCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-sso/dist-types/endpoint/EndpointParameters.d.ts +9 -11
- package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.browser.d.ts +19 -18
- package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.d.ts +16 -15
- package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.native.d.ts +20 -19
- package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.shared.d.ts +3 -3
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +3 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/commands/GetRoleCredentialsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/commands/ListAccountRolesCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/commands/ListAccountsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/commands/LogoutCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +12 -12
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.browser.d.ts +26 -30
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.d.ts +20 -26
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.native.d.ts +27 -31
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.shared.d.ts +3 -3
- package/node_modules/@aws-sdk/client-sso/package.json +33 -33
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/account-id-endpoint/index.js +13 -15
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.js +15 -3
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +124 -33
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +1692 -23
- package/node_modules/@aws-sdk/core/dist-es/submodules/account-id-endpoint/AccountIdEndpointModeConfigResolver.js +4 -4
- package/node_modules/@aws-sdk/core/dist-es/submodules/client/index.js +1 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/client/setTokenFeature.js +7 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/NODE_AUTH_SCHEME_PREFERENCE_OPTIONS.js +22 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/index.js +1 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.js +70 -27
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/index.js +1 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/getArrayForCommaSeparatedString.js +1 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/getBearerTokenEnvKey.js +1 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/ConfigurableSerdeContext.js +6 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/ProtocolLib.js +94 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/cbor/AwsSmithyRpcV2CborProtocol.js +39 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/common.js +2 -1
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/index.js +14 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJson1_0Protocol.js +19 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJson1_1Protocol.js +19 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJsonRpcProtocol.js +75 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsRestJsonProtocol.js +77 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonCodec.js +20 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeDeserializer.js +105 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeSerializer.js +110 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/jsonReplacer.js +46 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/jsonReviver.js +18 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/parseJsonBody.js +8 -5
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/AwsEc2QueryProtocol.js +17 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/AwsQueryProtocol.js +127 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/QuerySerializerSettings.js +1 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/QueryShapeSerializer.js +156 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/AwsRestXmlProtocol.js +78 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlCodec.js +20 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlShapeDeserializer.js +151 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlShapeSerializer.js +283 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/simpleFormatXml.js +27 -0
- package/node_modules/@aws-sdk/core/dist-types/api-extractor-type-index.d.ts +5 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/account-id-endpoint/AccountIdEndpointModeConfigResolver.d.ts +0 -3
- package/node_modules/@aws-sdk/core/dist-types/submodules/account-id-endpoint/AccountIdEndpointModeConstants.d.ts +9 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/client/index.d.ts +1 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/client/setTokenFeature.d.ts +7 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.d.ts +2 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/NODE_AUTH_SCHEME_PREFERENCE_OPTIONS.d.ts +5 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/index.d.ts +1 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.d.ts +25 -3
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/index.d.ts +1 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/utils/getArrayForCommaSeparatedString.d.ts +8 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/utils/getBearerTokenEnvKey.d.ts +6 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/ConfigurableSerdeContext.d.ts +8 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/ProtocolLib.d.ts +57 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/cbor/AwsSmithyRpcV2CborProtocol.d.ts +23 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/common.d.ts +2 -2
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/index.d.ts +14 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsJson1_0Protocol.d.ts +18 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsJson1_1Protocol.d.ts +18 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsJsonRpcProtocol.d.ts +23 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsRestJsonProtocol.d.ts +24 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/JsonCodec.d.ts +19 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/JsonShapeDeserializer.d.ts +13 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/JsonShapeSerializer.d.ts +15 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/jsonReplacer.d.ts +21 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/jsonReviver.d.ts +15 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/parseJsonBody.d.ts +12 -3
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/query/AwsEc2QueryProtocol.d.ts +20 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/query/AwsQueryProtocol.d.ts +43 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/query/QuerySerializerSettings.d.ts +6 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/query/QueryShapeSerializer.d.ts +16 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/xml/AwsRestXmlProtocol.d.ts +26 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/xml/XmlCodec.d.ts +14 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/xml/XmlShapeDeserializer.d.ts +20 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/xml/XmlShapeSerializer.d.ts +21 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/xml/parseXmlBody.d.ts +9 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/xml/simpleFormatXml.d.ts +6 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/api-extractor-type-index.d.ts +5 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/index.d.ts +1 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/setTokenFeature.d.ts +6 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/NODE_AUTH_SCHEME_PREFERENCE_OPTIONS.d.ts +4 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/index.d.ts +1 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.d.ts +11 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/index.d.ts +1 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/utils/getArrayForCommaSeparatedString.d.ts +1 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/utils/getBearerTokenEnvKey.d.ts +1 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/ConfigurableSerdeContext.d.ts +5 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/ProtocolLib.d.ts +39 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/cbor/AwsSmithyRpcV2CborProtocol.d.ts +33 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/common.d.ts +2 -2
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/index.d.ts +14 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsJson1_0Protocol.d.ts +15 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsJson1_1Protocol.d.ts +15 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsJsonRpcProtocol.d.ts +44 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsRestJsonProtocol.d.ts +36 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/JsonCodec.d.ts +16 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/JsonShapeDeserializer.d.ts +13 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/JsonShapeSerializer.d.ts +15 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/jsonReplacer.d.ts +7 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/jsonReviver.d.ts +7 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/parseJsonBody.d.ts +3 -3
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/query/AwsEc2QueryProtocol.d.ts +14 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/query/AwsQueryProtocol.d.ts +57 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/query/QuerySerializerSettings.d.ts +6 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/query/QueryShapeSerializer.d.ts +16 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/xml/AwsRestXmlProtocol.d.ts +41 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/xml/XmlCodec.d.ts +17 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/xml/XmlShapeDeserializer.d.ts +15 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/xml/XmlShapeSerializer.d.ts +21 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/xml/simpleFormatXml.d.ts +1 -0
- package/node_modules/@aws-sdk/core/package.json +30 -26
- package/node_modules/@aws-sdk/credential-provider-env/dist-cjs/index.js +3 -3
- package/node_modules/@aws-sdk/credential-provider-env/package.json +6 -6
- package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/requestHelpers.js +2 -3
- package/node_modules/@aws-sdk/credential-provider-http/package.json +11 -11
- package/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js +9 -9
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveAssumeRoleCredentials.d.ts +2 -2
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveCredentialSource.d.ts +1 -1
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveProfileData.d.ts +9 -1
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveAssumeRoleCredentials.d.ts +2 -2
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +16 -16
- package/node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js +3 -3
- package/node_modules/@aws-sdk/credential-provider-node/package.json +13 -13
- package/node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js +3 -3
- package/node_modules/@aws-sdk/credential-provider-process/package.json +7 -7
- package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js +3 -3
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +9 -9
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromWebToken.js +17 -7
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/index.js +4 -4
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +7 -7
- package/node_modules/@aws-sdk/middleware-host-header/dist-cjs/index.js +9 -11
- package/node_modules/@aws-sdk/middleware-host-header/dist-types/index.d.ts +15 -0
- package/node_modules/@aws-sdk/middleware-host-header/package.json +8 -7
- package/node_modules/@aws-sdk/middleware-logger/dist-cjs/index.js +5 -5
- package/node_modules/@aws-sdk/middleware-logger/dist-types/loggerMiddleware.d.ts +1 -1
- package/node_modules/@aws-sdk/middleware-logger/package.json +6 -6
- package/node_modules/@aws-sdk/middleware-recursion-detection/dist-cjs/index.js +10 -6
- package/node_modules/@aws-sdk/middleware-recursion-detection/dist-es/index.js +6 -3
- package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +7 -7
- package/node_modules/@aws-sdk/middleware-user-agent/dist-cjs/index.js +11 -11
- package/node_modules/@aws-sdk/middleware-user-agent/dist-es/configurations.js +4 -4
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +10 -10
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/auth/httpAuthSchemeProvider.js +3 -3
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +23 -24
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/runtimeConfig.js +9 -5
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/STSClient.js +2 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/auth/httpAuthSchemeProvider.js +4 -5
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/EndpointParameters.js +2 -3
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +6 -7
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.js +9 -5
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeExtensions.js +2 -14
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/SSOOIDCClient.js +2 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/auth/httpAuthSchemeProvider.js +3 -3
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/EndpointParameters.js +2 -3
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.js +10 -6
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeExtensions.js +2 -14
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/STSClient.js +2 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/auth/httpAuthSchemeProvider.js +4 -5
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/endpoint/EndpointParameters.js +2 -3
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.js +10 -6
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeExtensions.js +2 -14
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/auth/httpAuthSchemeProvider.d.ts +15 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/commands/CreateTokenCommand.d.ts +47 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/endpoint/EndpointParameters.d.ts +9 -11
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.browser.d.ts +19 -18
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.d.ts +16 -15
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.native.d.ts +20 -19
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.shared.d.ts +3 -3
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/auth/httpAuthSchemeProvider.d.ts +15 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/commands/AssumeRoleCommand.d.ts +48 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.d.ts +35 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/endpoint/EndpointParameters.d.ts +11 -13
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.browser.d.ts +21 -20
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.d.ts +19 -18
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.native.d.ts +22 -21
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.shared.d.ts +4 -4
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/auth/httpAuthSchemeProvider.d.ts +3 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/commands/CreateTokenCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/endpoint/EndpointParameters.d.ts +12 -12
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.browser.d.ts +26 -30
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.d.ts +20 -26
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.native.d.ts +27 -31
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.shared.d.ts +3 -3
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/auth/httpAuthSchemeProvider.d.ts +3 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/commands/AssumeRoleCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/endpoint/EndpointParameters.d.ts +14 -14
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.browser.d.ts +30 -36
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.d.ts +27 -35
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.native.d.ts +31 -37
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.shared.d.ts +5 -7
- package/node_modules/@aws-sdk/nested-clients/package.json +37 -37
- package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/index.js +15 -26
- package/node_modules/@aws-sdk/region-config-resolver/dist-es/extensions/index.js +2 -12
- package/node_modules/@aws-sdk/region-config-resolver/dist-es/regionConfig/resolveRegionConfig.js +2 -3
- package/node_modules/@aws-sdk/region-config-resolver/package.json +6 -6
- package/node_modules/@aws-sdk/token-providers/README.md +9 -0
- package/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +24 -4
- package/node_modules/@aws-sdk/token-providers/dist-es/fromEnvSigningName.js +16 -0
- package/node_modules/@aws-sdk/token-providers/dist-es/index.js +1 -0
- package/node_modules/@aws-sdk/token-providers/dist-types/fromEnvSigningName.d.ts +18 -0
- package/node_modules/@aws-sdk/token-providers/dist-types/getNewSsoOidcToken.d.ts +0 -1
- package/node_modules/@aws-sdk/token-providers/dist-types/getSsoOidcClient.d.ts +0 -1
- package/node_modules/@aws-sdk/token-providers/dist-types/index.d.ts +1 -0
- package/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/fromEnvSigningName.d.ts +11 -0
- package/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/index.d.ts +1 -0
- package/node_modules/@aws-sdk/token-providers/package.json +11 -8
- package/node_modules/@aws-sdk/types/dist-cjs/index.js +3 -3
- package/node_modules/@aws-sdk/types/dist-es/function.js +1 -0
- package/node_modules/@aws-sdk/types/dist-es/index.js +1 -0
- package/node_modules/@aws-sdk/types/dist-types/feature-ids.d.ts +7 -1
- package/node_modules/@aws-sdk/types/dist-types/function.d.ts +7 -0
- package/node_modules/@aws-sdk/types/dist-types/identity/TokenIdentity.d.ts +10 -0
- package/node_modules/@aws-sdk/types/dist-types/index.d.ts +1 -0
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/feature-ids.d.ts +5 -1
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/function.d.ts +7 -0
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/TokenIdentity.d.ts +5 -0
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/index.d.ts +1 -0
- package/node_modules/@aws-sdk/types/package.json +3 -3
- package/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js +83 -30
- package/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/partitions.json +48 -23
- package/node_modules/@aws-sdk/util-endpoints/dist-es/index.js +1 -0
- package/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partitions.json +48 -23
- package/node_modules/@aws-sdk/util-endpoints/dist-es/resolveDefaultAwsRegionalEndpointsConfig.js +21 -0
- package/node_modules/@aws-sdk/util-endpoints/dist-types/index.d.ts +1 -0
- package/node_modules/@aws-sdk/util-endpoints/dist-types/resolveDefaultAwsRegionalEndpointsConfig.d.ts +56 -0
- package/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/index.d.ts +1 -0
- package/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/resolveDefaultAwsRegionalEndpointsConfig.d.ts +35 -0
- package/node_modules/@aws-sdk/util-endpoints/package.json +9 -7
- package/node_modules/@aws-sdk/util-locate-window/dist-cjs/index.js +3 -3
- package/node_modules/@aws-sdk/util-locate-window/package.json +2 -2
- package/node_modules/@aws-sdk/util-user-agent-browser/dist-types/index.d.ts +2 -2
- package/node_modules/@aws-sdk/util-user-agent-browser/dist-types/index.native.d.ts +2 -2
- package/node_modules/@aws-sdk/util-user-agent-browser/package.json +4 -4
- package/node_modules/@aws-sdk/util-user-agent-node/dist-cjs/index.js +5 -5
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +6 -6
- package/node_modules/@aws-sdk/xml-builder/LICENSE +201 -0
- package/node_modules/@aws-sdk/xml-builder/README.md +10 -0
- package/node_modules/@aws-sdk/xml-builder/dist-cjs/index.js +173 -0
- package/node_modules/@aws-sdk/xml-builder/dist-es/XmlNode.js +88 -0
- package/node_modules/@aws-sdk/xml-builder/dist-es/XmlText.js +10 -0
- package/node_modules/@aws-sdk/xml-builder/dist-es/escape-attribute.js +3 -0
- package/node_modules/@aws-sdk/xml-builder/dist-es/escape-element.js +12 -0
- package/node_modules/@aws-sdk/xml-builder/dist-es/index.js +2 -0
- package/node_modules/@aws-sdk/xml-builder/dist-es/stringable.js +1 -0
- package/node_modules/@aws-sdk/xml-builder/dist-types/XmlNode.d.ts +49 -0
- package/node_modules/@aws-sdk/xml-builder/dist-types/XmlText.d.ts +11 -0
- package/node_modules/@aws-sdk/xml-builder/dist-types/escape-attribute.d.ts +6 -0
- package/node_modules/@aws-sdk/xml-builder/dist-types/escape-element.d.ts +6 -0
- package/node_modules/@aws-sdk/xml-builder/dist-types/index.d.ts +8 -0
- package/node_modules/@aws-sdk/xml-builder/dist-types/stringable.d.ts +6 -0
- package/node_modules/@aws-sdk/xml-builder/dist-types/ts3.4/XmlNode.d.ts +29 -0
- package/node_modules/@aws-sdk/xml-builder/dist-types/ts3.4/XmlText.d.ts +6 -0
- package/node_modules/@aws-sdk/xml-builder/dist-types/ts3.4/escape-attribute.d.ts +1 -0
- package/node_modules/@aws-sdk/xml-builder/dist-types/ts3.4/escape-element.d.ts +1 -0
- package/node_modules/@aws-sdk/xml-builder/dist-types/ts3.4/index.d.ts +2 -0
- package/node_modules/@aws-sdk/xml-builder/dist-types/ts3.4/stringable.d.ts +3 -0
- package/node_modules/@aws-sdk/xml-builder/package.json +54 -0
- package/node_modules/@smithy/abort-controller/package.json +5 -5
- package/node_modules/@smithy/config-resolver/dist-cjs/index.js +11 -14
- package/node_modules/@smithy/config-resolver/dist-es/endpointsConfig/resolveCustomEndpointsConfig.js +5 -6
- package/node_modules/@smithy/config-resolver/dist-es/endpointsConfig/resolveEndpointsConfig.js +4 -5
- package/node_modules/@smithy/config-resolver/dist-es/regionConfig/resolveRegionConfig.js +2 -3
- package/node_modules/@smithy/config-resolver/dist-types/endpointsConfig/resolveCustomEndpointsConfig.d.ts +5 -0
- package/node_modules/@smithy/config-resolver/dist-types/endpointsConfig/resolveEndpointsConfig.d.ts +3 -0
- package/node_modules/@smithy/config-resolver/dist-types/regionInfo/EndpointVariant.d.ts +3 -2
- package/node_modules/@smithy/config-resolver/dist-types/regionInfo/EndpointVariantTag.d.ts +4 -1
- package/node_modules/@smithy/config-resolver/dist-types/regionInfo/PartitionHash.d.ts +3 -2
- package/node_modules/@smithy/config-resolver/dist-types/regionInfo/RegionHash.d.ts +3 -2
- package/node_modules/@smithy/config-resolver/dist-types/regionInfo/getHostnameFromVariants.d.ts +2 -0
- package/node_modules/@smithy/config-resolver/dist-types/regionInfo/getRegionInfo.d.ts +2 -0
- package/node_modules/@smithy/config-resolver/dist-types/regionInfo/getResolvedHostname.d.ts +2 -0
- package/node_modules/@smithy/config-resolver/dist-types/regionInfo/getResolvedPartition.d.ts +2 -0
- package/node_modules/@smithy/config-resolver/dist-types/regionInfo/getResolvedSigningRegion.d.ts +2 -0
- package/node_modules/@smithy/config-resolver/dist-types/ts3.4/endpointsConfig/resolveCustomEndpointsConfig.d.ts +5 -0
- package/node_modules/@smithy/config-resolver/dist-types/ts3.4/endpointsConfig/resolveEndpointsConfig.d.ts +3 -0
- package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/EndpointVariant.d.ts +3 -2
- package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/EndpointVariantTag.d.ts +4 -1
- package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/PartitionHash.d.ts +3 -2
- package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/RegionHash.d.ts +3 -2
- package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/getHostnameFromVariants.d.ts +2 -0
- package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/getRegionInfo.d.ts +2 -0
- package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/getResolvedHostname.d.ts +2 -0
- package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/getResolvedPartition.d.ts +2 -0
- package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/getResolvedSigningRegion.d.ts +2 -0
- package/node_modules/@smithy/config-resolver/package.json +7 -7
- package/node_modules/@smithy/core/dist-cjs/index.js +27 -1
- package/node_modules/@smithy/core/dist-cjs/middleware-http-auth-scheme/resolveAuthOptions.js +1 -0
- package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +348 -8
- package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js +261 -0
- package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +761 -2
- package/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +885 -0
- package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +710 -0
- package/node_modules/@smithy/core/dist-es/middleware-http-auth-scheme/httpAuthSchemeMiddleware.js +4 -1
- package/node_modules/@smithy/core/dist-es/middleware-http-auth-scheme/resolveAuthOptions.js +20 -0
- package/node_modules/@smithy/core/dist-es/submodules/cbor/CborCodec.js +172 -0
- package/node_modules/@smithy/core/dist-es/submodules/cbor/SmithyRpcV2CborProtocol.js +95 -0
- package/node_modules/@smithy/core/dist-es/submodules/cbor/byte-printer.js +37 -0
- package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor-decode.js +39 -4
- package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor-encode.js +33 -3
- package/node_modules/@smithy/core/dist-es/submodules/cbor/index.js +3 -1
- package/node_modules/@smithy/core/dist-es/submodules/cbor/parseCborBody.js +6 -3
- package/node_modules/@smithy/core/dist-es/submodules/event-streams/EventStreamSerde.js +200 -0
- package/node_modules/@smithy/core/dist-es/submodules/event-streams/index.js +1 -0
- package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpBindingProtocol.js +258 -0
- package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js +119 -0
- package/node_modules/@smithy/core/dist-es/submodules/protocols/RpcProtocol.js +94 -0
- package/node_modules/@smithy/core/dist-es/submodules/protocols/index.js +8 -0
- package/node_modules/@smithy/core/dist-es/submodules/protocols/serde/FromStringShapeDeserializer.js +64 -0
- package/node_modules/@smithy/core/dist-es/submodules/protocols/serde/HttpInterceptingShapeDeserializer.js +38 -0
- package/node_modules/@smithy/core/dist-es/submodules/protocols/serde/HttpInterceptingShapeSerializer.js +30 -0
- package/node_modules/@smithy/core/dist-es/submodules/protocols/serde/ToStringShapeSerializer.js +87 -0
- package/node_modules/@smithy/core/dist-es/submodules/protocols/serde/determineTimestampFormat.js +20 -0
- package/node_modules/@smithy/core/dist-es/submodules/schema/TypeRegistry.js +49 -0
- package/node_modules/@smithy/core/dist-es/submodules/schema/deref.js +6 -0
- package/node_modules/@smithy/core/dist-es/submodules/schema/index.js +12 -0
- package/node_modules/@smithy/core/dist-es/submodules/schema/middleware/getSchemaSerdePlugin.js +23 -0
- package/node_modules/@smithy/core/dist-es/submodules/schema/middleware/schema-middleware-types.js +1 -0
- package/node_modules/@smithy/core/dist-es/submodules/schema/middleware/schemaDeserializationMiddleware.js +60 -0
- package/node_modules/@smithy/core/dist-es/submodules/schema/middleware/schemaSerializationMiddleware.js +16 -0
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/ErrorSchema.js +27 -0
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/ListSchema.js +25 -0
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/MapSchema.js +26 -0
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/NormalizedSchema.js +330 -0
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/OperationSchema.js +16 -0
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/Schema.js +6 -0
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/SimpleSchema.js +25 -0
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/StructureSchema.js +32 -0
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/sentinels.js +16 -0
- package/node_modules/@smithy/core/dist-es/submodules/serde/copyDocumentWithTransform.js +1 -0
- package/node_modules/@smithy/core/dist-es/submodules/serde/generateIdempotencyToken.js +2 -0
- package/node_modules/@smithy/core/dist-es/submodules/serde/index.js +9 -0
- package/node_modules/@smithy/core/dist-es/submodules/serde/value/NumericValue.js +45 -0
- package/node_modules/@smithy/core/dist-types/middleware-http-auth-scheme/httpAuthSchemeMiddleware.d.ts +2 -1
- package/node_modules/@smithy/core/dist-types/middleware-http-auth-scheme/resolveAuthOptions.d.ts +10 -0
- package/node_modules/@smithy/core/dist-types/submodules/cbor/CborCodec.d.ts +38 -0
- package/node_modules/@smithy/core/dist-types/submodules/cbor/SmithyRpcV2CborProtocol.d.ts +23 -0
- package/node_modules/@smithy/core/dist-types/submodules/cbor/byte-printer.d.ts +6 -0
- package/node_modules/@smithy/core/dist-types/submodules/cbor/cbor-types.d.ts +1 -3
- package/node_modules/@smithy/core/dist-types/submodules/cbor/cbor.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/submodules/cbor/index.d.ts +3 -1
- package/node_modules/@smithy/core/dist-types/submodules/cbor/parseCborBody.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/submodules/event-streams/EventStreamSerde.d.ts +60 -0
- package/node_modules/@smithy/core/dist-types/submodules/event-streams/index.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/submodules/protocols/HttpBindingProtocol.d.ts +23 -0
- package/node_modules/@smithy/core/dist-types/submodules/protocols/HttpProtocol.d.ts +73 -0
- package/node_modules/@smithy/core/dist-types/submodules/protocols/RpcProtocol.d.ts +11 -0
- package/node_modules/@smithy/core/dist-types/submodules/protocols/collect-stream-body.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/submodules/protocols/index.d.ts +8 -0
- package/node_modules/@smithy/core/dist-types/submodules/protocols/serde/FromStringShapeDeserializer.d.ts +14 -0
- package/node_modules/@smithy/core/dist-types/submodules/protocols/serde/HttpInterceptingShapeDeserializer.d.ts +18 -0
- package/node_modules/@smithy/core/dist-types/submodules/protocols/serde/HttpInterceptingShapeSerializer.d.ts +20 -0
- package/node_modules/@smithy/core/dist-types/submodules/protocols/serde/ToStringShapeSerializer.d.ts +15 -0
- package/node_modules/@smithy/core/dist-types/submodules/protocols/serde/determineTimestampFormat.d.ts +9 -0
- package/node_modules/@smithy/core/dist-types/submodules/schema/TypeRegistry.d.ts +55 -0
- package/node_modules/@smithy/core/dist-types/submodules/schema/deref.d.ts +6 -0
- package/node_modules/@smithy/core/dist-types/submodules/schema/index.d.ts +12 -0
- package/node_modules/@smithy/core/dist-types/submodules/schema/middleware/getSchemaSerdePlugin.d.ts +14 -0
- package/node_modules/@smithy/core/dist-types/submodules/schema/middleware/schema-middleware-types.d.ts +8 -0
- package/node_modules/@smithy/core/dist-types/submodules/schema/middleware/schemaDeserializationMiddleware.d.ts +9 -0
- package/node_modules/@smithy/core/dist-types/submodules/schema/middleware/schemaSerializationMiddleware.d.ts +6 -0
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/ErrorSchema.d.ts +41 -0
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/ListSchema.d.ts +23 -0
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/MapSchema.d.ts +28 -0
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/NormalizedSchema.d.ts +140 -0
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/OperationSchema.d.ts +20 -0
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/Schema.d.ts +11 -0
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/SimpleSchema.d.ts +23 -0
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/StructureSchema.d.ts +24 -0
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/sentinels.d.ts +21 -0
- package/node_modules/@smithy/core/dist-types/submodules/serde/copyDocumentWithTransform.d.ts +6 -0
- package/node_modules/@smithy/core/dist-types/submodules/serde/generateIdempotencyToken.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/submodules/serde/index.d.ts +9 -0
- package/node_modules/@smithy/{smithy-client/dist-types → core/dist-types/submodules/serde}/lazy-json.d.ts +1 -2
- package/node_modules/@smithy/core/dist-types/submodules/serde/value/NumericValue.d.ts +33 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/middleware-http-auth-scheme/httpAuthSchemeMiddleware.d.ts +2 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/middleware-http-auth-scheme/resolveAuthOptions.d.ts +10 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/CborCodec.d.ts +38 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/SmithyRpcV2CborProtocol.d.ts +23 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/byte-printer.d.ts +6 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/cbor-types.d.ts +1 -2
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/cbor.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/index.d.ts +3 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/parseCborBody.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/EventStreamSerde.d.ts +60 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/index.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/HttpBindingProtocol.d.ts +23 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/HttpProtocol.d.ts +73 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/RpcProtocol.d.ts +11 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/collect-stream-body.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/index.d.ts +8 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/FromStringShapeDeserializer.d.ts +14 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/HttpInterceptingShapeDeserializer.d.ts +18 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/HttpInterceptingShapeSerializer.d.ts +20 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/ToStringShapeSerializer.d.ts +15 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/determineTimestampFormat.d.ts +9 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/TypeRegistry.d.ts +55 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/deref.d.ts +6 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/index.d.ts +12 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/middleware/getSchemaSerdePlugin.d.ts +14 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/middleware/schema-middleware-types.d.ts +11 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/middleware/schemaDeserializationMiddleware.d.ts +9 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/middleware/schemaSerializationMiddleware.d.ts +6 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/ErrorSchema.d.ts +41 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/ListSchema.d.ts +23 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/MapSchema.d.ts +28 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/NormalizedSchema.d.ts +143 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/OperationSchema.d.ts +20 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/Schema.d.ts +11 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/SimpleSchema.d.ts +23 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/StructureSchema.d.ts +27 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/sentinels.d.ts +21 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/copyDocumentWithTransform.d.ts +6 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/generateIdempotencyToken.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/index.d.ts +9 -0
- package/node_modules/@smithy/{smithy-client/dist-types/ts3.4 → core/dist-types/ts3.4/submodules/serde}/lazy-json.d.ts +1 -2
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/value/NumericValue.d.ts +33 -0
- package/node_modules/@smithy/core/event-streams.d.ts +7 -0
- package/node_modules/@smithy/core/event-streams.js +6 -0
- package/node_modules/@smithy/core/package.json +49 -16
- package/node_modules/@smithy/core/schema.d.ts +7 -0
- package/node_modules/@smithy/core/schema.js +6 -0
- package/node_modules/@smithy/core/serde.d.ts +7 -0
- package/node_modules/@smithy/core/serde.js +6 -0
- package/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/httpRequest.d.ts +0 -3
- package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/httpRequest.d.ts +0 -1
- package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/utils/staticStabilityProvider.d.ts +1 -1
- package/node_modules/@smithy/credential-provider-imds/dist-types/utils/staticStabilityProvider.d.ts +1 -1
- package/node_modules/@smithy/credential-provider-imds/package.json +8 -8
- package/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +2 -2
- package/node_modules/@smithy/fetch-http-handler/dist-es/fetch-http-handler.js +4 -4
- package/node_modules/@smithy/fetch-http-handler/dist-types/fetch-http-handler.d.ts +2 -2
- package/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/fetch-http-handler.d.ts +2 -2
- package/node_modules/@smithy/fetch-http-handler/package.json +8 -8
- package/node_modules/@smithy/hash-node/package.json +5 -5
- package/node_modules/@smithy/invalid-dependency/package.json +5 -5
- package/node_modules/@smithy/middleware-content-length/dist-cjs/index.js +2 -2
- package/node_modules/@smithy/middleware-content-length/package.json +6 -6
- package/node_modules/@smithy/middleware-endpoint/dist-cjs/index.js +27 -9
- package/node_modules/@smithy/middleware-endpoint/dist-es/adaptors/createConfigValueProvider.js +3 -0
- package/node_modules/@smithy/middleware-endpoint/dist-es/adaptors/getEndpointFromInstructions.js +2 -1
- package/node_modules/@smithy/middleware-endpoint/dist-es/endpointMiddleware.js +1 -1
- package/node_modules/@smithy/middleware-endpoint/dist-es/index.js +1 -0
- package/node_modules/@smithy/middleware-endpoint/dist-es/resolveEndpointConfig.js +5 -6
- package/node_modules/@smithy/middleware-endpoint/dist-es/resolveEndpointRequiredConfig.js +9 -0
- package/node_modules/@smithy/middleware-endpoint/dist-types/index.d.ts +1 -0
- package/node_modules/@smithy/middleware-endpoint/dist-types/resolveEndpointConfig.d.ts +5 -3
- package/node_modules/@smithy/middleware-endpoint/dist-types/resolveEndpointRequiredConfig.d.ts +32 -0
- package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/index.d.ts +1 -0
- package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/resolveEndpointConfig.d.ts +5 -3
- package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/resolveEndpointRequiredConfig.d.ts +32 -0
- package/node_modules/@smithy/middleware-endpoint/package.json +10 -10
- package/node_modules/@smithy/middleware-retry/README.md +1 -1
- package/node_modules/@smithy/middleware-retry/dist-cjs/index.js +5 -6
- package/node_modules/@smithy/middleware-retry/dist-es/configurations.js +5 -6
- package/node_modules/@smithy/middleware-retry/package.json +13 -13
- package/node_modules/@smithy/middleware-serde/dist-cjs/index.js +21 -1
- package/node_modules/@smithy/middleware-serde/dist-es/deserializerMiddleware.js +20 -0
- package/node_modules/@smithy/middleware-serde/dist-es/serializerMiddleware.js +4 -3
- package/node_modules/@smithy/middleware-serde/dist-types/deserializerMiddleware.d.ts +1 -0
- package/node_modules/@smithy/middleware-serde/dist-types/serdePlugin.d.ts +14 -2
- package/node_modules/@smithy/middleware-serde/dist-types/serializerMiddleware.d.ts +2 -2
- package/node_modules/@smithy/middleware-serde/dist-types/ts3.4/deserializerMiddleware.d.ts +1 -0
- package/node_modules/@smithy/middleware-serde/dist-types/ts3.4/serdePlugin.d.ts +14 -2
- package/node_modules/@smithy/middleware-serde/dist-types/ts3.4/serializerMiddleware.d.ts +2 -2
- package/node_modules/@smithy/middleware-serde/package.json +5 -4
- package/node_modules/@smithy/middleware-stack/package.json +5 -5
- package/node_modules/@smithy/node-config-provider/README.md +6 -0
- package/node_modules/@smithy/node-config-provider/dist-cjs/index.js +14 -10
- package/node_modules/@smithy/node-config-provider/dist-es/configLoader.js +5 -1
- package/node_modules/@smithy/node-config-provider/dist-es/fromEnv.js +3 -3
- package/node_modules/@smithy/node-config-provider/dist-types/configLoader.d.ts +2 -2
- package/node_modules/@smithy/node-config-provider/dist-types/fromEnv.d.ts +15 -2
- package/node_modules/@smithy/node-config-provider/dist-types/index.d.ts +3 -0
- package/node_modules/@smithy/node-config-provider/dist-types/ts3.4/configLoader.d.ts +2 -2
- package/node_modules/@smithy/node-config-provider/dist-types/ts3.4/fromEnv.d.ts +15 -2
- package/node_modules/@smithy/node-config-provider/dist-types/ts3.4/index.d.ts +3 -0
- package/node_modules/@smithy/node-config-provider/package.json +7 -7
- package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +11 -9
- package/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +4 -3
- package/node_modules/@smithy/node-http-handler/dist-es/node-http2-handler.js +7 -6
- package/node_modules/@smithy/node-http-handler/dist-types/node-http-handler.d.ts +1 -3
- package/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-manager.d.ts +0 -1
- package/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-pool.d.ts +1 -2
- package/node_modules/@smithy/node-http-handler/dist-types/node-http2-handler.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/readable.mock.d.ts +0 -3
- package/node_modules/@smithy/node-http-handler/dist-types/set-connection-timeout.d.ts +0 -7
- package/node_modules/@smithy/node-http-handler/dist-types/set-socket-keep-alive.d.ts +0 -7
- package/node_modules/@smithy/node-http-handler/dist-types/set-socket-timeout.d.ts +0 -7
- package/node_modules/@smithy/node-http-handler/dist-types/stream-collector/collector.d.ts +0 -3
- package/node_modules/@smithy/node-http-handler/dist-types/stream-collector/readable.mock.d.ts +0 -3
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http-handler.d.ts +1 -2
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-connection-manager.d.ts +0 -1
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-connection-pool.d.ts +1 -2
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-handler.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/readable.mock.d.ts +0 -1
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-connection-timeout.d.ts +0 -1
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-keep-alive.d.ts +0 -1
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-timeout.d.ts +0 -1
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/stream-collector/collector.d.ts +0 -1
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/stream-collector/readable.mock.d.ts +0 -1
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/write-request-body.d.ts +0 -1
- package/node_modules/@smithy/node-http-handler/dist-types/write-request-body.d.ts +0 -2
- package/node_modules/@smithy/node-http-handler/package.json +7 -7
- package/node_modules/@smithy/property-provider/dist-types/chain.d.ts +1 -1
- package/node_modules/@smithy/property-provider/dist-types/ts3.4/chain.d.ts +1 -1
- package/node_modules/@smithy/property-provider/package.json +5 -5
- package/node_modules/@smithy/protocol-http/dist-cjs/index.js +4 -5
- package/node_modules/@smithy/protocol-http/dist-es/extensions/httpExtensionConfiguration.js +4 -5
- package/node_modules/@smithy/protocol-http/dist-types/extensions/httpExtensionConfiguration.d.ts +3 -7
- package/node_modules/@smithy/protocol-http/dist-types/ts3.4/extensions/httpExtensionConfiguration.d.ts +3 -7
- package/node_modules/@smithy/protocol-http/package.json +5 -5
- package/node_modules/@smithy/querystring-builder/package.json +5 -5
- package/node_modules/@smithy/querystring-parser/package.json +5 -5
- package/node_modules/@smithy/service-error-classification/dist-cjs/index.js +23 -1
- package/node_modules/@smithy/service-error-classification/dist-es/constants.js +1 -0
- package/node_modules/@smithy/service-error-classification/dist-es/index.js +17 -1
- package/node_modules/@smithy/service-error-classification/dist-types/constants.d.ts +4 -0
- package/node_modules/@smithy/service-error-classification/dist-types/index.d.ts +5 -0
- package/node_modules/@smithy/service-error-classification/dist-types/ts3.4/constants.d.ts +4 -0
- package/node_modules/@smithy/service-error-classification/dist-types/ts3.4/index.d.ts +5 -0
- package/node_modules/@smithy/service-error-classification/package.json +5 -5
- package/node_modules/@smithy/shared-ini-file-loader/package.json +5 -5
- package/node_modules/@smithy/signature-v4/dist-cjs/index.js +196 -92
- package/node_modules/@smithy/signature-v4/dist-es/SignatureV4.js +17 -73
- package/node_modules/@smithy/signature-v4/dist-es/SignatureV4Base.js +73 -0
- package/node_modules/@smithy/signature-v4/dist-es/index.js +4 -0
- package/node_modules/@smithy/signature-v4/dist-es/signature-v4a-container.js +3 -0
- package/node_modules/@smithy/signature-v4/dist-types/SignatureV4.d.ts +3 -59
- package/node_modules/@smithy/signature-v4/dist-types/SignatureV4Base.d.ts +69 -0
- package/node_modules/@smithy/signature-v4/dist-types/index.d.ts +4 -0
- package/node_modules/@smithy/signature-v4/dist-types/signature-v4a-container.d.ts +24 -0
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/SignatureV4.d.ts +3 -59
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/SignatureV4Base.d.ts +69 -0
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/index.d.ts +4 -0
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/signature-v4a-container.d.ts +24 -0
- package/node_modules/@smithy/signature-v4/package.json +7 -7
- package/node_modules/@smithy/smithy-client/dist-cjs/index.js +93 -638
- package/node_modules/@smithy/smithy-client/dist-es/command.js +13 -4
- package/node_modules/@smithy/smithy-client/dist-es/extensions/checksum.js +2 -3
- package/node_modules/@smithy/smithy-client/dist-es/extensions/defaultExtensionConfiguration.js +2 -8
- package/node_modules/@smithy/smithy-client/dist-es/extensions/retry.js +2 -3
- package/node_modules/@smithy/smithy-client/dist-es/index.js +1 -6
- package/node_modules/@smithy/smithy-client/dist-es/schemaLogFilter.js +34 -0
- package/node_modules/@smithy/smithy-client/dist-types/client.d.ts +8 -0
- package/node_modules/@smithy/smithy-client/dist-types/command.d.ts +7 -1
- package/node_modules/@smithy/smithy-client/dist-types/create-aggregated-client.d.ts +3 -1
- package/node_modules/@smithy/smithy-client/dist-types/default-error-handler.d.ts +3 -1
- package/node_modules/@smithy/smithy-client/dist-types/extensions/checksum.d.ts +0 -1
- package/node_modules/@smithy/smithy-client/dist-types/extensions/defaultExtensionConfiguration.d.ts +6 -6
- package/node_modules/@smithy/smithy-client/dist-types/index.d.ts +1 -6
- package/node_modules/@smithy/smithy-client/dist-types/schemaLogFilter.d.ts +9 -0
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/client.d.ts +8 -0
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/command.d.ts +7 -1
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/create-aggregated-client.d.ts +3 -1
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/default-error-handler.d.ts +3 -1
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/extensions/checksum.d.ts +0 -1
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/extensions/defaultExtensionConfiguration.d.ts +6 -6
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/index.d.ts +1 -6
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/schemaLogFilter.d.ts +9 -0
- package/node_modules/@smithy/smithy-client/package.json +10 -10
- package/node_modules/@smithy/types/dist-cjs/index.js +4 -9
- package/node_modules/@smithy/types/dist-cjs/schema/schema.js +1 -0
- package/node_modules/@smithy/types/dist-cjs/schema/sentinels.js +1 -0
- package/node_modules/@smithy/types/dist-cjs/schema/traits.js +1 -0
- package/node_modules/@smithy/types/dist-cjs/transform/mutable.js +1 -0
- package/node_modules/@smithy/types/dist-es/extensions/checksum.js +2 -3
- package/node_modules/@smithy/types/dist-es/extensions/defaultClientConfiguration.js +2 -6
- package/node_modules/@smithy/types/dist-es/index.js +3 -0
- package/node_modules/@smithy/types/dist-es/schema/schema.js +1 -0
- package/node_modules/@smithy/types/dist-es/schema/sentinels.js +1 -0
- package/node_modules/@smithy/types/dist-es/schema/traits.js +1 -0
- package/node_modules/@smithy/types/dist-es/transform/mutable.js +1 -0
- package/node_modules/@smithy/types/dist-types/blob/blob-payload-input-types.d.ts +0 -3
- package/node_modules/@smithy/types/dist-types/command.d.ts +5 -0
- package/node_modules/@smithy/types/dist-types/http/httpHandlerInitialization.d.ts +0 -2
- package/node_modules/@smithy/types/dist-types/index.d.ts +3 -0
- package/node_modules/@smithy/types/dist-types/schema/schema.d.ts +262 -0
- package/node_modules/@smithy/types/dist-types/schema/sentinels.d.ts +65 -0
- package/node_modules/@smithy/types/dist-types/schema/traits.d.ts +46 -0
- package/node_modules/@smithy/types/dist-types/serde.d.ts +2 -0
- package/node_modules/@smithy/types/dist-types/streaming-payload/streaming-blob-common-types.d.ts +0 -1
- package/node_modules/@smithy/types/dist-types/streaming-payload/streaming-blob-payload-input-types.d.ts +0 -3
- package/node_modules/@smithy/types/dist-types/streaming-payload/streaming-blob-payload-output-types.d.ts +0 -2
- package/node_modules/@smithy/types/dist-types/transform/client-payload-blob-type-narrow.d.ts +0 -2
- package/node_modules/@smithy/types/dist-types/transform/mutable.d.ts +6 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/blob/blob-payload-input-types.d.ts +0 -1
- package/node_modules/@smithy/types/dist-types/ts3.4/command.d.ts +5 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/http/httpHandlerInitialization.d.ts +0 -1
- package/node_modules/@smithy/types/dist-types/ts3.4/index.d.ts +3 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/schema/schema.d.ts +277 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/schema/sentinels.d.ts +65 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/schema/traits.d.ts +46 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/serde.d.ts +2 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/streaming-payload/streaming-blob-common-types.d.ts +0 -1
- package/node_modules/@smithy/types/dist-types/ts3.4/streaming-payload/streaming-blob-payload-input-types.d.ts +0 -1
- package/node_modules/@smithy/types/dist-types/ts3.4/streaming-payload/streaming-blob-payload-output-types.d.ts +0 -1
- package/node_modules/@smithy/types/dist-types/ts3.4/transform/client-payload-blob-type-narrow.d.ts +0 -1
- package/node_modules/@smithy/types/dist-types/ts3.4/transform/mutable.d.ts +6 -0
- package/node_modules/@smithy/types/package.json +4 -4
- package/node_modules/@smithy/url-parser/package.json +6 -6
- package/node_modules/@smithy/util-defaults-mode-browser/package.json +6 -6
- package/node_modules/@smithy/util-defaults-mode-node/package.json +9 -9
- package/node_modules/@smithy/util-endpoints/dist-types/lib/isSet.d.ts +1 -1
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/isSet.d.ts +1 -1
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/endpointFunctions.d.ts +1 -1
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/evaluateRules.d.ts +2 -2
- package/node_modules/@smithy/util-endpoints/dist-types/utils/endpointFunctions.d.ts +1 -1
- package/node_modules/@smithy/util-endpoints/dist-types/utils/evaluateRules.d.ts +2 -2
- package/node_modules/@smithy/util-endpoints/package.json +6 -6
- package/node_modules/@smithy/util-middleware/package.json +5 -5
- package/node_modules/@smithy/util-retry/README.md +1 -1
- package/node_modules/@smithy/util-retry/dist-types/defaultRetryToken.d.ts +1 -1
- package/node_modules/@smithy/util-retry/dist-types/ts3.4/defaultRetryToken.d.ts +1 -1
- package/node_modules/@smithy/util-retry/package.json +6 -6
- package/node_modules/@smithy/util-stream/dist-cjs/checksum/createChecksumStream.js +1 -2
- package/node_modules/@smithy/util-stream/dist-cjs/createBufferedReadable.js +2 -3
- package/node_modules/@smithy/util-stream/dist-cjs/createBufferedReadableStream.js +9 -9
- package/node_modules/@smithy/util-stream/dist-cjs/headStream.browser.js +1 -2
- package/node_modules/@smithy/util-stream/dist-cjs/splitStream.browser.js +1 -2
- package/node_modules/@smithy/util-stream/dist-cjs/splitStream.js +1 -2
- package/node_modules/@smithy/util-stream/dist-es/createBufferedReadable.js +1 -1
- package/node_modules/@smithy/util-stream/dist-es/createBufferedReadableStream.js +3 -3
- package/node_modules/@smithy/util-stream/dist-types/ByteArrayCollector.d.ts +1 -1
- package/node_modules/@smithy/util-stream/dist-types/checksum/ChecksumStream.d.ts +0 -3
- package/node_modules/@smithy/util-stream/dist-types/checksum/createChecksumStream.d.ts +0 -1
- package/node_modules/@smithy/util-stream/dist-types/createBufferedReadable.d.ts +0 -1
- package/node_modules/@smithy/util-stream/dist-types/createBufferedReadableStream.d.ts +3 -2
- package/node_modules/@smithy/util-stream/dist-types/getAwsChunkedEncodingStream.d.ts +0 -1
- package/node_modules/@smithy/util-stream/dist-types/splitStream.d.ts +0 -1
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/ByteArrayCollector.d.ts +1 -1
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/checksum/ChecksumStream.d.ts +0 -1
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/checksum/createChecksumStream.d.ts +0 -1
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/createBufferedReadable.d.ts +0 -1
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/createBufferedReadableStream.d.ts +3 -2
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/getAwsChunkedEncodingStream.d.ts +0 -1
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/splitStream.d.ts +0 -1
- package/node_modules/@smithy/util-stream/package.json +6 -6
- package/node_modules/@smithy/util-waiter/dist-cjs/index.js +27 -8
- package/node_modules/@smithy/util-waiter/dist-es/createWaiter.js +27 -8
- package/node_modules/@smithy/util-waiter/package.json +6 -6
- package/node_modules/@types/uuid/LICENSE +21 -0
- package/node_modules/@types/uuid/README.md +15 -0
- package/node_modules/@types/uuid/index.d.mts +12 -0
- package/node_modules/@types/uuid/index.d.ts +86 -0
- package/node_modules/@types/uuid/package.json +54 -0
- package/node_modules/bowser/CHANGELOG.md +1 -1
- package/node_modules/bowser/README.md +2 -4
- package/node_modules/bowser/bundled.js +1 -1
- package/node_modules/bowser/es5.js +1 -1
- package/node_modules/bowser/index.d.ts +71 -6
- package/node_modules/bowser/package.json +4 -3
- package/node_modules/bowser/src/constants.js +3 -0
- package/node_modules/bowser/src/parser-browsers.js +15 -0
- package/node_modules/bowser/src/parser-platforms.js +17 -1
- package/node_modules/bowser/src/parser.js +20 -5
- package/node_modules/bowser/src/utils.js +2 -2
- package/node_modules/fast-xml-parser/CHANGELOG.md +77 -0
- package/node_modules/fast-xml-parser/README.md +39 -52
- package/node_modules/fast-xml-parser/lib/fxbuilder.min.js +2 -0
- package/node_modules/fast-xml-parser/lib/fxbuilder.min.js.map +1 -0
- package/node_modules/fast-xml-parser/lib/fxp.cjs +1 -0
- package/node_modules/fast-xml-parser/lib/fxp.d.cts +458 -0
- package/node_modules/fast-xml-parser/lib/fxp.min.js +2 -0
- package/node_modules/fast-xml-parser/lib/fxp.min.js.map +1 -0
- package/node_modules/fast-xml-parser/lib/fxparser.min.js +2 -0
- package/node_modules/fast-xml-parser/lib/fxparser.min.js.map +1 -0
- package/node_modules/fast-xml-parser/lib/fxvalidator.min.js +2 -0
- package/node_modules/fast-xml-parser/lib/fxvalidator.min.js.map +1 -0
- package/node_modules/fast-xml-parser/package.json +36 -20
- package/node_modules/fast-xml-parser/src/cli/cli.js +16 -12
- package/node_modules/fast-xml-parser/src/cli/man.js +6 -1
- package/node_modules/fast-xml-parser/src/cli/read.js +30 -79
- package/node_modules/fast-xml-parser/src/fxp.d.ts +52 -9
- package/node_modules/fast-xml-parser/src/fxp.js +11 -8
- package/node_modules/fast-xml-parser/src/ignoreAttributes.js +18 -0
- package/node_modules/fast-xml-parser/src/util.js +14 -18
- package/node_modules/fast-xml-parser/src/{v5 → v6}/CharsSymbol.js +1 -1
- package/node_modules/fast-xml-parser/src/{v5/valueParsers → v6}/EntitiesParser.js +3 -6
- package/node_modules/fast-xml-parser/src/{v5 → v6}/OptionsBuilder.js +3 -6
- package/node_modules/fast-xml-parser/src/{v5 → v6}/OutputBuilders/BaseOutputBuilder.js +1 -3
- package/node_modules/fast-xml-parser/src/{v5 → v6}/OutputBuilders/JsArrBuilder.js +3 -3
- package/node_modules/fast-xml-parser/src/{v5 → v6}/OutputBuilders/JsMinArrBuilder.js +3 -5
- package/node_modules/fast-xml-parser/src/{v5 → v6}/OutputBuilders/JsObjBuilder.js +3 -5
- package/node_modules/fast-xml-parser/src/{v5 → v6}/OutputBuilders/ParserOptionsBuilder.js +6 -11
- package/node_modules/fast-xml-parser/src/{v5 → v6}/TagPath.js +1 -1
- package/node_modules/fast-xml-parser/src/{v5 → v6}/TagPathMatcher.js +3 -5
- package/node_modules/fast-xml-parser/src/{v5 → v6}/XMLParser.js +3 -5
- package/node_modules/fast-xml-parser/src/{v5 → v6}/Xml2JsParser.js +8 -10
- package/node_modules/fast-xml-parser/src/{v5 → v6}/XmlPartReader.js +24 -26
- package/node_modules/fast-xml-parser/src/{v5 → v6}/XmlSpecialTagsReader.js +5 -12
- package/node_modules/fast-xml-parser/src/{v5 → v6}/inputSource/BufferSource.js +1 -3
- package/node_modules/fast-xml-parser/src/{v5 → v6}/inputSource/StringSource.js +1 -3
- package/node_modules/fast-xml-parser/src/{v5 → v6/valueParsers}/EntitiesParser.js +3 -5
- package/node_modules/fast-xml-parser/src/{v5 → v6}/valueParsers/booleanParser.js +1 -2
- package/node_modules/fast-xml-parser/src/{v5 → v6}/valueParsers/booleanParserExt.js +1 -2
- package/node_modules/fast-xml-parser/src/{v5 → v6}/valueParsers/currency.js +1 -3
- package/node_modules/fast-xml-parser/src/{v5 → v6}/valueParsers/join.js +1 -2
- package/node_modules/fast-xml-parser/src/{v5 → v6}/valueParsers/number.js +2 -4
- package/node_modules/fast-xml-parser/src/{v5 → v6}/valueParsers/trim.js +1 -3
- package/node_modules/fast-xml-parser/src/validator.js +5 -5
- package/node_modules/fast-xml-parser/src/xmlbuilder/json2xml.js +17 -13
- package/node_modules/fast-xml-parser/src/xmlbuilder/orderedJs2Xml.js +1 -2
- package/node_modules/fast-xml-parser/src/xmlparser/DocTypeReader.js +288 -71
- package/node_modules/fast-xml-parser/src/xmlparser/OptionsBuilder.js +3 -5
- package/node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js +28 -23
- package/node_modules/fast-xml-parser/src/xmlparser/XMLParser.js +21 -8
- package/node_modules/fast-xml-parser/src/xmlparser/node2json.js +8 -2
- package/node_modules/fast-xml-parser/src/xmlparser/xmlNode.js +22 -7
- package/node_modules/follow-redirects/package.json +1 -1
- package/node_modules/strnum/.github/SECURITY.md +5 -0
- package/node_modules/strnum/CHANGELOG.md +11 -0
- package/node_modules/strnum/algo.stflow +84 -0
- package/node_modules/strnum/package.json +2 -1
- package/node_modules/strnum/strnum.js +53 -35
- package/node_modules/strnum/strnum.test.js +9 -1
- package/node_modules/strnum/test.js +9 -0
- package/package.json +12 -12
- package/node_modules/@smithy/smithy-client/dist-cjs/split-every.js +0 -1
- package/node_modules/@smithy/smithy-client/dist-cjs/split-header.js +0 -1
- /package/node_modules/@smithy/{smithy-client/dist-es → core/dist-es/submodules/serde}/date-utils.js +0 -0
- /package/node_modules/@smithy/{smithy-client/dist-es → core/dist-es/submodules/serde}/lazy-json.js +0 -0
- /package/node_modules/@smithy/{smithy-client/dist-es → core/dist-es/submodules/serde}/parse-utils.js +0 -0
- /package/node_modules/@smithy/{smithy-client/dist-es → core/dist-es/submodules/serde}/quote-header.js +0 -0
- /package/node_modules/@smithy/{smithy-client/dist-es → core/dist-es/submodules/serde}/split-every.js +0 -0
- /package/node_modules/@smithy/{smithy-client/dist-es → core/dist-es/submodules/serde}/split-header.js +0 -0
- /package/node_modules/@smithy/{smithy-client/dist-types → core/dist-types/submodules/serde}/date-utils.d.ts +0 -0
- /package/node_modules/@smithy/{smithy-client/dist-types → core/dist-types/submodules/serde}/parse-utils.d.ts +0 -0
- /package/node_modules/@smithy/{smithy-client/dist-types → core/dist-types/submodules/serde}/quote-header.d.ts +0 -0
- /package/node_modules/@smithy/{smithy-client/dist-types → core/dist-types/submodules/serde}/split-every.d.ts +0 -0
- /package/node_modules/@smithy/{smithy-client/dist-types → core/dist-types/submodules/serde}/split-header.d.ts +0 -0
- /package/node_modules/@smithy/{smithy-client/dist-types/ts3.4 → core/dist-types/ts3.4/submodules/serde}/date-utils.d.ts +0 -0
- /package/node_modules/@smithy/{smithy-client/dist-types/ts3.4 → core/dist-types/ts3.4/submodules/serde}/parse-utils.d.ts +0 -0
- /package/node_modules/@smithy/{smithy-client/dist-types/ts3.4 → core/dist-types/ts3.4/submodules/serde}/quote-header.d.ts +0 -0
- /package/node_modules/@smithy/{smithy-client/dist-types/ts3.4 → core/dist-types/ts3.4/submodules/serde}/split-every.d.ts +0 -0
- /package/node_modules/@smithy/{smithy-client/dist-types/ts3.4 → core/dist-types/ts3.4/submodules/serde}/split-header.d.ts +0 -0
- /package/node_modules/@smithy/{smithy-client/dist-cjs/date-utils.js → middleware-endpoint/dist-cjs/resolveEndpointRequiredConfig.js} +0 -0
- /package/node_modules/@smithy/{smithy-client/dist-cjs/lazy-json.js → signature-v4/dist-cjs/SignatureV4Base.js} +0 -0
- /package/node_modules/@smithy/{smithy-client/dist-cjs/parse-utils.js → signature-v4/dist-cjs/signature-v4a-container.js} +0 -0
- /package/node_modules/@smithy/smithy-client/dist-cjs/{quote-header.js → schemaLogFilter.js} +0 -0
- /package/node_modules/fast-xml-parser/src/{v5 → v6}/Report.js +0 -0
- /package/node_modules/{@smithy/middleware-retry/node_modules/uuid → uuid}/CHANGELOG.md +0 -0
- /package/node_modules/{@smithy/middleware-retry/node_modules/uuid → uuid}/CONTRIBUTING.md +0 -0
- /package/node_modules/{@smithy/middleware-retry/node_modules/uuid → uuid}/LICENSE.md +0 -0
- /package/node_modules/{@smithy/middleware-retry/node_modules/uuid → uuid}/README.md +0 -0
- /package/node_modules/{@smithy/middleware-retry/node_modules/uuid → uuid}/dist/bin/uuid +0 -0
- /package/node_modules/{@smithy/middleware-retry/node_modules/uuid → uuid}/dist/commonjs-browser/index.js +0 -0
- /package/node_modules/{@smithy/middleware-retry/node_modules/uuid → uuid}/dist/commonjs-browser/md5.js +0 -0
- /package/node_modules/{@smithy/middleware-retry/node_modules/uuid → uuid}/dist/commonjs-browser/native.js +0 -0
- /package/node_modules/{@smithy/middleware-retry/node_modules/uuid → uuid}/dist/commonjs-browser/nil.js +0 -0
- /package/node_modules/{@smithy/middleware-retry/node_modules/uuid → uuid}/dist/commonjs-browser/parse.js +0 -0
- /package/node_modules/{@smithy/middleware-retry/node_modules/uuid → uuid}/dist/commonjs-browser/regex.js +0 -0
- /package/node_modules/{@smithy/middleware-retry/node_modules/uuid → uuid}/dist/commonjs-browser/rng.js +0 -0
- /package/node_modules/{@smithy/middleware-retry/node_modules/uuid → uuid}/dist/commonjs-browser/sha1.js +0 -0
- /package/node_modules/{@smithy/middleware-retry/node_modules/uuid → uuid}/dist/commonjs-browser/stringify.js +0 -0
- /package/node_modules/{@smithy/middleware-retry/node_modules/uuid → uuid}/dist/commonjs-browser/v1.js +0 -0
- /package/node_modules/{@smithy/middleware-retry/node_modules/uuid → uuid}/dist/commonjs-browser/v3.js +0 -0
- /package/node_modules/{@smithy/middleware-retry/node_modules/uuid → uuid}/dist/commonjs-browser/v35.js +0 -0
- /package/node_modules/{@smithy/middleware-retry/node_modules/uuid → uuid}/dist/commonjs-browser/v4.js +0 -0
- /package/node_modules/{@smithy/middleware-retry/node_modules/uuid → uuid}/dist/commonjs-browser/v5.js +0 -0
- /package/node_modules/{@smithy/middleware-retry/node_modules/uuid → uuid}/dist/commonjs-browser/validate.js +0 -0
- /package/node_modules/{@smithy/middleware-retry/node_modules/uuid → uuid}/dist/commonjs-browser/version.js +0 -0
- /package/node_modules/{@smithy/middleware-retry/node_modules/uuid → uuid}/dist/esm-browser/index.js +0 -0
- /package/node_modules/{@smithy/middleware-retry/node_modules/uuid → uuid}/dist/esm-browser/md5.js +0 -0
- /package/node_modules/{@smithy/middleware-retry/node_modules/uuid → uuid}/dist/esm-browser/native.js +0 -0
- /package/node_modules/{@smithy/middleware-retry/node_modules/uuid → uuid}/dist/esm-browser/nil.js +0 -0
- /package/node_modules/{@smithy/middleware-retry/node_modules/uuid → uuid}/dist/esm-browser/parse.js +0 -0
- /package/node_modules/{@smithy/middleware-retry/node_modules/uuid → uuid}/dist/esm-browser/regex.js +0 -0
- /package/node_modules/{@smithy/middleware-retry/node_modules/uuid → uuid}/dist/esm-browser/rng.js +0 -0
- /package/node_modules/{@smithy/middleware-retry/node_modules/uuid → uuid}/dist/esm-browser/sha1.js +0 -0
- /package/node_modules/{@smithy/middleware-retry/node_modules/uuid → uuid}/dist/esm-browser/stringify.js +0 -0
- /package/node_modules/{@smithy/middleware-retry/node_modules/uuid → uuid}/dist/esm-browser/v1.js +0 -0
- /package/node_modules/{@smithy/middleware-retry/node_modules/uuid → uuid}/dist/esm-browser/v3.js +0 -0
- /package/node_modules/{@smithy/middleware-retry/node_modules/uuid → uuid}/dist/esm-browser/v35.js +0 -0
- /package/node_modules/{@smithy/middleware-retry/node_modules/uuid → uuid}/dist/esm-browser/v4.js +0 -0
- /package/node_modules/{@smithy/middleware-retry/node_modules/uuid → uuid}/dist/esm-browser/v5.js +0 -0
- /package/node_modules/{@smithy/middleware-retry/node_modules/uuid → uuid}/dist/esm-browser/validate.js +0 -0
- /package/node_modules/{@smithy/middleware-retry/node_modules/uuid → uuid}/dist/esm-browser/version.js +0 -0
- /package/node_modules/{@smithy/middleware-retry/node_modules/uuid → uuid}/dist/esm-node/index.js +0 -0
- /package/node_modules/{@smithy/middleware-retry/node_modules/uuid → uuid}/dist/esm-node/md5.js +0 -0
- /package/node_modules/{@smithy/middleware-retry/node_modules/uuid → uuid}/dist/esm-node/native.js +0 -0
- /package/node_modules/{@smithy/middleware-retry/node_modules/uuid → uuid}/dist/esm-node/nil.js +0 -0
- /package/node_modules/{@smithy/middleware-retry/node_modules/uuid → uuid}/dist/esm-node/parse.js +0 -0
- /package/node_modules/{@smithy/middleware-retry/node_modules/uuid → uuid}/dist/esm-node/regex.js +0 -0
- /package/node_modules/{@smithy/middleware-retry/node_modules/uuid → uuid}/dist/esm-node/rng.js +0 -0
- /package/node_modules/{@smithy/middleware-retry/node_modules/uuid → uuid}/dist/esm-node/sha1.js +0 -0
- /package/node_modules/{@smithy/middleware-retry/node_modules/uuid → uuid}/dist/esm-node/stringify.js +0 -0
- /package/node_modules/{@smithy/middleware-retry/node_modules/uuid → uuid}/dist/esm-node/v1.js +0 -0
- /package/node_modules/{@smithy/middleware-retry/node_modules/uuid → uuid}/dist/esm-node/v3.js +0 -0
- /package/node_modules/{@smithy/middleware-retry/node_modules/uuid → uuid}/dist/esm-node/v35.js +0 -0
- /package/node_modules/{@smithy/middleware-retry/node_modules/uuid → uuid}/dist/esm-node/v4.js +0 -0
- /package/node_modules/{@smithy/middleware-retry/node_modules/uuid → uuid}/dist/esm-node/v5.js +0 -0
- /package/node_modules/{@smithy/middleware-retry/node_modules/uuid → uuid}/dist/esm-node/validate.js +0 -0
- /package/node_modules/{@smithy/middleware-retry/node_modules/uuid → uuid}/dist/esm-node/version.js +0 -0
- /package/node_modules/{@smithy/middleware-retry/node_modules/uuid → uuid}/dist/index.js +0 -0
- /package/node_modules/{@smithy/middleware-retry/node_modules/uuid → uuid}/dist/md5-browser.js +0 -0
- /package/node_modules/{@smithy/middleware-retry/node_modules/uuid → uuid}/dist/md5.js +0 -0
- /package/node_modules/{@smithy/middleware-retry/node_modules/uuid → uuid}/dist/native-browser.js +0 -0
- /package/node_modules/{@smithy/middleware-retry/node_modules/uuid → uuid}/dist/native.js +0 -0
- /package/node_modules/{@smithy/middleware-retry/node_modules/uuid → uuid}/dist/nil.js +0 -0
- /package/node_modules/{@smithy/middleware-retry/node_modules/uuid → uuid}/dist/parse.js +0 -0
- /package/node_modules/{@smithy/middleware-retry/node_modules/uuid → uuid}/dist/regex.js +0 -0
- /package/node_modules/{@smithy/middleware-retry/node_modules/uuid → uuid}/dist/rng-browser.js +0 -0
- /package/node_modules/{@smithy/middleware-retry/node_modules/uuid → uuid}/dist/rng.js +0 -0
- /package/node_modules/{@smithy/middleware-retry/node_modules/uuid → uuid}/dist/sha1-browser.js +0 -0
- /package/node_modules/{@smithy/middleware-retry/node_modules/uuid → uuid}/dist/sha1.js +0 -0
- /package/node_modules/{@smithy/middleware-retry/node_modules/uuid → uuid}/dist/stringify.js +0 -0
- /package/node_modules/{@smithy/middleware-retry/node_modules/uuid → uuid}/dist/uuid-bin.js +0 -0
- /package/node_modules/{@smithy/middleware-retry/node_modules/uuid → uuid}/dist/v1.js +0 -0
- /package/node_modules/{@smithy/middleware-retry/node_modules/uuid → uuid}/dist/v3.js +0 -0
- /package/node_modules/{@smithy/middleware-retry/node_modules/uuid → uuid}/dist/v35.js +0 -0
- /package/node_modules/{@smithy/middleware-retry/node_modules/uuid → uuid}/dist/v4.js +0 -0
- /package/node_modules/{@smithy/middleware-retry/node_modules/uuid → uuid}/dist/v5.js +0 -0
- /package/node_modules/{@smithy/middleware-retry/node_modules/uuid → uuid}/dist/validate.js +0 -0
- /package/node_modules/{@smithy/middleware-retry/node_modules/uuid → uuid}/dist/version.js +0 -0
- /package/node_modules/{@smithy/middleware-retry/node_modules/uuid → uuid}/package.json +0 -0
- /package/node_modules/{@smithy/middleware-retry/node_modules/uuid → uuid}/wrapper.mjs +0 -0
|
@@ -0,0 +1,885 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
+
};
|
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
+
for (let key of __getOwnPropNames(from))
|
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
+
}
|
|
15
|
+
return to;
|
|
16
|
+
};
|
|
17
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
+
|
|
19
|
+
// src/submodules/schema/index.ts
|
|
20
|
+
var schema_exports = {};
|
|
21
|
+
__export(schema_exports, {
|
|
22
|
+
ErrorSchema: () => ErrorSchema,
|
|
23
|
+
ListSchema: () => ListSchema,
|
|
24
|
+
MapSchema: () => MapSchema,
|
|
25
|
+
NormalizedSchema: () => NormalizedSchema,
|
|
26
|
+
OperationSchema: () => OperationSchema,
|
|
27
|
+
SCHEMA: () => SCHEMA,
|
|
28
|
+
Schema: () => Schema,
|
|
29
|
+
SimpleSchema: () => SimpleSchema,
|
|
30
|
+
StructureSchema: () => StructureSchema,
|
|
31
|
+
TypeRegistry: () => TypeRegistry,
|
|
32
|
+
deref: () => deref,
|
|
33
|
+
deserializerMiddlewareOption: () => deserializerMiddlewareOption,
|
|
34
|
+
error: () => error,
|
|
35
|
+
getSchemaSerdePlugin: () => getSchemaSerdePlugin,
|
|
36
|
+
list: () => list,
|
|
37
|
+
map: () => map,
|
|
38
|
+
op: () => op,
|
|
39
|
+
serializerMiddlewareOption: () => serializerMiddlewareOption,
|
|
40
|
+
sim: () => sim,
|
|
41
|
+
struct: () => struct
|
|
42
|
+
});
|
|
43
|
+
module.exports = __toCommonJS(schema_exports);
|
|
44
|
+
|
|
45
|
+
// src/submodules/schema/deref.ts
|
|
46
|
+
var deref = (schemaRef) => {
|
|
47
|
+
if (typeof schemaRef === "function") {
|
|
48
|
+
return schemaRef();
|
|
49
|
+
}
|
|
50
|
+
return schemaRef;
|
|
51
|
+
};
|
|
52
|
+
|
|
53
|
+
// src/submodules/schema/middleware/schemaDeserializationMiddleware.ts
|
|
54
|
+
var import_protocol_http = require("@smithy/protocol-http");
|
|
55
|
+
var import_util_middleware = require("@smithy/util-middleware");
|
|
56
|
+
var schemaDeserializationMiddleware = (config) => (next, context) => async (args) => {
|
|
57
|
+
const { response } = await next(args);
|
|
58
|
+
const { operationSchema } = (0, import_util_middleware.getSmithyContext)(context);
|
|
59
|
+
try {
|
|
60
|
+
const parsed = await config.protocol.deserializeResponse(
|
|
61
|
+
operationSchema,
|
|
62
|
+
{
|
|
63
|
+
...config,
|
|
64
|
+
...context
|
|
65
|
+
},
|
|
66
|
+
response
|
|
67
|
+
);
|
|
68
|
+
return {
|
|
69
|
+
response,
|
|
70
|
+
output: parsed
|
|
71
|
+
};
|
|
72
|
+
} catch (error2) {
|
|
73
|
+
Object.defineProperty(error2, "$response", {
|
|
74
|
+
value: response
|
|
75
|
+
});
|
|
76
|
+
if (!("$metadata" in error2)) {
|
|
77
|
+
const hint = `Deserialization error: to see the raw response, inspect the hidden field {error}.$response on this object.`;
|
|
78
|
+
try {
|
|
79
|
+
error2.message += "\n " + hint;
|
|
80
|
+
} catch (e) {
|
|
81
|
+
if (!context.logger || context.logger?.constructor?.name === "NoOpLogger") {
|
|
82
|
+
console.warn(hint);
|
|
83
|
+
} else {
|
|
84
|
+
context.logger?.warn?.(hint);
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
if (typeof error2.$responseBodyText !== "undefined") {
|
|
88
|
+
if (error2.$response) {
|
|
89
|
+
error2.$response.body = error2.$responseBodyText;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
try {
|
|
93
|
+
if (import_protocol_http.HttpResponse.isInstance(response)) {
|
|
94
|
+
const { headers = {} } = response;
|
|
95
|
+
const headerEntries = Object.entries(headers);
|
|
96
|
+
error2.$metadata = {
|
|
97
|
+
httpStatusCode: response.statusCode,
|
|
98
|
+
requestId: findHeader(/^x-[\w-]+-request-?id$/, headerEntries),
|
|
99
|
+
extendedRequestId: findHeader(/^x-[\w-]+-id-2$/, headerEntries),
|
|
100
|
+
cfId: findHeader(/^x-[\w-]+-cf-id$/, headerEntries)
|
|
101
|
+
};
|
|
102
|
+
}
|
|
103
|
+
} catch (e) {
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
throw error2;
|
|
107
|
+
}
|
|
108
|
+
};
|
|
109
|
+
var findHeader = (pattern, headers) => {
|
|
110
|
+
return (headers.find(([k]) => {
|
|
111
|
+
return k.match(pattern);
|
|
112
|
+
}) || [void 0, void 0])[1];
|
|
113
|
+
};
|
|
114
|
+
|
|
115
|
+
// src/submodules/schema/middleware/schemaSerializationMiddleware.ts
|
|
116
|
+
var import_util_middleware2 = require("@smithy/util-middleware");
|
|
117
|
+
var schemaSerializationMiddleware = (config) => (next, context) => async (args) => {
|
|
118
|
+
const { operationSchema } = (0, import_util_middleware2.getSmithyContext)(context);
|
|
119
|
+
const endpoint = context.endpointV2?.url && config.urlParser ? async () => config.urlParser(context.endpointV2.url) : config.endpoint;
|
|
120
|
+
const request = await config.protocol.serializeRequest(operationSchema, args.input, {
|
|
121
|
+
...config,
|
|
122
|
+
...context,
|
|
123
|
+
endpoint
|
|
124
|
+
});
|
|
125
|
+
return next({
|
|
126
|
+
...args,
|
|
127
|
+
request
|
|
128
|
+
});
|
|
129
|
+
};
|
|
130
|
+
|
|
131
|
+
// src/submodules/schema/middleware/getSchemaSerdePlugin.ts
|
|
132
|
+
var deserializerMiddlewareOption = {
|
|
133
|
+
name: "deserializerMiddleware",
|
|
134
|
+
step: "deserialize",
|
|
135
|
+
tags: ["DESERIALIZER"],
|
|
136
|
+
override: true
|
|
137
|
+
};
|
|
138
|
+
var serializerMiddlewareOption = {
|
|
139
|
+
name: "serializerMiddleware",
|
|
140
|
+
step: "serialize",
|
|
141
|
+
tags: ["SERIALIZER"],
|
|
142
|
+
override: true
|
|
143
|
+
};
|
|
144
|
+
function getSchemaSerdePlugin(config) {
|
|
145
|
+
return {
|
|
146
|
+
applyToStack: (commandStack) => {
|
|
147
|
+
commandStack.add(schemaSerializationMiddleware(config), serializerMiddlewareOption);
|
|
148
|
+
commandStack.add(schemaDeserializationMiddleware(config), deserializerMiddlewareOption);
|
|
149
|
+
config.protocol.setSerdeContext(config);
|
|
150
|
+
}
|
|
151
|
+
};
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
// src/submodules/schema/TypeRegistry.ts
|
|
155
|
+
var TypeRegistry = class _TypeRegistry {
|
|
156
|
+
constructor(namespace, schemas = /* @__PURE__ */ new Map()) {
|
|
157
|
+
this.namespace = namespace;
|
|
158
|
+
this.schemas = schemas;
|
|
159
|
+
}
|
|
160
|
+
static {
|
|
161
|
+
this.registries = /* @__PURE__ */ new Map();
|
|
162
|
+
}
|
|
163
|
+
/**
|
|
164
|
+
* @param namespace - specifier.
|
|
165
|
+
* @returns the schema for that namespace, creating it if necessary.
|
|
166
|
+
*/
|
|
167
|
+
static for(namespace) {
|
|
168
|
+
if (!_TypeRegistry.registries.has(namespace)) {
|
|
169
|
+
_TypeRegistry.registries.set(namespace, new _TypeRegistry(namespace));
|
|
170
|
+
}
|
|
171
|
+
return _TypeRegistry.registries.get(namespace);
|
|
172
|
+
}
|
|
173
|
+
/**
|
|
174
|
+
* Adds the given schema to a type registry with the same namespace.
|
|
175
|
+
*
|
|
176
|
+
* @param shapeId - to be registered.
|
|
177
|
+
* @param schema - to be registered.
|
|
178
|
+
*/
|
|
179
|
+
register(shapeId, schema) {
|
|
180
|
+
const qualifiedName = this.normalizeShapeId(shapeId);
|
|
181
|
+
const registry = _TypeRegistry.for(this.getNamespace(shapeId));
|
|
182
|
+
registry.schemas.set(qualifiedName, schema);
|
|
183
|
+
}
|
|
184
|
+
/**
|
|
185
|
+
* @param shapeId - query.
|
|
186
|
+
* @returns the schema.
|
|
187
|
+
*/
|
|
188
|
+
getSchema(shapeId) {
|
|
189
|
+
const id = this.normalizeShapeId(shapeId);
|
|
190
|
+
if (!this.schemas.has(id)) {
|
|
191
|
+
throw new Error(`@smithy/core/schema - schema not found for ${id}`);
|
|
192
|
+
}
|
|
193
|
+
return this.schemas.get(id);
|
|
194
|
+
}
|
|
195
|
+
/**
|
|
196
|
+
* The smithy-typescript code generator generates a synthetic (i.e. unmodeled) base exception,
|
|
197
|
+
* because generated SDKs before the introduction of schemas have the notion of a ServiceBaseException, which
|
|
198
|
+
* is unique per service/model.
|
|
199
|
+
*
|
|
200
|
+
* This is generated under a unique prefix that is combined with the service namespace, and this
|
|
201
|
+
* method is used to retrieve it.
|
|
202
|
+
*
|
|
203
|
+
* The base exception synthetic schema is used when an error is returned by a service, but we cannot
|
|
204
|
+
* determine what existing schema to use to deserialize it.
|
|
205
|
+
*
|
|
206
|
+
* @returns the synthetic base exception of the service namespace associated with this registry instance.
|
|
207
|
+
*/
|
|
208
|
+
getBaseException() {
|
|
209
|
+
for (const [id, schema] of this.schemas.entries()) {
|
|
210
|
+
if (id.startsWith("smithy.ts.sdk.synthetic.") && id.endsWith("ServiceException")) {
|
|
211
|
+
return schema;
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
return void 0;
|
|
215
|
+
}
|
|
216
|
+
/**
|
|
217
|
+
* @param predicate - criterion.
|
|
218
|
+
* @returns a schema in this registry matching the predicate.
|
|
219
|
+
*/
|
|
220
|
+
find(predicate) {
|
|
221
|
+
return [...this.schemas.values()].find(predicate);
|
|
222
|
+
}
|
|
223
|
+
/**
|
|
224
|
+
* Unloads the current TypeRegistry.
|
|
225
|
+
*/
|
|
226
|
+
destroy() {
|
|
227
|
+
_TypeRegistry.registries.delete(this.namespace);
|
|
228
|
+
this.schemas.clear();
|
|
229
|
+
}
|
|
230
|
+
normalizeShapeId(shapeId) {
|
|
231
|
+
if (shapeId.includes("#")) {
|
|
232
|
+
return shapeId;
|
|
233
|
+
}
|
|
234
|
+
return this.namespace + "#" + shapeId;
|
|
235
|
+
}
|
|
236
|
+
getNamespace(shapeId) {
|
|
237
|
+
return this.normalizeShapeId(shapeId).split("#")[0];
|
|
238
|
+
}
|
|
239
|
+
};
|
|
240
|
+
|
|
241
|
+
// src/submodules/schema/schemas/Schema.ts
|
|
242
|
+
var Schema = class {
|
|
243
|
+
constructor(name, traits) {
|
|
244
|
+
this.name = name;
|
|
245
|
+
this.traits = traits;
|
|
246
|
+
}
|
|
247
|
+
};
|
|
248
|
+
|
|
249
|
+
// src/submodules/schema/schemas/ListSchema.ts
|
|
250
|
+
var ListSchema = class _ListSchema extends Schema {
|
|
251
|
+
constructor(name, traits, valueSchema) {
|
|
252
|
+
super(name, traits);
|
|
253
|
+
this.name = name;
|
|
254
|
+
this.traits = traits;
|
|
255
|
+
this.valueSchema = valueSchema;
|
|
256
|
+
this.symbol = _ListSchema.symbol;
|
|
257
|
+
}
|
|
258
|
+
static {
|
|
259
|
+
this.symbol = Symbol.for("@smithy/core/schema::ListSchema");
|
|
260
|
+
}
|
|
261
|
+
static [Symbol.hasInstance](lhs) {
|
|
262
|
+
const isPrototype = _ListSchema.prototype.isPrototypeOf(lhs);
|
|
263
|
+
if (!isPrototype && typeof lhs === "object" && lhs !== null) {
|
|
264
|
+
const list2 = lhs;
|
|
265
|
+
return list2.symbol === _ListSchema.symbol;
|
|
266
|
+
}
|
|
267
|
+
return isPrototype;
|
|
268
|
+
}
|
|
269
|
+
};
|
|
270
|
+
function list(namespace, name, traits = {}, valueSchema) {
|
|
271
|
+
const schema = new ListSchema(
|
|
272
|
+
namespace + "#" + name,
|
|
273
|
+
traits,
|
|
274
|
+
typeof valueSchema === "function" ? valueSchema() : valueSchema
|
|
275
|
+
);
|
|
276
|
+
TypeRegistry.for(namespace).register(name, schema);
|
|
277
|
+
return schema;
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
// src/submodules/schema/schemas/MapSchema.ts
|
|
281
|
+
var MapSchema = class _MapSchema extends Schema {
|
|
282
|
+
constructor(name, traits, keySchema, valueSchema) {
|
|
283
|
+
super(name, traits);
|
|
284
|
+
this.name = name;
|
|
285
|
+
this.traits = traits;
|
|
286
|
+
this.keySchema = keySchema;
|
|
287
|
+
this.valueSchema = valueSchema;
|
|
288
|
+
this.symbol = _MapSchema.symbol;
|
|
289
|
+
}
|
|
290
|
+
static {
|
|
291
|
+
this.symbol = Symbol.for("@smithy/core/schema::MapSchema");
|
|
292
|
+
}
|
|
293
|
+
static [Symbol.hasInstance](lhs) {
|
|
294
|
+
const isPrototype = _MapSchema.prototype.isPrototypeOf(lhs);
|
|
295
|
+
if (!isPrototype && typeof lhs === "object" && lhs !== null) {
|
|
296
|
+
const map2 = lhs;
|
|
297
|
+
return map2.symbol === _MapSchema.symbol;
|
|
298
|
+
}
|
|
299
|
+
return isPrototype;
|
|
300
|
+
}
|
|
301
|
+
};
|
|
302
|
+
function map(namespace, name, traits = {}, keySchema, valueSchema) {
|
|
303
|
+
const schema = new MapSchema(
|
|
304
|
+
namespace + "#" + name,
|
|
305
|
+
traits,
|
|
306
|
+
keySchema,
|
|
307
|
+
typeof valueSchema === "function" ? valueSchema() : valueSchema
|
|
308
|
+
);
|
|
309
|
+
TypeRegistry.for(namespace).register(name, schema);
|
|
310
|
+
return schema;
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
// src/submodules/schema/schemas/OperationSchema.ts
|
|
314
|
+
var OperationSchema = class extends Schema {
|
|
315
|
+
constructor(name, traits, input, output) {
|
|
316
|
+
super(name, traits);
|
|
317
|
+
this.name = name;
|
|
318
|
+
this.traits = traits;
|
|
319
|
+
this.input = input;
|
|
320
|
+
this.output = output;
|
|
321
|
+
}
|
|
322
|
+
};
|
|
323
|
+
function op(namespace, name, traits = {}, input, output) {
|
|
324
|
+
const schema = new OperationSchema(namespace + "#" + name, traits, input, output);
|
|
325
|
+
TypeRegistry.for(namespace).register(name, schema);
|
|
326
|
+
return schema;
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
// src/submodules/schema/schemas/StructureSchema.ts
|
|
330
|
+
var StructureSchema = class _StructureSchema extends Schema {
|
|
331
|
+
constructor(name, traits, memberNames, memberList) {
|
|
332
|
+
super(name, traits);
|
|
333
|
+
this.name = name;
|
|
334
|
+
this.traits = traits;
|
|
335
|
+
this.memberNames = memberNames;
|
|
336
|
+
this.memberList = memberList;
|
|
337
|
+
this.symbol = _StructureSchema.symbol;
|
|
338
|
+
this.members = {};
|
|
339
|
+
for (let i = 0; i < memberNames.length; ++i) {
|
|
340
|
+
this.members[memberNames[i]] = Array.isArray(memberList[i]) ? memberList[i] : [memberList[i], 0];
|
|
341
|
+
}
|
|
342
|
+
}
|
|
343
|
+
static {
|
|
344
|
+
this.symbol = Symbol.for("@smithy/core/schema::StructureSchema");
|
|
345
|
+
}
|
|
346
|
+
static [Symbol.hasInstance](lhs) {
|
|
347
|
+
const isPrototype = _StructureSchema.prototype.isPrototypeOf(lhs);
|
|
348
|
+
if (!isPrototype && typeof lhs === "object" && lhs !== null) {
|
|
349
|
+
const struct2 = lhs;
|
|
350
|
+
return struct2.symbol === _StructureSchema.symbol;
|
|
351
|
+
}
|
|
352
|
+
return isPrototype;
|
|
353
|
+
}
|
|
354
|
+
};
|
|
355
|
+
function struct(namespace, name, traits, memberNames, memberList) {
|
|
356
|
+
const schema = new StructureSchema(namespace + "#" + name, traits, memberNames, memberList);
|
|
357
|
+
TypeRegistry.for(namespace).register(name, schema);
|
|
358
|
+
return schema;
|
|
359
|
+
}
|
|
360
|
+
|
|
361
|
+
// src/submodules/schema/schemas/ErrorSchema.ts
|
|
362
|
+
var ErrorSchema = class _ErrorSchema extends StructureSchema {
|
|
363
|
+
constructor(name, traits, memberNames, memberList, ctor) {
|
|
364
|
+
super(name, traits, memberNames, memberList);
|
|
365
|
+
this.name = name;
|
|
366
|
+
this.traits = traits;
|
|
367
|
+
this.memberNames = memberNames;
|
|
368
|
+
this.memberList = memberList;
|
|
369
|
+
this.ctor = ctor;
|
|
370
|
+
this.symbol = _ErrorSchema.symbol;
|
|
371
|
+
}
|
|
372
|
+
static {
|
|
373
|
+
this.symbol = Symbol.for("@smithy/core/schema::ErrorSchema");
|
|
374
|
+
}
|
|
375
|
+
static [Symbol.hasInstance](lhs) {
|
|
376
|
+
const isPrototype = _ErrorSchema.prototype.isPrototypeOf(lhs);
|
|
377
|
+
if (!isPrototype && typeof lhs === "object" && lhs !== null) {
|
|
378
|
+
const err = lhs;
|
|
379
|
+
return err.symbol === _ErrorSchema.symbol;
|
|
380
|
+
}
|
|
381
|
+
return isPrototype;
|
|
382
|
+
}
|
|
383
|
+
};
|
|
384
|
+
function error(namespace, name, traits = {}, memberNames, memberList, ctor) {
|
|
385
|
+
const schema = new ErrorSchema(namespace + "#" + name, traits, memberNames, memberList, ctor);
|
|
386
|
+
TypeRegistry.for(namespace).register(name, schema);
|
|
387
|
+
return schema;
|
|
388
|
+
}
|
|
389
|
+
|
|
390
|
+
// src/submodules/schema/schemas/sentinels.ts
|
|
391
|
+
var SCHEMA = {
|
|
392
|
+
BLOB: 21,
|
|
393
|
+
// 21
|
|
394
|
+
STREAMING_BLOB: 42,
|
|
395
|
+
// 42
|
|
396
|
+
BOOLEAN: 2,
|
|
397
|
+
// 2
|
|
398
|
+
STRING: 0,
|
|
399
|
+
// 0
|
|
400
|
+
NUMERIC: 1,
|
|
401
|
+
// 1
|
|
402
|
+
BIG_INTEGER: 17,
|
|
403
|
+
// 17
|
|
404
|
+
BIG_DECIMAL: 19,
|
|
405
|
+
// 19
|
|
406
|
+
DOCUMENT: 15,
|
|
407
|
+
// 15
|
|
408
|
+
TIMESTAMP_DEFAULT: 4,
|
|
409
|
+
// 4
|
|
410
|
+
TIMESTAMP_DATE_TIME: 5,
|
|
411
|
+
// 5
|
|
412
|
+
TIMESTAMP_HTTP_DATE: 6,
|
|
413
|
+
// 6
|
|
414
|
+
TIMESTAMP_EPOCH_SECONDS: 7,
|
|
415
|
+
// 7
|
|
416
|
+
LIST_MODIFIER: 64,
|
|
417
|
+
// 64
|
|
418
|
+
MAP_MODIFIER: 128
|
|
419
|
+
// 128
|
|
420
|
+
};
|
|
421
|
+
|
|
422
|
+
// src/submodules/schema/schemas/SimpleSchema.ts
|
|
423
|
+
var SimpleSchema = class _SimpleSchema extends Schema {
|
|
424
|
+
constructor(name, schemaRef, traits) {
|
|
425
|
+
super(name, traits);
|
|
426
|
+
this.name = name;
|
|
427
|
+
this.schemaRef = schemaRef;
|
|
428
|
+
this.traits = traits;
|
|
429
|
+
this.symbol = _SimpleSchema.symbol;
|
|
430
|
+
}
|
|
431
|
+
static {
|
|
432
|
+
this.symbol = Symbol.for("@smithy/core/schema::SimpleSchema");
|
|
433
|
+
}
|
|
434
|
+
static [Symbol.hasInstance](lhs) {
|
|
435
|
+
const isPrototype = _SimpleSchema.prototype.isPrototypeOf(lhs);
|
|
436
|
+
if (!isPrototype && typeof lhs === "object" && lhs !== null) {
|
|
437
|
+
const sim2 = lhs;
|
|
438
|
+
return sim2.symbol === _SimpleSchema.symbol;
|
|
439
|
+
}
|
|
440
|
+
return isPrototype;
|
|
441
|
+
}
|
|
442
|
+
};
|
|
443
|
+
function sim(namespace, name, schemaRef, traits) {
|
|
444
|
+
const schema = new SimpleSchema(namespace + "#" + name, schemaRef, traits);
|
|
445
|
+
TypeRegistry.for(namespace).register(name, schema);
|
|
446
|
+
return schema;
|
|
447
|
+
}
|
|
448
|
+
|
|
449
|
+
// src/submodules/schema/schemas/NormalizedSchema.ts
|
|
450
|
+
var NormalizedSchema = class _NormalizedSchema {
|
|
451
|
+
/**
|
|
452
|
+
* @param ref - a polymorphic SchemaRef to be dereferenced/normalized.
|
|
453
|
+
* @param memberName - optional memberName if this NormalizedSchema should be considered a member schema.
|
|
454
|
+
*/
|
|
455
|
+
constructor(ref, memberName) {
|
|
456
|
+
this.ref = ref;
|
|
457
|
+
this.memberName = memberName;
|
|
458
|
+
this.symbol = _NormalizedSchema.symbol;
|
|
459
|
+
const traitStack = [];
|
|
460
|
+
let _ref = ref;
|
|
461
|
+
let schema = ref;
|
|
462
|
+
this._isMemberSchema = false;
|
|
463
|
+
while (Array.isArray(_ref)) {
|
|
464
|
+
traitStack.push(_ref[1]);
|
|
465
|
+
_ref = _ref[0];
|
|
466
|
+
schema = deref(_ref);
|
|
467
|
+
this._isMemberSchema = true;
|
|
468
|
+
}
|
|
469
|
+
if (traitStack.length > 0) {
|
|
470
|
+
this.memberTraits = {};
|
|
471
|
+
for (let i = traitStack.length - 1; i >= 0; --i) {
|
|
472
|
+
const traitSet = traitStack[i];
|
|
473
|
+
Object.assign(this.memberTraits, _NormalizedSchema.translateTraits(traitSet));
|
|
474
|
+
}
|
|
475
|
+
} else {
|
|
476
|
+
this.memberTraits = 0;
|
|
477
|
+
}
|
|
478
|
+
if (schema instanceof _NormalizedSchema) {
|
|
479
|
+
this.name = schema.name;
|
|
480
|
+
this.traits = schema.traits;
|
|
481
|
+
this._isMemberSchema = schema._isMemberSchema;
|
|
482
|
+
this.schema = schema.schema;
|
|
483
|
+
this.memberTraits = Object.assign({}, schema.getMemberTraits(), this.getMemberTraits());
|
|
484
|
+
this.normalizedTraits = void 0;
|
|
485
|
+
this.ref = schema.ref;
|
|
486
|
+
this.memberName = memberName ?? schema.memberName;
|
|
487
|
+
return;
|
|
488
|
+
}
|
|
489
|
+
this.schema = deref(schema);
|
|
490
|
+
if (this.schema && typeof this.schema === "object") {
|
|
491
|
+
this.traits = this.schema?.traits ?? {};
|
|
492
|
+
} else {
|
|
493
|
+
this.traits = 0;
|
|
494
|
+
}
|
|
495
|
+
this.name = (typeof this.schema === "object" ? this.schema?.name : void 0) ?? this.memberName ?? this.getSchemaName();
|
|
496
|
+
if (this._isMemberSchema && !memberName) {
|
|
497
|
+
throw new Error(
|
|
498
|
+
`@smithy/core/schema - NormalizedSchema member schema ${this.getName(
|
|
499
|
+
true
|
|
500
|
+
)} must initialize with memberName argument.`
|
|
501
|
+
);
|
|
502
|
+
}
|
|
503
|
+
}
|
|
504
|
+
static {
|
|
505
|
+
this.symbol = Symbol.for("@smithy/core/schema::NormalizedSchema");
|
|
506
|
+
}
|
|
507
|
+
static [Symbol.hasInstance](lhs) {
|
|
508
|
+
const isPrototype = _NormalizedSchema.prototype.isPrototypeOf(lhs);
|
|
509
|
+
if (!isPrototype && typeof lhs === "object" && lhs !== null) {
|
|
510
|
+
const ns = lhs;
|
|
511
|
+
return ns.symbol === _NormalizedSchema.symbol;
|
|
512
|
+
}
|
|
513
|
+
return isPrototype;
|
|
514
|
+
}
|
|
515
|
+
/**
|
|
516
|
+
* Static constructor that attempts to avoid wrapping a NormalizedSchema within another.
|
|
517
|
+
*/
|
|
518
|
+
static of(ref, memberName) {
|
|
519
|
+
if (ref instanceof _NormalizedSchema) {
|
|
520
|
+
return ref;
|
|
521
|
+
}
|
|
522
|
+
return new _NormalizedSchema(ref, memberName);
|
|
523
|
+
}
|
|
524
|
+
/**
|
|
525
|
+
* @param indicator - numeric indicator for preset trait combination.
|
|
526
|
+
* @returns equivalent trait object.
|
|
527
|
+
*/
|
|
528
|
+
static translateTraits(indicator) {
|
|
529
|
+
if (typeof indicator === "object") {
|
|
530
|
+
return indicator;
|
|
531
|
+
}
|
|
532
|
+
indicator = indicator | 0;
|
|
533
|
+
const traits = {};
|
|
534
|
+
if ((indicator & 1) === 1) {
|
|
535
|
+
traits.httpLabel = 1;
|
|
536
|
+
}
|
|
537
|
+
if ((indicator >> 1 & 1) === 1) {
|
|
538
|
+
traits.idempotent = 1;
|
|
539
|
+
}
|
|
540
|
+
if ((indicator >> 2 & 1) === 1) {
|
|
541
|
+
traits.idempotencyToken = 1;
|
|
542
|
+
}
|
|
543
|
+
if ((indicator >> 3 & 1) === 1) {
|
|
544
|
+
traits.sensitive = 1;
|
|
545
|
+
}
|
|
546
|
+
if ((indicator >> 4 & 1) === 1) {
|
|
547
|
+
traits.httpPayload = 1;
|
|
548
|
+
}
|
|
549
|
+
if ((indicator >> 5 & 1) === 1) {
|
|
550
|
+
traits.httpResponseCode = 1;
|
|
551
|
+
}
|
|
552
|
+
if ((indicator >> 6 & 1) === 1) {
|
|
553
|
+
traits.httpQueryParams = 1;
|
|
554
|
+
}
|
|
555
|
+
return traits;
|
|
556
|
+
}
|
|
557
|
+
/**
|
|
558
|
+
* Creates a normalized member schema from the given schema and member name.
|
|
559
|
+
*/
|
|
560
|
+
static memberFrom(memberSchema, memberName) {
|
|
561
|
+
if (memberSchema instanceof _NormalizedSchema) {
|
|
562
|
+
memberSchema.memberName = memberName;
|
|
563
|
+
memberSchema._isMemberSchema = true;
|
|
564
|
+
return memberSchema;
|
|
565
|
+
}
|
|
566
|
+
return new _NormalizedSchema(memberSchema, memberName);
|
|
567
|
+
}
|
|
568
|
+
/**
|
|
569
|
+
* @returns the underlying non-normalized schema.
|
|
570
|
+
*/
|
|
571
|
+
getSchema() {
|
|
572
|
+
if (this.schema instanceof _NormalizedSchema) {
|
|
573
|
+
return this.schema = this.schema.getSchema();
|
|
574
|
+
}
|
|
575
|
+
if (this.schema instanceof SimpleSchema) {
|
|
576
|
+
return deref(this.schema.schemaRef);
|
|
577
|
+
}
|
|
578
|
+
return deref(this.schema);
|
|
579
|
+
}
|
|
580
|
+
/**
|
|
581
|
+
* @param withNamespace - qualifies the name.
|
|
582
|
+
* @returns e.g. `MyShape` or `com.namespace#MyShape`.
|
|
583
|
+
*/
|
|
584
|
+
getName(withNamespace = false) {
|
|
585
|
+
if (!withNamespace) {
|
|
586
|
+
if (this.name && this.name.includes("#")) {
|
|
587
|
+
return this.name.split("#")[1];
|
|
588
|
+
}
|
|
589
|
+
}
|
|
590
|
+
return this.name || void 0;
|
|
591
|
+
}
|
|
592
|
+
/**
|
|
593
|
+
* @returns the member name if the schema is a member schema.
|
|
594
|
+
* @throws Error when the schema isn't a member schema.
|
|
595
|
+
*/
|
|
596
|
+
getMemberName() {
|
|
597
|
+
if (!this.isMemberSchema()) {
|
|
598
|
+
throw new Error(`@smithy/core/schema - cannot get member name on non-member schema: ${this.getName(true)}`);
|
|
599
|
+
}
|
|
600
|
+
return this.memberName;
|
|
601
|
+
}
|
|
602
|
+
isMemberSchema() {
|
|
603
|
+
return this._isMemberSchema;
|
|
604
|
+
}
|
|
605
|
+
isUnitSchema() {
|
|
606
|
+
return this.getSchema() === "unit";
|
|
607
|
+
}
|
|
608
|
+
/**
|
|
609
|
+
* boolean methods on this class help control flow in shape serialization and deserialization.
|
|
610
|
+
*/
|
|
611
|
+
isListSchema() {
|
|
612
|
+
const inner = this.getSchema();
|
|
613
|
+
if (typeof inner === "number") {
|
|
614
|
+
return inner >= SCHEMA.LIST_MODIFIER && inner < SCHEMA.MAP_MODIFIER;
|
|
615
|
+
}
|
|
616
|
+
return inner instanceof ListSchema;
|
|
617
|
+
}
|
|
618
|
+
isMapSchema() {
|
|
619
|
+
const inner = this.getSchema();
|
|
620
|
+
if (typeof inner === "number") {
|
|
621
|
+
return inner >= SCHEMA.MAP_MODIFIER && inner <= 255;
|
|
622
|
+
}
|
|
623
|
+
return inner instanceof MapSchema;
|
|
624
|
+
}
|
|
625
|
+
isDocumentSchema() {
|
|
626
|
+
return this.getSchema() === SCHEMA.DOCUMENT;
|
|
627
|
+
}
|
|
628
|
+
isStructSchema() {
|
|
629
|
+
const inner = this.getSchema();
|
|
630
|
+
return inner !== null && typeof inner === "object" && "members" in inner || inner instanceof StructureSchema;
|
|
631
|
+
}
|
|
632
|
+
isBlobSchema() {
|
|
633
|
+
return this.getSchema() === SCHEMA.BLOB || this.getSchema() === SCHEMA.STREAMING_BLOB;
|
|
634
|
+
}
|
|
635
|
+
isTimestampSchema() {
|
|
636
|
+
const schema = this.getSchema();
|
|
637
|
+
return typeof schema === "number" && schema >= SCHEMA.TIMESTAMP_DEFAULT && schema <= SCHEMA.TIMESTAMP_EPOCH_SECONDS;
|
|
638
|
+
}
|
|
639
|
+
isStringSchema() {
|
|
640
|
+
return this.getSchema() === SCHEMA.STRING;
|
|
641
|
+
}
|
|
642
|
+
isBooleanSchema() {
|
|
643
|
+
return this.getSchema() === SCHEMA.BOOLEAN;
|
|
644
|
+
}
|
|
645
|
+
isNumericSchema() {
|
|
646
|
+
return this.getSchema() === SCHEMA.NUMERIC;
|
|
647
|
+
}
|
|
648
|
+
isBigIntegerSchema() {
|
|
649
|
+
return this.getSchema() === SCHEMA.BIG_INTEGER;
|
|
650
|
+
}
|
|
651
|
+
isBigDecimalSchema() {
|
|
652
|
+
return this.getSchema() === SCHEMA.BIG_DECIMAL;
|
|
653
|
+
}
|
|
654
|
+
isStreaming() {
|
|
655
|
+
const streaming = !!this.getMergedTraits().streaming;
|
|
656
|
+
if (streaming) {
|
|
657
|
+
return true;
|
|
658
|
+
}
|
|
659
|
+
return this.getSchema() === SCHEMA.STREAMING_BLOB;
|
|
660
|
+
}
|
|
661
|
+
/**
|
|
662
|
+
* This is a shortcut to avoid calling `getMergedTraits().idempotencyToken` on every string.
|
|
663
|
+
* @returns whether the schema has the idempotencyToken trait.
|
|
664
|
+
*/
|
|
665
|
+
isIdempotencyToken() {
|
|
666
|
+
if (typeof this.traits === "number") {
|
|
667
|
+
return (this.traits & 4) === 4;
|
|
668
|
+
} else if (typeof this.traits === "object") {
|
|
669
|
+
return !!this.traits.idempotencyToken;
|
|
670
|
+
}
|
|
671
|
+
return false;
|
|
672
|
+
}
|
|
673
|
+
/**
|
|
674
|
+
* @returns own traits merged with member traits, where member traits of the same trait key take priority.
|
|
675
|
+
* This method is cached.
|
|
676
|
+
*/
|
|
677
|
+
getMergedTraits() {
|
|
678
|
+
if (this.normalizedTraits) {
|
|
679
|
+
return this.normalizedTraits;
|
|
680
|
+
}
|
|
681
|
+
this.normalizedTraits = {
|
|
682
|
+
...this.getOwnTraits(),
|
|
683
|
+
...this.getMemberTraits()
|
|
684
|
+
};
|
|
685
|
+
return this.normalizedTraits;
|
|
686
|
+
}
|
|
687
|
+
/**
|
|
688
|
+
* @returns only the member traits. If the schema is not a member, this returns empty.
|
|
689
|
+
*/
|
|
690
|
+
getMemberTraits() {
|
|
691
|
+
return _NormalizedSchema.translateTraits(this.memberTraits);
|
|
692
|
+
}
|
|
693
|
+
/**
|
|
694
|
+
* @returns only the traits inherent to the shape or member target shape if this schema is a member.
|
|
695
|
+
* If there are any member traits they are excluded.
|
|
696
|
+
*/
|
|
697
|
+
getOwnTraits() {
|
|
698
|
+
return _NormalizedSchema.translateTraits(this.traits);
|
|
699
|
+
}
|
|
700
|
+
/**
|
|
701
|
+
* @returns the map's key's schema. Returns a dummy Document schema if this schema is a Document.
|
|
702
|
+
*
|
|
703
|
+
* @throws Error if the schema is not a Map or Document.
|
|
704
|
+
*/
|
|
705
|
+
getKeySchema() {
|
|
706
|
+
if (this.isDocumentSchema()) {
|
|
707
|
+
return _NormalizedSchema.memberFrom([SCHEMA.DOCUMENT, 0], "key");
|
|
708
|
+
}
|
|
709
|
+
if (!this.isMapSchema()) {
|
|
710
|
+
throw new Error(`@smithy/core/schema - cannot get key schema for non-map schema: ${this.getName(true)}`);
|
|
711
|
+
}
|
|
712
|
+
const schema = this.getSchema();
|
|
713
|
+
if (typeof schema === "number") {
|
|
714
|
+
return _NormalizedSchema.memberFrom([63 & schema, 0], "key");
|
|
715
|
+
}
|
|
716
|
+
return _NormalizedSchema.memberFrom([schema.keySchema, 0], "key");
|
|
717
|
+
}
|
|
718
|
+
/**
|
|
719
|
+
* @returns the schema of the map's value or list's member.
|
|
720
|
+
* Returns a dummy Document schema if this schema is a Document.
|
|
721
|
+
*
|
|
722
|
+
* @throws Error if the schema is not a Map, List, nor Document.
|
|
723
|
+
*/
|
|
724
|
+
getValueSchema() {
|
|
725
|
+
const schema = this.getSchema();
|
|
726
|
+
if (typeof schema === "number") {
|
|
727
|
+
if (this.isMapSchema()) {
|
|
728
|
+
return _NormalizedSchema.memberFrom([63 & schema, 0], "value");
|
|
729
|
+
} else if (this.isListSchema()) {
|
|
730
|
+
return _NormalizedSchema.memberFrom([63 & schema, 0], "member");
|
|
731
|
+
}
|
|
732
|
+
}
|
|
733
|
+
if (schema && typeof schema === "object") {
|
|
734
|
+
if (this.isStructSchema()) {
|
|
735
|
+
throw new Error(`cannot call getValueSchema() with StructureSchema ${this.getName(true)}`);
|
|
736
|
+
}
|
|
737
|
+
const collection = schema;
|
|
738
|
+
if ("valueSchema" in collection) {
|
|
739
|
+
if (this.isMapSchema()) {
|
|
740
|
+
return _NormalizedSchema.memberFrom([collection.valueSchema, 0], "value");
|
|
741
|
+
} else if (this.isListSchema()) {
|
|
742
|
+
return _NormalizedSchema.memberFrom([collection.valueSchema, 0], "member");
|
|
743
|
+
}
|
|
744
|
+
}
|
|
745
|
+
}
|
|
746
|
+
if (this.isDocumentSchema()) {
|
|
747
|
+
return _NormalizedSchema.memberFrom([SCHEMA.DOCUMENT, 0], "value");
|
|
748
|
+
}
|
|
749
|
+
throw new Error(`@smithy/core/schema - the schema ${this.getName(true)} does not have a value member.`);
|
|
750
|
+
}
|
|
751
|
+
/**
|
|
752
|
+
* @param member - to query.
|
|
753
|
+
* @returns whether there is a memberSchema with the given member name. False if not a structure (or union).
|
|
754
|
+
*/
|
|
755
|
+
hasMemberSchema(member) {
|
|
756
|
+
if (this.isStructSchema()) {
|
|
757
|
+
const struct2 = this.getSchema();
|
|
758
|
+
return member in struct2.members;
|
|
759
|
+
}
|
|
760
|
+
return false;
|
|
761
|
+
}
|
|
762
|
+
/**
|
|
763
|
+
* @returns the NormalizedSchema for the given member name. The returned instance will return true for `isMemberSchema()`
|
|
764
|
+
* and will have the member name given.
|
|
765
|
+
* @param member - which member to retrieve and wrap.
|
|
766
|
+
*
|
|
767
|
+
* @throws Error if member does not exist or the schema is neither a document nor structure.
|
|
768
|
+
* Note that errors are assumed to be structures and unions are considered structures for these purposes.
|
|
769
|
+
*/
|
|
770
|
+
getMemberSchema(member) {
|
|
771
|
+
if (this.isStructSchema()) {
|
|
772
|
+
const struct2 = this.getSchema();
|
|
773
|
+
if (!(member in struct2.members)) {
|
|
774
|
+
throw new Error(
|
|
775
|
+
`@smithy/core/schema - the schema ${this.getName(true)} does not have a member with name=${member}.`
|
|
776
|
+
);
|
|
777
|
+
}
|
|
778
|
+
return _NormalizedSchema.memberFrom(struct2.members[member], member);
|
|
779
|
+
}
|
|
780
|
+
if (this.isDocumentSchema()) {
|
|
781
|
+
return _NormalizedSchema.memberFrom([SCHEMA.DOCUMENT, 0], member);
|
|
782
|
+
}
|
|
783
|
+
throw new Error(`@smithy/core/schema - the schema ${this.getName(true)} does not have members.`);
|
|
784
|
+
}
|
|
785
|
+
/**
|
|
786
|
+
* This can be used for checking the members as a hashmap.
|
|
787
|
+
* Prefer the structIterator method for iteration.
|
|
788
|
+
*
|
|
789
|
+
* This does NOT return list and map members, it is only for structures.
|
|
790
|
+
*
|
|
791
|
+
* @returns a map of member names to member schemas (normalized).
|
|
792
|
+
*/
|
|
793
|
+
getMemberSchemas() {
|
|
794
|
+
const { schema } = this;
|
|
795
|
+
const struct2 = schema;
|
|
796
|
+
if (!struct2 || typeof struct2 !== "object") {
|
|
797
|
+
return {};
|
|
798
|
+
}
|
|
799
|
+
if ("members" in struct2) {
|
|
800
|
+
const buffer = {};
|
|
801
|
+
for (const member of struct2.memberNames) {
|
|
802
|
+
buffer[member] = this.getMemberSchema(member);
|
|
803
|
+
}
|
|
804
|
+
return buffer;
|
|
805
|
+
}
|
|
806
|
+
return {};
|
|
807
|
+
}
|
|
808
|
+
/**
|
|
809
|
+
* @returns member name of event stream or empty string indicating none exists or this
|
|
810
|
+
* isn't a structure schema.
|
|
811
|
+
*/
|
|
812
|
+
getEventStreamMember() {
|
|
813
|
+
if (this.isStructSchema()) {
|
|
814
|
+
for (const [memberName, memberSchema] of this.structIterator()) {
|
|
815
|
+
if (memberSchema.isStreaming() && memberSchema.isStructSchema()) {
|
|
816
|
+
return memberName;
|
|
817
|
+
}
|
|
818
|
+
}
|
|
819
|
+
}
|
|
820
|
+
return "";
|
|
821
|
+
}
|
|
822
|
+
/**
|
|
823
|
+
* Allows iteration over members of a structure schema.
|
|
824
|
+
* Each yield is a pair of the member name and member schema.
|
|
825
|
+
*
|
|
826
|
+
* This avoids the overhead of calling Object.entries(ns.getMemberSchemas()).
|
|
827
|
+
*/
|
|
828
|
+
*structIterator() {
|
|
829
|
+
if (this.isUnitSchema()) {
|
|
830
|
+
return;
|
|
831
|
+
}
|
|
832
|
+
if (!this.isStructSchema()) {
|
|
833
|
+
throw new Error("@smithy/core/schema - cannot acquire structIterator on non-struct schema.");
|
|
834
|
+
}
|
|
835
|
+
const struct2 = this.getSchema();
|
|
836
|
+
for (let i = 0; i < struct2.memberNames.length; ++i) {
|
|
837
|
+
yield [struct2.memberNames[i], _NormalizedSchema.memberFrom([struct2.memberList[i], 0], struct2.memberNames[i])];
|
|
838
|
+
}
|
|
839
|
+
}
|
|
840
|
+
/**
|
|
841
|
+
* @returns a last-resort human-readable name for the schema if it has no other identifiers.
|
|
842
|
+
*/
|
|
843
|
+
getSchemaName() {
|
|
844
|
+
const schema = this.getSchema();
|
|
845
|
+
if (typeof schema === "number") {
|
|
846
|
+
const _schema = 63 & schema;
|
|
847
|
+
const container = 192 & schema;
|
|
848
|
+
const type = Object.entries(SCHEMA).find(([, value]) => {
|
|
849
|
+
return value === _schema;
|
|
850
|
+
})?.[0] ?? "Unknown";
|
|
851
|
+
switch (container) {
|
|
852
|
+
case SCHEMA.MAP_MODIFIER:
|
|
853
|
+
return `${type}Map`;
|
|
854
|
+
case SCHEMA.LIST_MODIFIER:
|
|
855
|
+
return `${type}List`;
|
|
856
|
+
case 0:
|
|
857
|
+
return type;
|
|
858
|
+
}
|
|
859
|
+
}
|
|
860
|
+
return "Unknown";
|
|
861
|
+
}
|
|
862
|
+
};
|
|
863
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
864
|
+
0 && (module.exports = {
|
|
865
|
+
ErrorSchema,
|
|
866
|
+
ListSchema,
|
|
867
|
+
MapSchema,
|
|
868
|
+
NormalizedSchema,
|
|
869
|
+
OperationSchema,
|
|
870
|
+
SCHEMA,
|
|
871
|
+
Schema,
|
|
872
|
+
SimpleSchema,
|
|
873
|
+
StructureSchema,
|
|
874
|
+
TypeRegistry,
|
|
875
|
+
deref,
|
|
876
|
+
deserializerMiddlewareOption,
|
|
877
|
+
error,
|
|
878
|
+
getSchemaSerdePlugin,
|
|
879
|
+
list,
|
|
880
|
+
map,
|
|
881
|
+
op,
|
|
882
|
+
serializerMiddlewareOption,
|
|
883
|
+
sim,
|
|
884
|
+
struct
|
|
885
|
+
});
|