com.amazonaws.services.s3.model.SetBucketLoggingConfigurationRequest Java Examples

The following examples show how to use com.amazonaws.services.s3.model.SetBucketLoggingConfigurationRequest. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: AwsSdkTest.java    From s3proxy with Apache License 2.0 5 votes vote down vote up
@Test
public void testUnknownParameter() throws Exception {
    try {
        client.setBucketLoggingConfiguration(
                new SetBucketLoggingConfigurationRequest(
                        containerName, new BucketLoggingConfiguration()));
        Fail.failBecauseExceptionWasNotThrown(AmazonS3Exception.class);
    } catch (AmazonS3Exception e) {
        assertThat(e.getErrorCode()).isEqualTo("NotImplemented");
    }
}
 
Example #2
Source File: DummyS3Client.java    From ignite with Apache License 2.0 4 votes vote down vote up
/** Unsupported Operation. */
@Override public void setBucketLoggingConfiguration(
    SetBucketLoggingConfigurationRequest setBucketLoggingConfigurationReq) throws SdkClientException {
    throw new UnsupportedOperationException("Operation not supported");
}
 
Example #3
Source File: AmazonS3Mock.java    From Scribengin with GNU Affero General Public License v3.0 4 votes vote down vote up
@Override
public void setBucketLoggingConfiguration(SetBucketLoggingConfigurationRequest setBucketLoggingConfigurationRequest)
    throws AmazonClientException, AmazonServiceException {
  // TODO Auto-generated method stub

}