AwsXmlProtocolFactory.createProtocolMarshaller
Code IndexAdd Codota to your IDE (free)

Best Java code snippets using software.amazon.awssdk.protocols.xml.AwsXmlProtocolFactory.createProtocolMarshaller (Showing top 20 results out of 315)

origin: aws/aws-sdk-java-v2

  @Override
  public SdkHttpFullRequest marshall(ListMultipartUploadsRequest listMultipartUploadsRequest) {
    Validate.paramNotNull(listMultipartUploadsRequest, "listMultipartUploadsRequest");
    try {
      ProtocolMarshaller<SdkHttpFullRequest> protocolMarshaller = protocolFactory
          .createProtocolMarshaller(SDK_OPERATION_BINDING);
      return protocolMarshaller.marshall(listMultipartUploadsRequest);
    } catch (Exception e) {
      throw SdkClientException.builder().message("Unable to marshall request to JSON: " + e.getMessage()).cause(e).build();
    }
  }
}
origin: aws/aws-sdk-java-v2

  @Override
  public SdkHttpFullRequest marshall(PutBucketPolicyRequest putBucketPolicyRequest) {
    Validate.paramNotNull(putBucketPolicyRequest, "putBucketPolicyRequest");
    try {
      ProtocolMarshaller<SdkHttpFullRequest> protocolMarshaller = protocolFactory
          .createProtocolMarshaller(SDK_OPERATION_BINDING);
      return protocolMarshaller.marshall(putBucketPolicyRequest);
    } catch (Exception e) {
      throw SdkClientException.builder().message("Unable to marshall request to JSON: " + e.getMessage()).cause(e).build();
    }
  }
}
origin: aws/aws-sdk-java-v2

  @Override
  public SdkHttpFullRequest marshall(GetBucketLocationRequest getBucketLocationRequest) {
    Validate.paramNotNull(getBucketLocationRequest, "getBucketLocationRequest");
    try {
      ProtocolMarshaller<SdkHttpFullRequest> protocolMarshaller = protocolFactory
          .createProtocolMarshaller(SDK_OPERATION_BINDING);
      return protocolMarshaller.marshall(getBucketLocationRequest);
    } catch (Exception e) {
      throw SdkClientException.builder().message("Unable to marshall request to JSON: " + e.getMessage()).cause(e).build();
    }
  }
}
origin: aws/aws-sdk-java-v2

  @Override
  public SdkHttpFullRequest marshall(MembersInQueryParamsRequest membersInQueryParamsRequest) {
    Validate.paramNotNull(membersInQueryParamsRequest, "membersInQueryParamsRequest");
    try {
      ProtocolMarshaller<SdkHttpFullRequest> protocolMarshaller = protocolFactory
          .createProtocolMarshaller(SDK_OPERATION_BINDING);
      return protocolMarshaller.marshall(membersInQueryParamsRequest);
    } catch (Exception e) {
      throw SdkClientException.builder().message("Unable to marshall request to JSON: " + e.getMessage()).cause(e).build();
    }
  }
}
origin: aws/aws-sdk-java-v2

  @Override
  public SdkHttpFullRequest marshall(PutBucketTaggingRequest putBucketTaggingRequest) {
    Validate.paramNotNull(putBucketTaggingRequest, "putBucketTaggingRequest");
    try {
      ProtocolMarshaller<SdkHttpFullRequest> protocolMarshaller = protocolFactory
          .createProtocolMarshaller(SDK_OPERATION_BINDING);
      return protocolMarshaller.marshall(putBucketTaggingRequest);
    } catch (Exception e) {
      throw SdkClientException.builder().message("Unable to marshall request to JSON: " + e.getMessage()).cause(e).build();
    }
  }
}
origin: aws/aws-sdk-java-v2

  @Override
  public SdkHttpFullRequest marshall(CreateMultipartUploadRequest createMultipartUploadRequest) {
    Validate.paramNotNull(createMultipartUploadRequest, "createMultipartUploadRequest");
    try {
      ProtocolMarshaller<SdkHttpFullRequest> protocolMarshaller = protocolFactory
          .createProtocolMarshaller(SDK_OPERATION_BINDING);
      return protocolMarshaller.marshall(createMultipartUploadRequest);
    } catch (Exception e) {
      throw SdkClientException.builder().message("Unable to marshall request to JSON: " + e.getMessage()).cause(e).build();
    }
  }
}
origin: aws/aws-sdk-java-v2

  @Override
  public SdkHttpFullRequest marshall(GetBucketAnalyticsConfigurationRequest getBucketAnalyticsConfigurationRequest) {
    Validate.paramNotNull(getBucketAnalyticsConfigurationRequest, "getBucketAnalyticsConfigurationRequest");
    try {
      ProtocolMarshaller<SdkHttpFullRequest> protocolMarshaller = protocolFactory
          .createProtocolMarshaller(SDK_OPERATION_BINDING);
      return protocolMarshaller.marshall(getBucketAnalyticsConfigurationRequest);
    } catch (Exception e) {
      throw SdkClientException.builder().message("Unable to marshall request to JSON: " + e.getMessage()).cause(e).build();
    }
  }
}
origin: aws/aws-sdk-java-v2

  @Override
  public SdkHttpFullRequest marshall(PutBucketLifecycleConfigurationRequest putBucketLifecycleConfigurationRequest) {
    Validate.paramNotNull(putBucketLifecycleConfigurationRequest, "putBucketLifecycleConfigurationRequest");
    try {
      ProtocolMarshaller<SdkHttpFullRequest> protocolMarshaller = protocolFactory
          .createProtocolMarshaller(SDK_OPERATION_BINDING);
      return protocolMarshaller.marshall(putBucketLifecycleConfigurationRequest);
    } catch (Exception e) {
      throw SdkClientException.builder().message("Unable to marshall request to JSON: " + e.getMessage()).cause(e).build();
    }
  }
}
origin: aws/aws-sdk-java-v2

  @Override
  public SdkHttpFullRequest marshall(PutBucketVersioningRequest putBucketVersioningRequest) {
    Validate.paramNotNull(putBucketVersioningRequest, "putBucketVersioningRequest");
    try {
      ProtocolMarshaller<SdkHttpFullRequest> protocolMarshaller = protocolFactory
          .createProtocolMarshaller(SDK_OPERATION_BINDING);
      return protocolMarshaller.marshall(putBucketVersioningRequest);
    } catch (Exception e) {
      throw SdkClientException.builder().message("Unable to marshall request to JSON: " + e.getMessage()).cause(e).build();
    }
  }
}
origin: aws/aws-sdk-java-v2

  @Override
  public SdkHttpFullRequest marshall(UpdateHostedZoneCommentRequest updateHostedZoneCommentRequest) {
    Validate.paramNotNull(updateHostedZoneCommentRequest, "updateHostedZoneCommentRequest");
    try {
      ProtocolMarshaller<SdkHttpFullRequest> protocolMarshaller = protocolFactory
          .createProtocolMarshaller(SDK_OPERATION_BINDING);
      return protocolMarshaller.marshall(updateHostedZoneCommentRequest);
    } catch (Exception e) {
      throw SdkClientException.builder().message("Unable to marshall request to JSON: " + e.getMessage()).cause(e).build();
    }
  }
}
origin: aws/aws-sdk-java-v2

  @Override
  public SdkHttpFullRequest marshall(GetHostedZoneRequest getHostedZoneRequest) {
    Validate.paramNotNull(getHostedZoneRequest, "getHostedZoneRequest");
    try {
      ProtocolMarshaller<SdkHttpFullRequest> protocolMarshaller = protocolFactory
          .createProtocolMarshaller(SDK_OPERATION_BINDING);
      return protocolMarshaller.marshall(getHostedZoneRequest);
    } catch (Exception e) {
      throw SdkClientException.builder().message("Unable to marshall request to JSON: " + e.getMessage()).cause(e).build();
    }
  }
}
origin: aws/aws-sdk-java-v2

  @Override
  public SdkHttpFullRequest marshall(GetBucketMetricsConfigurationRequest getBucketMetricsConfigurationRequest) {
    Validate.paramNotNull(getBucketMetricsConfigurationRequest, "getBucketMetricsConfigurationRequest");
    try {
      ProtocolMarshaller<SdkHttpFullRequest> protocolMarshaller = protocolFactory
          .createProtocolMarshaller(SDK_OPERATION_BINDING);
      return protocolMarshaller.marshall(getBucketMetricsConfigurationRequest);
    } catch (Exception e) {
      throw SdkClientException.builder().message("Unable to marshall request to JSON: " + e.getMessage()).cause(e).build();
    }
  }
}
origin: aws/aws-sdk-java-v2

  @Override
  public SdkHttpFullRequest marshall(DeletePublicAccessBlockRequest deletePublicAccessBlockRequest) {
    Validate.paramNotNull(deletePublicAccessBlockRequest, "deletePublicAccessBlockRequest");
    try {
      ProtocolMarshaller<SdkHttpFullRequest> protocolMarshaller = protocolFactory
          .createProtocolMarshaller(SDK_OPERATION_BINDING);
      return protocolMarshaller.marshall(deletePublicAccessBlockRequest);
    } catch (Exception e) {
      throw SdkClientException.builder().message("Unable to marshall request to JSON: " + e.getMessage()).cause(e).build();
    }
  }
}
origin: aws/aws-sdk-java-v2

  @Override
  public SdkHttpFullRequest marshall(GetPublicAccessBlockRequest getPublicAccessBlockRequest) {
    Validate.paramNotNull(getPublicAccessBlockRequest, "getPublicAccessBlockRequest");
    try {
      ProtocolMarshaller<SdkHttpFullRequest> protocolMarshaller = protocolFactory
          .createProtocolMarshaller(SDK_OPERATION_BINDING);
      return protocolMarshaller.marshall(getPublicAccessBlockRequest);
    } catch (Exception e) {
      throw SdkClientException.builder().message("Unable to marshall request to JSON: " + e.getMessage()).cause(e).build();
    }
  }
}
origin: aws/aws-sdk-java-v2

  @Override
  public SdkHttpFullRequest marshall(PutObjectRetentionRequest putObjectRetentionRequest) {
    Validate.paramNotNull(putObjectRetentionRequest, "putObjectRetentionRequest");
    try {
      ProtocolMarshaller<SdkHttpFullRequest> protocolMarshaller = protocolFactory
          .createProtocolMarshaller(SDK_OPERATION_BINDING);
      return protocolMarshaller.marshall(putObjectRetentionRequest);
    } catch (Exception e) {
      throw SdkClientException.builder().message("Unable to marshall request to JSON: " + e.getMessage()).cause(e).build();
    }
  }
}
origin: aws/aws-sdk-java-v2

  @Override
  public SdkHttpFullRequest marshall(GetBucketReplicationRequest getBucketReplicationRequest) {
    Validate.paramNotNull(getBucketReplicationRequest, "getBucketReplicationRequest");
    try {
      ProtocolMarshaller<SdkHttpFullRequest> protocolMarshaller = protocolFactory
          .createProtocolMarshaller(SDK_OPERATION_BINDING);
      return protocolMarshaller.marshall(getBucketReplicationRequest);
    } catch (Exception e) {
      throw SdkClientException.builder().message("Unable to marshall request to JSON: " + e.getMessage()).cause(e).build();
    }
  }
}
origin: aws/aws-sdk-java-v2

  @Override
  public SdkHttpFullRequest marshall(GetBucketAccelerateConfigurationRequest getBucketAccelerateConfigurationRequest) {
    Validate.paramNotNull(getBucketAccelerateConfigurationRequest, "getBucketAccelerateConfigurationRequest");
    try {
      ProtocolMarshaller<SdkHttpFullRequest> protocolMarshaller = protocolFactory
          .createProtocolMarshaller(SDK_OPERATION_BINDING);
      return protocolMarshaller.marshall(getBucketAccelerateConfigurationRequest);
    } catch (Exception e) {
      throw SdkClientException.builder().message("Unable to marshall request to JSON: " + e.getMessage()).cause(e).build();
    }
  }
}
origin: aws/aws-sdk-java-v2

  @Override
  public SdkHttpFullRequest marshall(PutObjectLockConfigurationRequest putObjectLockConfigurationRequest) {
    Validate.paramNotNull(putObjectLockConfigurationRequest, "putObjectLockConfigurationRequest");
    try {
      ProtocolMarshaller<SdkHttpFullRequest> protocolMarshaller = protocolFactory
          .createProtocolMarshaller(SDK_OPERATION_BINDING);
      return protocolMarshaller.marshall(putObjectLockConfigurationRequest);
    } catch (Exception e) {
      throw SdkClientException.builder().message("Unable to marshall request to JSON: " + e.getMessage()).cause(e).build();
    }
  }
}
origin: aws/aws-sdk-java-v2

  @Override
  public SdkHttpFullRequest marshall(CreateStreamingDistributionRequest createStreamingDistributionRequest) {
    Validate.paramNotNull(createStreamingDistributionRequest, "createStreamingDistributionRequest");
    try {
      ProtocolMarshaller<SdkHttpFullRequest> protocolMarshaller = protocolFactory
          .createProtocolMarshaller(SDK_OPERATION_BINDING);
      return protocolMarshaller.marshall(createStreamingDistributionRequest);
    } catch (Exception e) {
      throw SdkClientException.builder().message("Unable to marshall request to JSON: " + e.getMessage()).cause(e).build();
    }
  }
}
origin: aws/aws-sdk-java-v2

  @Override
  public SdkHttpFullRequest marshall(GetBucketNotificationConfigurationRequest getBucketNotificationConfigurationRequest) {
    Validate.paramNotNull(getBucketNotificationConfigurationRequest, "getBucketNotificationConfigurationRequest");
    try {
      ProtocolMarshaller<SdkHttpFullRequest> protocolMarshaller = protocolFactory
          .createProtocolMarshaller(SDK_OPERATION_BINDING);
      return protocolMarshaller.marshall(getBucketNotificationConfigurationRequest);
    } catch (Exception e) {
      throw SdkClientException.builder().message("Unable to marshall request to JSON: " + e.getMessage()).cause(e).build();
    }
  }
}
software.amazon.awssdk.protocols.xmlAwsXmlProtocolFactorycreateProtocolMarshaller

