/// <summary> /// Creates a new bucket. /// </summary> /// <param name="request">Container for the necessary parameters to execute the PutBucket service method.</param> /// <returns>The response from the PutBucket service method, as returned by ECS.</returns> public PutBucketResponseECS PutBucket(PutBucketRequestECS request) { var marshaller = new PutBucketRequestMarshallerECS(); var unmarshaller = PutBucketResponseUnmarshallerECS.Instance; return(Invoke <PutBucketRequestECS, PutBucketResponseECS>(request, marshaller, unmarshaller)); }
/// <summary> /// Creates a new bucket. /// </summary> /// <param name="request">Container for the necessary parameters to execute the PutBucket service method.</param> /// <returns>The response from the PutBucket service method, as returned by ECS.</returns> public PutBucketResponseECS PutBucket(PutBucketRequestECS request) { var marshaller = new PutBucketRequestMarshallerECS(); var unmarshaller = PutBucketResponseUnmarshallerECS.Instance; InvokeOptions invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = marshaller; invokeOptions.ResponseUnmarshaller = unmarshaller; return(Invoke <PutBucketResponseECS>(request, invokeOptions)); }