code: public void marshall(ListAttachedPoliciesRequest listAttachedPoliciesRequest, ProtocolMarshaller protocolMarshaller) {
  
          if (listAttachedPoliciesRequest == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(listAttachedPoliciesRequest.getTarget(), TARGET_BINDING);
              protocolMarshaller.marshall(listAttachedPoliciesRequest.getRecursive(), RECURSIVE_BINDING);
              protocolMarshaller.marshall(listAttachedPoliciesRequest.getMarker(), MARKER_BINDING);
              protocolMarshaller.marshall(listAttachedPoliciesRequest.getPageSize(), PAGESIZE_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }
docs: Marshall the given parameter object.