@aws-sdk/client-iam 3.29.0 → 3.33.0
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/CHANGELOG.md +32 -0
- package/dist/cjs/IAMClient.js +13 -13
- package/dist/cjs/IAMClient.js.map +1 -1
- package/dist/cjs/commands/AddClientIDToOpenIDConnectProviderCommand.js +3 -3
- package/dist/cjs/commands/AddClientIDToOpenIDConnectProviderCommand.js.map +1 -1
- package/dist/cjs/commands/AddRoleToInstanceProfileCommand.js +3 -3
- package/dist/cjs/commands/AddRoleToInstanceProfileCommand.js.map +1 -1
- package/dist/cjs/commands/AddUserToGroupCommand.js +3 -3
- package/dist/cjs/commands/AddUserToGroupCommand.js.map +1 -1
- package/dist/cjs/commands/AttachGroupPolicyCommand.js +3 -3
- package/dist/cjs/commands/AttachGroupPolicyCommand.js.map +1 -1
- package/dist/cjs/commands/AttachRolePolicyCommand.js +3 -3
- package/dist/cjs/commands/AttachRolePolicyCommand.js.map +1 -1
- package/dist/cjs/commands/AttachUserPolicyCommand.js +3 -3
- package/dist/cjs/commands/AttachUserPolicyCommand.js.map +1 -1
- package/dist/cjs/commands/ChangePasswordCommand.js +3 -3
- package/dist/cjs/commands/ChangePasswordCommand.js.map +1 -1
- package/dist/cjs/commands/CreateAccessKeyCommand.js +3 -3
- package/dist/cjs/commands/CreateAccessKeyCommand.js.map +1 -1
- package/dist/cjs/commands/CreateAccountAliasCommand.js +3 -3
- package/dist/cjs/commands/CreateAccountAliasCommand.js.map +1 -1
- package/dist/cjs/commands/CreateGroupCommand.js +3 -3
- package/dist/cjs/commands/CreateGroupCommand.js.map +1 -1
- package/dist/cjs/commands/CreateInstanceProfileCommand.js +3 -3
- package/dist/cjs/commands/CreateInstanceProfileCommand.js.map +1 -1
- package/dist/cjs/commands/CreateLoginProfileCommand.js +3 -3
- package/dist/cjs/commands/CreateLoginProfileCommand.js.map +1 -1
- package/dist/cjs/commands/CreateOpenIDConnectProviderCommand.js +3 -3
- package/dist/cjs/commands/CreateOpenIDConnectProviderCommand.js.map +1 -1
- package/dist/cjs/commands/CreatePolicyCommand.js +3 -3
- package/dist/cjs/commands/CreatePolicyCommand.js.map +1 -1
- package/dist/cjs/commands/CreatePolicyVersionCommand.js +3 -3
- package/dist/cjs/commands/CreatePolicyVersionCommand.js.map +1 -1
- package/dist/cjs/commands/CreateRoleCommand.js +3 -3
- package/dist/cjs/commands/CreateRoleCommand.js.map +1 -1
- package/dist/cjs/commands/CreateSAMLProviderCommand.js +3 -3
- package/dist/cjs/commands/CreateSAMLProviderCommand.js.map +1 -1
- package/dist/cjs/commands/CreateServiceLinkedRoleCommand.js +3 -3
- package/dist/cjs/commands/CreateServiceLinkedRoleCommand.js.map +1 -1
- package/dist/cjs/commands/CreateServiceSpecificCredentialCommand.js +3 -3
- package/dist/cjs/commands/CreateServiceSpecificCredentialCommand.js.map +1 -1
- package/dist/cjs/commands/CreateUserCommand.js +3 -3
- package/dist/cjs/commands/CreateUserCommand.js.map +1 -1
- package/dist/cjs/commands/CreateVirtualMFADeviceCommand.js +3 -3
- package/dist/cjs/commands/CreateVirtualMFADeviceCommand.js.map +1 -1
- package/dist/cjs/commands/DeactivateMFADeviceCommand.js +3 -3
- package/dist/cjs/commands/DeactivateMFADeviceCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteAccessKeyCommand.js +3 -3
- package/dist/cjs/commands/DeleteAccessKeyCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteAccountAliasCommand.js +3 -3
- package/dist/cjs/commands/DeleteAccountAliasCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteAccountPasswordPolicyCommand.js +3 -3
- package/dist/cjs/commands/DeleteAccountPasswordPolicyCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteGroupCommand.js +3 -3
- package/dist/cjs/commands/DeleteGroupCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteGroupPolicyCommand.js +3 -3
- package/dist/cjs/commands/DeleteGroupPolicyCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteInstanceProfileCommand.js +3 -3
- package/dist/cjs/commands/DeleteInstanceProfileCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteLoginProfileCommand.js +3 -3
- package/dist/cjs/commands/DeleteLoginProfileCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteOpenIDConnectProviderCommand.js +3 -3
- package/dist/cjs/commands/DeleteOpenIDConnectProviderCommand.js.map +1 -1
- package/dist/cjs/commands/DeletePolicyCommand.js +3 -3
- package/dist/cjs/commands/DeletePolicyCommand.js.map +1 -1
- package/dist/cjs/commands/DeletePolicyVersionCommand.js +3 -3
- package/dist/cjs/commands/DeletePolicyVersionCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteRoleCommand.js +3 -3
- package/dist/cjs/commands/DeleteRoleCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteRolePermissionsBoundaryCommand.js +3 -3
- package/dist/cjs/commands/DeleteRolePermissionsBoundaryCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteRolePolicyCommand.js +3 -3
- package/dist/cjs/commands/DeleteRolePolicyCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteSAMLProviderCommand.js +3 -3
- package/dist/cjs/commands/DeleteSAMLProviderCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteSSHPublicKeyCommand.js +3 -3
- package/dist/cjs/commands/DeleteSSHPublicKeyCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteServerCertificateCommand.js +3 -3
- package/dist/cjs/commands/DeleteServerCertificateCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteServiceLinkedRoleCommand.js +3 -3
- package/dist/cjs/commands/DeleteServiceLinkedRoleCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteServiceSpecificCredentialCommand.js +3 -3
- package/dist/cjs/commands/DeleteServiceSpecificCredentialCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteSigningCertificateCommand.js +3 -3
- package/dist/cjs/commands/DeleteSigningCertificateCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteUserCommand.js +3 -3
- package/dist/cjs/commands/DeleteUserCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteUserPermissionsBoundaryCommand.js +3 -3
- package/dist/cjs/commands/DeleteUserPermissionsBoundaryCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteUserPolicyCommand.js +3 -3
- package/dist/cjs/commands/DeleteUserPolicyCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteVirtualMFADeviceCommand.js +3 -3
- package/dist/cjs/commands/DeleteVirtualMFADeviceCommand.js.map +1 -1
- package/dist/cjs/commands/DetachGroupPolicyCommand.js +3 -3
- package/dist/cjs/commands/DetachGroupPolicyCommand.js.map +1 -1
- package/dist/cjs/commands/DetachRolePolicyCommand.js +3 -3
- package/dist/cjs/commands/DetachRolePolicyCommand.js.map +1 -1
- package/dist/cjs/commands/DetachUserPolicyCommand.js +3 -3
- package/dist/cjs/commands/DetachUserPolicyCommand.js.map +1 -1
- package/dist/cjs/commands/EnableMFADeviceCommand.js +3 -3
- package/dist/cjs/commands/EnableMFADeviceCommand.js.map +1 -1
- package/dist/cjs/commands/GenerateCredentialReportCommand.js +3 -3
- package/dist/cjs/commands/GenerateCredentialReportCommand.js.map +1 -1
- package/dist/cjs/commands/GenerateOrganizationsAccessReportCommand.js +3 -3
- package/dist/cjs/commands/GenerateOrganizationsAccessReportCommand.js.map +1 -1
- package/dist/cjs/commands/GenerateServiceLastAccessedDetailsCommand.js +3 -3
- package/dist/cjs/commands/GenerateServiceLastAccessedDetailsCommand.js.map +1 -1
- package/dist/cjs/commands/GetAccessKeyLastUsedCommand.js +3 -3
- package/dist/cjs/commands/GetAccessKeyLastUsedCommand.js.map +1 -1
- package/dist/cjs/commands/GetAccountAuthorizationDetailsCommand.js +3 -3
- package/dist/cjs/commands/GetAccountAuthorizationDetailsCommand.js.map +1 -1
- package/dist/cjs/commands/GetAccountPasswordPolicyCommand.js +3 -3
- package/dist/cjs/commands/GetAccountPasswordPolicyCommand.js.map +1 -1
- package/dist/cjs/commands/GetAccountSummaryCommand.js +3 -3
- package/dist/cjs/commands/GetAccountSummaryCommand.js.map +1 -1
- package/dist/cjs/commands/GetContextKeysForCustomPolicyCommand.js +3 -3
- package/dist/cjs/commands/GetContextKeysForCustomPolicyCommand.js.map +1 -1
- package/dist/cjs/commands/GetContextKeysForPrincipalPolicyCommand.js +3 -3
- package/dist/cjs/commands/GetContextKeysForPrincipalPolicyCommand.js.map +1 -1
- package/dist/cjs/commands/GetCredentialReportCommand.js +3 -3
- package/dist/cjs/commands/GetCredentialReportCommand.js.map +1 -1
- package/dist/cjs/commands/GetGroupCommand.js +3 -3
- package/dist/cjs/commands/GetGroupCommand.js.map +1 -1
- package/dist/cjs/commands/GetGroupPolicyCommand.js +3 -3
- package/dist/cjs/commands/GetGroupPolicyCommand.js.map +1 -1
- package/dist/cjs/commands/GetInstanceProfileCommand.js +3 -3
- package/dist/cjs/commands/GetInstanceProfileCommand.js.map +1 -1
- package/dist/cjs/commands/GetLoginProfileCommand.js +3 -3
- package/dist/cjs/commands/GetLoginProfileCommand.js.map +1 -1
- package/dist/cjs/commands/GetOpenIDConnectProviderCommand.js +3 -3
- package/dist/cjs/commands/GetOpenIDConnectProviderCommand.js.map +1 -1
- package/dist/cjs/commands/GetOrganizationsAccessReportCommand.js +3 -3
- package/dist/cjs/commands/GetOrganizationsAccessReportCommand.js.map +1 -1
- package/dist/cjs/commands/GetPolicyCommand.js +3 -3
- package/dist/cjs/commands/GetPolicyCommand.js.map +1 -1
- package/dist/cjs/commands/GetPolicyVersionCommand.js +3 -3
- package/dist/cjs/commands/GetPolicyVersionCommand.js.map +1 -1
- package/dist/cjs/commands/GetRoleCommand.js +3 -3
- package/dist/cjs/commands/GetRoleCommand.js.map +1 -1
- package/dist/cjs/commands/GetRolePolicyCommand.js +3 -3
- package/dist/cjs/commands/GetRolePolicyCommand.js.map +1 -1
- package/dist/cjs/commands/GetSAMLProviderCommand.js +3 -3
- package/dist/cjs/commands/GetSAMLProviderCommand.js.map +1 -1
- package/dist/cjs/commands/GetSSHPublicKeyCommand.js +3 -3
- package/dist/cjs/commands/GetSSHPublicKeyCommand.js.map +1 -1
- package/dist/cjs/commands/GetServerCertificateCommand.js +3 -3
- package/dist/cjs/commands/GetServerCertificateCommand.js.map +1 -1
- package/dist/cjs/commands/GetServiceLastAccessedDetailsCommand.js +3 -3
- package/dist/cjs/commands/GetServiceLastAccessedDetailsCommand.js.map +1 -1
- package/dist/cjs/commands/GetServiceLastAccessedDetailsWithEntitiesCommand.js +3 -3
- package/dist/cjs/commands/GetServiceLastAccessedDetailsWithEntitiesCommand.js.map +1 -1
- package/dist/cjs/commands/GetServiceLinkedRoleDeletionStatusCommand.js +3 -3
- package/dist/cjs/commands/GetServiceLinkedRoleDeletionStatusCommand.js.map +1 -1
- package/dist/cjs/commands/GetUserCommand.js +3 -3
- package/dist/cjs/commands/GetUserCommand.js.map +1 -1
- package/dist/cjs/commands/GetUserPolicyCommand.js +3 -3
- package/dist/cjs/commands/GetUserPolicyCommand.js.map +1 -1
- package/dist/cjs/commands/ListAccessKeysCommand.js +3 -3
- package/dist/cjs/commands/ListAccessKeysCommand.js.map +1 -1
- package/dist/cjs/commands/ListAccountAliasesCommand.js +3 -3
- package/dist/cjs/commands/ListAccountAliasesCommand.js.map +1 -1
- package/dist/cjs/commands/ListAttachedGroupPoliciesCommand.js +3 -3
- package/dist/cjs/commands/ListAttachedGroupPoliciesCommand.js.map +1 -1
- package/dist/cjs/commands/ListAttachedRolePoliciesCommand.js +3 -3
- package/dist/cjs/commands/ListAttachedRolePoliciesCommand.js.map +1 -1
- package/dist/cjs/commands/ListAttachedUserPoliciesCommand.js +3 -3
- package/dist/cjs/commands/ListAttachedUserPoliciesCommand.js.map +1 -1
- package/dist/cjs/commands/ListEntitiesForPolicyCommand.js +3 -3
- package/dist/cjs/commands/ListEntitiesForPolicyCommand.js.map +1 -1
- package/dist/cjs/commands/ListGroupPoliciesCommand.js +3 -3
- package/dist/cjs/commands/ListGroupPoliciesCommand.js.map +1 -1
- package/dist/cjs/commands/ListGroupsCommand.js +3 -3
- package/dist/cjs/commands/ListGroupsCommand.js.map +1 -1
- package/dist/cjs/commands/ListGroupsForUserCommand.js +3 -3
- package/dist/cjs/commands/ListGroupsForUserCommand.js.map +1 -1
- package/dist/cjs/commands/ListInstanceProfileTagsCommand.js +3 -3
- package/dist/cjs/commands/ListInstanceProfileTagsCommand.js.map +1 -1
- package/dist/cjs/commands/ListInstanceProfilesCommand.js +3 -3
- package/dist/cjs/commands/ListInstanceProfilesCommand.js.map +1 -1
- package/dist/cjs/commands/ListInstanceProfilesForRoleCommand.js +3 -3
- package/dist/cjs/commands/ListInstanceProfilesForRoleCommand.js.map +1 -1
- package/dist/cjs/commands/ListMFADeviceTagsCommand.js +3 -3
- package/dist/cjs/commands/ListMFADeviceTagsCommand.js.map +1 -1
- package/dist/cjs/commands/ListMFADevicesCommand.js +3 -3
- package/dist/cjs/commands/ListMFADevicesCommand.js.map +1 -1
- package/dist/cjs/commands/ListOpenIDConnectProviderTagsCommand.js +3 -3
- package/dist/cjs/commands/ListOpenIDConnectProviderTagsCommand.js.map +1 -1
- package/dist/cjs/commands/ListOpenIDConnectProvidersCommand.js +3 -3
- package/dist/cjs/commands/ListOpenIDConnectProvidersCommand.js.map +1 -1
- package/dist/cjs/commands/ListPoliciesCommand.js +3 -3
- package/dist/cjs/commands/ListPoliciesCommand.js.map +1 -1
- package/dist/cjs/commands/ListPoliciesGrantingServiceAccessCommand.js +3 -3
- package/dist/cjs/commands/ListPoliciesGrantingServiceAccessCommand.js.map +1 -1
- package/dist/cjs/commands/ListPolicyTagsCommand.js +3 -3
- package/dist/cjs/commands/ListPolicyTagsCommand.js.map +1 -1
- package/dist/cjs/commands/ListPolicyVersionsCommand.js +3 -3
- package/dist/cjs/commands/ListPolicyVersionsCommand.js.map +1 -1
- package/dist/cjs/commands/ListRolePoliciesCommand.js +3 -3
- package/dist/cjs/commands/ListRolePoliciesCommand.js.map +1 -1
- package/dist/cjs/commands/ListRoleTagsCommand.js +3 -3
- package/dist/cjs/commands/ListRoleTagsCommand.js.map +1 -1
- package/dist/cjs/commands/ListRolesCommand.js +3 -3
- package/dist/cjs/commands/ListRolesCommand.js.map +1 -1
- package/dist/cjs/commands/ListSAMLProviderTagsCommand.js +3 -3
- package/dist/cjs/commands/ListSAMLProviderTagsCommand.js.map +1 -1
- package/dist/cjs/commands/ListSAMLProvidersCommand.js +3 -3
- package/dist/cjs/commands/ListSAMLProvidersCommand.js.map +1 -1
- package/dist/cjs/commands/ListSSHPublicKeysCommand.js +3 -3
- package/dist/cjs/commands/ListSSHPublicKeysCommand.js.map +1 -1
- package/dist/cjs/commands/ListServerCertificateTagsCommand.js +3 -3
- package/dist/cjs/commands/ListServerCertificateTagsCommand.js.map +1 -1
- package/dist/cjs/commands/ListServerCertificatesCommand.js +3 -3
- package/dist/cjs/commands/ListServerCertificatesCommand.js.map +1 -1
- package/dist/cjs/commands/ListServiceSpecificCredentialsCommand.js +3 -3
- package/dist/cjs/commands/ListServiceSpecificCredentialsCommand.js.map +1 -1
- package/dist/cjs/commands/ListSigningCertificatesCommand.js +3 -3
- package/dist/cjs/commands/ListSigningCertificatesCommand.js.map +1 -1
- package/dist/cjs/commands/ListUserPoliciesCommand.js +3 -3
- package/dist/cjs/commands/ListUserPoliciesCommand.js.map +1 -1
- package/dist/cjs/commands/ListUserTagsCommand.js +3 -3
- package/dist/cjs/commands/ListUserTagsCommand.js.map +1 -1
- package/dist/cjs/commands/ListUsersCommand.js +3 -3
- package/dist/cjs/commands/ListUsersCommand.js.map +1 -1
- package/dist/cjs/commands/ListVirtualMFADevicesCommand.js +3 -3
- package/dist/cjs/commands/ListVirtualMFADevicesCommand.js.map +1 -1
- package/dist/cjs/commands/PutGroupPolicyCommand.js +3 -3
- package/dist/cjs/commands/PutGroupPolicyCommand.js.map +1 -1
- package/dist/cjs/commands/PutRolePermissionsBoundaryCommand.js +3 -3
- package/dist/cjs/commands/PutRolePermissionsBoundaryCommand.js.map +1 -1
- package/dist/cjs/commands/PutRolePolicyCommand.js +3 -3
- package/dist/cjs/commands/PutRolePolicyCommand.js.map +1 -1
- package/dist/cjs/commands/PutUserPermissionsBoundaryCommand.js +3 -3
- package/dist/cjs/commands/PutUserPermissionsBoundaryCommand.js.map +1 -1
- package/dist/cjs/commands/PutUserPolicyCommand.js +3 -3
- package/dist/cjs/commands/PutUserPolicyCommand.js.map +1 -1
- package/dist/cjs/commands/RemoveClientIDFromOpenIDConnectProviderCommand.js +3 -3
- package/dist/cjs/commands/RemoveClientIDFromOpenIDConnectProviderCommand.js.map +1 -1
- package/dist/cjs/commands/RemoveRoleFromInstanceProfileCommand.js +3 -3
- package/dist/cjs/commands/RemoveRoleFromInstanceProfileCommand.js.map +1 -1
- package/dist/cjs/commands/RemoveUserFromGroupCommand.js +3 -3
- package/dist/cjs/commands/RemoveUserFromGroupCommand.js.map +1 -1
- package/dist/cjs/commands/ResetServiceSpecificCredentialCommand.js +3 -3
- package/dist/cjs/commands/ResetServiceSpecificCredentialCommand.js.map +1 -1
- package/dist/cjs/commands/ResyncMFADeviceCommand.js +3 -3
- package/dist/cjs/commands/ResyncMFADeviceCommand.js.map +1 -1
- package/dist/cjs/commands/SetDefaultPolicyVersionCommand.js +3 -3
- package/dist/cjs/commands/SetDefaultPolicyVersionCommand.js.map +1 -1
- package/dist/cjs/commands/SetSecurityTokenServicePreferencesCommand.js +3 -3
- package/dist/cjs/commands/SetSecurityTokenServicePreferencesCommand.js.map +1 -1
- package/dist/cjs/commands/SimulateCustomPolicyCommand.js +3 -3
- package/dist/cjs/commands/SimulateCustomPolicyCommand.js.map +1 -1
- package/dist/cjs/commands/SimulatePrincipalPolicyCommand.js +3 -3
- package/dist/cjs/commands/SimulatePrincipalPolicyCommand.js.map +1 -1
- package/dist/cjs/commands/TagInstanceProfileCommand.js +3 -3
- package/dist/cjs/commands/TagInstanceProfileCommand.js.map +1 -1
- package/dist/cjs/commands/TagMFADeviceCommand.js +3 -3
- package/dist/cjs/commands/TagMFADeviceCommand.js.map +1 -1
- package/dist/cjs/commands/TagOpenIDConnectProviderCommand.js +3 -3
- package/dist/cjs/commands/TagOpenIDConnectProviderCommand.js.map +1 -1
- package/dist/cjs/commands/TagPolicyCommand.js +3 -3
- package/dist/cjs/commands/TagPolicyCommand.js.map +1 -1
- package/dist/cjs/commands/TagRoleCommand.js +3 -3
- package/dist/cjs/commands/TagRoleCommand.js.map +1 -1
- package/dist/cjs/commands/TagSAMLProviderCommand.js +3 -3
- package/dist/cjs/commands/TagSAMLProviderCommand.js.map +1 -1
- package/dist/cjs/commands/TagServerCertificateCommand.js +3 -3
- package/dist/cjs/commands/TagServerCertificateCommand.js.map +1 -1
- package/dist/cjs/commands/TagUserCommand.js +3 -3
- package/dist/cjs/commands/TagUserCommand.js.map +1 -1
- package/dist/cjs/commands/UntagInstanceProfileCommand.js +3 -3
- package/dist/cjs/commands/UntagInstanceProfileCommand.js.map +1 -1
- package/dist/cjs/commands/UntagMFADeviceCommand.js +3 -3
- package/dist/cjs/commands/UntagMFADeviceCommand.js.map +1 -1
- package/dist/cjs/commands/UntagOpenIDConnectProviderCommand.js +3 -3
- package/dist/cjs/commands/UntagOpenIDConnectProviderCommand.js.map +1 -1
- package/dist/cjs/commands/UntagPolicyCommand.js +3 -3
- package/dist/cjs/commands/UntagPolicyCommand.js.map +1 -1
- package/dist/cjs/commands/UntagRoleCommand.js +3 -3
- package/dist/cjs/commands/UntagRoleCommand.js.map +1 -1
- package/dist/cjs/commands/UntagSAMLProviderCommand.js +3 -3
- package/dist/cjs/commands/UntagSAMLProviderCommand.js.map +1 -1
- package/dist/cjs/commands/UntagServerCertificateCommand.js +3 -3
- package/dist/cjs/commands/UntagServerCertificateCommand.js.map +1 -1
- package/dist/cjs/commands/UntagUserCommand.js +3 -3
- package/dist/cjs/commands/UntagUserCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateAccessKeyCommand.js +3 -3
- package/dist/cjs/commands/UpdateAccessKeyCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateAccountPasswordPolicyCommand.js +3 -3
- package/dist/cjs/commands/UpdateAccountPasswordPolicyCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateAssumeRolePolicyCommand.js +3 -3
- package/dist/cjs/commands/UpdateAssumeRolePolicyCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateGroupCommand.js +3 -3
- package/dist/cjs/commands/UpdateGroupCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateLoginProfileCommand.js +3 -3
- package/dist/cjs/commands/UpdateLoginProfileCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateOpenIDConnectProviderThumbprintCommand.js +3 -3
- package/dist/cjs/commands/UpdateOpenIDConnectProviderThumbprintCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateRoleCommand.js +3 -3
- package/dist/cjs/commands/UpdateRoleCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateRoleDescriptionCommand.js +3 -3
- package/dist/cjs/commands/UpdateRoleDescriptionCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateSAMLProviderCommand.js +3 -3
- package/dist/cjs/commands/UpdateSAMLProviderCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateSSHPublicKeyCommand.js +3 -3
- package/dist/cjs/commands/UpdateSSHPublicKeyCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateServerCertificateCommand.js +3 -3
- package/dist/cjs/commands/UpdateServerCertificateCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateServiceSpecificCredentialCommand.js +3 -3
- package/dist/cjs/commands/UpdateServiceSpecificCredentialCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateSigningCertificateCommand.js +3 -3
- package/dist/cjs/commands/UpdateSigningCertificateCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateUserCommand.js +3 -3
- package/dist/cjs/commands/UpdateUserCommand.js.map +1 -1
- package/dist/cjs/commands/UploadSSHPublicKeyCommand.js +3 -3
- package/dist/cjs/commands/UploadSSHPublicKeyCommand.js.map +1 -1
- package/dist/cjs/commands/UploadServerCertificateCommand.js +3 -3
- package/dist/cjs/commands/UploadServerCertificateCommand.js.map +1 -1
- package/dist/cjs/commands/UploadSigningCertificateCommand.js +3 -3
- package/dist/cjs/commands/UploadSigningCertificateCommand.js.map +1 -1
- package/dist/cjs/endpoints.js +1 -1
- package/dist/cjs/endpoints.js.map +1 -1
- package/dist/cjs/index.js +193 -193
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/models/index.js +2 -2
- package/dist/cjs/models/index.js.map +1 -1
- package/dist/cjs/package.json +32 -32
- package/dist/cjs/protocols/Aws_query.js +430 -430
- package/dist/cjs/protocols/Aws_query.js.map +1 -1
- package/dist/cjs/runtimeConfig.browser.js +4 -4
- package/dist/cjs/runtimeConfig.browser.js.map +1 -1
- package/dist/cjs/runtimeConfig.js +8 -8
- package/dist/cjs/runtimeConfig.js.map +1 -1
- package/dist/cjs/runtimeConfig.native.js +1 -1
- package/dist/cjs/runtimeConfig.native.js.map +1 -1
- package/dist/cjs/waiters/waitForInstanceProfileExists.js +3 -3
- package/dist/cjs/waiters/waitForInstanceProfileExists.js.map +1 -1
- package/dist/cjs/waiters/waitForPolicyExists.js +3 -3
- package/dist/cjs/waiters/waitForPolicyExists.js.map +1 -1
- package/dist/cjs/waiters/waitForRoleExists.js +3 -3
- package/dist/cjs/waiters/waitForRoleExists.js.map +1 -1
- package/dist/cjs/waiters/waitForUserExists.js +3 -3
- package/dist/cjs/waiters/waitForUserExists.js.map +1 -1
- package/dist/es/package.json +32 -32
- package/dist/es/pagination/GetAccountAuthorizationDetailsPaginator.js +4 -4
- package/dist/es/pagination/GetAccountAuthorizationDetailsPaginator.js.map +1 -1
- package/dist/es/pagination/GetGroupPaginator.js +4 -4
- package/dist/es/pagination/GetGroupPaginator.js.map +1 -1
- package/dist/es/pagination/ListAccessKeysPaginator.js +4 -4
- package/dist/es/pagination/ListAccessKeysPaginator.js.map +1 -1
- package/dist/es/pagination/ListAccountAliasesPaginator.js +4 -4
- package/dist/es/pagination/ListAccountAliasesPaginator.js.map +1 -1
- package/dist/es/pagination/ListAttachedGroupPoliciesPaginator.js +4 -4
- package/dist/es/pagination/ListAttachedGroupPoliciesPaginator.js.map +1 -1
- package/dist/es/pagination/ListAttachedRolePoliciesPaginator.js +4 -4
- package/dist/es/pagination/ListAttachedRolePoliciesPaginator.js.map +1 -1
- package/dist/es/pagination/ListAttachedUserPoliciesPaginator.js +4 -4
- package/dist/es/pagination/ListAttachedUserPoliciesPaginator.js.map +1 -1
- package/dist/es/pagination/ListEntitiesForPolicyPaginator.js +4 -4
- package/dist/es/pagination/ListEntitiesForPolicyPaginator.js.map +1 -1
- package/dist/es/pagination/ListGroupPoliciesPaginator.js +4 -4
- package/dist/es/pagination/ListGroupPoliciesPaginator.js.map +1 -1
- package/dist/es/pagination/ListGroupsForUserPaginator.js +4 -4
- package/dist/es/pagination/ListGroupsForUserPaginator.js.map +1 -1
- package/dist/es/pagination/ListGroupsPaginator.js +4 -4
- package/dist/es/pagination/ListGroupsPaginator.js.map +1 -1
- package/dist/es/pagination/ListInstanceProfilesForRolePaginator.js +4 -4
- package/dist/es/pagination/ListInstanceProfilesForRolePaginator.js.map +1 -1
- package/dist/es/pagination/ListInstanceProfilesPaginator.js +4 -4
- package/dist/es/pagination/ListInstanceProfilesPaginator.js.map +1 -1
- package/dist/es/pagination/ListMFADevicesPaginator.js +4 -4
- package/dist/es/pagination/ListMFADevicesPaginator.js.map +1 -1
- package/dist/es/pagination/ListPoliciesPaginator.js +4 -4
- package/dist/es/pagination/ListPoliciesPaginator.js.map +1 -1
- package/dist/es/pagination/ListPolicyVersionsPaginator.js +4 -4
- package/dist/es/pagination/ListPolicyVersionsPaginator.js.map +1 -1
- package/dist/es/pagination/ListRolePoliciesPaginator.js +4 -4
- package/dist/es/pagination/ListRolePoliciesPaginator.js.map +1 -1
- package/dist/es/pagination/ListRolesPaginator.js +4 -4
- package/dist/es/pagination/ListRolesPaginator.js.map +1 -1
- package/dist/es/pagination/ListSSHPublicKeysPaginator.js +4 -4
- package/dist/es/pagination/ListSSHPublicKeysPaginator.js.map +1 -1
- package/dist/es/pagination/ListServerCertificatesPaginator.js +4 -4
- package/dist/es/pagination/ListServerCertificatesPaginator.js.map +1 -1
- package/dist/es/pagination/ListSigningCertificatesPaginator.js +4 -4
- package/dist/es/pagination/ListSigningCertificatesPaginator.js.map +1 -1
- package/dist/es/pagination/ListUserPoliciesPaginator.js +4 -4
- package/dist/es/pagination/ListUserPoliciesPaginator.js.map +1 -1
- package/dist/es/pagination/ListUserTagsPaginator.js +4 -4
- package/dist/es/pagination/ListUserTagsPaginator.js.map +1 -1
- package/dist/es/pagination/ListUsersPaginator.js +4 -4
- package/dist/es/pagination/ListUsersPaginator.js.map +1 -1
- package/dist/es/pagination/ListVirtualMFADevicesPaginator.js +4 -4
- package/dist/es/pagination/ListVirtualMFADevicesPaginator.js.map +1 -1
- package/dist/es/pagination/SimulateCustomPolicyPaginator.js +4 -4
- package/dist/es/pagination/SimulateCustomPolicyPaginator.js.map +1 -1
- package/dist/es/pagination/SimulatePrincipalPolicyPaginator.js +4 -4
- package/dist/es/pagination/SimulatePrincipalPolicyPaginator.js.map +1 -1
- package/dist/es/protocols/Aws_query.js +44 -44
- package/dist/es/protocols/Aws_query.js.map +1 -1
- package/package.json +32 -32
- package/protocols/Aws_query.ts +45 -43
- package/tsconfig.json +1 -2
|
@@ -14473,22 +14473,22 @@ const deserializeAws_queryAccessDetail = (output, context) => {
|
|
|
14473
14473
|
TotalAuthenticatedEntities: undefined,
|
|
14474
14474
|
};
|
|
14475
14475
|
if (output["ServiceName"] !== undefined) {
|
|
14476
|
-
contents.ServiceName =
|
|
14476
|
+
contents.ServiceName = smithy_client_1.expectString(output["ServiceName"]);
|
|
14477
14477
|
}
|
|
14478
14478
|
if (output["ServiceNamespace"] !== undefined) {
|
|
14479
|
-
contents.ServiceNamespace =
|
|
14479
|
+
contents.ServiceNamespace = smithy_client_1.expectString(output["ServiceNamespace"]);
|
|
14480
14480
|
}
|
|
14481
14481
|
if (output["Region"] !== undefined) {
|
|
14482
|
-
contents.Region =
|
|
14482
|
+
contents.Region = smithy_client_1.expectString(output["Region"]);
|
|
14483
14483
|
}
|
|
14484
14484
|
if (output["EntityPath"] !== undefined) {
|
|
14485
|
-
contents.EntityPath =
|
|
14485
|
+
contents.EntityPath = smithy_client_1.expectString(output["EntityPath"]);
|
|
14486
14486
|
}
|
|
14487
14487
|
if (output["LastAuthenticatedTime"] !== undefined) {
|
|
14488
|
-
contents.LastAuthenticatedTime =
|
|
14488
|
+
contents.LastAuthenticatedTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["LastAuthenticatedTime"]));
|
|
14489
14489
|
}
|
|
14490
14490
|
if (output["TotalAuthenticatedEntities"] !== undefined) {
|
|
14491
|
-
contents.TotalAuthenticatedEntities =
|
|
14491
|
+
contents.TotalAuthenticatedEntities = smithy_client_1.strictParseInt32(output["TotalAuthenticatedEntities"]);
|
|
14492
14492
|
}
|
|
14493
14493
|
return contents;
|
|
14494
14494
|
};
|
|
@@ -14511,19 +14511,19 @@ const deserializeAws_queryAccessKey = (output, context) => {
|
|
|
14511
14511
|
CreateDate: undefined,
|
|
14512
14512
|
};
|
|
14513
14513
|
if (output["UserName"] !== undefined) {
|
|
14514
|
-
contents.UserName =
|
|
14514
|
+
contents.UserName = smithy_client_1.expectString(output["UserName"]);
|
|
14515
14515
|
}
|
|
14516
14516
|
if (output["AccessKeyId"] !== undefined) {
|
|
14517
|
-
contents.AccessKeyId =
|
|
14517
|
+
contents.AccessKeyId = smithy_client_1.expectString(output["AccessKeyId"]);
|
|
14518
14518
|
}
|
|
14519
14519
|
if (output["Status"] !== undefined) {
|
|
14520
|
-
contents.Status =
|
|
14520
|
+
contents.Status = smithy_client_1.expectString(output["Status"]);
|
|
14521
14521
|
}
|
|
14522
14522
|
if (output["SecretAccessKey"] !== undefined) {
|
|
14523
|
-
contents.SecretAccessKey =
|
|
14523
|
+
contents.SecretAccessKey = smithy_client_1.expectString(output["SecretAccessKey"]);
|
|
14524
14524
|
}
|
|
14525
14525
|
if (output["CreateDate"] !== undefined) {
|
|
14526
|
-
contents.CreateDate =
|
|
14526
|
+
contents.CreateDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["CreateDate"]));
|
|
14527
14527
|
}
|
|
14528
14528
|
return contents;
|
|
14529
14529
|
};
|
|
@@ -14534,13 +14534,13 @@ const deserializeAws_queryAccessKeyLastUsed = (output, context) => {
|
|
|
14534
14534
|
Region: undefined,
|
|
14535
14535
|
};
|
|
14536
14536
|
if (output["LastUsedDate"] !== undefined) {
|
|
14537
|
-
contents.LastUsedDate =
|
|
14537
|
+
contents.LastUsedDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["LastUsedDate"]));
|
|
14538
14538
|
}
|
|
14539
14539
|
if (output["ServiceName"] !== undefined) {
|
|
14540
|
-
contents.ServiceName =
|
|
14540
|
+
contents.ServiceName = smithy_client_1.expectString(output["ServiceName"]);
|
|
14541
14541
|
}
|
|
14542
14542
|
if (output["Region"] !== undefined) {
|
|
14543
|
-
contents.Region =
|
|
14543
|
+
contents.Region = smithy_client_1.expectString(output["Region"]);
|
|
14544
14544
|
}
|
|
14545
14545
|
return contents;
|
|
14546
14546
|
};
|
|
@@ -14552,16 +14552,16 @@ const deserializeAws_queryAccessKeyMetadata = (output, context) => {
|
|
|
14552
14552
|
CreateDate: undefined,
|
|
14553
14553
|
};
|
|
14554
14554
|
if (output["UserName"] !== undefined) {
|
|
14555
|
-
contents.UserName =
|
|
14555
|
+
contents.UserName = smithy_client_1.expectString(output["UserName"]);
|
|
14556
14556
|
}
|
|
14557
14557
|
if (output["AccessKeyId"] !== undefined) {
|
|
14558
|
-
contents.AccessKeyId =
|
|
14558
|
+
contents.AccessKeyId = smithy_client_1.expectString(output["AccessKeyId"]);
|
|
14559
14559
|
}
|
|
14560
14560
|
if (output["Status"] !== undefined) {
|
|
14561
|
-
contents.Status =
|
|
14561
|
+
contents.Status = smithy_client_1.expectString(output["Status"]);
|
|
14562
14562
|
}
|
|
14563
14563
|
if (output["CreateDate"] !== undefined) {
|
|
14564
|
-
contents.CreateDate =
|
|
14564
|
+
contents.CreateDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["CreateDate"]));
|
|
14565
14565
|
}
|
|
14566
14566
|
return contents;
|
|
14567
14567
|
};
|
|
@@ -14582,7 +14582,7 @@ const deserializeAws_queryaccountAliasListType = (output, context) => {
|
|
|
14582
14582
|
if (entry === null) {
|
|
14583
14583
|
return null;
|
|
14584
14584
|
}
|
|
14585
|
-
return
|
|
14585
|
+
return smithy_client_1.expectString(entry);
|
|
14586
14586
|
});
|
|
14587
14587
|
};
|
|
14588
14588
|
const deserializeAws_queryArnListType = (output, context) => {
|
|
@@ -14592,7 +14592,7 @@ const deserializeAws_queryArnListType = (output, context) => {
|
|
|
14592
14592
|
if (entry === null) {
|
|
14593
14593
|
return null;
|
|
14594
14594
|
}
|
|
14595
|
-
return
|
|
14595
|
+
return smithy_client_1.expectString(entry);
|
|
14596
14596
|
});
|
|
14597
14597
|
};
|
|
14598
14598
|
const deserializeAws_queryAttachedPermissionsBoundary = (output, context) => {
|
|
@@ -14601,10 +14601,10 @@ const deserializeAws_queryAttachedPermissionsBoundary = (output, context) => {
|
|
|
14601
14601
|
PermissionsBoundaryArn: undefined,
|
|
14602
14602
|
};
|
|
14603
14603
|
if (output["PermissionsBoundaryType"] !== undefined) {
|
|
14604
|
-
contents.PermissionsBoundaryType =
|
|
14604
|
+
contents.PermissionsBoundaryType = smithy_client_1.expectString(output["PermissionsBoundaryType"]);
|
|
14605
14605
|
}
|
|
14606
14606
|
if (output["PermissionsBoundaryArn"] !== undefined) {
|
|
14607
|
-
contents.PermissionsBoundaryArn =
|
|
14607
|
+
contents.PermissionsBoundaryArn = smithy_client_1.expectString(output["PermissionsBoundaryArn"]);
|
|
14608
14608
|
}
|
|
14609
14609
|
return contents;
|
|
14610
14610
|
};
|
|
@@ -14624,10 +14624,10 @@ const deserializeAws_queryAttachedPolicy = (output, context) => {
|
|
|
14624
14624
|
PolicyArn: undefined,
|
|
14625
14625
|
};
|
|
14626
14626
|
if (output["PolicyName"] !== undefined) {
|
|
14627
|
-
contents.PolicyName =
|
|
14627
|
+
contents.PolicyName = smithy_client_1.expectString(output["PolicyName"]);
|
|
14628
14628
|
}
|
|
14629
14629
|
if (output["PolicyArn"] !== undefined) {
|
|
14630
|
-
contents.PolicyArn =
|
|
14630
|
+
contents.PolicyArn = smithy_client_1.expectString(output["PolicyArn"]);
|
|
14631
14631
|
}
|
|
14632
14632
|
return contents;
|
|
14633
14633
|
};
|
|
@@ -14648,7 +14648,7 @@ const deserializeAws_queryclientIDListType = (output, context) => {
|
|
|
14648
14648
|
if (entry === null) {
|
|
14649
14649
|
return null;
|
|
14650
14650
|
}
|
|
14651
|
-
return
|
|
14651
|
+
return smithy_client_1.expectString(entry);
|
|
14652
14652
|
});
|
|
14653
14653
|
};
|
|
14654
14654
|
const deserializeAws_queryConcurrentModificationException = (output, context) => {
|
|
@@ -14656,7 +14656,7 @@ const deserializeAws_queryConcurrentModificationException = (output, context) =>
|
|
|
14656
14656
|
message: undefined,
|
|
14657
14657
|
};
|
|
14658
14658
|
if (output["message"] !== undefined) {
|
|
14659
|
-
contents.message =
|
|
14659
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
14660
14660
|
}
|
|
14661
14661
|
return contents;
|
|
14662
14662
|
};
|
|
@@ -14667,7 +14667,7 @@ const deserializeAws_queryContextKeyNamesResultListType = (output, context) => {
|
|
|
14667
14667
|
if (entry === null) {
|
|
14668
14668
|
return null;
|
|
14669
14669
|
}
|
|
14670
|
-
return
|
|
14670
|
+
return smithy_client_1.expectString(entry);
|
|
14671
14671
|
});
|
|
14672
14672
|
};
|
|
14673
14673
|
const deserializeAws_queryCreateAccessKeyResponse = (output, context) => {
|
|
@@ -14712,13 +14712,13 @@ const deserializeAws_queryCreateOpenIDConnectProviderResponse = (output, context
|
|
|
14712
14712
|
Tags: undefined,
|
|
14713
14713
|
};
|
|
14714
14714
|
if (output["OpenIDConnectProviderArn"] !== undefined) {
|
|
14715
|
-
contents.OpenIDConnectProviderArn =
|
|
14715
|
+
contents.OpenIDConnectProviderArn = smithy_client_1.expectString(output["OpenIDConnectProviderArn"]);
|
|
14716
14716
|
}
|
|
14717
14717
|
if (output.Tags === "") {
|
|
14718
14718
|
contents.Tags = [];
|
|
14719
14719
|
}
|
|
14720
14720
|
if (output["Tags"] !== undefined && output["Tags"]["member"] !== undefined) {
|
|
14721
|
-
contents.Tags = deserializeAws_querytagListType(
|
|
14721
|
+
contents.Tags = deserializeAws_querytagListType(smithy_client_1.getArrayIfSingleItem(output["Tags"]["member"]), context);
|
|
14722
14722
|
}
|
|
14723
14723
|
return contents;
|
|
14724
14724
|
};
|
|
@@ -14755,13 +14755,13 @@ const deserializeAws_queryCreateSAMLProviderResponse = (output, context) => {
|
|
|
14755
14755
|
Tags: undefined,
|
|
14756
14756
|
};
|
|
14757
14757
|
if (output["SAMLProviderArn"] !== undefined) {
|
|
14758
|
-
contents.SAMLProviderArn =
|
|
14758
|
+
contents.SAMLProviderArn = smithy_client_1.expectString(output["SAMLProviderArn"]);
|
|
14759
14759
|
}
|
|
14760
14760
|
if (output.Tags === "") {
|
|
14761
14761
|
contents.Tags = [];
|
|
14762
14762
|
}
|
|
14763
14763
|
if (output["Tags"] !== undefined && output["Tags"]["member"] !== undefined) {
|
|
14764
|
-
contents.Tags = deserializeAws_querytagListType(
|
|
14764
|
+
contents.Tags = deserializeAws_querytagListType(smithy_client_1.getArrayIfSingleItem(output["Tags"]["member"]), context);
|
|
14765
14765
|
}
|
|
14766
14766
|
return contents;
|
|
14767
14767
|
};
|
|
@@ -14806,7 +14806,7 @@ const deserializeAws_queryCredentialReportExpiredException = (output, context) =
|
|
|
14806
14806
|
message: undefined,
|
|
14807
14807
|
};
|
|
14808
14808
|
if (output["message"] !== undefined) {
|
|
14809
|
-
contents.message =
|
|
14809
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
14810
14810
|
}
|
|
14811
14811
|
return contents;
|
|
14812
14812
|
};
|
|
@@ -14815,7 +14815,7 @@ const deserializeAws_queryCredentialReportNotPresentException = (output, context
|
|
|
14815
14815
|
message: undefined,
|
|
14816
14816
|
};
|
|
14817
14817
|
if (output["message"] !== undefined) {
|
|
14818
|
-
contents.message =
|
|
14818
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
14819
14819
|
}
|
|
14820
14820
|
return contents;
|
|
14821
14821
|
};
|
|
@@ -14824,7 +14824,7 @@ const deserializeAws_queryCredentialReportNotReadyException = (output, context)
|
|
|
14824
14824
|
message: undefined,
|
|
14825
14825
|
};
|
|
14826
14826
|
if (output["message"] !== undefined) {
|
|
14827
|
-
contents.message =
|
|
14827
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
14828
14828
|
}
|
|
14829
14829
|
return contents;
|
|
14830
14830
|
};
|
|
@@ -14833,7 +14833,7 @@ const deserializeAws_queryDeleteConflictException = (output, context) => {
|
|
|
14833
14833
|
message: undefined,
|
|
14834
14834
|
};
|
|
14835
14835
|
if (output["message"] !== undefined) {
|
|
14836
|
-
contents.message =
|
|
14836
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
14837
14837
|
}
|
|
14838
14838
|
return contents;
|
|
14839
14839
|
};
|
|
@@ -14842,7 +14842,7 @@ const deserializeAws_queryDeleteServiceLinkedRoleResponse = (output, context) =>
|
|
|
14842
14842
|
DeletionTaskId: undefined,
|
|
14843
14843
|
};
|
|
14844
14844
|
if (output["DeletionTaskId"] !== undefined) {
|
|
14845
|
-
contents.DeletionTaskId =
|
|
14845
|
+
contents.DeletionTaskId = smithy_client_1.expectString(output["DeletionTaskId"]);
|
|
14846
14846
|
}
|
|
14847
14847
|
return contents;
|
|
14848
14848
|
};
|
|
@@ -14852,13 +14852,13 @@ const deserializeAws_queryDeletionTaskFailureReasonType = (output, context) => {
|
|
|
14852
14852
|
RoleUsageList: undefined,
|
|
14853
14853
|
};
|
|
14854
14854
|
if (output["Reason"] !== undefined) {
|
|
14855
|
-
contents.Reason =
|
|
14855
|
+
contents.Reason = smithy_client_1.expectString(output["Reason"]);
|
|
14856
14856
|
}
|
|
14857
14857
|
if (output.RoleUsageList === "") {
|
|
14858
14858
|
contents.RoleUsageList = [];
|
|
14859
14859
|
}
|
|
14860
14860
|
if (output["RoleUsageList"] !== undefined && output["RoleUsageList"]["member"] !== undefined) {
|
|
14861
|
-
contents.RoleUsageList = deserializeAws_queryRoleUsageListType(
|
|
14861
|
+
contents.RoleUsageList = deserializeAws_queryRoleUsageListType(smithy_client_1.getArrayIfSingleItem(output["RoleUsageList"]["member"]), context);
|
|
14862
14862
|
}
|
|
14863
14863
|
return contents;
|
|
14864
14864
|
};
|
|
@@ -14867,7 +14867,7 @@ const deserializeAws_queryDuplicateCertificateException = (output, context) => {
|
|
|
14867
14867
|
message: undefined,
|
|
14868
14868
|
};
|
|
14869
14869
|
if (output["message"] !== undefined) {
|
|
14870
|
-
contents.message =
|
|
14870
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
14871
14871
|
}
|
|
14872
14872
|
return contents;
|
|
14873
14873
|
};
|
|
@@ -14876,7 +14876,7 @@ const deserializeAws_queryDuplicateSSHPublicKeyException = (output, context) =>
|
|
|
14876
14876
|
message: undefined,
|
|
14877
14877
|
};
|
|
14878
14878
|
if (output["message"] !== undefined) {
|
|
14879
|
-
contents.message =
|
|
14879
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
14880
14880
|
}
|
|
14881
14881
|
return contents;
|
|
14882
14882
|
};
|
|
@@ -14885,7 +14885,7 @@ const deserializeAws_queryEntityAlreadyExistsException = (output, context) => {
|
|
|
14885
14885
|
message: undefined,
|
|
14886
14886
|
};
|
|
14887
14887
|
if (output["message"] !== undefined) {
|
|
14888
|
-
contents.message =
|
|
14888
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
14889
14889
|
}
|
|
14890
14890
|
return contents;
|
|
14891
14891
|
};
|
|
@@ -14898,7 +14898,7 @@ const deserializeAws_queryEntityDetails = (output, context) => {
|
|
|
14898
14898
|
contents.EntityInfo = deserializeAws_queryEntityInfo(output["EntityInfo"], context);
|
|
14899
14899
|
}
|
|
14900
14900
|
if (output["LastAuthenticated"] !== undefined) {
|
|
14901
|
-
contents.LastAuthenticated =
|
|
14901
|
+
contents.LastAuthenticated = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["LastAuthenticated"]));
|
|
14902
14902
|
}
|
|
14903
14903
|
return contents;
|
|
14904
14904
|
};
|
|
@@ -14921,19 +14921,19 @@ const deserializeAws_queryEntityInfo = (output, context) => {
|
|
|
14921
14921
|
Path: undefined,
|
|
14922
14922
|
};
|
|
14923
14923
|
if (output["Arn"] !== undefined) {
|
|
14924
|
-
contents.Arn =
|
|
14924
|
+
contents.Arn = smithy_client_1.expectString(output["Arn"]);
|
|
14925
14925
|
}
|
|
14926
14926
|
if (output["Name"] !== undefined) {
|
|
14927
|
-
contents.Name =
|
|
14927
|
+
contents.Name = smithy_client_1.expectString(output["Name"]);
|
|
14928
14928
|
}
|
|
14929
14929
|
if (output["Type"] !== undefined) {
|
|
14930
|
-
contents.Type =
|
|
14930
|
+
contents.Type = smithy_client_1.expectString(output["Type"]);
|
|
14931
14931
|
}
|
|
14932
14932
|
if (output["Id"] !== undefined) {
|
|
14933
|
-
contents.Id =
|
|
14933
|
+
contents.Id = smithy_client_1.expectString(output["Id"]);
|
|
14934
14934
|
}
|
|
14935
14935
|
if (output["Path"] !== undefined) {
|
|
14936
|
-
contents.Path =
|
|
14936
|
+
contents.Path = smithy_client_1.expectString(output["Path"]);
|
|
14937
14937
|
}
|
|
14938
14938
|
return contents;
|
|
14939
14939
|
};
|
|
@@ -14942,7 +14942,7 @@ const deserializeAws_queryEntityTemporarilyUnmodifiableException = (output, cont
|
|
|
14942
14942
|
message: undefined,
|
|
14943
14943
|
};
|
|
14944
14944
|
if (output["message"] !== undefined) {
|
|
14945
|
-
contents.message =
|
|
14945
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
14946
14946
|
}
|
|
14947
14947
|
return contents;
|
|
14948
14948
|
};
|
|
@@ -14952,10 +14952,10 @@ const deserializeAws_queryErrorDetails = (output, context) => {
|
|
|
14952
14952
|
Code: undefined,
|
|
14953
14953
|
};
|
|
14954
14954
|
if (output["Message"] !== undefined) {
|
|
14955
|
-
contents.Message =
|
|
14955
|
+
contents.Message = smithy_client_1.expectString(output["Message"]);
|
|
14956
14956
|
}
|
|
14957
14957
|
if (output["Code"] !== undefined) {
|
|
14958
|
-
contents.Code =
|
|
14958
|
+
contents.Code = smithy_client_1.expectString(output["Code"]);
|
|
14959
14959
|
}
|
|
14960
14960
|
return contents;
|
|
14961
14961
|
};
|
|
@@ -14966,7 +14966,7 @@ const deserializeAws_queryEvalDecisionDetailsType = (output, context) => {
|
|
|
14966
14966
|
}
|
|
14967
14967
|
return {
|
|
14968
14968
|
...acc,
|
|
14969
|
-
[pair["key"]]:
|
|
14969
|
+
[pair["key"]]: smithy_client_1.expectString(pair["value"]),
|
|
14970
14970
|
};
|
|
14971
14971
|
}, {});
|
|
14972
14972
|
};
|
|
@@ -14983,25 +14983,25 @@ const deserializeAws_queryEvaluationResult = (output, context) => {
|
|
|
14983
14983
|
ResourceSpecificResults: undefined,
|
|
14984
14984
|
};
|
|
14985
14985
|
if (output["EvalActionName"] !== undefined) {
|
|
14986
|
-
contents.EvalActionName =
|
|
14986
|
+
contents.EvalActionName = smithy_client_1.expectString(output["EvalActionName"]);
|
|
14987
14987
|
}
|
|
14988
14988
|
if (output["EvalResourceName"] !== undefined) {
|
|
14989
|
-
contents.EvalResourceName =
|
|
14989
|
+
contents.EvalResourceName = smithy_client_1.expectString(output["EvalResourceName"]);
|
|
14990
14990
|
}
|
|
14991
14991
|
if (output["EvalDecision"] !== undefined) {
|
|
14992
|
-
contents.EvalDecision =
|
|
14992
|
+
contents.EvalDecision = smithy_client_1.expectString(output["EvalDecision"]);
|
|
14993
14993
|
}
|
|
14994
14994
|
if (output.MatchedStatements === "") {
|
|
14995
14995
|
contents.MatchedStatements = [];
|
|
14996
14996
|
}
|
|
14997
14997
|
if (output["MatchedStatements"] !== undefined && output["MatchedStatements"]["member"] !== undefined) {
|
|
14998
|
-
contents.MatchedStatements = deserializeAws_queryStatementListType(
|
|
14998
|
+
contents.MatchedStatements = deserializeAws_queryStatementListType(smithy_client_1.getArrayIfSingleItem(output["MatchedStatements"]["member"]), context);
|
|
14999
14999
|
}
|
|
15000
15000
|
if (output.MissingContextValues === "") {
|
|
15001
15001
|
contents.MissingContextValues = [];
|
|
15002
15002
|
}
|
|
15003
15003
|
if (output["MissingContextValues"] !== undefined && output["MissingContextValues"]["member"] !== undefined) {
|
|
15004
|
-
contents.MissingContextValues = deserializeAws_queryContextKeyNamesResultListType(
|
|
15004
|
+
contents.MissingContextValues = deserializeAws_queryContextKeyNamesResultListType(smithy_client_1.getArrayIfSingleItem(output["MissingContextValues"]["member"]), context);
|
|
15005
15005
|
}
|
|
15006
15006
|
if (output["OrganizationsDecisionDetail"] !== undefined) {
|
|
15007
15007
|
contents.OrganizationsDecisionDetail = deserializeAws_queryOrganizationsDecisionDetail(output["OrganizationsDecisionDetail"], context);
|
|
@@ -15013,13 +15013,13 @@ const deserializeAws_queryEvaluationResult = (output, context) => {
|
|
|
15013
15013
|
contents.EvalDecisionDetails = {};
|
|
15014
15014
|
}
|
|
15015
15015
|
if (output["EvalDecisionDetails"] !== undefined && output["EvalDecisionDetails"]["entry"] !== undefined) {
|
|
15016
|
-
contents.EvalDecisionDetails = deserializeAws_queryEvalDecisionDetailsType(
|
|
15016
|
+
contents.EvalDecisionDetails = deserializeAws_queryEvalDecisionDetailsType(smithy_client_1.getArrayIfSingleItem(output["EvalDecisionDetails"]["entry"]), context);
|
|
15017
15017
|
}
|
|
15018
15018
|
if (output.ResourceSpecificResults === "") {
|
|
15019
15019
|
contents.ResourceSpecificResults = [];
|
|
15020
15020
|
}
|
|
15021
15021
|
if (output["ResourceSpecificResults"] !== undefined && output["ResourceSpecificResults"]["member"] !== undefined) {
|
|
15022
|
-
contents.ResourceSpecificResults = deserializeAws_queryResourceSpecificResultListType(
|
|
15022
|
+
contents.ResourceSpecificResults = deserializeAws_queryResourceSpecificResultListType(smithy_client_1.getArrayIfSingleItem(output["ResourceSpecificResults"]["member"]), context);
|
|
15023
15023
|
}
|
|
15024
15024
|
return contents;
|
|
15025
15025
|
};
|
|
@@ -15039,10 +15039,10 @@ const deserializeAws_queryGenerateCredentialReportResponse = (output, context) =
|
|
|
15039
15039
|
Description: undefined,
|
|
15040
15040
|
};
|
|
15041
15041
|
if (output["State"] !== undefined) {
|
|
15042
|
-
contents.State =
|
|
15042
|
+
contents.State = smithy_client_1.expectString(output["State"]);
|
|
15043
15043
|
}
|
|
15044
15044
|
if (output["Description"] !== undefined) {
|
|
15045
|
-
contents.Description =
|
|
15045
|
+
contents.Description = smithy_client_1.expectString(output["Description"]);
|
|
15046
15046
|
}
|
|
15047
15047
|
return contents;
|
|
15048
15048
|
};
|
|
@@ -15051,7 +15051,7 @@ const deserializeAws_queryGenerateOrganizationsAccessReportResponse = (output, c
|
|
|
15051
15051
|
JobId: undefined,
|
|
15052
15052
|
};
|
|
15053
15053
|
if (output["JobId"] !== undefined) {
|
|
15054
|
-
contents.JobId =
|
|
15054
|
+
contents.JobId = smithy_client_1.expectString(output["JobId"]);
|
|
15055
15055
|
}
|
|
15056
15056
|
return contents;
|
|
15057
15057
|
};
|
|
@@ -15060,7 +15060,7 @@ const deserializeAws_queryGenerateServiceLastAccessedDetailsResponse = (output,
|
|
|
15060
15060
|
JobId: undefined,
|
|
15061
15061
|
};
|
|
15062
15062
|
if (output["JobId"] !== undefined) {
|
|
15063
|
-
contents.JobId =
|
|
15063
|
+
contents.JobId = smithy_client_1.expectString(output["JobId"]);
|
|
15064
15064
|
}
|
|
15065
15065
|
return contents;
|
|
15066
15066
|
};
|
|
@@ -15070,7 +15070,7 @@ const deserializeAws_queryGetAccessKeyLastUsedResponse = (output, context) => {
|
|
|
15070
15070
|
AccessKeyLastUsed: undefined,
|
|
15071
15071
|
};
|
|
15072
15072
|
if (output["UserName"] !== undefined) {
|
|
15073
|
-
contents.UserName =
|
|
15073
|
+
contents.UserName = smithy_client_1.expectString(output["UserName"]);
|
|
15074
15074
|
}
|
|
15075
15075
|
if (output["AccessKeyLastUsed"] !== undefined) {
|
|
15076
15076
|
contents.AccessKeyLastUsed = deserializeAws_queryAccessKeyLastUsed(output["AccessKeyLastUsed"], context);
|
|
@@ -15090,31 +15090,31 @@ const deserializeAws_queryGetAccountAuthorizationDetailsResponse = (output, cont
|
|
|
15090
15090
|
contents.UserDetailList = [];
|
|
15091
15091
|
}
|
|
15092
15092
|
if (output["UserDetailList"] !== undefined && output["UserDetailList"]["member"] !== undefined) {
|
|
15093
|
-
contents.UserDetailList = deserializeAws_queryuserDetailListType(
|
|
15093
|
+
contents.UserDetailList = deserializeAws_queryuserDetailListType(smithy_client_1.getArrayIfSingleItem(output["UserDetailList"]["member"]), context);
|
|
15094
15094
|
}
|
|
15095
15095
|
if (output.GroupDetailList === "") {
|
|
15096
15096
|
contents.GroupDetailList = [];
|
|
15097
15097
|
}
|
|
15098
15098
|
if (output["GroupDetailList"] !== undefined && output["GroupDetailList"]["member"] !== undefined) {
|
|
15099
|
-
contents.GroupDetailList = deserializeAws_querygroupDetailListType(
|
|
15099
|
+
contents.GroupDetailList = deserializeAws_querygroupDetailListType(smithy_client_1.getArrayIfSingleItem(output["GroupDetailList"]["member"]), context);
|
|
15100
15100
|
}
|
|
15101
15101
|
if (output.RoleDetailList === "") {
|
|
15102
15102
|
contents.RoleDetailList = [];
|
|
15103
15103
|
}
|
|
15104
15104
|
if (output["RoleDetailList"] !== undefined && output["RoleDetailList"]["member"] !== undefined) {
|
|
15105
|
-
contents.RoleDetailList = deserializeAws_queryroleDetailListType(
|
|
15105
|
+
contents.RoleDetailList = deserializeAws_queryroleDetailListType(smithy_client_1.getArrayIfSingleItem(output["RoleDetailList"]["member"]), context);
|
|
15106
15106
|
}
|
|
15107
15107
|
if (output.Policies === "") {
|
|
15108
15108
|
contents.Policies = [];
|
|
15109
15109
|
}
|
|
15110
15110
|
if (output["Policies"] !== undefined && output["Policies"]["member"] !== undefined) {
|
|
15111
|
-
contents.Policies = deserializeAws_queryManagedPolicyDetailListType(
|
|
15111
|
+
contents.Policies = deserializeAws_queryManagedPolicyDetailListType(smithy_client_1.getArrayIfSingleItem(output["Policies"]["member"]), context);
|
|
15112
15112
|
}
|
|
15113
15113
|
if (output["IsTruncated"] !== undefined) {
|
|
15114
|
-
contents.IsTruncated =
|
|
15114
|
+
contents.IsTruncated = smithy_client_1.parseBoolean(output["IsTruncated"]);
|
|
15115
15115
|
}
|
|
15116
15116
|
if (output["Marker"] !== undefined) {
|
|
15117
|
-
contents.Marker =
|
|
15117
|
+
contents.Marker = smithy_client_1.expectString(output["Marker"]);
|
|
15118
15118
|
}
|
|
15119
15119
|
return contents;
|
|
15120
15120
|
};
|
|
@@ -15135,7 +15135,7 @@ const deserializeAws_queryGetAccountSummaryResponse = (output, context) => {
|
|
|
15135
15135
|
contents.SummaryMap = {};
|
|
15136
15136
|
}
|
|
15137
15137
|
if (output["SummaryMap"] !== undefined && output["SummaryMap"]["entry"] !== undefined) {
|
|
15138
|
-
contents.SummaryMap = deserializeAws_querysummaryMapType(
|
|
15138
|
+
contents.SummaryMap = deserializeAws_querysummaryMapType(smithy_client_1.getArrayIfSingleItem(output["SummaryMap"]["entry"]), context);
|
|
15139
15139
|
}
|
|
15140
15140
|
return contents;
|
|
15141
15141
|
};
|
|
@@ -15147,7 +15147,7 @@ const deserializeAws_queryGetContextKeysForPolicyResponse = (output, context) =>
|
|
|
15147
15147
|
contents.ContextKeyNames = [];
|
|
15148
15148
|
}
|
|
15149
15149
|
if (output["ContextKeyNames"] !== undefined && output["ContextKeyNames"]["member"] !== undefined) {
|
|
15150
|
-
contents.ContextKeyNames = deserializeAws_queryContextKeyNamesResultListType(
|
|
15150
|
+
contents.ContextKeyNames = deserializeAws_queryContextKeyNamesResultListType(smithy_client_1.getArrayIfSingleItem(output["ContextKeyNames"]["member"]), context);
|
|
15151
15151
|
}
|
|
15152
15152
|
return contents;
|
|
15153
15153
|
};
|
|
@@ -15161,10 +15161,10 @@ const deserializeAws_queryGetCredentialReportResponse = (output, context) => {
|
|
|
15161
15161
|
contents.Content = context.base64Decoder(output["Content"]);
|
|
15162
15162
|
}
|
|
15163
15163
|
if (output["ReportFormat"] !== undefined) {
|
|
15164
|
-
contents.ReportFormat =
|
|
15164
|
+
contents.ReportFormat = smithy_client_1.expectString(output["ReportFormat"]);
|
|
15165
15165
|
}
|
|
15166
15166
|
if (output["GeneratedTime"] !== undefined) {
|
|
15167
|
-
contents.GeneratedTime =
|
|
15167
|
+
contents.GeneratedTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["GeneratedTime"]));
|
|
15168
15168
|
}
|
|
15169
15169
|
return contents;
|
|
15170
15170
|
};
|
|
@@ -15175,13 +15175,13 @@ const deserializeAws_queryGetGroupPolicyResponse = (output, context) => {
|
|
|
15175
15175
|
PolicyDocument: undefined,
|
|
15176
15176
|
};
|
|
15177
15177
|
if (output["GroupName"] !== undefined) {
|
|
15178
|
-
contents.GroupName =
|
|
15178
|
+
contents.GroupName = smithy_client_1.expectString(output["GroupName"]);
|
|
15179
15179
|
}
|
|
15180
15180
|
if (output["PolicyName"] !== undefined) {
|
|
15181
|
-
contents.PolicyName =
|
|
15181
|
+
contents.PolicyName = smithy_client_1.expectString(output["PolicyName"]);
|
|
15182
15182
|
}
|
|
15183
15183
|
if (output["PolicyDocument"] !== undefined) {
|
|
15184
|
-
contents.PolicyDocument =
|
|
15184
|
+
contents.PolicyDocument = smithy_client_1.expectString(output["PolicyDocument"]);
|
|
15185
15185
|
}
|
|
15186
15186
|
return contents;
|
|
15187
15187
|
};
|
|
@@ -15199,13 +15199,13 @@ const deserializeAws_queryGetGroupResponse = (output, context) => {
|
|
|
15199
15199
|
contents.Users = [];
|
|
15200
15200
|
}
|
|
15201
15201
|
if (output["Users"] !== undefined && output["Users"]["member"] !== undefined) {
|
|
15202
|
-
contents.Users = deserializeAws_queryuserListType(
|
|
15202
|
+
contents.Users = deserializeAws_queryuserListType(smithy_client_1.getArrayIfSingleItem(output["Users"]["member"]), context);
|
|
15203
15203
|
}
|
|
15204
15204
|
if (output["IsTruncated"] !== undefined) {
|
|
15205
|
-
contents.IsTruncated =
|
|
15205
|
+
contents.IsTruncated = smithy_client_1.parseBoolean(output["IsTruncated"]);
|
|
15206
15206
|
}
|
|
15207
15207
|
if (output["Marker"] !== undefined) {
|
|
15208
|
-
contents.Marker =
|
|
15208
|
+
contents.Marker = smithy_client_1.expectString(output["Marker"]);
|
|
15209
15209
|
}
|
|
15210
15210
|
return contents;
|
|
15211
15211
|
};
|
|
@@ -15236,28 +15236,28 @@ const deserializeAws_queryGetOpenIDConnectProviderResponse = (output, context) =
|
|
|
15236
15236
|
Tags: undefined,
|
|
15237
15237
|
};
|
|
15238
15238
|
if (output["Url"] !== undefined) {
|
|
15239
|
-
contents.Url =
|
|
15239
|
+
contents.Url = smithy_client_1.expectString(output["Url"]);
|
|
15240
15240
|
}
|
|
15241
15241
|
if (output.ClientIDList === "") {
|
|
15242
15242
|
contents.ClientIDList = [];
|
|
15243
15243
|
}
|
|
15244
15244
|
if (output["ClientIDList"] !== undefined && output["ClientIDList"]["member"] !== undefined) {
|
|
15245
|
-
contents.ClientIDList = deserializeAws_queryclientIDListType(
|
|
15245
|
+
contents.ClientIDList = deserializeAws_queryclientIDListType(smithy_client_1.getArrayIfSingleItem(output["ClientIDList"]["member"]), context);
|
|
15246
15246
|
}
|
|
15247
15247
|
if (output.ThumbprintList === "") {
|
|
15248
15248
|
contents.ThumbprintList = [];
|
|
15249
15249
|
}
|
|
15250
15250
|
if (output["ThumbprintList"] !== undefined && output["ThumbprintList"]["member"] !== undefined) {
|
|
15251
|
-
contents.ThumbprintList = deserializeAws_querythumbprintListType(
|
|
15251
|
+
contents.ThumbprintList = deserializeAws_querythumbprintListType(smithy_client_1.getArrayIfSingleItem(output["ThumbprintList"]["member"]), context);
|
|
15252
15252
|
}
|
|
15253
15253
|
if (output["CreateDate"] !== undefined) {
|
|
15254
|
-
contents.CreateDate =
|
|
15254
|
+
contents.CreateDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["CreateDate"]));
|
|
15255
15255
|
}
|
|
15256
15256
|
if (output.Tags === "") {
|
|
15257
15257
|
contents.Tags = [];
|
|
15258
15258
|
}
|
|
15259
15259
|
if (output["Tags"] !== undefined && output["Tags"]["member"] !== undefined) {
|
|
15260
|
-
contents.Tags = deserializeAws_querytagListType(
|
|
15260
|
+
contents.Tags = deserializeAws_querytagListType(smithy_client_1.getArrayIfSingleItem(output["Tags"]["member"]), context);
|
|
15261
15261
|
}
|
|
15262
15262
|
return contents;
|
|
15263
15263
|
};
|
|
@@ -15274,31 +15274,31 @@ const deserializeAws_queryGetOrganizationsAccessReportResponse = (output, contex
|
|
|
15274
15274
|
ErrorDetails: undefined,
|
|
15275
15275
|
};
|
|
15276
15276
|
if (output["JobStatus"] !== undefined) {
|
|
15277
|
-
contents.JobStatus =
|
|
15277
|
+
contents.JobStatus = smithy_client_1.expectString(output["JobStatus"]);
|
|
15278
15278
|
}
|
|
15279
15279
|
if (output["JobCreationDate"] !== undefined) {
|
|
15280
|
-
contents.JobCreationDate =
|
|
15280
|
+
contents.JobCreationDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["JobCreationDate"]));
|
|
15281
15281
|
}
|
|
15282
15282
|
if (output["JobCompletionDate"] !== undefined) {
|
|
15283
|
-
contents.JobCompletionDate =
|
|
15283
|
+
contents.JobCompletionDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["JobCompletionDate"]));
|
|
15284
15284
|
}
|
|
15285
15285
|
if (output["NumberOfServicesAccessible"] !== undefined) {
|
|
15286
|
-
contents.NumberOfServicesAccessible =
|
|
15286
|
+
contents.NumberOfServicesAccessible = smithy_client_1.strictParseInt32(output["NumberOfServicesAccessible"]);
|
|
15287
15287
|
}
|
|
15288
15288
|
if (output["NumberOfServicesNotAccessed"] !== undefined) {
|
|
15289
|
-
contents.NumberOfServicesNotAccessed =
|
|
15289
|
+
contents.NumberOfServicesNotAccessed = smithy_client_1.strictParseInt32(output["NumberOfServicesNotAccessed"]);
|
|
15290
15290
|
}
|
|
15291
15291
|
if (output.AccessDetails === "") {
|
|
15292
15292
|
contents.AccessDetails = [];
|
|
15293
15293
|
}
|
|
15294
15294
|
if (output["AccessDetails"] !== undefined && output["AccessDetails"]["member"] !== undefined) {
|
|
15295
|
-
contents.AccessDetails = deserializeAws_queryAccessDetails(
|
|
15295
|
+
contents.AccessDetails = deserializeAws_queryAccessDetails(smithy_client_1.getArrayIfSingleItem(output["AccessDetails"]["member"]), context);
|
|
15296
15296
|
}
|
|
15297
15297
|
if (output["IsTruncated"] !== undefined) {
|
|
15298
|
-
contents.IsTruncated =
|
|
15298
|
+
contents.IsTruncated = smithy_client_1.parseBoolean(output["IsTruncated"]);
|
|
15299
15299
|
}
|
|
15300
15300
|
if (output["Marker"] !== undefined) {
|
|
15301
|
-
contents.Marker =
|
|
15301
|
+
contents.Marker = smithy_client_1.expectString(output["Marker"]);
|
|
15302
15302
|
}
|
|
15303
15303
|
if (output["ErrorDetails"] !== undefined) {
|
|
15304
15304
|
contents.ErrorDetails = deserializeAws_queryErrorDetails(output["ErrorDetails"], context);
|
|
@@ -15330,13 +15330,13 @@ const deserializeAws_queryGetRolePolicyResponse = (output, context) => {
|
|
|
15330
15330
|
PolicyDocument: undefined,
|
|
15331
15331
|
};
|
|
15332
15332
|
if (output["RoleName"] !== undefined) {
|
|
15333
|
-
contents.RoleName =
|
|
15333
|
+
contents.RoleName = smithy_client_1.expectString(output["RoleName"]);
|
|
15334
15334
|
}
|
|
15335
15335
|
if (output["PolicyName"] !== undefined) {
|
|
15336
|
-
contents.PolicyName =
|
|
15336
|
+
contents.PolicyName = smithy_client_1.expectString(output["PolicyName"]);
|
|
15337
15337
|
}
|
|
15338
15338
|
if (output["PolicyDocument"] !== undefined) {
|
|
15339
|
-
contents.PolicyDocument =
|
|
15339
|
+
contents.PolicyDocument = smithy_client_1.expectString(output["PolicyDocument"]);
|
|
15340
15340
|
}
|
|
15341
15341
|
return contents;
|
|
15342
15342
|
};
|
|
@@ -15357,19 +15357,19 @@ const deserializeAws_queryGetSAMLProviderResponse = (output, context) => {
|
|
|
15357
15357
|
Tags: undefined,
|
|
15358
15358
|
};
|
|
15359
15359
|
if (output["SAMLMetadataDocument"] !== undefined) {
|
|
15360
|
-
contents.SAMLMetadataDocument =
|
|
15360
|
+
contents.SAMLMetadataDocument = smithy_client_1.expectString(output["SAMLMetadataDocument"]);
|
|
15361
15361
|
}
|
|
15362
15362
|
if (output["CreateDate"] !== undefined) {
|
|
15363
|
-
contents.CreateDate =
|
|
15363
|
+
contents.CreateDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["CreateDate"]));
|
|
15364
15364
|
}
|
|
15365
15365
|
if (output["ValidUntil"] !== undefined) {
|
|
15366
|
-
contents.ValidUntil =
|
|
15366
|
+
contents.ValidUntil = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["ValidUntil"]));
|
|
15367
15367
|
}
|
|
15368
15368
|
if (output.Tags === "") {
|
|
15369
15369
|
contents.Tags = [];
|
|
15370
15370
|
}
|
|
15371
15371
|
if (output["Tags"] !== undefined && output["Tags"]["member"] !== undefined) {
|
|
15372
|
-
contents.Tags = deserializeAws_querytagListType(
|
|
15372
|
+
contents.Tags = deserializeAws_querytagListType(smithy_client_1.getArrayIfSingleItem(output["Tags"]["member"]), context);
|
|
15373
15373
|
}
|
|
15374
15374
|
return contents;
|
|
15375
15375
|
};
|
|
@@ -15394,28 +15394,28 @@ const deserializeAws_queryGetServiceLastAccessedDetailsResponse = (output, conte
|
|
|
15394
15394
|
Error: undefined,
|
|
15395
15395
|
};
|
|
15396
15396
|
if (output["JobStatus"] !== undefined) {
|
|
15397
|
-
contents.JobStatus =
|
|
15397
|
+
contents.JobStatus = smithy_client_1.expectString(output["JobStatus"]);
|
|
15398
15398
|
}
|
|
15399
15399
|
if (output["JobType"] !== undefined) {
|
|
15400
|
-
contents.JobType =
|
|
15400
|
+
contents.JobType = smithy_client_1.expectString(output["JobType"]);
|
|
15401
15401
|
}
|
|
15402
15402
|
if (output["JobCreationDate"] !== undefined) {
|
|
15403
|
-
contents.JobCreationDate =
|
|
15403
|
+
contents.JobCreationDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["JobCreationDate"]));
|
|
15404
15404
|
}
|
|
15405
15405
|
if (output.ServicesLastAccessed === "") {
|
|
15406
15406
|
contents.ServicesLastAccessed = [];
|
|
15407
15407
|
}
|
|
15408
15408
|
if (output["ServicesLastAccessed"] !== undefined && output["ServicesLastAccessed"]["member"] !== undefined) {
|
|
15409
|
-
contents.ServicesLastAccessed = deserializeAws_queryServicesLastAccessed(
|
|
15409
|
+
contents.ServicesLastAccessed = deserializeAws_queryServicesLastAccessed(smithy_client_1.getArrayIfSingleItem(output["ServicesLastAccessed"]["member"]), context);
|
|
15410
15410
|
}
|
|
15411
15411
|
if (output["JobCompletionDate"] !== undefined) {
|
|
15412
|
-
contents.JobCompletionDate =
|
|
15412
|
+
contents.JobCompletionDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["JobCompletionDate"]));
|
|
15413
15413
|
}
|
|
15414
15414
|
if (output["IsTruncated"] !== undefined) {
|
|
15415
|
-
contents.IsTruncated =
|
|
15415
|
+
contents.IsTruncated = smithy_client_1.parseBoolean(output["IsTruncated"]);
|
|
15416
15416
|
}
|
|
15417
15417
|
if (output["Marker"] !== undefined) {
|
|
15418
|
-
contents.Marker =
|
|
15418
|
+
contents.Marker = smithy_client_1.expectString(output["Marker"]);
|
|
15419
15419
|
}
|
|
15420
15420
|
if (output["Error"] !== undefined) {
|
|
15421
15421
|
contents.Error = deserializeAws_queryErrorDetails(output["Error"], context);
|
|
@@ -15433,25 +15433,25 @@ const deserializeAws_queryGetServiceLastAccessedDetailsWithEntitiesResponse = (o
|
|
|
15433
15433
|
Error: undefined,
|
|
15434
15434
|
};
|
|
15435
15435
|
if (output["JobStatus"] !== undefined) {
|
|
15436
|
-
contents.JobStatus =
|
|
15436
|
+
contents.JobStatus = smithy_client_1.expectString(output["JobStatus"]);
|
|
15437
15437
|
}
|
|
15438
15438
|
if (output["JobCreationDate"] !== undefined) {
|
|
15439
|
-
contents.JobCreationDate =
|
|
15439
|
+
contents.JobCreationDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["JobCreationDate"]));
|
|
15440
15440
|
}
|
|
15441
15441
|
if (output["JobCompletionDate"] !== undefined) {
|
|
15442
|
-
contents.JobCompletionDate =
|
|
15442
|
+
contents.JobCompletionDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["JobCompletionDate"]));
|
|
15443
15443
|
}
|
|
15444
15444
|
if (output.EntityDetailsList === "") {
|
|
15445
15445
|
contents.EntityDetailsList = [];
|
|
15446
15446
|
}
|
|
15447
15447
|
if (output["EntityDetailsList"] !== undefined && output["EntityDetailsList"]["member"] !== undefined) {
|
|
15448
|
-
contents.EntityDetailsList = deserializeAws_queryentityDetailsListType(
|
|
15448
|
+
contents.EntityDetailsList = deserializeAws_queryentityDetailsListType(smithy_client_1.getArrayIfSingleItem(output["EntityDetailsList"]["member"]), context);
|
|
15449
15449
|
}
|
|
15450
15450
|
if (output["IsTruncated"] !== undefined) {
|
|
15451
|
-
contents.IsTruncated =
|
|
15451
|
+
contents.IsTruncated = smithy_client_1.parseBoolean(output["IsTruncated"]);
|
|
15452
15452
|
}
|
|
15453
15453
|
if (output["Marker"] !== undefined) {
|
|
15454
|
-
contents.Marker =
|
|
15454
|
+
contents.Marker = smithy_client_1.expectString(output["Marker"]);
|
|
15455
15455
|
}
|
|
15456
15456
|
if (output["Error"] !== undefined) {
|
|
15457
15457
|
contents.Error = deserializeAws_queryErrorDetails(output["Error"], context);
|
|
@@ -15464,7 +15464,7 @@ const deserializeAws_queryGetServiceLinkedRoleDeletionStatusResponse = (output,
|
|
|
15464
15464
|
Reason: undefined,
|
|
15465
15465
|
};
|
|
15466
15466
|
if (output["Status"] !== undefined) {
|
|
15467
|
-
contents.Status =
|
|
15467
|
+
contents.Status = smithy_client_1.expectString(output["Status"]);
|
|
15468
15468
|
}
|
|
15469
15469
|
if (output["Reason"] !== undefined) {
|
|
15470
15470
|
contents.Reason = deserializeAws_queryDeletionTaskFailureReasonType(output["Reason"], context);
|
|
@@ -15487,13 +15487,13 @@ const deserializeAws_queryGetUserPolicyResponse = (output, context) => {
|
|
|
15487
15487
|
PolicyDocument: undefined,
|
|
15488
15488
|
};
|
|
15489
15489
|
if (output["UserName"] !== undefined) {
|
|
15490
|
-
contents.UserName =
|
|
15490
|
+
contents.UserName = smithy_client_1.expectString(output["UserName"]);
|
|
15491
15491
|
}
|
|
15492
15492
|
if (output["PolicyName"] !== undefined) {
|
|
15493
|
-
contents.PolicyName =
|
|
15493
|
+
contents.PolicyName = smithy_client_1.expectString(output["PolicyName"]);
|
|
15494
15494
|
}
|
|
15495
15495
|
if (output["PolicyDocument"] !== undefined) {
|
|
15496
|
-
contents.PolicyDocument =
|
|
15496
|
+
contents.PolicyDocument = smithy_client_1.expectString(output["PolicyDocument"]);
|
|
15497
15497
|
}
|
|
15498
15498
|
return contents;
|
|
15499
15499
|
};
|
|
@@ -15515,19 +15515,19 @@ const deserializeAws_queryGroup = (output, context) => {
|
|
|
15515
15515
|
CreateDate: undefined,
|
|
15516
15516
|
};
|
|
15517
15517
|
if (output["Path"] !== undefined) {
|
|
15518
|
-
contents.Path =
|
|
15518
|
+
contents.Path = smithy_client_1.expectString(output["Path"]);
|
|
15519
15519
|
}
|
|
15520
15520
|
if (output["GroupName"] !== undefined) {
|
|
15521
|
-
contents.GroupName =
|
|
15521
|
+
contents.GroupName = smithy_client_1.expectString(output["GroupName"]);
|
|
15522
15522
|
}
|
|
15523
15523
|
if (output["GroupId"] !== undefined) {
|
|
15524
|
-
contents.GroupId =
|
|
15524
|
+
contents.GroupId = smithy_client_1.expectString(output["GroupId"]);
|
|
15525
15525
|
}
|
|
15526
15526
|
if (output["Arn"] !== undefined) {
|
|
15527
|
-
contents.Arn =
|
|
15527
|
+
contents.Arn = smithy_client_1.expectString(output["Arn"]);
|
|
15528
15528
|
}
|
|
15529
15529
|
if (output["CreateDate"] !== undefined) {
|
|
15530
|
-
contents.CreateDate =
|
|
15530
|
+
contents.CreateDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["CreateDate"]));
|
|
15531
15531
|
}
|
|
15532
15532
|
return contents;
|
|
15533
15533
|
};
|
|
@@ -15542,31 +15542,31 @@ const deserializeAws_queryGroupDetail = (output, context) => {
|
|
|
15542
15542
|
AttachedManagedPolicies: undefined,
|
|
15543
15543
|
};
|
|
15544
15544
|
if (output["Path"] !== undefined) {
|
|
15545
|
-
contents.Path =
|
|
15545
|
+
contents.Path = smithy_client_1.expectString(output["Path"]);
|
|
15546
15546
|
}
|
|
15547
15547
|
if (output["GroupName"] !== undefined) {
|
|
15548
|
-
contents.GroupName =
|
|
15548
|
+
contents.GroupName = smithy_client_1.expectString(output["GroupName"]);
|
|
15549
15549
|
}
|
|
15550
15550
|
if (output["GroupId"] !== undefined) {
|
|
15551
|
-
contents.GroupId =
|
|
15551
|
+
contents.GroupId = smithy_client_1.expectString(output["GroupId"]);
|
|
15552
15552
|
}
|
|
15553
15553
|
if (output["Arn"] !== undefined) {
|
|
15554
|
-
contents.Arn =
|
|
15554
|
+
contents.Arn = smithy_client_1.expectString(output["Arn"]);
|
|
15555
15555
|
}
|
|
15556
15556
|
if (output["CreateDate"] !== undefined) {
|
|
15557
|
-
contents.CreateDate =
|
|
15557
|
+
contents.CreateDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["CreateDate"]));
|
|
15558
15558
|
}
|
|
15559
15559
|
if (output.GroupPolicyList === "") {
|
|
15560
15560
|
contents.GroupPolicyList = [];
|
|
15561
15561
|
}
|
|
15562
15562
|
if (output["GroupPolicyList"] !== undefined && output["GroupPolicyList"]["member"] !== undefined) {
|
|
15563
|
-
contents.GroupPolicyList = deserializeAws_querypolicyDetailListType(
|
|
15563
|
+
contents.GroupPolicyList = deserializeAws_querypolicyDetailListType(smithy_client_1.getArrayIfSingleItem(output["GroupPolicyList"]["member"]), context);
|
|
15564
15564
|
}
|
|
15565
15565
|
if (output.AttachedManagedPolicies === "") {
|
|
15566
15566
|
contents.AttachedManagedPolicies = [];
|
|
15567
15567
|
}
|
|
15568
15568
|
if (output["AttachedManagedPolicies"] !== undefined && output["AttachedManagedPolicies"]["member"] !== undefined) {
|
|
15569
|
-
contents.AttachedManagedPolicies = deserializeAws_queryattachedPoliciesListType(
|
|
15569
|
+
contents.AttachedManagedPolicies = deserializeAws_queryattachedPoliciesListType(smithy_client_1.getArrayIfSingleItem(output["AttachedManagedPolicies"]["member"]), context);
|
|
15570
15570
|
}
|
|
15571
15571
|
return contents;
|
|
15572
15572
|
};
|
|
@@ -15597,7 +15597,7 @@ const deserializeAws_querygroupNameListType = (output, context) => {
|
|
|
15597
15597
|
if (entry === null) {
|
|
15598
15598
|
return null;
|
|
15599
15599
|
}
|
|
15600
|
-
return
|
|
15600
|
+
return smithy_client_1.expectString(entry);
|
|
15601
15601
|
});
|
|
15602
15602
|
};
|
|
15603
15603
|
const deserializeAws_queryInstanceProfile = (output, context) => {
|
|
@@ -15611,31 +15611,31 @@ const deserializeAws_queryInstanceProfile = (output, context) => {
|
|
|
15611
15611
|
Tags: undefined,
|
|
15612
15612
|
};
|
|
15613
15613
|
if (output["Path"] !== undefined) {
|
|
15614
|
-
contents.Path =
|
|
15614
|
+
contents.Path = smithy_client_1.expectString(output["Path"]);
|
|
15615
15615
|
}
|
|
15616
15616
|
if (output["InstanceProfileName"] !== undefined) {
|
|
15617
|
-
contents.InstanceProfileName =
|
|
15617
|
+
contents.InstanceProfileName = smithy_client_1.expectString(output["InstanceProfileName"]);
|
|
15618
15618
|
}
|
|
15619
15619
|
if (output["InstanceProfileId"] !== undefined) {
|
|
15620
|
-
contents.InstanceProfileId =
|
|
15620
|
+
contents.InstanceProfileId = smithy_client_1.expectString(output["InstanceProfileId"]);
|
|
15621
15621
|
}
|
|
15622
15622
|
if (output["Arn"] !== undefined) {
|
|
15623
|
-
contents.Arn =
|
|
15623
|
+
contents.Arn = smithy_client_1.expectString(output["Arn"]);
|
|
15624
15624
|
}
|
|
15625
15625
|
if (output["CreateDate"] !== undefined) {
|
|
15626
|
-
contents.CreateDate =
|
|
15626
|
+
contents.CreateDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["CreateDate"]));
|
|
15627
15627
|
}
|
|
15628
15628
|
if (output.Roles === "") {
|
|
15629
15629
|
contents.Roles = [];
|
|
15630
15630
|
}
|
|
15631
15631
|
if (output["Roles"] !== undefined && output["Roles"]["member"] !== undefined) {
|
|
15632
|
-
contents.Roles = deserializeAws_queryroleListType(
|
|
15632
|
+
contents.Roles = deserializeAws_queryroleListType(smithy_client_1.getArrayIfSingleItem(output["Roles"]["member"]), context);
|
|
15633
15633
|
}
|
|
15634
15634
|
if (output.Tags === "") {
|
|
15635
15635
|
contents.Tags = [];
|
|
15636
15636
|
}
|
|
15637
15637
|
if (output["Tags"] !== undefined && output["Tags"]["member"] !== undefined) {
|
|
15638
|
-
contents.Tags = deserializeAws_querytagListType(
|
|
15638
|
+
contents.Tags = deserializeAws_querytagListType(smithy_client_1.getArrayIfSingleItem(output["Tags"]["member"]), context);
|
|
15639
15639
|
}
|
|
15640
15640
|
return contents;
|
|
15641
15641
|
};
|
|
@@ -15654,7 +15654,7 @@ const deserializeAws_queryInvalidAuthenticationCodeException = (output, context)
|
|
|
15654
15654
|
message: undefined,
|
|
15655
15655
|
};
|
|
15656
15656
|
if (output["message"] !== undefined) {
|
|
15657
|
-
contents.message =
|
|
15657
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
15658
15658
|
}
|
|
15659
15659
|
return contents;
|
|
15660
15660
|
};
|
|
@@ -15663,7 +15663,7 @@ const deserializeAws_queryInvalidCertificateException = (output, context) => {
|
|
|
15663
15663
|
message: undefined,
|
|
15664
15664
|
};
|
|
15665
15665
|
if (output["message"] !== undefined) {
|
|
15666
|
-
contents.message =
|
|
15666
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
15667
15667
|
}
|
|
15668
15668
|
return contents;
|
|
15669
15669
|
};
|
|
@@ -15672,7 +15672,7 @@ const deserializeAws_queryInvalidInputException = (output, context) => {
|
|
|
15672
15672
|
message: undefined,
|
|
15673
15673
|
};
|
|
15674
15674
|
if (output["message"] !== undefined) {
|
|
15675
|
-
contents.message =
|
|
15675
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
15676
15676
|
}
|
|
15677
15677
|
return contents;
|
|
15678
15678
|
};
|
|
@@ -15681,7 +15681,7 @@ const deserializeAws_queryInvalidPublicKeyException = (output, context) => {
|
|
|
15681
15681
|
message: undefined,
|
|
15682
15682
|
};
|
|
15683
15683
|
if (output["message"] !== undefined) {
|
|
15684
|
-
contents.message =
|
|
15684
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
15685
15685
|
}
|
|
15686
15686
|
return contents;
|
|
15687
15687
|
};
|
|
@@ -15690,7 +15690,7 @@ const deserializeAws_queryInvalidUserTypeException = (output, context) => {
|
|
|
15690
15690
|
message: undefined,
|
|
15691
15691
|
};
|
|
15692
15692
|
if (output["message"] !== undefined) {
|
|
15693
|
-
contents.message =
|
|
15693
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
15694
15694
|
}
|
|
15695
15695
|
return contents;
|
|
15696
15696
|
};
|
|
@@ -15699,7 +15699,7 @@ const deserializeAws_queryKeyPairMismatchException = (output, context) => {
|
|
|
15699
15699
|
message: undefined,
|
|
15700
15700
|
};
|
|
15701
15701
|
if (output["message"] !== undefined) {
|
|
15702
|
-
contents.message =
|
|
15702
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
15703
15703
|
}
|
|
15704
15704
|
return contents;
|
|
15705
15705
|
};
|
|
@@ -15708,7 +15708,7 @@ const deserializeAws_queryLimitExceededException = (output, context) => {
|
|
|
15708
15708
|
message: undefined,
|
|
15709
15709
|
};
|
|
15710
15710
|
if (output["message"] !== undefined) {
|
|
15711
|
-
contents.message =
|
|
15711
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
15712
15712
|
}
|
|
15713
15713
|
return contents;
|
|
15714
15714
|
};
|
|
@@ -15722,13 +15722,13 @@ const deserializeAws_queryListAccessKeysResponse = (output, context) => {
|
|
|
15722
15722
|
contents.AccessKeyMetadata = [];
|
|
15723
15723
|
}
|
|
15724
15724
|
if (output["AccessKeyMetadata"] !== undefined && output["AccessKeyMetadata"]["member"] !== undefined) {
|
|
15725
|
-
contents.AccessKeyMetadata = deserializeAws_queryaccessKeyMetadataListType(
|
|
15725
|
+
contents.AccessKeyMetadata = deserializeAws_queryaccessKeyMetadataListType(smithy_client_1.getArrayIfSingleItem(output["AccessKeyMetadata"]["member"]), context);
|
|
15726
15726
|
}
|
|
15727
15727
|
if (output["IsTruncated"] !== undefined) {
|
|
15728
|
-
contents.IsTruncated =
|
|
15728
|
+
contents.IsTruncated = smithy_client_1.parseBoolean(output["IsTruncated"]);
|
|
15729
15729
|
}
|
|
15730
15730
|
if (output["Marker"] !== undefined) {
|
|
15731
|
-
contents.Marker =
|
|
15731
|
+
contents.Marker = smithy_client_1.expectString(output["Marker"]);
|
|
15732
15732
|
}
|
|
15733
15733
|
return contents;
|
|
15734
15734
|
};
|
|
@@ -15742,13 +15742,13 @@ const deserializeAws_queryListAccountAliasesResponse = (output, context) => {
|
|
|
15742
15742
|
contents.AccountAliases = [];
|
|
15743
15743
|
}
|
|
15744
15744
|
if (output["AccountAliases"] !== undefined && output["AccountAliases"]["member"] !== undefined) {
|
|
15745
|
-
contents.AccountAliases = deserializeAws_queryaccountAliasListType(
|
|
15745
|
+
contents.AccountAliases = deserializeAws_queryaccountAliasListType(smithy_client_1.getArrayIfSingleItem(output["AccountAliases"]["member"]), context);
|
|
15746
15746
|
}
|
|
15747
15747
|
if (output["IsTruncated"] !== undefined) {
|
|
15748
|
-
contents.IsTruncated =
|
|
15748
|
+
contents.IsTruncated = smithy_client_1.parseBoolean(output["IsTruncated"]);
|
|
15749
15749
|
}
|
|
15750
15750
|
if (output["Marker"] !== undefined) {
|
|
15751
|
-
contents.Marker =
|
|
15751
|
+
contents.Marker = smithy_client_1.expectString(output["Marker"]);
|
|
15752
15752
|
}
|
|
15753
15753
|
return contents;
|
|
15754
15754
|
};
|
|
@@ -15762,13 +15762,13 @@ const deserializeAws_queryListAttachedGroupPoliciesResponse = (output, context)
|
|
|
15762
15762
|
contents.AttachedPolicies = [];
|
|
15763
15763
|
}
|
|
15764
15764
|
if (output["AttachedPolicies"] !== undefined && output["AttachedPolicies"]["member"] !== undefined) {
|
|
15765
|
-
contents.AttachedPolicies = deserializeAws_queryattachedPoliciesListType(
|
|
15765
|
+
contents.AttachedPolicies = deserializeAws_queryattachedPoliciesListType(smithy_client_1.getArrayIfSingleItem(output["AttachedPolicies"]["member"]), context);
|
|
15766
15766
|
}
|
|
15767
15767
|
if (output["IsTruncated"] !== undefined) {
|
|
15768
|
-
contents.IsTruncated =
|
|
15768
|
+
contents.IsTruncated = smithy_client_1.parseBoolean(output["IsTruncated"]);
|
|
15769
15769
|
}
|
|
15770
15770
|
if (output["Marker"] !== undefined) {
|
|
15771
|
-
contents.Marker =
|
|
15771
|
+
contents.Marker = smithy_client_1.expectString(output["Marker"]);
|
|
15772
15772
|
}
|
|
15773
15773
|
return contents;
|
|
15774
15774
|
};
|
|
@@ -15782,13 +15782,13 @@ const deserializeAws_queryListAttachedRolePoliciesResponse = (output, context) =
|
|
|
15782
15782
|
contents.AttachedPolicies = [];
|
|
15783
15783
|
}
|
|
15784
15784
|
if (output["AttachedPolicies"] !== undefined && output["AttachedPolicies"]["member"] !== undefined) {
|
|
15785
|
-
contents.AttachedPolicies = deserializeAws_queryattachedPoliciesListType(
|
|
15785
|
+
contents.AttachedPolicies = deserializeAws_queryattachedPoliciesListType(smithy_client_1.getArrayIfSingleItem(output["AttachedPolicies"]["member"]), context);
|
|
15786
15786
|
}
|
|
15787
15787
|
if (output["IsTruncated"] !== undefined) {
|
|
15788
|
-
contents.IsTruncated =
|
|
15788
|
+
contents.IsTruncated = smithy_client_1.parseBoolean(output["IsTruncated"]);
|
|
15789
15789
|
}
|
|
15790
15790
|
if (output["Marker"] !== undefined) {
|
|
15791
|
-
contents.Marker =
|
|
15791
|
+
contents.Marker = smithy_client_1.expectString(output["Marker"]);
|
|
15792
15792
|
}
|
|
15793
15793
|
return contents;
|
|
15794
15794
|
};
|
|
@@ -15802,13 +15802,13 @@ const deserializeAws_queryListAttachedUserPoliciesResponse = (output, context) =
|
|
|
15802
15802
|
contents.AttachedPolicies = [];
|
|
15803
15803
|
}
|
|
15804
15804
|
if (output["AttachedPolicies"] !== undefined && output["AttachedPolicies"]["member"] !== undefined) {
|
|
15805
|
-
contents.AttachedPolicies = deserializeAws_queryattachedPoliciesListType(
|
|
15805
|
+
contents.AttachedPolicies = deserializeAws_queryattachedPoliciesListType(smithy_client_1.getArrayIfSingleItem(output["AttachedPolicies"]["member"]), context);
|
|
15806
15806
|
}
|
|
15807
15807
|
if (output["IsTruncated"] !== undefined) {
|
|
15808
|
-
contents.IsTruncated =
|
|
15808
|
+
contents.IsTruncated = smithy_client_1.parseBoolean(output["IsTruncated"]);
|
|
15809
15809
|
}
|
|
15810
15810
|
if (output["Marker"] !== undefined) {
|
|
15811
|
-
contents.Marker =
|
|
15811
|
+
contents.Marker = smithy_client_1.expectString(output["Marker"]);
|
|
15812
15812
|
}
|
|
15813
15813
|
return contents;
|
|
15814
15814
|
};
|
|
@@ -15824,25 +15824,25 @@ const deserializeAws_queryListEntitiesForPolicyResponse = (output, context) => {
|
|
|
15824
15824
|
contents.PolicyGroups = [];
|
|
15825
15825
|
}
|
|
15826
15826
|
if (output["PolicyGroups"] !== undefined && output["PolicyGroups"]["member"] !== undefined) {
|
|
15827
|
-
contents.PolicyGroups = deserializeAws_queryPolicyGroupListType(
|
|
15827
|
+
contents.PolicyGroups = deserializeAws_queryPolicyGroupListType(smithy_client_1.getArrayIfSingleItem(output["PolicyGroups"]["member"]), context);
|
|
15828
15828
|
}
|
|
15829
15829
|
if (output.PolicyUsers === "") {
|
|
15830
15830
|
contents.PolicyUsers = [];
|
|
15831
15831
|
}
|
|
15832
15832
|
if (output["PolicyUsers"] !== undefined && output["PolicyUsers"]["member"] !== undefined) {
|
|
15833
|
-
contents.PolicyUsers = deserializeAws_queryPolicyUserListType(
|
|
15833
|
+
contents.PolicyUsers = deserializeAws_queryPolicyUserListType(smithy_client_1.getArrayIfSingleItem(output["PolicyUsers"]["member"]), context);
|
|
15834
15834
|
}
|
|
15835
15835
|
if (output.PolicyRoles === "") {
|
|
15836
15836
|
contents.PolicyRoles = [];
|
|
15837
15837
|
}
|
|
15838
15838
|
if (output["PolicyRoles"] !== undefined && output["PolicyRoles"]["member"] !== undefined) {
|
|
15839
|
-
contents.PolicyRoles = deserializeAws_queryPolicyRoleListType(
|
|
15839
|
+
contents.PolicyRoles = deserializeAws_queryPolicyRoleListType(smithy_client_1.getArrayIfSingleItem(output["PolicyRoles"]["member"]), context);
|
|
15840
15840
|
}
|
|
15841
15841
|
if (output["IsTruncated"] !== undefined) {
|
|
15842
|
-
contents.IsTruncated =
|
|
15842
|
+
contents.IsTruncated = smithy_client_1.parseBoolean(output["IsTruncated"]);
|
|
15843
15843
|
}
|
|
15844
15844
|
if (output["Marker"] !== undefined) {
|
|
15845
|
-
contents.Marker =
|
|
15845
|
+
contents.Marker = smithy_client_1.expectString(output["Marker"]);
|
|
15846
15846
|
}
|
|
15847
15847
|
return contents;
|
|
15848
15848
|
};
|
|
@@ -15856,13 +15856,13 @@ const deserializeAws_queryListGroupPoliciesResponse = (output, context) => {
|
|
|
15856
15856
|
contents.PolicyNames = [];
|
|
15857
15857
|
}
|
|
15858
15858
|
if (output["PolicyNames"] !== undefined && output["PolicyNames"]["member"] !== undefined) {
|
|
15859
|
-
contents.PolicyNames = deserializeAws_querypolicyNameListType(
|
|
15859
|
+
contents.PolicyNames = deserializeAws_querypolicyNameListType(smithy_client_1.getArrayIfSingleItem(output["PolicyNames"]["member"]), context);
|
|
15860
15860
|
}
|
|
15861
15861
|
if (output["IsTruncated"] !== undefined) {
|
|
15862
|
-
contents.IsTruncated =
|
|
15862
|
+
contents.IsTruncated = smithy_client_1.parseBoolean(output["IsTruncated"]);
|
|
15863
15863
|
}
|
|
15864
15864
|
if (output["Marker"] !== undefined) {
|
|
15865
|
-
contents.Marker =
|
|
15865
|
+
contents.Marker = smithy_client_1.expectString(output["Marker"]);
|
|
15866
15866
|
}
|
|
15867
15867
|
return contents;
|
|
15868
15868
|
};
|
|
@@ -15876,13 +15876,13 @@ const deserializeAws_queryListGroupsForUserResponse = (output, context) => {
|
|
|
15876
15876
|
contents.Groups = [];
|
|
15877
15877
|
}
|
|
15878
15878
|
if (output["Groups"] !== undefined && output["Groups"]["member"] !== undefined) {
|
|
15879
|
-
contents.Groups = deserializeAws_querygroupListType(
|
|
15879
|
+
contents.Groups = deserializeAws_querygroupListType(smithy_client_1.getArrayIfSingleItem(output["Groups"]["member"]), context);
|
|
15880
15880
|
}
|
|
15881
15881
|
if (output["IsTruncated"] !== undefined) {
|
|
15882
|
-
contents.IsTruncated =
|
|
15882
|
+
contents.IsTruncated = smithy_client_1.parseBoolean(output["IsTruncated"]);
|
|
15883
15883
|
}
|
|
15884
15884
|
if (output["Marker"] !== undefined) {
|
|
15885
|
-
contents.Marker =
|
|
15885
|
+
contents.Marker = smithy_client_1.expectString(output["Marker"]);
|
|
15886
15886
|
}
|
|
15887
15887
|
return contents;
|
|
15888
15888
|
};
|
|
@@ -15896,13 +15896,13 @@ const deserializeAws_queryListGroupsResponse = (output, context) => {
|
|
|
15896
15896
|
contents.Groups = [];
|
|
15897
15897
|
}
|
|
15898
15898
|
if (output["Groups"] !== undefined && output["Groups"]["member"] !== undefined) {
|
|
15899
|
-
contents.Groups = deserializeAws_querygroupListType(
|
|
15899
|
+
contents.Groups = deserializeAws_querygroupListType(smithy_client_1.getArrayIfSingleItem(output["Groups"]["member"]), context);
|
|
15900
15900
|
}
|
|
15901
15901
|
if (output["IsTruncated"] !== undefined) {
|
|
15902
|
-
contents.IsTruncated =
|
|
15902
|
+
contents.IsTruncated = smithy_client_1.parseBoolean(output["IsTruncated"]);
|
|
15903
15903
|
}
|
|
15904
15904
|
if (output["Marker"] !== undefined) {
|
|
15905
|
-
contents.Marker =
|
|
15905
|
+
contents.Marker = smithy_client_1.expectString(output["Marker"]);
|
|
15906
15906
|
}
|
|
15907
15907
|
return contents;
|
|
15908
15908
|
};
|
|
@@ -15916,13 +15916,13 @@ const deserializeAws_queryListInstanceProfilesForRoleResponse = (output, context
|
|
|
15916
15916
|
contents.InstanceProfiles = [];
|
|
15917
15917
|
}
|
|
15918
15918
|
if (output["InstanceProfiles"] !== undefined && output["InstanceProfiles"]["member"] !== undefined) {
|
|
15919
|
-
contents.InstanceProfiles = deserializeAws_queryinstanceProfileListType(
|
|
15919
|
+
contents.InstanceProfiles = deserializeAws_queryinstanceProfileListType(smithy_client_1.getArrayIfSingleItem(output["InstanceProfiles"]["member"]), context);
|
|
15920
15920
|
}
|
|
15921
15921
|
if (output["IsTruncated"] !== undefined) {
|
|
15922
|
-
contents.IsTruncated =
|
|
15922
|
+
contents.IsTruncated = smithy_client_1.parseBoolean(output["IsTruncated"]);
|
|
15923
15923
|
}
|
|
15924
15924
|
if (output["Marker"] !== undefined) {
|
|
15925
|
-
contents.Marker =
|
|
15925
|
+
contents.Marker = smithy_client_1.expectString(output["Marker"]);
|
|
15926
15926
|
}
|
|
15927
15927
|
return contents;
|
|
15928
15928
|
};
|
|
@@ -15936,13 +15936,13 @@ const deserializeAws_queryListInstanceProfilesResponse = (output, context) => {
|
|
|
15936
15936
|
contents.InstanceProfiles = [];
|
|
15937
15937
|
}
|
|
15938
15938
|
if (output["InstanceProfiles"] !== undefined && output["InstanceProfiles"]["member"] !== undefined) {
|
|
15939
|
-
contents.InstanceProfiles = deserializeAws_queryinstanceProfileListType(
|
|
15939
|
+
contents.InstanceProfiles = deserializeAws_queryinstanceProfileListType(smithy_client_1.getArrayIfSingleItem(output["InstanceProfiles"]["member"]), context);
|
|
15940
15940
|
}
|
|
15941
15941
|
if (output["IsTruncated"] !== undefined) {
|
|
15942
|
-
contents.IsTruncated =
|
|
15942
|
+
contents.IsTruncated = smithy_client_1.parseBoolean(output["IsTruncated"]);
|
|
15943
15943
|
}
|
|
15944
15944
|
if (output["Marker"] !== undefined) {
|
|
15945
|
-
contents.Marker =
|
|
15945
|
+
contents.Marker = smithy_client_1.expectString(output["Marker"]);
|
|
15946
15946
|
}
|
|
15947
15947
|
return contents;
|
|
15948
15948
|
};
|
|
@@ -15956,13 +15956,13 @@ const deserializeAws_queryListInstanceProfileTagsResponse = (output, context) =>
|
|
|
15956
15956
|
contents.Tags = [];
|
|
15957
15957
|
}
|
|
15958
15958
|
if (output["Tags"] !== undefined && output["Tags"]["member"] !== undefined) {
|
|
15959
|
-
contents.Tags = deserializeAws_querytagListType(
|
|
15959
|
+
contents.Tags = deserializeAws_querytagListType(smithy_client_1.getArrayIfSingleItem(output["Tags"]["member"]), context);
|
|
15960
15960
|
}
|
|
15961
15961
|
if (output["IsTruncated"] !== undefined) {
|
|
15962
|
-
contents.IsTruncated =
|
|
15962
|
+
contents.IsTruncated = smithy_client_1.parseBoolean(output["IsTruncated"]);
|
|
15963
15963
|
}
|
|
15964
15964
|
if (output["Marker"] !== undefined) {
|
|
15965
|
-
contents.Marker =
|
|
15965
|
+
contents.Marker = smithy_client_1.expectString(output["Marker"]);
|
|
15966
15966
|
}
|
|
15967
15967
|
return contents;
|
|
15968
15968
|
};
|
|
@@ -15976,13 +15976,13 @@ const deserializeAws_queryListMFADevicesResponse = (output, context) => {
|
|
|
15976
15976
|
contents.MFADevices = [];
|
|
15977
15977
|
}
|
|
15978
15978
|
if (output["MFADevices"] !== undefined && output["MFADevices"]["member"] !== undefined) {
|
|
15979
|
-
contents.MFADevices = deserializeAws_querymfaDeviceListType(
|
|
15979
|
+
contents.MFADevices = deserializeAws_querymfaDeviceListType(smithy_client_1.getArrayIfSingleItem(output["MFADevices"]["member"]), context);
|
|
15980
15980
|
}
|
|
15981
15981
|
if (output["IsTruncated"] !== undefined) {
|
|
15982
|
-
contents.IsTruncated =
|
|
15982
|
+
contents.IsTruncated = smithy_client_1.parseBoolean(output["IsTruncated"]);
|
|
15983
15983
|
}
|
|
15984
15984
|
if (output["Marker"] !== undefined) {
|
|
15985
|
-
contents.Marker =
|
|
15985
|
+
contents.Marker = smithy_client_1.expectString(output["Marker"]);
|
|
15986
15986
|
}
|
|
15987
15987
|
return contents;
|
|
15988
15988
|
};
|
|
@@ -15996,13 +15996,13 @@ const deserializeAws_queryListMFADeviceTagsResponse = (output, context) => {
|
|
|
15996
15996
|
contents.Tags = [];
|
|
15997
15997
|
}
|
|
15998
15998
|
if (output["Tags"] !== undefined && output["Tags"]["member"] !== undefined) {
|
|
15999
|
-
contents.Tags = deserializeAws_querytagListType(
|
|
15999
|
+
contents.Tags = deserializeAws_querytagListType(smithy_client_1.getArrayIfSingleItem(output["Tags"]["member"]), context);
|
|
16000
16000
|
}
|
|
16001
16001
|
if (output["IsTruncated"] !== undefined) {
|
|
16002
|
-
contents.IsTruncated =
|
|
16002
|
+
contents.IsTruncated = smithy_client_1.parseBoolean(output["IsTruncated"]);
|
|
16003
16003
|
}
|
|
16004
16004
|
if (output["Marker"] !== undefined) {
|
|
16005
|
-
contents.Marker =
|
|
16005
|
+
contents.Marker = smithy_client_1.expectString(output["Marker"]);
|
|
16006
16006
|
}
|
|
16007
16007
|
return contents;
|
|
16008
16008
|
};
|
|
@@ -16015,7 +16015,7 @@ const deserializeAws_queryListOpenIDConnectProvidersResponse = (output, context)
|
|
|
16015
16015
|
}
|
|
16016
16016
|
if (output["OpenIDConnectProviderList"] !== undefined &&
|
|
16017
16017
|
output["OpenIDConnectProviderList"]["member"] !== undefined) {
|
|
16018
|
-
contents.OpenIDConnectProviderList = deserializeAws_queryOpenIDConnectProviderListType(
|
|
16018
|
+
contents.OpenIDConnectProviderList = deserializeAws_queryOpenIDConnectProviderListType(smithy_client_1.getArrayIfSingleItem(output["OpenIDConnectProviderList"]["member"]), context);
|
|
16019
16019
|
}
|
|
16020
16020
|
return contents;
|
|
16021
16021
|
};
|
|
@@ -16029,13 +16029,13 @@ const deserializeAws_queryListOpenIDConnectProviderTagsResponse = (output, conte
|
|
|
16029
16029
|
contents.Tags = [];
|
|
16030
16030
|
}
|
|
16031
16031
|
if (output["Tags"] !== undefined && output["Tags"]["member"] !== undefined) {
|
|
16032
|
-
contents.Tags = deserializeAws_querytagListType(
|
|
16032
|
+
contents.Tags = deserializeAws_querytagListType(smithy_client_1.getArrayIfSingleItem(output["Tags"]["member"]), context);
|
|
16033
16033
|
}
|
|
16034
16034
|
if (output["IsTruncated"] !== undefined) {
|
|
16035
|
-
contents.IsTruncated =
|
|
16035
|
+
contents.IsTruncated = smithy_client_1.parseBoolean(output["IsTruncated"]);
|
|
16036
16036
|
}
|
|
16037
16037
|
if (output["Marker"] !== undefined) {
|
|
16038
|
-
contents.Marker =
|
|
16038
|
+
contents.Marker = smithy_client_1.expectString(output["Marker"]);
|
|
16039
16039
|
}
|
|
16040
16040
|
return contents;
|
|
16041
16041
|
};
|
|
@@ -16045,13 +16045,13 @@ const deserializeAws_queryListPoliciesGrantingServiceAccessEntry = (output, cont
|
|
|
16045
16045
|
Policies: undefined,
|
|
16046
16046
|
};
|
|
16047
16047
|
if (output["ServiceNamespace"] !== undefined) {
|
|
16048
|
-
contents.ServiceNamespace =
|
|
16048
|
+
contents.ServiceNamespace = smithy_client_1.expectString(output["ServiceNamespace"]);
|
|
16049
16049
|
}
|
|
16050
16050
|
if (output.Policies === "") {
|
|
16051
16051
|
contents.Policies = [];
|
|
16052
16052
|
}
|
|
16053
16053
|
if (output["Policies"] !== undefined && output["Policies"]["member"] !== undefined) {
|
|
16054
|
-
contents.Policies = deserializeAws_querypolicyGrantingServiceAccessListType(
|
|
16054
|
+
contents.Policies = deserializeAws_querypolicyGrantingServiceAccessListType(smithy_client_1.getArrayIfSingleItem(output["Policies"]["member"]), context);
|
|
16055
16055
|
}
|
|
16056
16056
|
return contents;
|
|
16057
16057
|
};
|
|
@@ -16066,13 +16066,13 @@ const deserializeAws_queryListPoliciesGrantingServiceAccessResponse = (output, c
|
|
|
16066
16066
|
}
|
|
16067
16067
|
if (output["PoliciesGrantingServiceAccess"] !== undefined &&
|
|
16068
16068
|
output["PoliciesGrantingServiceAccess"]["member"] !== undefined) {
|
|
16069
|
-
contents.PoliciesGrantingServiceAccess = deserializeAws_querylistPolicyGrantingServiceAccessResponseListType(
|
|
16069
|
+
contents.PoliciesGrantingServiceAccess = deserializeAws_querylistPolicyGrantingServiceAccessResponseListType(smithy_client_1.getArrayIfSingleItem(output["PoliciesGrantingServiceAccess"]["member"]), context);
|
|
16070
16070
|
}
|
|
16071
16071
|
if (output["IsTruncated"] !== undefined) {
|
|
16072
|
-
contents.IsTruncated =
|
|
16072
|
+
contents.IsTruncated = smithy_client_1.parseBoolean(output["IsTruncated"]);
|
|
16073
16073
|
}
|
|
16074
16074
|
if (output["Marker"] !== undefined) {
|
|
16075
|
-
contents.Marker =
|
|
16075
|
+
contents.Marker = smithy_client_1.expectString(output["Marker"]);
|
|
16076
16076
|
}
|
|
16077
16077
|
return contents;
|
|
16078
16078
|
};
|
|
@@ -16086,13 +16086,13 @@ const deserializeAws_queryListPoliciesResponse = (output, context) => {
|
|
|
16086
16086
|
contents.Policies = [];
|
|
16087
16087
|
}
|
|
16088
16088
|
if (output["Policies"] !== undefined && output["Policies"]["member"] !== undefined) {
|
|
16089
|
-
contents.Policies = deserializeAws_querypolicyListType(
|
|
16089
|
+
contents.Policies = deserializeAws_querypolicyListType(smithy_client_1.getArrayIfSingleItem(output["Policies"]["member"]), context);
|
|
16090
16090
|
}
|
|
16091
16091
|
if (output["IsTruncated"] !== undefined) {
|
|
16092
|
-
contents.IsTruncated =
|
|
16092
|
+
contents.IsTruncated = smithy_client_1.parseBoolean(output["IsTruncated"]);
|
|
16093
16093
|
}
|
|
16094
16094
|
if (output["Marker"] !== undefined) {
|
|
16095
|
-
contents.Marker =
|
|
16095
|
+
contents.Marker = smithy_client_1.expectString(output["Marker"]);
|
|
16096
16096
|
}
|
|
16097
16097
|
return contents;
|
|
16098
16098
|
};
|
|
@@ -16116,13 +16116,13 @@ const deserializeAws_queryListPolicyTagsResponse = (output, context) => {
|
|
|
16116
16116
|
contents.Tags = [];
|
|
16117
16117
|
}
|
|
16118
16118
|
if (output["Tags"] !== undefined && output["Tags"]["member"] !== undefined) {
|
|
16119
|
-
contents.Tags = deserializeAws_querytagListType(
|
|
16119
|
+
contents.Tags = deserializeAws_querytagListType(smithy_client_1.getArrayIfSingleItem(output["Tags"]["member"]), context);
|
|
16120
16120
|
}
|
|
16121
16121
|
if (output["IsTruncated"] !== undefined) {
|
|
16122
|
-
contents.IsTruncated =
|
|
16122
|
+
contents.IsTruncated = smithy_client_1.parseBoolean(output["IsTruncated"]);
|
|
16123
16123
|
}
|
|
16124
16124
|
if (output["Marker"] !== undefined) {
|
|
16125
|
-
contents.Marker =
|
|
16125
|
+
contents.Marker = smithy_client_1.expectString(output["Marker"]);
|
|
16126
16126
|
}
|
|
16127
16127
|
return contents;
|
|
16128
16128
|
};
|
|
@@ -16136,13 +16136,13 @@ const deserializeAws_queryListPolicyVersionsResponse = (output, context) => {
|
|
|
16136
16136
|
contents.Versions = [];
|
|
16137
16137
|
}
|
|
16138
16138
|
if (output["Versions"] !== undefined && output["Versions"]["member"] !== undefined) {
|
|
16139
|
-
contents.Versions = deserializeAws_querypolicyDocumentVersionListType(
|
|
16139
|
+
contents.Versions = deserializeAws_querypolicyDocumentVersionListType(smithy_client_1.getArrayIfSingleItem(output["Versions"]["member"]), context);
|
|
16140
16140
|
}
|
|
16141
16141
|
if (output["IsTruncated"] !== undefined) {
|
|
16142
|
-
contents.IsTruncated =
|
|
16142
|
+
contents.IsTruncated = smithy_client_1.parseBoolean(output["IsTruncated"]);
|
|
16143
16143
|
}
|
|
16144
16144
|
if (output["Marker"] !== undefined) {
|
|
16145
|
-
contents.Marker =
|
|
16145
|
+
contents.Marker = smithy_client_1.expectString(output["Marker"]);
|
|
16146
16146
|
}
|
|
16147
16147
|
return contents;
|
|
16148
16148
|
};
|
|
@@ -16156,13 +16156,13 @@ const deserializeAws_queryListRolePoliciesResponse = (output, context) => {
|
|
|
16156
16156
|
contents.PolicyNames = [];
|
|
16157
16157
|
}
|
|
16158
16158
|
if (output["PolicyNames"] !== undefined && output["PolicyNames"]["member"] !== undefined) {
|
|
16159
|
-
contents.PolicyNames = deserializeAws_querypolicyNameListType(
|
|
16159
|
+
contents.PolicyNames = deserializeAws_querypolicyNameListType(smithy_client_1.getArrayIfSingleItem(output["PolicyNames"]["member"]), context);
|
|
16160
16160
|
}
|
|
16161
16161
|
if (output["IsTruncated"] !== undefined) {
|
|
16162
|
-
contents.IsTruncated =
|
|
16162
|
+
contents.IsTruncated = smithy_client_1.parseBoolean(output["IsTruncated"]);
|
|
16163
16163
|
}
|
|
16164
16164
|
if (output["Marker"] !== undefined) {
|
|
16165
|
-
contents.Marker =
|
|
16165
|
+
contents.Marker = smithy_client_1.expectString(output["Marker"]);
|
|
16166
16166
|
}
|
|
16167
16167
|
return contents;
|
|
16168
16168
|
};
|
|
@@ -16176,13 +16176,13 @@ const deserializeAws_queryListRolesResponse = (output, context) => {
|
|
|
16176
16176
|
contents.Roles = [];
|
|
16177
16177
|
}
|
|
16178
16178
|
if (output["Roles"] !== undefined && output["Roles"]["member"] !== undefined) {
|
|
16179
|
-
contents.Roles = deserializeAws_queryroleListType(
|
|
16179
|
+
contents.Roles = deserializeAws_queryroleListType(smithy_client_1.getArrayIfSingleItem(output["Roles"]["member"]), context);
|
|
16180
16180
|
}
|
|
16181
16181
|
if (output["IsTruncated"] !== undefined) {
|
|
16182
|
-
contents.IsTruncated =
|
|
16182
|
+
contents.IsTruncated = smithy_client_1.parseBoolean(output["IsTruncated"]);
|
|
16183
16183
|
}
|
|
16184
16184
|
if (output["Marker"] !== undefined) {
|
|
16185
|
-
contents.Marker =
|
|
16185
|
+
contents.Marker = smithy_client_1.expectString(output["Marker"]);
|
|
16186
16186
|
}
|
|
16187
16187
|
return contents;
|
|
16188
16188
|
};
|
|
@@ -16196,13 +16196,13 @@ const deserializeAws_queryListRoleTagsResponse = (output, context) => {
|
|
|
16196
16196
|
contents.Tags = [];
|
|
16197
16197
|
}
|
|
16198
16198
|
if (output["Tags"] !== undefined && output["Tags"]["member"] !== undefined) {
|
|
16199
|
-
contents.Tags = deserializeAws_querytagListType(
|
|
16199
|
+
contents.Tags = deserializeAws_querytagListType(smithy_client_1.getArrayIfSingleItem(output["Tags"]["member"]), context);
|
|
16200
16200
|
}
|
|
16201
16201
|
if (output["IsTruncated"] !== undefined) {
|
|
16202
|
-
contents.IsTruncated =
|
|
16202
|
+
contents.IsTruncated = smithy_client_1.parseBoolean(output["IsTruncated"]);
|
|
16203
16203
|
}
|
|
16204
16204
|
if (output["Marker"] !== undefined) {
|
|
16205
|
-
contents.Marker =
|
|
16205
|
+
contents.Marker = smithy_client_1.expectString(output["Marker"]);
|
|
16206
16206
|
}
|
|
16207
16207
|
return contents;
|
|
16208
16208
|
};
|
|
@@ -16214,7 +16214,7 @@ const deserializeAws_queryListSAMLProvidersResponse = (output, context) => {
|
|
|
16214
16214
|
contents.SAMLProviderList = [];
|
|
16215
16215
|
}
|
|
16216
16216
|
if (output["SAMLProviderList"] !== undefined && output["SAMLProviderList"]["member"] !== undefined) {
|
|
16217
|
-
contents.SAMLProviderList = deserializeAws_querySAMLProviderListType(
|
|
16217
|
+
contents.SAMLProviderList = deserializeAws_querySAMLProviderListType(smithy_client_1.getArrayIfSingleItem(output["SAMLProviderList"]["member"]), context);
|
|
16218
16218
|
}
|
|
16219
16219
|
return contents;
|
|
16220
16220
|
};
|
|
@@ -16228,13 +16228,13 @@ const deserializeAws_queryListSAMLProviderTagsResponse = (output, context) => {
|
|
|
16228
16228
|
contents.Tags = [];
|
|
16229
16229
|
}
|
|
16230
16230
|
if (output["Tags"] !== undefined && output["Tags"]["member"] !== undefined) {
|
|
16231
|
-
contents.Tags = deserializeAws_querytagListType(
|
|
16231
|
+
contents.Tags = deserializeAws_querytagListType(smithy_client_1.getArrayIfSingleItem(output["Tags"]["member"]), context);
|
|
16232
16232
|
}
|
|
16233
16233
|
if (output["IsTruncated"] !== undefined) {
|
|
16234
|
-
contents.IsTruncated =
|
|
16234
|
+
contents.IsTruncated = smithy_client_1.parseBoolean(output["IsTruncated"]);
|
|
16235
16235
|
}
|
|
16236
16236
|
if (output["Marker"] !== undefined) {
|
|
16237
|
-
contents.Marker =
|
|
16237
|
+
contents.Marker = smithy_client_1.expectString(output["Marker"]);
|
|
16238
16238
|
}
|
|
16239
16239
|
return contents;
|
|
16240
16240
|
};
|
|
@@ -16249,13 +16249,13 @@ const deserializeAws_queryListServerCertificatesResponse = (output, context) =>
|
|
|
16249
16249
|
}
|
|
16250
16250
|
if (output["ServerCertificateMetadataList"] !== undefined &&
|
|
16251
16251
|
output["ServerCertificateMetadataList"]["member"] !== undefined) {
|
|
16252
|
-
contents.ServerCertificateMetadataList = deserializeAws_queryserverCertificateMetadataListType(
|
|
16252
|
+
contents.ServerCertificateMetadataList = deserializeAws_queryserverCertificateMetadataListType(smithy_client_1.getArrayIfSingleItem(output["ServerCertificateMetadataList"]["member"]), context);
|
|
16253
16253
|
}
|
|
16254
16254
|
if (output["IsTruncated"] !== undefined) {
|
|
16255
|
-
contents.IsTruncated =
|
|
16255
|
+
contents.IsTruncated = smithy_client_1.parseBoolean(output["IsTruncated"]);
|
|
16256
16256
|
}
|
|
16257
16257
|
if (output["Marker"] !== undefined) {
|
|
16258
|
-
contents.Marker =
|
|
16258
|
+
contents.Marker = smithy_client_1.expectString(output["Marker"]);
|
|
16259
16259
|
}
|
|
16260
16260
|
return contents;
|
|
16261
16261
|
};
|
|
@@ -16269,13 +16269,13 @@ const deserializeAws_queryListServerCertificateTagsResponse = (output, context)
|
|
|
16269
16269
|
contents.Tags = [];
|
|
16270
16270
|
}
|
|
16271
16271
|
if (output["Tags"] !== undefined && output["Tags"]["member"] !== undefined) {
|
|
16272
|
-
contents.Tags = deserializeAws_querytagListType(
|
|
16272
|
+
contents.Tags = deserializeAws_querytagListType(smithy_client_1.getArrayIfSingleItem(output["Tags"]["member"]), context);
|
|
16273
16273
|
}
|
|
16274
16274
|
if (output["IsTruncated"] !== undefined) {
|
|
16275
|
-
contents.IsTruncated =
|
|
16275
|
+
contents.IsTruncated = smithy_client_1.parseBoolean(output["IsTruncated"]);
|
|
16276
16276
|
}
|
|
16277
16277
|
if (output["Marker"] !== undefined) {
|
|
16278
|
-
contents.Marker =
|
|
16278
|
+
contents.Marker = smithy_client_1.expectString(output["Marker"]);
|
|
16279
16279
|
}
|
|
16280
16280
|
return contents;
|
|
16281
16281
|
};
|
|
@@ -16288,7 +16288,7 @@ const deserializeAws_queryListServiceSpecificCredentialsResponse = (output, cont
|
|
|
16288
16288
|
}
|
|
16289
16289
|
if (output["ServiceSpecificCredentials"] !== undefined &&
|
|
16290
16290
|
output["ServiceSpecificCredentials"]["member"] !== undefined) {
|
|
16291
|
-
contents.ServiceSpecificCredentials = deserializeAws_queryServiceSpecificCredentialsListType(
|
|
16291
|
+
contents.ServiceSpecificCredentials = deserializeAws_queryServiceSpecificCredentialsListType(smithy_client_1.getArrayIfSingleItem(output["ServiceSpecificCredentials"]["member"]), context);
|
|
16292
16292
|
}
|
|
16293
16293
|
return contents;
|
|
16294
16294
|
};
|
|
@@ -16302,13 +16302,13 @@ const deserializeAws_queryListSigningCertificatesResponse = (output, context) =>
|
|
|
16302
16302
|
contents.Certificates = [];
|
|
16303
16303
|
}
|
|
16304
16304
|
if (output["Certificates"] !== undefined && output["Certificates"]["member"] !== undefined) {
|
|
16305
|
-
contents.Certificates = deserializeAws_querycertificateListType(
|
|
16305
|
+
contents.Certificates = deserializeAws_querycertificateListType(smithy_client_1.getArrayIfSingleItem(output["Certificates"]["member"]), context);
|
|
16306
16306
|
}
|
|
16307
16307
|
if (output["IsTruncated"] !== undefined) {
|
|
16308
|
-
contents.IsTruncated =
|
|
16308
|
+
contents.IsTruncated = smithy_client_1.parseBoolean(output["IsTruncated"]);
|
|
16309
16309
|
}
|
|
16310
16310
|
if (output["Marker"] !== undefined) {
|
|
16311
|
-
contents.Marker =
|
|
16311
|
+
contents.Marker = smithy_client_1.expectString(output["Marker"]);
|
|
16312
16312
|
}
|
|
16313
16313
|
return contents;
|
|
16314
16314
|
};
|
|
@@ -16322,13 +16322,13 @@ const deserializeAws_queryListSSHPublicKeysResponse = (output, context) => {
|
|
|
16322
16322
|
contents.SSHPublicKeys = [];
|
|
16323
16323
|
}
|
|
16324
16324
|
if (output["SSHPublicKeys"] !== undefined && output["SSHPublicKeys"]["member"] !== undefined) {
|
|
16325
|
-
contents.SSHPublicKeys = deserializeAws_querySSHPublicKeyListType(
|
|
16325
|
+
contents.SSHPublicKeys = deserializeAws_querySSHPublicKeyListType(smithy_client_1.getArrayIfSingleItem(output["SSHPublicKeys"]["member"]), context);
|
|
16326
16326
|
}
|
|
16327
16327
|
if (output["IsTruncated"] !== undefined) {
|
|
16328
|
-
contents.IsTruncated =
|
|
16328
|
+
contents.IsTruncated = smithy_client_1.parseBoolean(output["IsTruncated"]);
|
|
16329
16329
|
}
|
|
16330
16330
|
if (output["Marker"] !== undefined) {
|
|
16331
|
-
contents.Marker =
|
|
16331
|
+
contents.Marker = smithy_client_1.expectString(output["Marker"]);
|
|
16332
16332
|
}
|
|
16333
16333
|
return contents;
|
|
16334
16334
|
};
|
|
@@ -16342,13 +16342,13 @@ const deserializeAws_queryListUserPoliciesResponse = (output, context) => {
|
|
|
16342
16342
|
contents.PolicyNames = [];
|
|
16343
16343
|
}
|
|
16344
16344
|
if (output["PolicyNames"] !== undefined && output["PolicyNames"]["member"] !== undefined) {
|
|
16345
|
-
contents.PolicyNames = deserializeAws_querypolicyNameListType(
|
|
16345
|
+
contents.PolicyNames = deserializeAws_querypolicyNameListType(smithy_client_1.getArrayIfSingleItem(output["PolicyNames"]["member"]), context);
|
|
16346
16346
|
}
|
|
16347
16347
|
if (output["IsTruncated"] !== undefined) {
|
|
16348
|
-
contents.IsTruncated =
|
|
16348
|
+
contents.IsTruncated = smithy_client_1.parseBoolean(output["IsTruncated"]);
|
|
16349
16349
|
}
|
|
16350
16350
|
if (output["Marker"] !== undefined) {
|
|
16351
|
-
contents.Marker =
|
|
16351
|
+
contents.Marker = smithy_client_1.expectString(output["Marker"]);
|
|
16352
16352
|
}
|
|
16353
16353
|
return contents;
|
|
16354
16354
|
};
|
|
@@ -16362,13 +16362,13 @@ const deserializeAws_queryListUsersResponse = (output, context) => {
|
|
|
16362
16362
|
contents.Users = [];
|
|
16363
16363
|
}
|
|
16364
16364
|
if (output["Users"] !== undefined && output["Users"]["member"] !== undefined) {
|
|
16365
|
-
contents.Users = deserializeAws_queryuserListType(
|
|
16365
|
+
contents.Users = deserializeAws_queryuserListType(smithy_client_1.getArrayIfSingleItem(output["Users"]["member"]), context);
|
|
16366
16366
|
}
|
|
16367
16367
|
if (output["IsTruncated"] !== undefined) {
|
|
16368
|
-
contents.IsTruncated =
|
|
16368
|
+
contents.IsTruncated = smithy_client_1.parseBoolean(output["IsTruncated"]);
|
|
16369
16369
|
}
|
|
16370
16370
|
if (output["Marker"] !== undefined) {
|
|
16371
|
-
contents.Marker =
|
|
16371
|
+
contents.Marker = smithy_client_1.expectString(output["Marker"]);
|
|
16372
16372
|
}
|
|
16373
16373
|
return contents;
|
|
16374
16374
|
};
|
|
@@ -16382,13 +16382,13 @@ const deserializeAws_queryListUserTagsResponse = (output, context) => {
|
|
|
16382
16382
|
contents.Tags = [];
|
|
16383
16383
|
}
|
|
16384
16384
|
if (output["Tags"] !== undefined && output["Tags"]["member"] !== undefined) {
|
|
16385
|
-
contents.Tags = deserializeAws_querytagListType(
|
|
16385
|
+
contents.Tags = deserializeAws_querytagListType(smithy_client_1.getArrayIfSingleItem(output["Tags"]["member"]), context);
|
|
16386
16386
|
}
|
|
16387
16387
|
if (output["IsTruncated"] !== undefined) {
|
|
16388
|
-
contents.IsTruncated =
|
|
16388
|
+
contents.IsTruncated = smithy_client_1.parseBoolean(output["IsTruncated"]);
|
|
16389
16389
|
}
|
|
16390
16390
|
if (output["Marker"] !== undefined) {
|
|
16391
|
-
contents.Marker =
|
|
16391
|
+
contents.Marker = smithy_client_1.expectString(output["Marker"]);
|
|
16392
16392
|
}
|
|
16393
16393
|
return contents;
|
|
16394
16394
|
};
|
|
@@ -16402,13 +16402,13 @@ const deserializeAws_queryListVirtualMFADevicesResponse = (output, context) => {
|
|
|
16402
16402
|
contents.VirtualMFADevices = [];
|
|
16403
16403
|
}
|
|
16404
16404
|
if (output["VirtualMFADevices"] !== undefined && output["VirtualMFADevices"]["member"] !== undefined) {
|
|
16405
|
-
contents.VirtualMFADevices = deserializeAws_queryvirtualMFADeviceListType(
|
|
16405
|
+
contents.VirtualMFADevices = deserializeAws_queryvirtualMFADeviceListType(smithy_client_1.getArrayIfSingleItem(output["VirtualMFADevices"]["member"]), context);
|
|
16406
16406
|
}
|
|
16407
16407
|
if (output["IsTruncated"] !== undefined) {
|
|
16408
|
-
contents.IsTruncated =
|
|
16408
|
+
contents.IsTruncated = smithy_client_1.parseBoolean(output["IsTruncated"]);
|
|
16409
16409
|
}
|
|
16410
16410
|
if (output["Marker"] !== undefined) {
|
|
16411
|
-
contents.Marker =
|
|
16411
|
+
contents.Marker = smithy_client_1.expectString(output["Marker"]);
|
|
16412
16412
|
}
|
|
16413
16413
|
return contents;
|
|
16414
16414
|
};
|
|
@@ -16419,13 +16419,13 @@ const deserializeAws_queryLoginProfile = (output, context) => {
|
|
|
16419
16419
|
PasswordResetRequired: undefined,
|
|
16420
16420
|
};
|
|
16421
16421
|
if (output["UserName"] !== undefined) {
|
|
16422
|
-
contents.UserName =
|
|
16422
|
+
contents.UserName = smithy_client_1.expectString(output["UserName"]);
|
|
16423
16423
|
}
|
|
16424
16424
|
if (output["CreateDate"] !== undefined) {
|
|
16425
|
-
contents.CreateDate =
|
|
16425
|
+
contents.CreateDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["CreateDate"]));
|
|
16426
16426
|
}
|
|
16427
16427
|
if (output["PasswordResetRequired"] !== undefined) {
|
|
16428
|
-
contents.PasswordResetRequired =
|
|
16428
|
+
contents.PasswordResetRequired = smithy_client_1.parseBoolean(output["PasswordResetRequired"]);
|
|
16429
16429
|
}
|
|
16430
16430
|
return contents;
|
|
16431
16431
|
};
|
|
@@ -16434,7 +16434,7 @@ const deserializeAws_queryMalformedCertificateException = (output, context) => {
|
|
|
16434
16434
|
message: undefined,
|
|
16435
16435
|
};
|
|
16436
16436
|
if (output["message"] !== undefined) {
|
|
16437
|
-
contents.message =
|
|
16437
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
16438
16438
|
}
|
|
16439
16439
|
return contents;
|
|
16440
16440
|
};
|
|
@@ -16443,7 +16443,7 @@ const deserializeAws_queryMalformedPolicyDocumentException = (output, context) =
|
|
|
16443
16443
|
message: undefined,
|
|
16444
16444
|
};
|
|
16445
16445
|
if (output["message"] !== undefined) {
|
|
16446
|
-
contents.message =
|
|
16446
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
16447
16447
|
}
|
|
16448
16448
|
return contents;
|
|
16449
16449
|
};
|
|
@@ -16463,43 +16463,43 @@ const deserializeAws_queryManagedPolicyDetail = (output, context) => {
|
|
|
16463
16463
|
PolicyVersionList: undefined,
|
|
16464
16464
|
};
|
|
16465
16465
|
if (output["PolicyName"] !== undefined) {
|
|
16466
|
-
contents.PolicyName =
|
|
16466
|
+
contents.PolicyName = smithy_client_1.expectString(output["PolicyName"]);
|
|
16467
16467
|
}
|
|
16468
16468
|
if (output["PolicyId"] !== undefined) {
|
|
16469
|
-
contents.PolicyId =
|
|
16469
|
+
contents.PolicyId = smithy_client_1.expectString(output["PolicyId"]);
|
|
16470
16470
|
}
|
|
16471
16471
|
if (output["Arn"] !== undefined) {
|
|
16472
|
-
contents.Arn =
|
|
16472
|
+
contents.Arn = smithy_client_1.expectString(output["Arn"]);
|
|
16473
16473
|
}
|
|
16474
16474
|
if (output["Path"] !== undefined) {
|
|
16475
|
-
contents.Path =
|
|
16475
|
+
contents.Path = smithy_client_1.expectString(output["Path"]);
|
|
16476
16476
|
}
|
|
16477
16477
|
if (output["DefaultVersionId"] !== undefined) {
|
|
16478
|
-
contents.DefaultVersionId =
|
|
16478
|
+
contents.DefaultVersionId = smithy_client_1.expectString(output["DefaultVersionId"]);
|
|
16479
16479
|
}
|
|
16480
16480
|
if (output["AttachmentCount"] !== undefined) {
|
|
16481
|
-
contents.AttachmentCount =
|
|
16481
|
+
contents.AttachmentCount = smithy_client_1.strictParseInt32(output["AttachmentCount"]);
|
|
16482
16482
|
}
|
|
16483
16483
|
if (output["PermissionsBoundaryUsageCount"] !== undefined) {
|
|
16484
|
-
contents.PermissionsBoundaryUsageCount =
|
|
16484
|
+
contents.PermissionsBoundaryUsageCount = smithy_client_1.strictParseInt32(output["PermissionsBoundaryUsageCount"]);
|
|
16485
16485
|
}
|
|
16486
16486
|
if (output["IsAttachable"] !== undefined) {
|
|
16487
|
-
contents.IsAttachable =
|
|
16487
|
+
contents.IsAttachable = smithy_client_1.parseBoolean(output["IsAttachable"]);
|
|
16488
16488
|
}
|
|
16489
16489
|
if (output["Description"] !== undefined) {
|
|
16490
|
-
contents.Description =
|
|
16490
|
+
contents.Description = smithy_client_1.expectString(output["Description"]);
|
|
16491
16491
|
}
|
|
16492
16492
|
if (output["CreateDate"] !== undefined) {
|
|
16493
|
-
contents.CreateDate =
|
|
16493
|
+
contents.CreateDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["CreateDate"]));
|
|
16494
16494
|
}
|
|
16495
16495
|
if (output["UpdateDate"] !== undefined) {
|
|
16496
|
-
contents.UpdateDate =
|
|
16496
|
+
contents.UpdateDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["UpdateDate"]));
|
|
16497
16497
|
}
|
|
16498
16498
|
if (output.PolicyVersionList === "") {
|
|
16499
16499
|
contents.PolicyVersionList = [];
|
|
16500
16500
|
}
|
|
16501
16501
|
if (output["PolicyVersionList"] !== undefined && output["PolicyVersionList"]["member"] !== undefined) {
|
|
16502
|
-
contents.PolicyVersionList = deserializeAws_querypolicyDocumentVersionListType(
|
|
16502
|
+
contents.PolicyVersionList = deserializeAws_querypolicyDocumentVersionListType(smithy_client_1.getArrayIfSingleItem(output["PolicyVersionList"]["member"]), context);
|
|
16503
16503
|
}
|
|
16504
16504
|
return contents;
|
|
16505
16505
|
};
|
|
@@ -16520,13 +16520,13 @@ const deserializeAws_queryMFADevice = (output, context) => {
|
|
|
16520
16520
|
EnableDate: undefined,
|
|
16521
16521
|
};
|
|
16522
16522
|
if (output["UserName"] !== undefined) {
|
|
16523
|
-
contents.UserName =
|
|
16523
|
+
contents.UserName = smithy_client_1.expectString(output["UserName"]);
|
|
16524
16524
|
}
|
|
16525
16525
|
if (output["SerialNumber"] !== undefined) {
|
|
16526
|
-
contents.SerialNumber =
|
|
16526
|
+
contents.SerialNumber = smithy_client_1.expectString(output["SerialNumber"]);
|
|
16527
16527
|
}
|
|
16528
16528
|
if (output["EnableDate"] !== undefined) {
|
|
16529
|
-
contents.EnableDate =
|
|
16529
|
+
contents.EnableDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["EnableDate"]));
|
|
16530
16530
|
}
|
|
16531
16531
|
return contents;
|
|
16532
16532
|
};
|
|
@@ -16545,7 +16545,7 @@ const deserializeAws_queryNoSuchEntityException = (output, context) => {
|
|
|
16545
16545
|
message: undefined,
|
|
16546
16546
|
};
|
|
16547
16547
|
if (output["message"] !== undefined) {
|
|
16548
|
-
contents.message =
|
|
16548
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
16549
16549
|
}
|
|
16550
16550
|
return contents;
|
|
16551
16551
|
};
|
|
@@ -16554,7 +16554,7 @@ const deserializeAws_queryOpenIDConnectProviderListEntry = (output, context) =>
|
|
|
16554
16554
|
Arn: undefined,
|
|
16555
16555
|
};
|
|
16556
16556
|
if (output["Arn"] !== undefined) {
|
|
16557
|
-
contents.Arn =
|
|
16557
|
+
contents.Arn = smithy_client_1.expectString(output["Arn"]);
|
|
16558
16558
|
}
|
|
16559
16559
|
return contents;
|
|
16560
16560
|
};
|
|
@@ -16573,7 +16573,7 @@ const deserializeAws_queryOrganizationsDecisionDetail = (output, context) => {
|
|
|
16573
16573
|
AllowedByOrganizations: undefined,
|
|
16574
16574
|
};
|
|
16575
16575
|
if (output["AllowedByOrganizations"] !== undefined) {
|
|
16576
|
-
contents.AllowedByOrganizations =
|
|
16576
|
+
contents.AllowedByOrganizations = smithy_client_1.parseBoolean(output["AllowedByOrganizations"]);
|
|
16577
16577
|
}
|
|
16578
16578
|
return contents;
|
|
16579
16579
|
};
|
|
@@ -16591,34 +16591,34 @@ const deserializeAws_queryPasswordPolicy = (output, context) => {
|
|
|
16591
16591
|
HardExpiry: undefined,
|
|
16592
16592
|
};
|
|
16593
16593
|
if (output["MinimumPasswordLength"] !== undefined) {
|
|
16594
|
-
contents.MinimumPasswordLength =
|
|
16594
|
+
contents.MinimumPasswordLength = smithy_client_1.strictParseInt32(output["MinimumPasswordLength"]);
|
|
16595
16595
|
}
|
|
16596
16596
|
if (output["RequireSymbols"] !== undefined) {
|
|
16597
|
-
contents.RequireSymbols =
|
|
16597
|
+
contents.RequireSymbols = smithy_client_1.parseBoolean(output["RequireSymbols"]);
|
|
16598
16598
|
}
|
|
16599
16599
|
if (output["RequireNumbers"] !== undefined) {
|
|
16600
|
-
contents.RequireNumbers =
|
|
16600
|
+
contents.RequireNumbers = smithy_client_1.parseBoolean(output["RequireNumbers"]);
|
|
16601
16601
|
}
|
|
16602
16602
|
if (output["RequireUppercaseCharacters"] !== undefined) {
|
|
16603
|
-
contents.RequireUppercaseCharacters =
|
|
16603
|
+
contents.RequireUppercaseCharacters = smithy_client_1.parseBoolean(output["RequireUppercaseCharacters"]);
|
|
16604
16604
|
}
|
|
16605
16605
|
if (output["RequireLowercaseCharacters"] !== undefined) {
|
|
16606
|
-
contents.RequireLowercaseCharacters =
|
|
16606
|
+
contents.RequireLowercaseCharacters = smithy_client_1.parseBoolean(output["RequireLowercaseCharacters"]);
|
|
16607
16607
|
}
|
|
16608
16608
|
if (output["AllowUsersToChangePassword"] !== undefined) {
|
|
16609
|
-
contents.AllowUsersToChangePassword =
|
|
16609
|
+
contents.AllowUsersToChangePassword = smithy_client_1.parseBoolean(output["AllowUsersToChangePassword"]);
|
|
16610
16610
|
}
|
|
16611
16611
|
if (output["ExpirePasswords"] !== undefined) {
|
|
16612
|
-
contents.ExpirePasswords =
|
|
16612
|
+
contents.ExpirePasswords = smithy_client_1.parseBoolean(output["ExpirePasswords"]);
|
|
16613
16613
|
}
|
|
16614
16614
|
if (output["MaxPasswordAge"] !== undefined) {
|
|
16615
|
-
contents.MaxPasswordAge =
|
|
16615
|
+
contents.MaxPasswordAge = smithy_client_1.strictParseInt32(output["MaxPasswordAge"]);
|
|
16616
16616
|
}
|
|
16617
16617
|
if (output["PasswordReusePrevention"] !== undefined) {
|
|
16618
|
-
contents.PasswordReusePrevention =
|
|
16618
|
+
contents.PasswordReusePrevention = smithy_client_1.strictParseInt32(output["PasswordReusePrevention"]);
|
|
16619
16619
|
}
|
|
16620
16620
|
if (output["HardExpiry"] !== undefined) {
|
|
16621
|
-
contents.HardExpiry =
|
|
16621
|
+
contents.HardExpiry = smithy_client_1.parseBoolean(output["HardExpiry"]);
|
|
16622
16622
|
}
|
|
16623
16623
|
return contents;
|
|
16624
16624
|
};
|
|
@@ -16627,7 +16627,7 @@ const deserializeAws_queryPasswordPolicyViolationException = (output, context) =
|
|
|
16627
16627
|
message: undefined,
|
|
16628
16628
|
};
|
|
16629
16629
|
if (output["message"] !== undefined) {
|
|
16630
|
-
contents.message =
|
|
16630
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
16631
16631
|
}
|
|
16632
16632
|
return contents;
|
|
16633
16633
|
};
|
|
@@ -16636,7 +16636,7 @@ const deserializeAws_queryPermissionsBoundaryDecisionDetail = (output, context)
|
|
|
16636
16636
|
AllowedByPermissionsBoundary: undefined,
|
|
16637
16637
|
};
|
|
16638
16638
|
if (output["AllowedByPermissionsBoundary"] !== undefined) {
|
|
16639
|
-
contents.AllowedByPermissionsBoundary =
|
|
16639
|
+
contents.AllowedByPermissionsBoundary = smithy_client_1.parseBoolean(output["AllowedByPermissionsBoundary"]);
|
|
16640
16640
|
}
|
|
16641
16641
|
return contents;
|
|
16642
16642
|
};
|
|
@@ -16656,43 +16656,43 @@ const deserializeAws_queryPolicy = (output, context) => {
|
|
|
16656
16656
|
Tags: undefined,
|
|
16657
16657
|
};
|
|
16658
16658
|
if (output["PolicyName"] !== undefined) {
|
|
16659
|
-
contents.PolicyName =
|
|
16659
|
+
contents.PolicyName = smithy_client_1.expectString(output["PolicyName"]);
|
|
16660
16660
|
}
|
|
16661
16661
|
if (output["PolicyId"] !== undefined) {
|
|
16662
|
-
contents.PolicyId =
|
|
16662
|
+
contents.PolicyId = smithy_client_1.expectString(output["PolicyId"]);
|
|
16663
16663
|
}
|
|
16664
16664
|
if (output["Arn"] !== undefined) {
|
|
16665
|
-
contents.Arn =
|
|
16665
|
+
contents.Arn = smithy_client_1.expectString(output["Arn"]);
|
|
16666
16666
|
}
|
|
16667
16667
|
if (output["Path"] !== undefined) {
|
|
16668
|
-
contents.Path =
|
|
16668
|
+
contents.Path = smithy_client_1.expectString(output["Path"]);
|
|
16669
16669
|
}
|
|
16670
16670
|
if (output["DefaultVersionId"] !== undefined) {
|
|
16671
|
-
contents.DefaultVersionId =
|
|
16671
|
+
contents.DefaultVersionId = smithy_client_1.expectString(output["DefaultVersionId"]);
|
|
16672
16672
|
}
|
|
16673
16673
|
if (output["AttachmentCount"] !== undefined) {
|
|
16674
|
-
contents.AttachmentCount =
|
|
16674
|
+
contents.AttachmentCount = smithy_client_1.strictParseInt32(output["AttachmentCount"]);
|
|
16675
16675
|
}
|
|
16676
16676
|
if (output["PermissionsBoundaryUsageCount"] !== undefined) {
|
|
16677
|
-
contents.PermissionsBoundaryUsageCount =
|
|
16677
|
+
contents.PermissionsBoundaryUsageCount = smithy_client_1.strictParseInt32(output["PermissionsBoundaryUsageCount"]);
|
|
16678
16678
|
}
|
|
16679
16679
|
if (output["IsAttachable"] !== undefined) {
|
|
16680
|
-
contents.IsAttachable =
|
|
16680
|
+
contents.IsAttachable = smithy_client_1.parseBoolean(output["IsAttachable"]);
|
|
16681
16681
|
}
|
|
16682
16682
|
if (output["Description"] !== undefined) {
|
|
16683
|
-
contents.Description =
|
|
16683
|
+
contents.Description = smithy_client_1.expectString(output["Description"]);
|
|
16684
16684
|
}
|
|
16685
16685
|
if (output["CreateDate"] !== undefined) {
|
|
16686
|
-
contents.CreateDate =
|
|
16686
|
+
contents.CreateDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["CreateDate"]));
|
|
16687
16687
|
}
|
|
16688
16688
|
if (output["UpdateDate"] !== undefined) {
|
|
16689
|
-
contents.UpdateDate =
|
|
16689
|
+
contents.UpdateDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["UpdateDate"]));
|
|
16690
16690
|
}
|
|
16691
16691
|
if (output.Tags === "") {
|
|
16692
16692
|
contents.Tags = [];
|
|
16693
16693
|
}
|
|
16694
16694
|
if (output["Tags"] !== undefined && output["Tags"]["member"] !== undefined) {
|
|
16695
|
-
contents.Tags = deserializeAws_querytagListType(
|
|
16695
|
+
contents.Tags = deserializeAws_querytagListType(smithy_client_1.getArrayIfSingleItem(output["Tags"]["member"]), context);
|
|
16696
16696
|
}
|
|
16697
16697
|
return contents;
|
|
16698
16698
|
};
|
|
@@ -16702,10 +16702,10 @@ const deserializeAws_queryPolicyDetail = (output, context) => {
|
|
|
16702
16702
|
PolicyDocument: undefined,
|
|
16703
16703
|
};
|
|
16704
16704
|
if (output["PolicyName"] !== undefined) {
|
|
16705
|
-
contents.PolicyName =
|
|
16705
|
+
contents.PolicyName = smithy_client_1.expectString(output["PolicyName"]);
|
|
16706
16706
|
}
|
|
16707
16707
|
if (output["PolicyDocument"] !== undefined) {
|
|
16708
|
-
contents.PolicyDocument =
|
|
16708
|
+
contents.PolicyDocument = smithy_client_1.expectString(output["PolicyDocument"]);
|
|
16709
16709
|
}
|
|
16710
16710
|
return contents;
|
|
16711
16711
|
};
|
|
@@ -16734,7 +16734,7 @@ const deserializeAws_queryPolicyEvaluationException = (output, context) => {
|
|
|
16734
16734
|
message: undefined,
|
|
16735
16735
|
};
|
|
16736
16736
|
if (output["message"] !== undefined) {
|
|
16737
|
-
contents.message =
|
|
16737
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
16738
16738
|
}
|
|
16739
16739
|
return contents;
|
|
16740
16740
|
};
|
|
@@ -16747,19 +16747,19 @@ const deserializeAws_queryPolicyGrantingServiceAccess = (output, context) => {
|
|
|
16747
16747
|
EntityName: undefined,
|
|
16748
16748
|
};
|
|
16749
16749
|
if (output["PolicyName"] !== undefined) {
|
|
16750
|
-
contents.PolicyName =
|
|
16750
|
+
contents.PolicyName = smithy_client_1.expectString(output["PolicyName"]);
|
|
16751
16751
|
}
|
|
16752
16752
|
if (output["PolicyType"] !== undefined) {
|
|
16753
|
-
contents.PolicyType =
|
|
16753
|
+
contents.PolicyType = smithy_client_1.expectString(output["PolicyType"]);
|
|
16754
16754
|
}
|
|
16755
16755
|
if (output["PolicyArn"] !== undefined) {
|
|
16756
|
-
contents.PolicyArn =
|
|
16756
|
+
contents.PolicyArn = smithy_client_1.expectString(output["PolicyArn"]);
|
|
16757
16757
|
}
|
|
16758
16758
|
if (output["EntityType"] !== undefined) {
|
|
16759
|
-
contents.EntityType =
|
|
16759
|
+
contents.EntityType = smithy_client_1.expectString(output["EntityType"]);
|
|
16760
16760
|
}
|
|
16761
16761
|
if (output["EntityName"] !== undefined) {
|
|
16762
|
-
contents.EntityName =
|
|
16762
|
+
contents.EntityName = smithy_client_1.expectString(output["EntityName"]);
|
|
16763
16763
|
}
|
|
16764
16764
|
return contents;
|
|
16765
16765
|
};
|
|
@@ -16779,10 +16779,10 @@ const deserializeAws_queryPolicyGroup = (output, context) => {
|
|
|
16779
16779
|
GroupId: undefined,
|
|
16780
16780
|
};
|
|
16781
16781
|
if (output["GroupName"] !== undefined) {
|
|
16782
|
-
contents.GroupName =
|
|
16782
|
+
contents.GroupName = smithy_client_1.expectString(output["GroupName"]);
|
|
16783
16783
|
}
|
|
16784
16784
|
if (output["GroupId"] !== undefined) {
|
|
16785
|
-
contents.GroupId =
|
|
16785
|
+
contents.GroupId = smithy_client_1.expectString(output["GroupId"]);
|
|
16786
16786
|
}
|
|
16787
16787
|
return contents;
|
|
16788
16788
|
};
|
|
@@ -16813,7 +16813,7 @@ const deserializeAws_querypolicyNameListType = (output, context) => {
|
|
|
16813
16813
|
if (entry === null) {
|
|
16814
16814
|
return null;
|
|
16815
16815
|
}
|
|
16816
|
-
return
|
|
16816
|
+
return smithy_client_1.expectString(entry);
|
|
16817
16817
|
});
|
|
16818
16818
|
};
|
|
16819
16819
|
const deserializeAws_queryPolicyNotAttachableException = (output, context) => {
|
|
@@ -16821,7 +16821,7 @@ const deserializeAws_queryPolicyNotAttachableException = (output, context) => {
|
|
|
16821
16821
|
message: undefined,
|
|
16822
16822
|
};
|
|
16823
16823
|
if (output["message"] !== undefined) {
|
|
16824
|
-
contents.message =
|
|
16824
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
16825
16825
|
}
|
|
16826
16826
|
return contents;
|
|
16827
16827
|
};
|
|
@@ -16831,10 +16831,10 @@ const deserializeAws_queryPolicyRole = (output, context) => {
|
|
|
16831
16831
|
RoleId: undefined,
|
|
16832
16832
|
};
|
|
16833
16833
|
if (output["RoleName"] !== undefined) {
|
|
16834
|
-
contents.RoleName =
|
|
16834
|
+
contents.RoleName = smithy_client_1.expectString(output["RoleName"]);
|
|
16835
16835
|
}
|
|
16836
16836
|
if (output["RoleId"] !== undefined) {
|
|
16837
|
-
contents.RoleId =
|
|
16837
|
+
contents.RoleId = smithy_client_1.expectString(output["RoleId"]);
|
|
16838
16838
|
}
|
|
16839
16839
|
return contents;
|
|
16840
16840
|
};
|
|
@@ -16854,10 +16854,10 @@ const deserializeAws_queryPolicyUser = (output, context) => {
|
|
|
16854
16854
|
UserId: undefined,
|
|
16855
16855
|
};
|
|
16856
16856
|
if (output["UserName"] !== undefined) {
|
|
16857
|
-
contents.UserName =
|
|
16857
|
+
contents.UserName = smithy_client_1.expectString(output["UserName"]);
|
|
16858
16858
|
}
|
|
16859
16859
|
if (output["UserId"] !== undefined) {
|
|
16860
|
-
contents.UserId =
|
|
16860
|
+
contents.UserId = smithy_client_1.expectString(output["UserId"]);
|
|
16861
16861
|
}
|
|
16862
16862
|
return contents;
|
|
16863
16863
|
};
|
|
@@ -16879,16 +16879,16 @@ const deserializeAws_queryPolicyVersion = (output, context) => {
|
|
|
16879
16879
|
CreateDate: undefined,
|
|
16880
16880
|
};
|
|
16881
16881
|
if (output["Document"] !== undefined) {
|
|
16882
|
-
contents.Document =
|
|
16882
|
+
contents.Document = smithy_client_1.expectString(output["Document"]);
|
|
16883
16883
|
}
|
|
16884
16884
|
if (output["VersionId"] !== undefined) {
|
|
16885
|
-
contents.VersionId =
|
|
16885
|
+
contents.VersionId = smithy_client_1.expectString(output["VersionId"]);
|
|
16886
16886
|
}
|
|
16887
16887
|
if (output["IsDefaultVersion"] !== undefined) {
|
|
16888
|
-
contents.IsDefaultVersion =
|
|
16888
|
+
contents.IsDefaultVersion = smithy_client_1.parseBoolean(output["IsDefaultVersion"]);
|
|
16889
16889
|
}
|
|
16890
16890
|
if (output["CreateDate"] !== undefined) {
|
|
16891
|
-
contents.CreateDate =
|
|
16891
|
+
contents.CreateDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["CreateDate"]));
|
|
16892
16892
|
}
|
|
16893
16893
|
return contents;
|
|
16894
16894
|
};
|
|
@@ -16898,10 +16898,10 @@ const deserializeAws_queryPosition = (output, context) => {
|
|
|
16898
16898
|
Column: undefined,
|
|
16899
16899
|
};
|
|
16900
16900
|
if (output["Line"] !== undefined) {
|
|
16901
|
-
contents.Line =
|
|
16901
|
+
contents.Line = smithy_client_1.strictParseInt32(output["Line"]);
|
|
16902
16902
|
}
|
|
16903
16903
|
if (output["Column"] !== undefined) {
|
|
16904
|
-
contents.Column =
|
|
16904
|
+
contents.Column = smithy_client_1.strictParseInt32(output["Column"]);
|
|
16905
16905
|
}
|
|
16906
16906
|
return contents;
|
|
16907
16907
|
};
|
|
@@ -16910,7 +16910,7 @@ const deserializeAws_queryReportGenerationLimitExceededException = (output, cont
|
|
|
16910
16910
|
message: undefined,
|
|
16911
16911
|
};
|
|
16912
16912
|
if (output["message"] !== undefined) {
|
|
16913
|
-
contents.message =
|
|
16913
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
16914
16914
|
}
|
|
16915
16915
|
return contents;
|
|
16916
16916
|
};
|
|
@@ -16933,28 +16933,28 @@ const deserializeAws_queryResourceSpecificResult = (output, context) => {
|
|
|
16933
16933
|
PermissionsBoundaryDecisionDetail: undefined,
|
|
16934
16934
|
};
|
|
16935
16935
|
if (output["EvalResourceName"] !== undefined) {
|
|
16936
|
-
contents.EvalResourceName =
|
|
16936
|
+
contents.EvalResourceName = smithy_client_1.expectString(output["EvalResourceName"]);
|
|
16937
16937
|
}
|
|
16938
16938
|
if (output["EvalResourceDecision"] !== undefined) {
|
|
16939
|
-
contents.EvalResourceDecision =
|
|
16939
|
+
contents.EvalResourceDecision = smithy_client_1.expectString(output["EvalResourceDecision"]);
|
|
16940
16940
|
}
|
|
16941
16941
|
if (output.MatchedStatements === "") {
|
|
16942
16942
|
contents.MatchedStatements = [];
|
|
16943
16943
|
}
|
|
16944
16944
|
if (output["MatchedStatements"] !== undefined && output["MatchedStatements"]["member"] !== undefined) {
|
|
16945
|
-
contents.MatchedStatements = deserializeAws_queryStatementListType(
|
|
16945
|
+
contents.MatchedStatements = deserializeAws_queryStatementListType(smithy_client_1.getArrayIfSingleItem(output["MatchedStatements"]["member"]), context);
|
|
16946
16946
|
}
|
|
16947
16947
|
if (output.MissingContextValues === "") {
|
|
16948
16948
|
contents.MissingContextValues = [];
|
|
16949
16949
|
}
|
|
16950
16950
|
if (output["MissingContextValues"] !== undefined && output["MissingContextValues"]["member"] !== undefined) {
|
|
16951
|
-
contents.MissingContextValues = deserializeAws_queryContextKeyNamesResultListType(
|
|
16951
|
+
contents.MissingContextValues = deserializeAws_queryContextKeyNamesResultListType(smithy_client_1.getArrayIfSingleItem(output["MissingContextValues"]["member"]), context);
|
|
16952
16952
|
}
|
|
16953
16953
|
if (output.EvalDecisionDetails === "") {
|
|
16954
16954
|
contents.EvalDecisionDetails = {};
|
|
16955
16955
|
}
|
|
16956
16956
|
if (output["EvalDecisionDetails"] !== undefined && output["EvalDecisionDetails"]["entry"] !== undefined) {
|
|
16957
|
-
contents.EvalDecisionDetails = deserializeAws_queryEvalDecisionDetailsType(
|
|
16957
|
+
contents.EvalDecisionDetails = deserializeAws_queryEvalDecisionDetailsType(smithy_client_1.getArrayIfSingleItem(output["EvalDecisionDetails"]["entry"]), context);
|
|
16958
16958
|
}
|
|
16959
16959
|
if (output["PermissionsBoundaryDecisionDetail"] !== undefined) {
|
|
16960
16960
|
contents.PermissionsBoundaryDecisionDetail = deserializeAws_queryPermissionsBoundaryDecisionDetail(output["PermissionsBoundaryDecisionDetail"], context);
|
|
@@ -16986,28 +16986,28 @@ const deserializeAws_queryRole = (output, context) => {
|
|
|
16986
16986
|
RoleLastUsed: undefined,
|
|
16987
16987
|
};
|
|
16988
16988
|
if (output["Path"] !== undefined) {
|
|
16989
|
-
contents.Path =
|
|
16989
|
+
contents.Path = smithy_client_1.expectString(output["Path"]);
|
|
16990
16990
|
}
|
|
16991
16991
|
if (output["RoleName"] !== undefined) {
|
|
16992
|
-
contents.RoleName =
|
|
16992
|
+
contents.RoleName = smithy_client_1.expectString(output["RoleName"]);
|
|
16993
16993
|
}
|
|
16994
16994
|
if (output["RoleId"] !== undefined) {
|
|
16995
|
-
contents.RoleId =
|
|
16995
|
+
contents.RoleId = smithy_client_1.expectString(output["RoleId"]);
|
|
16996
16996
|
}
|
|
16997
16997
|
if (output["Arn"] !== undefined) {
|
|
16998
|
-
contents.Arn =
|
|
16998
|
+
contents.Arn = smithy_client_1.expectString(output["Arn"]);
|
|
16999
16999
|
}
|
|
17000
17000
|
if (output["CreateDate"] !== undefined) {
|
|
17001
|
-
contents.CreateDate =
|
|
17001
|
+
contents.CreateDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["CreateDate"]));
|
|
17002
17002
|
}
|
|
17003
17003
|
if (output["AssumeRolePolicyDocument"] !== undefined) {
|
|
17004
|
-
contents.AssumeRolePolicyDocument =
|
|
17004
|
+
contents.AssumeRolePolicyDocument = smithy_client_1.expectString(output["AssumeRolePolicyDocument"]);
|
|
17005
17005
|
}
|
|
17006
17006
|
if (output["Description"] !== undefined) {
|
|
17007
|
-
contents.Description =
|
|
17007
|
+
contents.Description = smithy_client_1.expectString(output["Description"]);
|
|
17008
17008
|
}
|
|
17009
17009
|
if (output["MaxSessionDuration"] !== undefined) {
|
|
17010
|
-
contents.MaxSessionDuration =
|
|
17010
|
+
contents.MaxSessionDuration = smithy_client_1.strictParseInt32(output["MaxSessionDuration"]);
|
|
17011
17011
|
}
|
|
17012
17012
|
if (output["PermissionsBoundary"] !== undefined) {
|
|
17013
17013
|
contents.PermissionsBoundary = deserializeAws_queryAttachedPermissionsBoundary(output["PermissionsBoundary"], context);
|
|
@@ -17016,7 +17016,7 @@ const deserializeAws_queryRole = (output, context) => {
|
|
|
17016
17016
|
contents.Tags = [];
|
|
17017
17017
|
}
|
|
17018
17018
|
if (output["Tags"] !== undefined && output["Tags"]["member"] !== undefined) {
|
|
17019
|
-
contents.Tags = deserializeAws_querytagListType(
|
|
17019
|
+
contents.Tags = deserializeAws_querytagListType(smithy_client_1.getArrayIfSingleItem(output["Tags"]["member"]), context);
|
|
17020
17020
|
}
|
|
17021
17021
|
if (output["RoleLastUsed"] !== undefined) {
|
|
17022
17022
|
contents.RoleLastUsed = deserializeAws_queryRoleLastUsed(output["RoleLastUsed"], context);
|
|
@@ -17039,40 +17039,40 @@ const deserializeAws_queryRoleDetail = (output, context) => {
|
|
|
17039
17039
|
RoleLastUsed: undefined,
|
|
17040
17040
|
};
|
|
17041
17041
|
if (output["Path"] !== undefined) {
|
|
17042
|
-
contents.Path =
|
|
17042
|
+
contents.Path = smithy_client_1.expectString(output["Path"]);
|
|
17043
17043
|
}
|
|
17044
17044
|
if (output["RoleName"] !== undefined) {
|
|
17045
|
-
contents.RoleName =
|
|
17045
|
+
contents.RoleName = smithy_client_1.expectString(output["RoleName"]);
|
|
17046
17046
|
}
|
|
17047
17047
|
if (output["RoleId"] !== undefined) {
|
|
17048
|
-
contents.RoleId =
|
|
17048
|
+
contents.RoleId = smithy_client_1.expectString(output["RoleId"]);
|
|
17049
17049
|
}
|
|
17050
17050
|
if (output["Arn"] !== undefined) {
|
|
17051
|
-
contents.Arn =
|
|
17051
|
+
contents.Arn = smithy_client_1.expectString(output["Arn"]);
|
|
17052
17052
|
}
|
|
17053
17053
|
if (output["CreateDate"] !== undefined) {
|
|
17054
|
-
contents.CreateDate =
|
|
17054
|
+
contents.CreateDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["CreateDate"]));
|
|
17055
17055
|
}
|
|
17056
17056
|
if (output["AssumeRolePolicyDocument"] !== undefined) {
|
|
17057
|
-
contents.AssumeRolePolicyDocument =
|
|
17057
|
+
contents.AssumeRolePolicyDocument = smithy_client_1.expectString(output["AssumeRolePolicyDocument"]);
|
|
17058
17058
|
}
|
|
17059
17059
|
if (output.InstanceProfileList === "") {
|
|
17060
17060
|
contents.InstanceProfileList = [];
|
|
17061
17061
|
}
|
|
17062
17062
|
if (output["InstanceProfileList"] !== undefined && output["InstanceProfileList"]["member"] !== undefined) {
|
|
17063
|
-
contents.InstanceProfileList = deserializeAws_queryinstanceProfileListType(
|
|
17063
|
+
contents.InstanceProfileList = deserializeAws_queryinstanceProfileListType(smithy_client_1.getArrayIfSingleItem(output["InstanceProfileList"]["member"]), context);
|
|
17064
17064
|
}
|
|
17065
17065
|
if (output.RolePolicyList === "") {
|
|
17066
17066
|
contents.RolePolicyList = [];
|
|
17067
17067
|
}
|
|
17068
17068
|
if (output["RolePolicyList"] !== undefined && output["RolePolicyList"]["member"] !== undefined) {
|
|
17069
|
-
contents.RolePolicyList = deserializeAws_querypolicyDetailListType(
|
|
17069
|
+
contents.RolePolicyList = deserializeAws_querypolicyDetailListType(smithy_client_1.getArrayIfSingleItem(output["RolePolicyList"]["member"]), context);
|
|
17070
17070
|
}
|
|
17071
17071
|
if (output.AttachedManagedPolicies === "") {
|
|
17072
17072
|
contents.AttachedManagedPolicies = [];
|
|
17073
17073
|
}
|
|
17074
17074
|
if (output["AttachedManagedPolicies"] !== undefined && output["AttachedManagedPolicies"]["member"] !== undefined) {
|
|
17075
|
-
contents.AttachedManagedPolicies = deserializeAws_queryattachedPoliciesListType(
|
|
17075
|
+
contents.AttachedManagedPolicies = deserializeAws_queryattachedPoliciesListType(smithy_client_1.getArrayIfSingleItem(output["AttachedManagedPolicies"]["member"]), context);
|
|
17076
17076
|
}
|
|
17077
17077
|
if (output["PermissionsBoundary"] !== undefined) {
|
|
17078
17078
|
contents.PermissionsBoundary = deserializeAws_queryAttachedPermissionsBoundary(output["PermissionsBoundary"], context);
|
|
@@ -17081,7 +17081,7 @@ const deserializeAws_queryRoleDetail = (output, context) => {
|
|
|
17081
17081
|
contents.Tags = [];
|
|
17082
17082
|
}
|
|
17083
17083
|
if (output["Tags"] !== undefined && output["Tags"]["member"] !== undefined) {
|
|
17084
|
-
contents.Tags = deserializeAws_querytagListType(
|
|
17084
|
+
contents.Tags = deserializeAws_querytagListType(smithy_client_1.getArrayIfSingleItem(output["Tags"]["member"]), context);
|
|
17085
17085
|
}
|
|
17086
17086
|
if (output["RoleLastUsed"] !== undefined) {
|
|
17087
17087
|
contents.RoleLastUsed = deserializeAws_queryRoleLastUsed(output["RoleLastUsed"], context);
|
|
@@ -17104,10 +17104,10 @@ const deserializeAws_queryRoleLastUsed = (output, context) => {
|
|
|
17104
17104
|
Region: undefined,
|
|
17105
17105
|
};
|
|
17106
17106
|
if (output["LastUsedDate"] !== undefined) {
|
|
17107
|
-
contents.LastUsedDate =
|
|
17107
|
+
contents.LastUsedDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["LastUsedDate"]));
|
|
17108
17108
|
}
|
|
17109
17109
|
if (output["Region"] !== undefined) {
|
|
17110
|
-
contents.Region =
|
|
17110
|
+
contents.Region = smithy_client_1.expectString(output["Region"]);
|
|
17111
17111
|
}
|
|
17112
17112
|
return contents;
|
|
17113
17113
|
};
|
|
@@ -17137,13 +17137,13 @@ const deserializeAws_queryRoleUsageType = (output, context) => {
|
|
|
17137
17137
|
Resources: undefined,
|
|
17138
17138
|
};
|
|
17139
17139
|
if (output["Region"] !== undefined) {
|
|
17140
|
-
contents.Region =
|
|
17140
|
+
contents.Region = smithy_client_1.expectString(output["Region"]);
|
|
17141
17141
|
}
|
|
17142
17142
|
if (output.Resources === "") {
|
|
17143
17143
|
contents.Resources = [];
|
|
17144
17144
|
}
|
|
17145
17145
|
if (output["Resources"] !== undefined && output["Resources"]["member"] !== undefined) {
|
|
17146
|
-
contents.Resources = deserializeAws_queryArnListType(
|
|
17146
|
+
contents.Resources = deserializeAws_queryArnListType(smithy_client_1.getArrayIfSingleItem(output["Resources"]["member"]), context);
|
|
17147
17147
|
}
|
|
17148
17148
|
return contents;
|
|
17149
17149
|
};
|
|
@@ -17154,13 +17154,13 @@ const deserializeAws_querySAMLProviderListEntry = (output, context) => {
|
|
|
17154
17154
|
CreateDate: undefined,
|
|
17155
17155
|
};
|
|
17156
17156
|
if (output["Arn"] !== undefined) {
|
|
17157
|
-
contents.Arn =
|
|
17157
|
+
contents.Arn = smithy_client_1.expectString(output["Arn"]);
|
|
17158
17158
|
}
|
|
17159
17159
|
if (output["ValidUntil"] !== undefined) {
|
|
17160
|
-
contents.ValidUntil =
|
|
17160
|
+
contents.ValidUntil = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["ValidUntil"]));
|
|
17161
17161
|
}
|
|
17162
17162
|
if (output["CreateDate"] !== undefined) {
|
|
17163
|
-
contents.CreateDate =
|
|
17163
|
+
contents.CreateDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["CreateDate"]));
|
|
17164
17164
|
}
|
|
17165
17165
|
return contents;
|
|
17166
17166
|
};
|
|
@@ -17185,16 +17185,16 @@ const deserializeAws_queryServerCertificate = (output, context) => {
|
|
|
17185
17185
|
contents.ServerCertificateMetadata = deserializeAws_queryServerCertificateMetadata(output["ServerCertificateMetadata"], context);
|
|
17186
17186
|
}
|
|
17187
17187
|
if (output["CertificateBody"] !== undefined) {
|
|
17188
|
-
contents.CertificateBody =
|
|
17188
|
+
contents.CertificateBody = smithy_client_1.expectString(output["CertificateBody"]);
|
|
17189
17189
|
}
|
|
17190
17190
|
if (output["CertificateChain"] !== undefined) {
|
|
17191
|
-
contents.CertificateChain =
|
|
17191
|
+
contents.CertificateChain = smithy_client_1.expectString(output["CertificateChain"]);
|
|
17192
17192
|
}
|
|
17193
17193
|
if (output.Tags === "") {
|
|
17194
17194
|
contents.Tags = [];
|
|
17195
17195
|
}
|
|
17196
17196
|
if (output["Tags"] !== undefined && output["Tags"]["member"] !== undefined) {
|
|
17197
|
-
contents.Tags = deserializeAws_querytagListType(
|
|
17197
|
+
contents.Tags = deserializeAws_querytagListType(smithy_client_1.getArrayIfSingleItem(output["Tags"]["member"]), context);
|
|
17198
17198
|
}
|
|
17199
17199
|
return contents;
|
|
17200
17200
|
};
|
|
@@ -17208,22 +17208,22 @@ const deserializeAws_queryServerCertificateMetadata = (output, context) => {
|
|
|
17208
17208
|
Expiration: undefined,
|
|
17209
17209
|
};
|
|
17210
17210
|
if (output["Path"] !== undefined) {
|
|
17211
|
-
contents.Path =
|
|
17211
|
+
contents.Path = smithy_client_1.expectString(output["Path"]);
|
|
17212
17212
|
}
|
|
17213
17213
|
if (output["ServerCertificateName"] !== undefined) {
|
|
17214
|
-
contents.ServerCertificateName =
|
|
17214
|
+
contents.ServerCertificateName = smithy_client_1.expectString(output["ServerCertificateName"]);
|
|
17215
17215
|
}
|
|
17216
17216
|
if (output["ServerCertificateId"] !== undefined) {
|
|
17217
|
-
contents.ServerCertificateId =
|
|
17217
|
+
contents.ServerCertificateId = smithy_client_1.expectString(output["ServerCertificateId"]);
|
|
17218
17218
|
}
|
|
17219
17219
|
if (output["Arn"] !== undefined) {
|
|
17220
|
-
contents.Arn =
|
|
17220
|
+
contents.Arn = smithy_client_1.expectString(output["Arn"]);
|
|
17221
17221
|
}
|
|
17222
17222
|
if (output["UploadDate"] !== undefined) {
|
|
17223
|
-
contents.UploadDate =
|
|
17223
|
+
contents.UploadDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["UploadDate"]));
|
|
17224
17224
|
}
|
|
17225
17225
|
if (output["Expiration"] !== undefined) {
|
|
17226
|
-
contents.Expiration =
|
|
17226
|
+
contents.Expiration = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["Expiration"]));
|
|
17227
17227
|
}
|
|
17228
17228
|
return contents;
|
|
17229
17229
|
};
|
|
@@ -17242,7 +17242,7 @@ const deserializeAws_queryServiceFailureException = (output, context) => {
|
|
|
17242
17242
|
message: undefined,
|
|
17243
17243
|
};
|
|
17244
17244
|
if (output["message"] !== undefined) {
|
|
17245
|
-
contents.message =
|
|
17245
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
17246
17246
|
}
|
|
17247
17247
|
return contents;
|
|
17248
17248
|
};
|
|
@@ -17257,29 +17257,29 @@ const deserializeAws_queryServiceLastAccessed = (output, context) => {
|
|
|
17257
17257
|
TrackedActionsLastAccessed: undefined,
|
|
17258
17258
|
};
|
|
17259
17259
|
if (output["ServiceName"] !== undefined) {
|
|
17260
|
-
contents.ServiceName =
|
|
17260
|
+
contents.ServiceName = smithy_client_1.expectString(output["ServiceName"]);
|
|
17261
17261
|
}
|
|
17262
17262
|
if (output["LastAuthenticated"] !== undefined) {
|
|
17263
|
-
contents.LastAuthenticated =
|
|
17263
|
+
contents.LastAuthenticated = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["LastAuthenticated"]));
|
|
17264
17264
|
}
|
|
17265
17265
|
if (output["ServiceNamespace"] !== undefined) {
|
|
17266
|
-
contents.ServiceNamespace =
|
|
17266
|
+
contents.ServiceNamespace = smithy_client_1.expectString(output["ServiceNamespace"]);
|
|
17267
17267
|
}
|
|
17268
17268
|
if (output["LastAuthenticatedEntity"] !== undefined) {
|
|
17269
|
-
contents.LastAuthenticatedEntity =
|
|
17269
|
+
contents.LastAuthenticatedEntity = smithy_client_1.expectString(output["LastAuthenticatedEntity"]);
|
|
17270
17270
|
}
|
|
17271
17271
|
if (output["LastAuthenticatedRegion"] !== undefined) {
|
|
17272
|
-
contents.LastAuthenticatedRegion =
|
|
17272
|
+
contents.LastAuthenticatedRegion = smithy_client_1.expectString(output["LastAuthenticatedRegion"]);
|
|
17273
17273
|
}
|
|
17274
17274
|
if (output["TotalAuthenticatedEntities"] !== undefined) {
|
|
17275
|
-
contents.TotalAuthenticatedEntities =
|
|
17275
|
+
contents.TotalAuthenticatedEntities = smithy_client_1.strictParseInt32(output["TotalAuthenticatedEntities"]);
|
|
17276
17276
|
}
|
|
17277
17277
|
if (output.TrackedActionsLastAccessed === "") {
|
|
17278
17278
|
contents.TrackedActionsLastAccessed = [];
|
|
17279
17279
|
}
|
|
17280
17280
|
if (output["TrackedActionsLastAccessed"] !== undefined &&
|
|
17281
17281
|
output["TrackedActionsLastAccessed"]["member"] !== undefined) {
|
|
17282
|
-
contents.TrackedActionsLastAccessed = deserializeAws_queryTrackedActionsLastAccessed(
|
|
17282
|
+
contents.TrackedActionsLastAccessed = deserializeAws_queryTrackedActionsLastAccessed(smithy_client_1.getArrayIfSingleItem(output["TrackedActionsLastAccessed"]["member"]), context);
|
|
17283
17283
|
}
|
|
17284
17284
|
return contents;
|
|
17285
17285
|
};
|
|
@@ -17288,7 +17288,7 @@ const deserializeAws_queryServiceNotSupportedException = (output, context) => {
|
|
|
17288
17288
|
message: undefined,
|
|
17289
17289
|
};
|
|
17290
17290
|
if (output["message"] !== undefined) {
|
|
17291
|
-
contents.message =
|
|
17291
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
17292
17292
|
}
|
|
17293
17293
|
return contents;
|
|
17294
17294
|
};
|
|
@@ -17313,25 +17313,25 @@ const deserializeAws_queryServiceSpecificCredential = (output, context) => {
|
|
|
17313
17313
|
Status: undefined,
|
|
17314
17314
|
};
|
|
17315
17315
|
if (output["CreateDate"] !== undefined) {
|
|
17316
|
-
contents.CreateDate =
|
|
17316
|
+
contents.CreateDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["CreateDate"]));
|
|
17317
17317
|
}
|
|
17318
17318
|
if (output["ServiceName"] !== undefined) {
|
|
17319
|
-
contents.ServiceName =
|
|
17319
|
+
contents.ServiceName = smithy_client_1.expectString(output["ServiceName"]);
|
|
17320
17320
|
}
|
|
17321
17321
|
if (output["ServiceUserName"] !== undefined) {
|
|
17322
|
-
contents.ServiceUserName =
|
|
17322
|
+
contents.ServiceUserName = smithy_client_1.expectString(output["ServiceUserName"]);
|
|
17323
17323
|
}
|
|
17324
17324
|
if (output["ServicePassword"] !== undefined) {
|
|
17325
|
-
contents.ServicePassword =
|
|
17325
|
+
contents.ServicePassword = smithy_client_1.expectString(output["ServicePassword"]);
|
|
17326
17326
|
}
|
|
17327
17327
|
if (output["ServiceSpecificCredentialId"] !== undefined) {
|
|
17328
|
-
contents.ServiceSpecificCredentialId =
|
|
17328
|
+
contents.ServiceSpecificCredentialId = smithy_client_1.expectString(output["ServiceSpecificCredentialId"]);
|
|
17329
17329
|
}
|
|
17330
17330
|
if (output["UserName"] !== undefined) {
|
|
17331
|
-
contents.UserName =
|
|
17331
|
+
contents.UserName = smithy_client_1.expectString(output["UserName"]);
|
|
17332
17332
|
}
|
|
17333
17333
|
if (output["Status"] !== undefined) {
|
|
17334
|
-
contents.Status =
|
|
17334
|
+
contents.Status = smithy_client_1.expectString(output["Status"]);
|
|
17335
17335
|
}
|
|
17336
17336
|
return contents;
|
|
17337
17337
|
};
|
|
@@ -17345,22 +17345,22 @@ const deserializeAws_queryServiceSpecificCredentialMetadata = (output, context)
|
|
|
17345
17345
|
ServiceName: undefined,
|
|
17346
17346
|
};
|
|
17347
17347
|
if (output["UserName"] !== undefined) {
|
|
17348
|
-
contents.UserName =
|
|
17348
|
+
contents.UserName = smithy_client_1.expectString(output["UserName"]);
|
|
17349
17349
|
}
|
|
17350
17350
|
if (output["Status"] !== undefined) {
|
|
17351
|
-
contents.Status =
|
|
17351
|
+
contents.Status = smithy_client_1.expectString(output["Status"]);
|
|
17352
17352
|
}
|
|
17353
17353
|
if (output["ServiceUserName"] !== undefined) {
|
|
17354
|
-
contents.ServiceUserName =
|
|
17354
|
+
contents.ServiceUserName = smithy_client_1.expectString(output["ServiceUserName"]);
|
|
17355
17355
|
}
|
|
17356
17356
|
if (output["CreateDate"] !== undefined) {
|
|
17357
|
-
contents.CreateDate =
|
|
17357
|
+
contents.CreateDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["CreateDate"]));
|
|
17358
17358
|
}
|
|
17359
17359
|
if (output["ServiceSpecificCredentialId"] !== undefined) {
|
|
17360
|
-
contents.ServiceSpecificCredentialId =
|
|
17360
|
+
contents.ServiceSpecificCredentialId = smithy_client_1.expectString(output["ServiceSpecificCredentialId"]);
|
|
17361
17361
|
}
|
|
17362
17362
|
if (output["ServiceName"] !== undefined) {
|
|
17363
|
-
contents.ServiceName =
|
|
17363
|
+
contents.ServiceName = smithy_client_1.expectString(output["ServiceName"]);
|
|
17364
17364
|
}
|
|
17365
17365
|
return contents;
|
|
17366
17366
|
};
|
|
@@ -17383,19 +17383,19 @@ const deserializeAws_querySigningCertificate = (output, context) => {
|
|
|
17383
17383
|
UploadDate: undefined,
|
|
17384
17384
|
};
|
|
17385
17385
|
if (output["UserName"] !== undefined) {
|
|
17386
|
-
contents.UserName =
|
|
17386
|
+
contents.UserName = smithy_client_1.expectString(output["UserName"]);
|
|
17387
17387
|
}
|
|
17388
17388
|
if (output["CertificateId"] !== undefined) {
|
|
17389
|
-
contents.CertificateId =
|
|
17389
|
+
contents.CertificateId = smithy_client_1.expectString(output["CertificateId"]);
|
|
17390
17390
|
}
|
|
17391
17391
|
if (output["CertificateBody"] !== undefined) {
|
|
17392
|
-
contents.CertificateBody =
|
|
17392
|
+
contents.CertificateBody = smithy_client_1.expectString(output["CertificateBody"]);
|
|
17393
17393
|
}
|
|
17394
17394
|
if (output["Status"] !== undefined) {
|
|
17395
|
-
contents.Status =
|
|
17395
|
+
contents.Status = smithy_client_1.expectString(output["Status"]);
|
|
17396
17396
|
}
|
|
17397
17397
|
if (output["UploadDate"] !== undefined) {
|
|
17398
|
-
contents.UploadDate =
|
|
17398
|
+
contents.UploadDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["UploadDate"]));
|
|
17399
17399
|
}
|
|
17400
17400
|
return contents;
|
|
17401
17401
|
};
|
|
@@ -17409,13 +17409,13 @@ const deserializeAws_querySimulatePolicyResponse = (output, context) => {
|
|
|
17409
17409
|
contents.EvaluationResults = [];
|
|
17410
17410
|
}
|
|
17411
17411
|
if (output["EvaluationResults"] !== undefined && output["EvaluationResults"]["member"] !== undefined) {
|
|
17412
|
-
contents.EvaluationResults = deserializeAws_queryEvaluationResultsListType(
|
|
17412
|
+
contents.EvaluationResults = deserializeAws_queryEvaluationResultsListType(smithy_client_1.getArrayIfSingleItem(output["EvaluationResults"]["member"]), context);
|
|
17413
17413
|
}
|
|
17414
17414
|
if (output["IsTruncated"] !== undefined) {
|
|
17415
|
-
contents.IsTruncated =
|
|
17415
|
+
contents.IsTruncated = smithy_client_1.parseBoolean(output["IsTruncated"]);
|
|
17416
17416
|
}
|
|
17417
17417
|
if (output["Marker"] !== undefined) {
|
|
17418
|
-
contents.Marker =
|
|
17418
|
+
contents.Marker = smithy_client_1.expectString(output["Marker"]);
|
|
17419
17419
|
}
|
|
17420
17420
|
return contents;
|
|
17421
17421
|
};
|
|
@@ -17429,22 +17429,22 @@ const deserializeAws_querySSHPublicKey = (output, context) => {
|
|
|
17429
17429
|
UploadDate: undefined,
|
|
17430
17430
|
};
|
|
17431
17431
|
if (output["UserName"] !== undefined) {
|
|
17432
|
-
contents.UserName =
|
|
17432
|
+
contents.UserName = smithy_client_1.expectString(output["UserName"]);
|
|
17433
17433
|
}
|
|
17434
17434
|
if (output["SSHPublicKeyId"] !== undefined) {
|
|
17435
|
-
contents.SSHPublicKeyId =
|
|
17435
|
+
contents.SSHPublicKeyId = smithy_client_1.expectString(output["SSHPublicKeyId"]);
|
|
17436
17436
|
}
|
|
17437
17437
|
if (output["Fingerprint"] !== undefined) {
|
|
17438
|
-
contents.Fingerprint =
|
|
17438
|
+
contents.Fingerprint = smithy_client_1.expectString(output["Fingerprint"]);
|
|
17439
17439
|
}
|
|
17440
17440
|
if (output["SSHPublicKeyBody"] !== undefined) {
|
|
17441
|
-
contents.SSHPublicKeyBody =
|
|
17441
|
+
contents.SSHPublicKeyBody = smithy_client_1.expectString(output["SSHPublicKeyBody"]);
|
|
17442
17442
|
}
|
|
17443
17443
|
if (output["Status"] !== undefined) {
|
|
17444
|
-
contents.Status =
|
|
17444
|
+
contents.Status = smithy_client_1.expectString(output["Status"]);
|
|
17445
17445
|
}
|
|
17446
17446
|
if (output["UploadDate"] !== undefined) {
|
|
17447
|
-
contents.UploadDate =
|
|
17447
|
+
contents.UploadDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["UploadDate"]));
|
|
17448
17448
|
}
|
|
17449
17449
|
return contents;
|
|
17450
17450
|
};
|
|
@@ -17466,16 +17466,16 @@ const deserializeAws_querySSHPublicKeyMetadata = (output, context) => {
|
|
|
17466
17466
|
UploadDate: undefined,
|
|
17467
17467
|
};
|
|
17468
17468
|
if (output["UserName"] !== undefined) {
|
|
17469
|
-
contents.UserName =
|
|
17469
|
+
contents.UserName = smithy_client_1.expectString(output["UserName"]);
|
|
17470
17470
|
}
|
|
17471
17471
|
if (output["SSHPublicKeyId"] !== undefined) {
|
|
17472
|
-
contents.SSHPublicKeyId =
|
|
17472
|
+
contents.SSHPublicKeyId = smithy_client_1.expectString(output["SSHPublicKeyId"]);
|
|
17473
17473
|
}
|
|
17474
17474
|
if (output["Status"] !== undefined) {
|
|
17475
|
-
contents.Status =
|
|
17475
|
+
contents.Status = smithy_client_1.expectString(output["Status"]);
|
|
17476
17476
|
}
|
|
17477
17477
|
if (output["UploadDate"] !== undefined) {
|
|
17478
|
-
contents.UploadDate =
|
|
17478
|
+
contents.UploadDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["UploadDate"]));
|
|
17479
17479
|
}
|
|
17480
17480
|
return contents;
|
|
17481
17481
|
};
|
|
@@ -17487,10 +17487,10 @@ const deserializeAws_queryStatement = (output, context) => {
|
|
|
17487
17487
|
EndPosition: undefined,
|
|
17488
17488
|
};
|
|
17489
17489
|
if (output["SourcePolicyId"] !== undefined) {
|
|
17490
|
-
contents.SourcePolicyId =
|
|
17490
|
+
contents.SourcePolicyId = smithy_client_1.expectString(output["SourcePolicyId"]);
|
|
17491
17491
|
}
|
|
17492
17492
|
if (output["SourcePolicyType"] !== undefined) {
|
|
17493
|
-
contents.SourcePolicyType =
|
|
17493
|
+
contents.SourcePolicyType = smithy_client_1.expectString(output["SourcePolicyType"]);
|
|
17494
17494
|
}
|
|
17495
17495
|
if (output["StartPosition"] !== undefined) {
|
|
17496
17496
|
contents.StartPosition = deserializeAws_queryPosition(output["StartPosition"], context);
|
|
@@ -17517,7 +17517,7 @@ const deserializeAws_querysummaryMapType = (output, context) => {
|
|
|
17517
17517
|
}
|
|
17518
17518
|
return {
|
|
17519
17519
|
...acc,
|
|
17520
|
-
[pair["key"]]:
|
|
17520
|
+
[pair["key"]]: smithy_client_1.strictParseInt32(pair["value"]),
|
|
17521
17521
|
};
|
|
17522
17522
|
}, {});
|
|
17523
17523
|
};
|
|
@@ -17527,10 +17527,10 @@ const deserializeAws_queryTag = (output, context) => {
|
|
|
17527
17527
|
Value: undefined,
|
|
17528
17528
|
};
|
|
17529
17529
|
if (output["Key"] !== undefined) {
|
|
17530
|
-
contents.Key =
|
|
17530
|
+
contents.Key = smithy_client_1.expectString(output["Key"]);
|
|
17531
17531
|
}
|
|
17532
17532
|
if (output["Value"] !== undefined) {
|
|
17533
|
-
contents.Value =
|
|
17533
|
+
contents.Value = smithy_client_1.expectString(output["Value"]);
|
|
17534
17534
|
}
|
|
17535
17535
|
return contents;
|
|
17536
17536
|
};
|
|
@@ -17551,7 +17551,7 @@ const deserializeAws_querythumbprintListType = (output, context) => {
|
|
|
17551
17551
|
if (entry === null) {
|
|
17552
17552
|
return null;
|
|
17553
17553
|
}
|
|
17554
|
-
return
|
|
17554
|
+
return smithy_client_1.expectString(entry);
|
|
17555
17555
|
});
|
|
17556
17556
|
};
|
|
17557
17557
|
const deserializeAws_queryTrackedActionLastAccessed = (output, context) => {
|
|
@@ -17562,16 +17562,16 @@ const deserializeAws_queryTrackedActionLastAccessed = (output, context) => {
|
|
|
17562
17562
|
LastAccessedRegion: undefined,
|
|
17563
17563
|
};
|
|
17564
17564
|
if (output["ActionName"] !== undefined) {
|
|
17565
|
-
contents.ActionName =
|
|
17565
|
+
contents.ActionName = smithy_client_1.expectString(output["ActionName"]);
|
|
17566
17566
|
}
|
|
17567
17567
|
if (output["LastAccessedEntity"] !== undefined) {
|
|
17568
|
-
contents.LastAccessedEntity =
|
|
17568
|
+
contents.LastAccessedEntity = smithy_client_1.expectString(output["LastAccessedEntity"]);
|
|
17569
17569
|
}
|
|
17570
17570
|
if (output["LastAccessedTime"] !== undefined) {
|
|
17571
|
-
contents.LastAccessedTime =
|
|
17571
|
+
contents.LastAccessedTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["LastAccessedTime"]));
|
|
17572
17572
|
}
|
|
17573
17573
|
if (output["LastAccessedRegion"] !== undefined) {
|
|
17574
|
-
contents.LastAccessedRegion =
|
|
17574
|
+
contents.LastAccessedRegion = smithy_client_1.expectString(output["LastAccessedRegion"]);
|
|
17575
17575
|
}
|
|
17576
17576
|
return contents;
|
|
17577
17577
|
};
|
|
@@ -17590,7 +17590,7 @@ const deserializeAws_queryUnmodifiableEntityException = (output, context) => {
|
|
|
17590
17590
|
message: undefined,
|
|
17591
17591
|
};
|
|
17592
17592
|
if (output["message"] !== undefined) {
|
|
17593
|
-
contents.message =
|
|
17593
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
17594
17594
|
}
|
|
17595
17595
|
return contents;
|
|
17596
17596
|
};
|
|
@@ -17599,7 +17599,7 @@ const deserializeAws_queryUnrecognizedPublicKeyEncodingException = (output, cont
|
|
|
17599
17599
|
message: undefined,
|
|
17600
17600
|
};
|
|
17601
17601
|
if (output["message"] !== undefined) {
|
|
17602
|
-
contents.message =
|
|
17602
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
17603
17603
|
}
|
|
17604
17604
|
return contents;
|
|
17605
17605
|
};
|
|
@@ -17621,7 +17621,7 @@ const deserializeAws_queryUpdateSAMLProviderResponse = (output, context) => {
|
|
|
17621
17621
|
SAMLProviderArn: undefined,
|
|
17622
17622
|
};
|
|
17623
17623
|
if (output["SAMLProviderArn"] !== undefined) {
|
|
17624
|
-
contents.SAMLProviderArn =
|
|
17624
|
+
contents.SAMLProviderArn = smithy_client_1.expectString(output["SAMLProviderArn"]);
|
|
17625
17625
|
}
|
|
17626
17626
|
return contents;
|
|
17627
17627
|
};
|
|
@@ -17637,7 +17637,7 @@ const deserializeAws_queryUploadServerCertificateResponse = (output, context) =>
|
|
|
17637
17637
|
contents.Tags = [];
|
|
17638
17638
|
}
|
|
17639
17639
|
if (output["Tags"] !== undefined && output["Tags"]["member"] !== undefined) {
|
|
17640
|
-
contents.Tags = deserializeAws_querytagListType(
|
|
17640
|
+
contents.Tags = deserializeAws_querytagListType(smithy_client_1.getArrayIfSingleItem(output["Tags"]["member"]), context);
|
|
17641
17641
|
}
|
|
17642
17642
|
return contents;
|
|
17643
17643
|
};
|
|
@@ -17671,22 +17671,22 @@ const deserializeAws_queryUser = (output, context) => {
|
|
|
17671
17671
|
Tags: undefined,
|
|
17672
17672
|
};
|
|
17673
17673
|
if (output["Path"] !== undefined) {
|
|
17674
|
-
contents.Path =
|
|
17674
|
+
contents.Path = smithy_client_1.expectString(output["Path"]);
|
|
17675
17675
|
}
|
|
17676
17676
|
if (output["UserName"] !== undefined) {
|
|
17677
|
-
contents.UserName =
|
|
17677
|
+
contents.UserName = smithy_client_1.expectString(output["UserName"]);
|
|
17678
17678
|
}
|
|
17679
17679
|
if (output["UserId"] !== undefined) {
|
|
17680
|
-
contents.UserId =
|
|
17680
|
+
contents.UserId = smithy_client_1.expectString(output["UserId"]);
|
|
17681
17681
|
}
|
|
17682
17682
|
if (output["Arn"] !== undefined) {
|
|
17683
|
-
contents.Arn =
|
|
17683
|
+
contents.Arn = smithy_client_1.expectString(output["Arn"]);
|
|
17684
17684
|
}
|
|
17685
17685
|
if (output["CreateDate"] !== undefined) {
|
|
17686
|
-
contents.CreateDate =
|
|
17686
|
+
contents.CreateDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["CreateDate"]));
|
|
17687
17687
|
}
|
|
17688
17688
|
if (output["PasswordLastUsed"] !== undefined) {
|
|
17689
|
-
contents.PasswordLastUsed =
|
|
17689
|
+
contents.PasswordLastUsed = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["PasswordLastUsed"]));
|
|
17690
17690
|
}
|
|
17691
17691
|
if (output["PermissionsBoundary"] !== undefined) {
|
|
17692
17692
|
contents.PermissionsBoundary = deserializeAws_queryAttachedPermissionsBoundary(output["PermissionsBoundary"], context);
|
|
@@ -17695,7 +17695,7 @@ const deserializeAws_queryUser = (output, context) => {
|
|
|
17695
17695
|
contents.Tags = [];
|
|
17696
17696
|
}
|
|
17697
17697
|
if (output["Tags"] !== undefined && output["Tags"]["member"] !== undefined) {
|
|
17698
|
-
contents.Tags = deserializeAws_querytagListType(
|
|
17698
|
+
contents.Tags = deserializeAws_querytagListType(smithy_client_1.getArrayIfSingleItem(output["Tags"]["member"]), context);
|
|
17699
17699
|
}
|
|
17700
17700
|
return contents;
|
|
17701
17701
|
};
|
|
@@ -17713,37 +17713,37 @@ const deserializeAws_queryUserDetail = (output, context) => {
|
|
|
17713
17713
|
Tags: undefined,
|
|
17714
17714
|
};
|
|
17715
17715
|
if (output["Path"] !== undefined) {
|
|
17716
|
-
contents.Path =
|
|
17716
|
+
contents.Path = smithy_client_1.expectString(output["Path"]);
|
|
17717
17717
|
}
|
|
17718
17718
|
if (output["UserName"] !== undefined) {
|
|
17719
|
-
contents.UserName =
|
|
17719
|
+
contents.UserName = smithy_client_1.expectString(output["UserName"]);
|
|
17720
17720
|
}
|
|
17721
17721
|
if (output["UserId"] !== undefined) {
|
|
17722
|
-
contents.UserId =
|
|
17722
|
+
contents.UserId = smithy_client_1.expectString(output["UserId"]);
|
|
17723
17723
|
}
|
|
17724
17724
|
if (output["Arn"] !== undefined) {
|
|
17725
|
-
contents.Arn =
|
|
17725
|
+
contents.Arn = smithy_client_1.expectString(output["Arn"]);
|
|
17726
17726
|
}
|
|
17727
17727
|
if (output["CreateDate"] !== undefined) {
|
|
17728
|
-
contents.CreateDate =
|
|
17728
|
+
contents.CreateDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["CreateDate"]));
|
|
17729
17729
|
}
|
|
17730
17730
|
if (output.UserPolicyList === "") {
|
|
17731
17731
|
contents.UserPolicyList = [];
|
|
17732
17732
|
}
|
|
17733
17733
|
if (output["UserPolicyList"] !== undefined && output["UserPolicyList"]["member"] !== undefined) {
|
|
17734
|
-
contents.UserPolicyList = deserializeAws_querypolicyDetailListType(
|
|
17734
|
+
contents.UserPolicyList = deserializeAws_querypolicyDetailListType(smithy_client_1.getArrayIfSingleItem(output["UserPolicyList"]["member"]), context);
|
|
17735
17735
|
}
|
|
17736
17736
|
if (output.GroupList === "") {
|
|
17737
17737
|
contents.GroupList = [];
|
|
17738
17738
|
}
|
|
17739
17739
|
if (output["GroupList"] !== undefined && output["GroupList"]["member"] !== undefined) {
|
|
17740
|
-
contents.GroupList = deserializeAws_querygroupNameListType(
|
|
17740
|
+
contents.GroupList = deserializeAws_querygroupNameListType(smithy_client_1.getArrayIfSingleItem(output["GroupList"]["member"]), context);
|
|
17741
17741
|
}
|
|
17742
17742
|
if (output.AttachedManagedPolicies === "") {
|
|
17743
17743
|
contents.AttachedManagedPolicies = [];
|
|
17744
17744
|
}
|
|
17745
17745
|
if (output["AttachedManagedPolicies"] !== undefined && output["AttachedManagedPolicies"]["member"] !== undefined) {
|
|
17746
|
-
contents.AttachedManagedPolicies = deserializeAws_queryattachedPoliciesListType(
|
|
17746
|
+
contents.AttachedManagedPolicies = deserializeAws_queryattachedPoliciesListType(smithy_client_1.getArrayIfSingleItem(output["AttachedManagedPolicies"]["member"]), context);
|
|
17747
17747
|
}
|
|
17748
17748
|
if (output["PermissionsBoundary"] !== undefined) {
|
|
17749
17749
|
contents.PermissionsBoundary = deserializeAws_queryAttachedPermissionsBoundary(output["PermissionsBoundary"], context);
|
|
@@ -17752,7 +17752,7 @@ const deserializeAws_queryUserDetail = (output, context) => {
|
|
|
17752
17752
|
contents.Tags = [];
|
|
17753
17753
|
}
|
|
17754
17754
|
if (output["Tags"] !== undefined && output["Tags"]["member"] !== undefined) {
|
|
17755
|
-
contents.Tags = deserializeAws_querytagListType(
|
|
17755
|
+
contents.Tags = deserializeAws_querytagListType(smithy_client_1.getArrayIfSingleItem(output["Tags"]["member"]), context);
|
|
17756
17756
|
}
|
|
17757
17757
|
return contents;
|
|
17758
17758
|
};
|
|
@@ -17786,7 +17786,7 @@ const deserializeAws_queryVirtualMFADevice = (output, context) => {
|
|
|
17786
17786
|
Tags: undefined,
|
|
17787
17787
|
};
|
|
17788
17788
|
if (output["SerialNumber"] !== undefined) {
|
|
17789
|
-
contents.SerialNumber =
|
|
17789
|
+
contents.SerialNumber = smithy_client_1.expectString(output["SerialNumber"]);
|
|
17790
17790
|
}
|
|
17791
17791
|
if (output["Base32StringSeed"] !== undefined) {
|
|
17792
17792
|
contents.Base32StringSeed = context.base64Decoder(output["Base32StringSeed"]);
|
|
@@ -17798,13 +17798,13 @@ const deserializeAws_queryVirtualMFADevice = (output, context) => {
|
|
|
17798
17798
|
contents.User = deserializeAws_queryUser(output["User"], context);
|
|
17799
17799
|
}
|
|
17800
17800
|
if (output["EnableDate"] !== undefined) {
|
|
17801
|
-
contents.EnableDate =
|
|
17801
|
+
contents.EnableDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["EnableDate"]));
|
|
17802
17802
|
}
|
|
17803
17803
|
if (output.Tags === "") {
|
|
17804
17804
|
contents.Tags = [];
|
|
17805
17805
|
}
|
|
17806
17806
|
if (output["Tags"] !== undefined && output["Tags"]["member"] !== undefined) {
|
|
17807
|
-
contents.Tags = deserializeAws_querytagListType(
|
|
17807
|
+
contents.Tags = deserializeAws_querytagListType(smithy_client_1.getArrayIfSingleItem(output["Tags"]["member"]), context);
|
|
17808
17808
|
}
|
|
17809
17809
|
return contents;
|
|
17810
17810
|
};
|
|
@@ -17856,12 +17856,12 @@ const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, bod
|
|
|
17856
17856
|
};
|
|
17857
17857
|
const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
17858
17858
|
if (encoded.length) {
|
|
17859
|
-
const parsedObj =
|
|
17859
|
+
const parsedObj = fast_xml_parser_1.parse(encoded, {
|
|
17860
17860
|
attributeNamePrefix: "",
|
|
17861
17861
|
ignoreAttributes: false,
|
|
17862
17862
|
parseNodeValue: false,
|
|
17863
17863
|
trimValues: false,
|
|
17864
|
-
tagValueProcessor: (val) => (val.trim() === "" && val.includes("\n") ? "" :
|
|
17864
|
+
tagValueProcessor: (val) => (val.trim() === "" && val.includes("\n") ? "" : entities_1.decodeHTML(val)),
|
|
17865
17865
|
});
|
|
17866
17866
|
const textNodeName = "#text";
|
|
17867
17867
|
const key = Object.keys(parsedObj)[0];
|
|
@@ -17870,12 +17870,12 @@ const parseBody = (streamBody, context) => collectBodyString(streamBody, context
|
|
|
17870
17870
|
parsedObjToReturn[key] = parsedObjToReturn[textNodeName];
|
|
17871
17871
|
delete parsedObjToReturn[textNodeName];
|
|
17872
17872
|
}
|
|
17873
|
-
return
|
|
17873
|
+
return smithy_client_1.getValueFromTextNode(parsedObjToReturn);
|
|
17874
17874
|
}
|
|
17875
17875
|
return {};
|
|
17876
17876
|
});
|
|
17877
17877
|
const buildFormUrlencodedString = (formEntries) => Object.entries(formEntries)
|
|
17878
|
-
.map(([key, value]) =>
|
|
17878
|
+
.map(([key, value]) => smithy_client_1.extendedEncodeURIComponent(key) + "=" + smithy_client_1.extendedEncodeURIComponent(value))
|
|
17879
17879
|
.join("&");
|
|
17880
17880
|
const loadQueryErrorCode = (output, data) => {
|
|
17881
17881
|
if (data.Error.Code !== undefined) {
|