public void GetEndpointAttributesAsync(GetEndpointAttributesRequest request, AmazonServiceCallback<GetEndpointAttributesRequest, GetEndpointAttributesResponse> callback, AsyncOptions options = null)
{
options = options == null?new AsyncOptions():options;
var marshaller = new GetEndpointAttributesRequestMarshaller();
var unmarshaller = GetEndpointAttributesResponseUnmarshaller.Instance;
Action<AmazonWebServiceRequest, AmazonWebServiceResponse, Exception, AsyncOptions> callbackHelper = null;
if(callback !=null )
callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => {
AmazonServiceResult<GetEndpointAttributesRequest,GetEndpointAttributesResponse> responseObject
= new AmazonServiceResult<GetEndpointAttributesRequest,GetEndpointAttributesResponse>((GetEndpointAttributesRequest)req, (GetEndpointAttributesResponse)res, ex , ao.State);
callback(responseObject);
};
BeginInvoke<GetEndpointAttributesRequest>(request, marshaller, unmarshaller, options, callbackHelper);
}