docs: public void marshall(AssociateResourceShareRequest associateResourceShareRequest, ProtocolMarshaller protocolMarshaller) {
  
          if (associateResourceShareRequest == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(associateResourceShareRequest.getResourceShareArn(), RESOURCESHAREARN_BINDING);
              protocolMarshaller.marshall(associateResourceShareRequest.getResourceArns(), RESOURCEARNS_BINDING);
              protocolMarshaller.marshall(associateResourceShareRequest.getPrincipals(), PRINCIPALS_BINDING);
              protocolMarshaller.marshall(associateResourceShareRequest.getClientToken(), CLIENTTOKEN_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }