code: public void marshall(Authorizer authorizer, ProtocolMarshaller protocolMarshaller) {
  
          if (authorizer == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(authorizer.getAuthorizerCredentialsArn(), AUTHORIZERCREDENTIALSARN_BINDING);
              protocolMarshaller.marshall(authorizer.getAuthorizerId(), AUTHORIZERID_BINDING);
              protocolMarshaller.marshall(authorizer.getAuthorizerResultTtlInSeconds(), AUTHORIZERRESULTTTLINSECONDS_BINDING);
              protocolMarshaller.marshall(authorizer.getAuthorizerType(), AUTHORIZERTYPE_BINDING);
              protocolMarshaller.marshall(authorizer.getAuthorizerUri(), AUTHORIZERURI_BINDING);
              protocolMarshaller.marshall(authorizer.getIdentitySource(), IDENTITYSOURCE_BINDING);
              protocolMarshaller.marshall(authorizer.getIdentityValidationExpression(), IDENTITYVALIDATIONEXPRESSION_BINDING);
              protocolMarshaller.marshall(authorizer.getName(), NAME_BINDING);
              protocolMarshaller.marshall(authorizer.getProviderArns(), PROVIDERARNS_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }
docs: Marshall the given parameter object.