Javadoc

Creates an instance of XmlProtocolMarshaller to be used for marshalling the requess.

Popular methods of AwsXmlProtocolFactory

  • builder
  • createErrorResponseHandler
  • createResponseHandler
  • <init>
  • createGenerator

Popular in Java

  • Running tasks concurrently on multiple threads
  • getExternalFilesDir (Context)
  • getResourceAsStream (ClassLoader)
  • addToBackStack (FragmentTransaction)
  • VirtualMachine (com.sun.tools.attach)
    A Java virtual machine. A VirtualMachine represents a Java virtual machine to which this Java vir
  • FileOutputStream (java.io)
    An output stream that writes bytes to a file. If the output file exists, it can be replaced or appen
  • URLConnection (java.net)
    A connection to a URL for reading or writing. For HTTP connections, see HttpURLConnection for docume
  • Timer (java.util)
    Timers schedule one-shot or recurring TimerTask for execution. Prefer java.util.concurrent.Scheduled
  • HttpServlet (javax.servlet.http)
    Provides an abstract class to be subclassed to create an HTTP servlet suitable for a Web site. A sub
  • Location (org.springframework.beans.factory.parsing)
    Class that models an arbitrary location in a Resource.Typically used to track the location of proble

For IntelliJ IDEA,
Android Studio or Eclipse

  • Search for JavaScript code betaCodota IntelliJ IDEA pluginCodota Android Studio pluginCode IndexSign in
  • EnterpriseFAQAboutBlogContact Us
  • Plugin user guideTerms of usePrivacy policyCodeboxFind Usages
Add Codota to your IDE (free)