@jjrawlins/cdk-iam-policy-builder-helper 0.0.80 → 0.0.81
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.jsii +3 -3
- package/cdkiampolicybuilderhelper/jsii/jsii.go +2 -2
- package/cdkiampolicybuilderhelper/version +1 -1
- package/lib/constructs/Actions.d.ts +13 -0
- package/lib/constructs/Actions.js +14 -1
- package/lib/constructs/ManagedPolicies.d.ts +4 -0
- package/lib/constructs/ManagedPolicies.js +5 -1
- package/methods_list.txt +11 -0
- package/node_modules/@aws-sdk/client-iam/dist-cjs/index.js +3367 -10560
- package/node_modules/@aws-sdk/client-iam/dist-cjs/runtimeConfig.shared.js +7 -0
- package/node_modules/@aws-sdk/client-iam/dist-es/IAMClient.js +2 -0
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/AddClientIDToOpenIDConnectProviderCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/AddRoleToInstanceProfileCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/AddUserToGroupCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/AttachGroupPolicyCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/AttachRolePolicyCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/AttachUserPolicyCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/ChangePasswordCommand.js +3 -10
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/CreateAccessKeyCommand.js +3 -10
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/CreateAccountAliasCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/CreateDelegationRequestCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/CreateGroupCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/CreateInstanceProfileCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/CreateLoginProfileCommand.js +3 -10
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/CreateOpenIDConnectProviderCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/CreatePolicyCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/CreatePolicyVersionCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/CreateRoleCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/CreateSAMLProviderCommand.js +3 -10
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/CreateServiceLinkedRoleCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/CreateServiceSpecificCredentialCommand.js +3 -10
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/CreateUserCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/CreateVirtualMFADeviceCommand.js +3 -10
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/DeactivateMFADeviceCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/DeleteAccessKeyCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/DeleteAccountAliasCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/DeleteAccountPasswordPolicyCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/DeleteGroupCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/DeleteGroupPolicyCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/DeleteInstanceProfileCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/DeleteLoginProfileCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/DeleteOpenIDConnectProviderCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/DeletePolicyCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/DeletePolicyVersionCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/DeleteRoleCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/DeleteRolePermissionsBoundaryCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/DeleteRolePolicyCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/DeleteSAMLProviderCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/DeleteSSHPublicKeyCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/DeleteServerCertificateCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/DeleteServiceLinkedRoleCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/DeleteServiceSpecificCredentialCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/DeleteSigningCertificateCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/DeleteUserCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/DeleteUserPermissionsBoundaryCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/DeleteUserPolicyCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/DeleteVirtualMFADeviceCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/DetachGroupPolicyCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/DetachRolePolicyCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/DetachUserPolicyCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/DisableOrganizationsRootCredentialsManagementCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/DisableOrganizationsRootSessionsCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/EnableMFADeviceCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/EnableOrganizationsRootCredentialsManagementCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/EnableOrganizationsRootSessionsCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/GenerateCredentialReportCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/GenerateOrganizationsAccessReportCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/GenerateServiceLastAccessedDetailsCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/GetAccessKeyLastUsedCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/GetAccountAuthorizationDetailsCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/GetAccountPasswordPolicyCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/GetAccountSummaryCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/GetContextKeysForCustomPolicyCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/GetContextKeysForPrincipalPolicyCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/GetCredentialReportCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/GetGroupCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/GetGroupPolicyCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/GetInstanceProfileCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/GetLoginProfileCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/GetMFADeviceCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/GetOpenIDConnectProviderCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/GetOrganizationsAccessReportCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/GetPolicyCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/GetPolicyVersionCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/GetRoleCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/GetRolePolicyCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/GetSAMLProviderCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/GetSSHPublicKeyCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/GetServerCertificateCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/GetServiceLastAccessedDetailsCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/GetServiceLastAccessedDetailsWithEntitiesCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/GetServiceLinkedRoleDeletionStatusCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/GetUserCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/GetUserPolicyCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/ListAccessKeysCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/ListAccountAliasesCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/ListAttachedGroupPoliciesCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/ListAttachedRolePoliciesCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/ListAttachedUserPoliciesCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/ListEntitiesForPolicyCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/ListGroupPoliciesCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/ListGroupsCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/ListGroupsForUserCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/ListInstanceProfileTagsCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/ListInstanceProfilesCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/ListInstanceProfilesForRoleCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/ListMFADeviceTagsCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/ListMFADevicesCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/ListOpenIDConnectProviderTagsCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/ListOpenIDConnectProvidersCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/ListOrganizationsFeaturesCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/ListPoliciesCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/ListPoliciesGrantingServiceAccessCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/ListPolicyTagsCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/ListPolicyVersionsCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/ListRolePoliciesCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/ListRoleTagsCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/ListRolesCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/ListSAMLProviderTagsCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/ListSAMLProvidersCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/ListSSHPublicKeysCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/ListServerCertificateTagsCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/ListServerCertificatesCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/ListServiceSpecificCredentialsCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/ListSigningCertificatesCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/ListUserPoliciesCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/ListUserTagsCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/ListUsersCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/ListVirtualMFADevicesCommand.js +3 -10
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/PutGroupPolicyCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/PutRolePermissionsBoundaryCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/PutRolePolicyCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/PutUserPermissionsBoundaryCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/PutUserPolicyCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/RemoveClientIDFromOpenIDConnectProviderCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/RemoveRoleFromInstanceProfileCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/RemoveUserFromGroupCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/ResetServiceSpecificCredentialCommand.js +3 -10
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/ResyncMFADeviceCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/SetDefaultPolicyVersionCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/SetSecurityTokenServicePreferencesCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/SimulateCustomPolicyCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/SimulatePrincipalPolicyCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/TagInstanceProfileCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/TagMFADeviceCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/TagOpenIDConnectProviderCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/TagPolicyCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/TagRoleCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/TagSAMLProviderCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/TagServerCertificateCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/TagUserCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/UntagInstanceProfileCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/UntagMFADeviceCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/UntagOpenIDConnectProviderCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/UntagPolicyCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/UntagRoleCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/UntagSAMLProviderCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/UntagServerCertificateCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/UntagUserCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/UpdateAccessKeyCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/UpdateAccountPasswordPolicyCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/UpdateAssumeRolePolicyCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/UpdateGroupCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/UpdateLoginProfileCommand.js +3 -10
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/UpdateOpenIDConnectProviderThumbprintCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/UpdateRoleCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/UpdateRoleDescriptionCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/UpdateSAMLProviderCommand.js +3 -10
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/UpdateSSHPublicKeyCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/UpdateServerCertificateCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/UpdateServiceSpecificCredentialCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/UpdateSigningCertificateCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/UpdateUserCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/UploadSSHPublicKeyCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/UploadServerCertificateCommand.js +3 -10
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/UploadSigningCertificateCommand.js +3 -9
- package/node_modules/@aws-sdk/client-iam/dist-es/models/models_0.js +0 -54
- package/node_modules/@aws-sdk/client-iam/dist-es/models/models_1.js +0 -13
- package/node_modules/@aws-sdk/client-iam/dist-es/runtimeConfig.shared.js +7 -0
- package/node_modules/@aws-sdk/client-iam/dist-es/schemas/schemas_0.js +3353 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/IAMClient.d.ts +10 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/models/models_0.d.ts +0 -44
- package/node_modules/@aws-sdk/client-iam/dist-types/models/models_1.d.ts +0 -12
- package/node_modules/@aws-sdk/client-iam/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/runtimeConfig.d.ts +1 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/runtimeConfig.native.d.ts +1 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/schemas/schemas_0.d.ts +568 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/IAMClient.d.ts +4 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/models/models_0.d.ts +0 -31
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/models/models_1.d.ts +0 -9
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/schemas/schemas_0.d.ts +574 -0
- package/node_modules/@aws-sdk/client-iam/package.json +34 -34
- package/node_modules/@aws-sdk/client-sso/package.json +32 -32
- package/node_modules/@aws-sdk/core/package.json +11 -11
- package/node_modules/@aws-sdk/credential-provider-env/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-http/package.json +10 -10
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +13 -13
- package/node_modules/@aws-sdk/credential-provider-node/package.json +12 -12
- package/node_modules/@aws-sdk/credential-provider-process/package.json +6 -6
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +8 -8
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +7 -7
- package/node_modules/@aws-sdk/middleware-host-header/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-logger/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +7 -7
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/STSClient.js +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +207 -548
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.shared.js +7 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/STSClient.js +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/commands/AssumeRoleCommand.js +3 -10
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.js +3 -10
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/models/models_0.js +0 -17
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.shared.js +7 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/schemas/schemas_0.js +214 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/STSClient.d.ts +10 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/models/models_0.d.ts +0 -16
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.browser.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.native.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.shared.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/schemas/schemas_0.d.ts +26 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/STSClient.d.ts +4 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/models/models_0.d.ts +0 -10
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.browser.d.ts +4 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.d.ts +4 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.native.d.ts +4 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.shared.d.ts +4 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/schemas/schemas_0.d.ts +32 -0
- package/node_modules/@aws-sdk/nested-clients/package.json +32 -32
- package/node_modules/@aws-sdk/region-config-resolver/package.json +5 -5
- package/node_modules/@aws-sdk/token-providers/package.json +7 -7
- package/node_modules/@aws-sdk/types/package.json +2 -2
- package/node_modules/@aws-sdk/util-endpoints/package.json +5 -5
- package/node_modules/@aws-sdk/util-user-agent-browser/package.json +3 -3
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +5 -5
- package/node_modules/@aws-sdk/xml-builder/package.json +2 -2
- package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js +43 -2
- package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +7 -2
- package/node_modules/@smithy/core/dist-es/submodules/event-streams/EventStreamSerde.js +44 -3
- package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpBindingProtocol.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/protocols/serde/ToStringShapeSerializer.js +7 -2
- package/node_modules/@smithy/core/package.json +1 -1
- package/node_modules/@smithy/middleware-endpoint/package.json +2 -2
- package/node_modules/@smithy/middleware-retry/package.json +2 -2
- package/node_modules/@smithy/smithy-client/package.json +3 -3
- package/node_modules/@smithy/util-defaults-mode-browser/package.json +2 -2
- package/node_modules/@smithy/util-defaults-mode-node/package.json +2 -2
- package/package.json +3 -3
- package/node_modules/@aws-sdk/client-iam/dist-es/protocols/Aws_query.js +0 -9630
- package/node_modules/@aws-sdk/client-iam/dist-types/protocols/Aws_query.d.ts +0 -1487
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/protocols/Aws_query.d.ts +0 -1985
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/protocols/Aws_query.js +0 -528
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/protocols/Aws_query.d.ts +0 -20
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/protocols/Aws_query.d.ts +0 -29
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/nested-clients",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.930.0",
|
|
4
4
|
"description": "Nested clients for AWS SDK packages.",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -29,40 +29,40 @@
|
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
31
31
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
32
|
-
"@aws-sdk/core": "3.
|
|
33
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
34
|
-
"@aws-sdk/middleware-logger": "3.
|
|
35
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
36
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
37
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
38
|
-
"@aws-sdk/types": "3.
|
|
39
|
-
"@aws-sdk/util-endpoints": "3.
|
|
40
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
41
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
42
|
-
"@smithy/config-resolver": "^4.4.
|
|
43
|
-
"@smithy/core": "^3.
|
|
44
|
-
"@smithy/fetch-http-handler": "^5.3.
|
|
45
|
-
"@smithy/hash-node": "^4.2.
|
|
46
|
-
"@smithy/invalid-dependency": "^4.2.
|
|
47
|
-
"@smithy/middleware-content-length": "^4.2.
|
|
48
|
-
"@smithy/middleware-endpoint": "^4.3.
|
|
49
|
-
"@smithy/middleware-retry": "^4.4.
|
|
50
|
-
"@smithy/middleware-serde": "^4.2.
|
|
51
|
-
"@smithy/middleware-stack": "^4.2.
|
|
52
|
-
"@smithy/node-config-provider": "^4.3.
|
|
53
|
-
"@smithy/node-http-handler": "^4.4.
|
|
54
|
-
"@smithy/protocol-http": "^5.3.
|
|
55
|
-
"@smithy/smithy-client": "^4.9.
|
|
56
|
-
"@smithy/types": "^4.
|
|
57
|
-
"@smithy/url-parser": "^4.2.
|
|
32
|
+
"@aws-sdk/core": "3.930.0",
|
|
33
|
+
"@aws-sdk/middleware-host-header": "3.930.0",
|
|
34
|
+
"@aws-sdk/middleware-logger": "3.930.0",
|
|
35
|
+
"@aws-sdk/middleware-recursion-detection": "3.930.0",
|
|
36
|
+
"@aws-sdk/middleware-user-agent": "3.930.0",
|
|
37
|
+
"@aws-sdk/region-config-resolver": "3.930.0",
|
|
38
|
+
"@aws-sdk/types": "3.930.0",
|
|
39
|
+
"@aws-sdk/util-endpoints": "3.930.0",
|
|
40
|
+
"@aws-sdk/util-user-agent-browser": "3.930.0",
|
|
41
|
+
"@aws-sdk/util-user-agent-node": "3.930.0",
|
|
42
|
+
"@smithy/config-resolver": "^4.4.3",
|
|
43
|
+
"@smithy/core": "^3.18.2",
|
|
44
|
+
"@smithy/fetch-http-handler": "^5.3.6",
|
|
45
|
+
"@smithy/hash-node": "^4.2.5",
|
|
46
|
+
"@smithy/invalid-dependency": "^4.2.5",
|
|
47
|
+
"@smithy/middleware-content-length": "^4.2.5",
|
|
48
|
+
"@smithy/middleware-endpoint": "^4.3.9",
|
|
49
|
+
"@smithy/middleware-retry": "^4.4.9",
|
|
50
|
+
"@smithy/middleware-serde": "^4.2.5",
|
|
51
|
+
"@smithy/middleware-stack": "^4.2.5",
|
|
52
|
+
"@smithy/node-config-provider": "^4.3.5",
|
|
53
|
+
"@smithy/node-http-handler": "^4.4.5",
|
|
54
|
+
"@smithy/protocol-http": "^5.3.5",
|
|
55
|
+
"@smithy/smithy-client": "^4.9.5",
|
|
56
|
+
"@smithy/types": "^4.9.0",
|
|
57
|
+
"@smithy/url-parser": "^4.2.5",
|
|
58
58
|
"@smithy/util-base64": "^4.3.0",
|
|
59
59
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
60
60
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
61
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
62
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
63
|
-
"@smithy/util-endpoints": "^3.2.
|
|
64
|
-
"@smithy/util-middleware": "^4.2.
|
|
65
|
-
"@smithy/util-retry": "^4.2.
|
|
61
|
+
"@smithy/util-defaults-mode-browser": "^4.3.8",
|
|
62
|
+
"@smithy/util-defaults-mode-node": "^4.2.11",
|
|
63
|
+
"@smithy/util-endpoints": "^3.2.5",
|
|
64
|
+
"@smithy/util-middleware": "^4.2.5",
|
|
65
|
+
"@smithy/util-retry": "^4.2.5",
|
|
66
66
|
"@smithy/util-utf8": "^4.2.0",
|
|
67
67
|
"tslib": "^2.6.2"
|
|
68
68
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/region-config-resolver",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.930.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
6
6
|
"build:cjs": "node ../../scripts/compilation/inline region-config-resolver",
|
|
@@ -23,10 +23,10 @@
|
|
|
23
23
|
},
|
|
24
24
|
"license": "Apache-2.0",
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@aws-sdk/types": "3.
|
|
27
|
-
"@smithy/config-resolver": "^4.4.
|
|
28
|
-
"@smithy/node-config-provider": "^4.3.
|
|
29
|
-
"@smithy/types": "^4.
|
|
26
|
+
"@aws-sdk/types": "3.930.0",
|
|
27
|
+
"@smithy/config-resolver": "^4.4.3",
|
|
28
|
+
"@smithy/node-config-provider": "^4.3.5",
|
|
29
|
+
"@smithy/types": "^4.9.0",
|
|
30
30
|
"tslib": "^2.6.2"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/token-providers",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.930.0",
|
|
4
4
|
"description": "A collection of token providers",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -29,12 +29,12 @@
|
|
|
29
29
|
},
|
|
30
30
|
"license": "Apache-2.0",
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@aws-sdk/core": "3.
|
|
33
|
-
"@aws-sdk/nested-clients": "3.
|
|
34
|
-
"@aws-sdk/types": "3.
|
|
35
|
-
"@smithy/property-provider": "^4.2.
|
|
36
|
-
"@smithy/shared-ini-file-loader": "^4.
|
|
37
|
-
"@smithy/types": "^4.
|
|
32
|
+
"@aws-sdk/core": "3.930.0",
|
|
33
|
+
"@aws-sdk/nested-clients": "3.930.0",
|
|
34
|
+
"@aws-sdk/types": "3.930.0",
|
|
35
|
+
"@smithy/property-provider": "^4.2.5",
|
|
36
|
+
"@smithy/shared-ini-file-loader": "^4.4.0",
|
|
37
|
+
"@smithy/types": "^4.9.0",
|
|
38
38
|
"tslib": "^2.6.2"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/types",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.930.0",
|
|
4
4
|
"main": "./dist-cjs/index.js",
|
|
5
5
|
"module": "./dist-es/index.js",
|
|
6
6
|
"types": "./dist-types/index.d.ts",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"directory": "packages/types"
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@smithy/types": "^4.
|
|
45
|
+
"@smithy/types": "^4.9.0",
|
|
46
46
|
"tslib": "^2.6.2"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/util-endpoints",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.930.0",
|
|
4
4
|
"description": "Utilities to help with endpoint resolution",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -25,10 +25,10 @@
|
|
|
25
25
|
},
|
|
26
26
|
"license": "Apache-2.0",
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@aws-sdk/types": "3.
|
|
29
|
-
"@smithy/types": "^4.
|
|
30
|
-
"@smithy/url-parser": "^4.2.
|
|
31
|
-
"@smithy/util-endpoints": "^3.2.
|
|
28
|
+
"@aws-sdk/types": "3.930.0",
|
|
29
|
+
"@smithy/types": "^4.9.0",
|
|
30
|
+
"@smithy/url-parser": "^4.2.5",
|
|
31
|
+
"@smithy/util-endpoints": "^3.2.5",
|
|
32
32
|
"tslib": "^2.6.2"
|
|
33
33
|
},
|
|
34
34
|
"engines": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/util-user-agent-browser",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.930.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
6
6
|
"build:cjs": "node ../../scripts/compilation/inline util-user-agent-browser",
|
|
@@ -24,8 +24,8 @@
|
|
|
24
24
|
"license": "Apache-2.0",
|
|
25
25
|
"react-native": "dist-es/index.native.js",
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@aws-sdk/types": "3.
|
|
28
|
-
"@smithy/types": "^4.
|
|
27
|
+
"@aws-sdk/types": "3.930.0",
|
|
28
|
+
"@smithy/types": "^4.9.0",
|
|
29
29
|
"bowser": "^2.11.0",
|
|
30
30
|
"tslib": "^2.6.2"
|
|
31
31
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/util-user-agent-node",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.930.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
6
6
|
"build:cjs": "node ../../scripts/compilation/inline util-user-agent-node",
|
|
@@ -22,10 +22,10 @@
|
|
|
22
22
|
},
|
|
23
23
|
"license": "Apache-2.0",
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
26
|
-
"@aws-sdk/types": "3.
|
|
27
|
-
"@smithy/node-config-provider": "^4.3.
|
|
28
|
-
"@smithy/types": "^4.
|
|
25
|
+
"@aws-sdk/middleware-user-agent": "3.930.0",
|
|
26
|
+
"@aws-sdk/types": "3.930.0",
|
|
27
|
+
"@smithy/node-config-provider": "^4.3.5",
|
|
28
|
+
"@smithy/types": "^4.9.0",
|
|
29
29
|
"tslib": "^2.6.2"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/xml-builder",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.930.0",
|
|
4
4
|
"description": "XML builder for the AWS SDK",
|
|
5
5
|
"dependencies": {
|
|
6
|
-
"@smithy/types": "^4.
|
|
6
|
+
"@smithy/types": "^4.9.0",
|
|
7
7
|
"fast-xml-parser": "5.2.5",
|
|
8
8
|
"tslib": "^2.6.2"
|
|
9
9
|
},
|
|
@@ -76,8 +76,9 @@ class EventStreamSerde {
|
|
|
76
76
|
const unionMember = Object.keys(event).find((key) => {
|
|
77
77
|
return key !== "__type";
|
|
78
78
|
}) ?? "";
|
|
79
|
+
const body = event[unionMember].body;
|
|
79
80
|
if (unionMember === "initial-response") {
|
|
80
|
-
const dataObject = await this.deserializer.read(responseSchema,
|
|
81
|
+
const dataObject = await this.deserializer.read(responseSchema, body);
|
|
81
82
|
delete dataObject[eventStreamMember];
|
|
82
83
|
return {
|
|
83
84
|
[initialResponseMarker]: true,
|
|
@@ -86,8 +87,48 @@ class EventStreamSerde {
|
|
|
86
87
|
}
|
|
87
88
|
else if (unionMember in memberSchemas) {
|
|
88
89
|
const eventStreamSchema = memberSchemas[unionMember];
|
|
90
|
+
if (eventStreamSchema.isStructSchema()) {
|
|
91
|
+
const out = {};
|
|
92
|
+
let hasBindings = false;
|
|
93
|
+
for (const [name, member] of eventStreamSchema.structIterator()) {
|
|
94
|
+
const { eventHeader, eventPayload } = member.getMergedTraits();
|
|
95
|
+
hasBindings = hasBindings || Boolean(eventHeader || eventPayload);
|
|
96
|
+
if (eventPayload) {
|
|
97
|
+
if (member.isBlobSchema()) {
|
|
98
|
+
out[name] = body;
|
|
99
|
+
}
|
|
100
|
+
else if (member.isStringSchema()) {
|
|
101
|
+
out[name] = (this.serdeContext?.utf8Encoder ?? utilUtf8.toUtf8)(body);
|
|
102
|
+
}
|
|
103
|
+
else if (member.isStructSchema()) {
|
|
104
|
+
out[name] = await this.deserializer.read(member, body);
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
else if (eventHeader) {
|
|
108
|
+
const value = event[unionMember].headers[name]?.value;
|
|
109
|
+
if (value != null) {
|
|
110
|
+
if (member.isNumericSchema()) {
|
|
111
|
+
if (value && typeof value === "object" && "bytes" in value) {
|
|
112
|
+
out[name] = BigInt(value.toString());
|
|
113
|
+
}
|
|
114
|
+
else {
|
|
115
|
+
out[name] = Number(value);
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
else {
|
|
119
|
+
out[name] = value;
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
if (hasBindings) {
|
|
125
|
+
return {
|
|
126
|
+
[unionMember]: out,
|
|
127
|
+
};
|
|
128
|
+
}
|
|
129
|
+
}
|
|
89
130
|
return {
|
|
90
|
-
[unionMember]: await this.deserializer.read(eventStreamSchema,
|
|
131
|
+
[unionMember]: await this.deserializer.read(eventStreamSchema, body),
|
|
91
132
|
};
|
|
92
133
|
}
|
|
93
134
|
else {
|
|
@@ -189,7 +189,7 @@ class HttpBindingProtocol extends HttpProtocol {
|
|
|
189
189
|
for (const [memberName, memberNs] of ns.structIterator()) {
|
|
190
190
|
const memberTraits = memberNs.getMergedTraits() ?? {};
|
|
191
191
|
const inputMemberValue = input[memberName];
|
|
192
|
-
if (inputMemberValue == null) {
|
|
192
|
+
if (inputMemberValue == null && !memberNs.isIdempotencyToken()) {
|
|
193
193
|
continue;
|
|
194
194
|
}
|
|
195
195
|
if (memberTraits.httpPayload) {
|
|
@@ -770,7 +770,12 @@ class ToStringShapeSerializer extends SerdeContext {
|
|
|
770
770
|
this.stringBuffer = value;
|
|
771
771
|
break;
|
|
772
772
|
default:
|
|
773
|
-
|
|
773
|
+
if (ns.isIdempotencyToken()) {
|
|
774
|
+
this.stringBuffer = serde.generateIdempotencyToken();
|
|
775
|
+
}
|
|
776
|
+
else {
|
|
777
|
+
this.stringBuffer = String(value);
|
|
778
|
+
}
|
|
774
779
|
}
|
|
775
780
|
}
|
|
776
781
|
flush() {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { fromUtf8 } from "@smithy/util-utf8";
|
|
1
|
+
import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
|
|
2
2
|
export class EventStreamSerde {
|
|
3
3
|
marshaller;
|
|
4
4
|
serializer;
|
|
@@ -73,8 +73,9 @@ export class EventStreamSerde {
|
|
|
73
73
|
const unionMember = Object.keys(event).find((key) => {
|
|
74
74
|
return key !== "__type";
|
|
75
75
|
}) ?? "";
|
|
76
|
+
const body = event[unionMember].body;
|
|
76
77
|
if (unionMember === "initial-response") {
|
|
77
|
-
const dataObject = await this.deserializer.read(responseSchema,
|
|
78
|
+
const dataObject = await this.deserializer.read(responseSchema, body);
|
|
78
79
|
delete dataObject[eventStreamMember];
|
|
79
80
|
return {
|
|
80
81
|
[initialResponseMarker]: true,
|
|
@@ -83,8 +84,48 @@ export class EventStreamSerde {
|
|
|
83
84
|
}
|
|
84
85
|
else if (unionMember in memberSchemas) {
|
|
85
86
|
const eventStreamSchema = memberSchemas[unionMember];
|
|
87
|
+
if (eventStreamSchema.isStructSchema()) {
|
|
88
|
+
const out = {};
|
|
89
|
+
let hasBindings = false;
|
|
90
|
+
for (const [name, member] of eventStreamSchema.structIterator()) {
|
|
91
|
+
const { eventHeader, eventPayload } = member.getMergedTraits();
|
|
92
|
+
hasBindings = hasBindings || Boolean(eventHeader || eventPayload);
|
|
93
|
+
if (eventPayload) {
|
|
94
|
+
if (member.isBlobSchema()) {
|
|
95
|
+
out[name] = body;
|
|
96
|
+
}
|
|
97
|
+
else if (member.isStringSchema()) {
|
|
98
|
+
out[name] = (this.serdeContext?.utf8Encoder ?? toUtf8)(body);
|
|
99
|
+
}
|
|
100
|
+
else if (member.isStructSchema()) {
|
|
101
|
+
out[name] = await this.deserializer.read(member, body);
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
else if (eventHeader) {
|
|
105
|
+
const value = event[unionMember].headers[name]?.value;
|
|
106
|
+
if (value != null) {
|
|
107
|
+
if (member.isNumericSchema()) {
|
|
108
|
+
if (value && typeof value === "object" && "bytes" in value) {
|
|
109
|
+
out[name] = BigInt(value.toString());
|
|
110
|
+
}
|
|
111
|
+
else {
|
|
112
|
+
out[name] = Number(value);
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
else {
|
|
116
|
+
out[name] = value;
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
if (hasBindings) {
|
|
122
|
+
return {
|
|
123
|
+
[unionMember]: out,
|
|
124
|
+
};
|
|
125
|
+
}
|
|
126
|
+
}
|
|
86
127
|
return {
|
|
87
|
-
[unionMember]: await this.deserializer.read(eventStreamSchema,
|
|
128
|
+
[unionMember]: await this.deserializer.read(eventStreamSchema, body),
|
|
88
129
|
};
|
|
89
130
|
}
|
|
90
131
|
else {
|
|
@@ -48,7 +48,7 @@ export class HttpBindingProtocol extends HttpProtocol {
|
|
|
48
48
|
for (const [memberName, memberNs] of ns.structIterator()) {
|
|
49
49
|
const memberTraits = memberNs.getMergedTraits() ?? {};
|
|
50
50
|
const inputMemberValue = input[memberName];
|
|
51
|
-
if (inputMemberValue == null) {
|
|
51
|
+
if (inputMemberValue == null && !memberNs.isIdempotencyToken()) {
|
|
52
52
|
continue;
|
|
53
53
|
}
|
|
54
54
|
if (memberTraits.httpPayload) {
|
package/node_modules/@smithy/core/dist-es/submodules/protocols/serde/ToStringShapeSerializer.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { NormalizedSchema } from "@smithy/core/schema";
|
|
2
|
-
import { dateToUtcString, LazyJsonString, quoteHeader } from "@smithy/core/serde";
|
|
2
|
+
import { dateToUtcString, generateIdempotencyToken, LazyJsonString, quoteHeader } from "@smithy/core/serde";
|
|
3
3
|
import { toBase64 } from "@smithy/util-base64";
|
|
4
4
|
import { SerdeContext } from "../SerdeContext";
|
|
5
5
|
import { determineTimestampFormat } from "./determineTimestampFormat";
|
|
@@ -75,7 +75,12 @@ export class ToStringShapeSerializer extends SerdeContext {
|
|
|
75
75
|
this.stringBuffer = value;
|
|
76
76
|
break;
|
|
77
77
|
default:
|
|
78
|
-
|
|
78
|
+
if (ns.isIdempotencyToken()) {
|
|
79
|
+
this.stringBuffer = generateIdempotencyToken();
|
|
80
|
+
}
|
|
81
|
+
else {
|
|
82
|
+
this.stringBuffer = String(value);
|
|
83
|
+
}
|
|
79
84
|
}
|
|
80
85
|
}
|
|
81
86
|
flush() {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/middleware-endpoint",
|
|
3
|
-
"version": "4.3.
|
|
3
|
+
"version": "4.3.10",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
|
6
6
|
"build:cjs": "node ../../scripts/inline middleware-endpoint",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"license": "Apache-2.0",
|
|
26
26
|
"sideEffects": false,
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@smithy/core": "^3.18.
|
|
28
|
+
"@smithy/core": "^3.18.3",
|
|
29
29
|
"@smithy/middleware-serde": "^4.2.5",
|
|
30
30
|
"@smithy/node-config-provider": "^4.3.5",
|
|
31
31
|
"@smithy/shared-ini-file-loader": "^4.4.0",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/middleware-retry",
|
|
3
|
-
"version": "4.4.
|
|
3
|
+
"version": "4.4.10",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
|
6
6
|
"build:cjs": "node ../../scripts/inline middleware-retry",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"@smithy/node-config-provider": "^4.3.5",
|
|
38
38
|
"@smithy/protocol-http": "^5.3.5",
|
|
39
39
|
"@smithy/service-error-classification": "^4.2.5",
|
|
40
|
-
"@smithy/smithy-client": "^4.9.
|
|
40
|
+
"@smithy/smithy-client": "^4.9.6",
|
|
41
41
|
"@smithy/types": "^4.9.0",
|
|
42
42
|
"@smithy/util-middleware": "^4.2.5",
|
|
43
43
|
"@smithy/util-retry": "^4.2.5",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/smithy-client",
|
|
3
|
-
"version": "4.9.
|
|
3
|
+
"version": "4.9.6",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
|
6
6
|
"build:cjs": "node ../../scripts/inline smithy-client",
|
|
@@ -25,8 +25,8 @@
|
|
|
25
25
|
"license": "Apache-2.0",
|
|
26
26
|
"sideEffects": false,
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@smithy/core": "^3.18.
|
|
29
|
-
"@smithy/middleware-endpoint": "^4.3.
|
|
28
|
+
"@smithy/core": "^3.18.3",
|
|
29
|
+
"@smithy/middleware-endpoint": "^4.3.10",
|
|
30
30
|
"@smithy/middleware-stack": "^4.2.5",
|
|
31
31
|
"@smithy/protocol-http": "^5.3.5",
|
|
32
32
|
"@smithy/types": "^4.9.0",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/util-defaults-mode-browser",
|
|
3
|
-
"version": "4.3.
|
|
3
|
+
"version": "4.3.9",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
|
6
6
|
"build:cjs": "node ../../scripts/inline util-defaults-mode-browser",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"sideEffects": false,
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"@smithy/property-provider": "^4.2.5",
|
|
28
|
-
"@smithy/smithy-client": "^4.9.
|
|
28
|
+
"@smithy/smithy-client": "^4.9.6",
|
|
29
29
|
"@smithy/types": "^4.9.0",
|
|
30
30
|
"tslib": "^2.6.2"
|
|
31
31
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/util-defaults-mode-node",
|
|
3
|
-
"version": "4.2.
|
|
3
|
+
"version": "4.2.12",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
|
6
6
|
"build:cjs": "node ../../scripts/inline util-defaults-mode-node",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"@smithy/credential-provider-imds": "^4.2.5",
|
|
29
29
|
"@smithy/node-config-provider": "^4.3.5",
|
|
30
30
|
"@smithy/property-provider": "^4.2.5",
|
|
31
|
-
"@smithy/smithy-client": "^4.9.
|
|
31
|
+
"@smithy/smithy-client": "^4.9.6",
|
|
32
32
|
"@smithy/types": "^4.9.0",
|
|
33
33
|
"tslib": "^2.6.2"
|
|
34
34
|
},
|
package/package.json
CHANGED
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"organization": false
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"@aws-sdk/types": "^3.
|
|
43
|
+
"@aws-sdk/types": "^3.930.0",
|
|
44
44
|
"@stylistic/eslint-plugin": "^2",
|
|
45
45
|
"@types/jest": "^29.5.14",
|
|
46
46
|
"@types/node": "^20",
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
"constructs": ">=10.0.5 <11.0.0"
|
|
71
71
|
},
|
|
72
72
|
"dependencies": {
|
|
73
|
-
"@aws-sdk/client-iam": "^3.
|
|
73
|
+
"@aws-sdk/client-iam": "^3.930.0",
|
|
74
74
|
"axios": "^1.8.2",
|
|
75
75
|
"jsonc-parser": "^3.3.1"
|
|
76
76
|
},
|
|
@@ -99,7 +99,7 @@
|
|
|
99
99
|
"publishConfig": {
|
|
100
100
|
"access": "public"
|
|
101
101
|
},
|
|
102
|
-
"version": "0.0.
|
|
102
|
+
"version": "0.0.81",
|
|
103
103
|
"jest": {
|
|
104
104
|
"coverageProvider": "v8",
|
|
105
105
|
"testMatch": [
|