/** * Invokes the IdempotentOperation operation. * * @param idempotentOperationRequest * @return Result of the IdempotentOperation operation returned by the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ProtocolRestXmlException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ProtocolRestXmlClient.IdempotentOperation */ @Override public IdempotentOperationResponse idempotentOperation(IdempotentOperationRequest idempotentOperationRequest) throws AwsServiceException, SdkClientException, ProtocolRestXmlException { HttpResponseHandler<IdempotentOperationResponse> responseHandler = protocolFactory.createResponseHandler( IdempotentOperationResponse::builder, new XmlOperationMetadata().withHasStreamingSuccessResponse(false)); HttpResponseHandler<AwsServiceException> errorResponseHandler = protocolFactory.createErrorResponseHandler(); return clientHandler.execute(new ClientExecutionParams<IdempotentOperationRequest, IdempotentOperationResponse>() .withOperationName("IdempotentOperation").withResponseHandler(responseHandler) .withErrorResponseHandler(errorResponseHandler).withInput(idempotentOperationRequest) .withMarshaller(new IdempotentOperationRequestMarshaller(protocolFactory))); }
/** * Invokes the MembersInHeaders operation. * * @param membersInHeadersRequest * @return Result of the MembersInHeaders operation returned by the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ProtocolRestXmlException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ProtocolRestXmlClient.MembersInHeaders */ @Override public MembersInHeadersResponse membersInHeaders(MembersInHeadersRequest membersInHeadersRequest) throws AwsServiceException, SdkClientException, ProtocolRestXmlException { HttpResponseHandler<MembersInHeadersResponse> responseHandler = protocolFactory.createResponseHandler( MembersInHeadersResponse::builder, new XmlOperationMetadata().withHasStreamingSuccessResponse(false)); HttpResponseHandler<AwsServiceException> errorResponseHandler = protocolFactory.createErrorResponseHandler(); return clientHandler.execute(new ClientExecutionParams<MembersInHeadersRequest, MembersInHeadersResponse>() .withOperationName("MembersInHeaders").withResponseHandler(responseHandler) .withErrorResponseHandler(errorResponseHandler).withInput(membersInHeadersRequest) .withMarshaller(new MembersInHeadersRequestMarshaller(protocolFactory))); }
/** * Invokes the MultiLocationOperation operation. * * @param multiLocationOperationRequest * @return Result of the MultiLocationOperation operation returned by the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ProtocolRestXmlException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ProtocolRestXmlClient.MultiLocationOperation */ @Override public MultiLocationOperationResponse multiLocationOperation(MultiLocationOperationRequest multiLocationOperationRequest) throws AwsServiceException, SdkClientException, ProtocolRestXmlException { HttpResponseHandler<MultiLocationOperationResponse> responseHandler = protocolFactory.createResponseHandler( MultiLocationOperationResponse::builder, new XmlOperationMetadata().withHasStreamingSuccessResponse(false)); HttpResponseHandler<AwsServiceException> errorResponseHandler = protocolFactory.createErrorResponseHandler(); return clientHandler.execute(new ClientExecutionParams<MultiLocationOperationRequest, MultiLocationOperationResponse>() .withOperationName("MultiLocationOperation").withResponseHandler(responseHandler) .withErrorResponseHandler(errorResponseHandler).withInput(multiLocationOperationRequest) .withMarshaller(new MultiLocationOperationRequestMarshaller(protocolFactory))); }
/** * Invokes the MembersInQueryParams operation. * * @param membersInQueryParamsRequest * @return Result of the MembersInQueryParams operation returned by the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ProtocolRestXmlException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ProtocolRestXmlClient.MembersInQueryParams */ @Override public MembersInQueryParamsResponse membersInQueryParams(MembersInQueryParamsRequest membersInQueryParamsRequest) throws AwsServiceException, SdkClientException, ProtocolRestXmlException { HttpResponseHandler<MembersInQueryParamsResponse> responseHandler = protocolFactory.createResponseHandler( MembersInQueryParamsResponse::builder, new XmlOperationMetadata().withHasStreamingSuccessResponse(false)); HttpResponseHandler<AwsServiceException> errorResponseHandler = protocolFactory.createErrorResponseHandler(); return clientHandler.execute(new ClientExecutionParams<MembersInQueryParamsRequest, MembersInQueryParamsResponse>() .withOperationName("MembersInQueryParams").withResponseHandler(responseHandler) .withErrorResponseHandler(errorResponseHandler).withInput(membersInQueryParamsRequest) .withMarshaller(new MembersInQueryParamsRequestMarshaller(protocolFactory))); }
/** * Invokes the RestXmlTypes operation. * * @param restXmlTypesRequest * @return Result of the RestXmlTypes operation returned by the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ProtocolRestXmlException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ProtocolRestXmlClient.RestXmlTypes */ @Override public RestXmlTypesResponse restXmlTypes(RestXmlTypesRequest restXmlTypesRequest) throws AwsServiceException, SdkClientException, ProtocolRestXmlException { HttpResponseHandler<RestXmlTypesResponse> responseHandler = protocolFactory.createResponseHandler( RestXmlTypesResponse::builder, new XmlOperationMetadata().withHasStreamingSuccessResponse(false)); HttpResponseHandler<AwsServiceException> errorResponseHandler = protocolFactory.createErrorResponseHandler(); return clientHandler.execute(new ClientExecutionParams<RestXmlTypesRequest, RestXmlTypesResponse>() .withOperationName("RestXmlTypes").withResponseHandler(responseHandler) .withErrorResponseHandler(errorResponseHandler).withInput(restXmlTypesRequest) .withMarshaller(new RestXmlTypesRequestMarshaller(protocolFactory))); }
/** * Invokes the DeleteOperation operation. * * @param deleteOperationRequest * @return Result of the DeleteOperation operation returned by the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ProtocolRestXmlException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ProtocolRestXmlClient.DeleteOperation */ @Override public DeleteOperationResponse deleteOperation(DeleteOperationRequest deleteOperationRequest) throws AwsServiceException, SdkClientException, ProtocolRestXmlException { HttpResponseHandler<DeleteOperationResponse> responseHandler = protocolFactory.createResponseHandler( DeleteOperationResponse::builder, new XmlOperationMetadata().withHasStreamingSuccessResponse(false)); HttpResponseHandler<AwsServiceException> errorResponseHandler = protocolFactory.createErrorResponseHandler(); return clientHandler.execute(new ClientExecutionParams<DeleteOperationRequest, DeleteOperationResponse>() .withOperationName("DeleteOperation").withResponseHandler(responseHandler) .withErrorResponseHandler(errorResponseHandler).withInput(deleteOperationRequest) .withMarshaller(new DeleteOperationRequestMarshaller(protocolFactory))); }
/** * Invokes the QueryParamWithoutValue operation. * * @param queryParamWithoutValueRequest * @return Result of the QueryParamWithoutValue operation returned by the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ProtocolRestXmlException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ProtocolRestXmlClient.QueryParamWithoutValue */ @Override public QueryParamWithoutValueResponse queryParamWithoutValue(QueryParamWithoutValueRequest queryParamWithoutValueRequest) throws AwsServiceException, SdkClientException, ProtocolRestXmlException { HttpResponseHandler<QueryParamWithoutValueResponse> responseHandler = protocolFactory.createResponseHandler( QueryParamWithoutValueResponse::builder, new XmlOperationMetadata().withHasStreamingSuccessResponse(false)); HttpResponseHandler<AwsServiceException> errorResponseHandler = protocolFactory.createErrorResponseHandler(); return clientHandler.execute(new ClientExecutionParams<QueryParamWithoutValueRequest, QueryParamWithoutValueResponse>() .withOperationName("QueryParamWithoutValue").withResponseHandler(responseHandler) .withErrorResponseHandler(errorResponseHandler).withInput(queryParamWithoutValueRequest) .withMarshaller(new QueryParamWithoutValueRequestMarshaller(protocolFactory))); }
/** * Invokes the MapOfStringToListOfStringInQueryParams operation. * * @param mapOfStringToListOfStringInQueryParamsRequest * @return Result of the MapOfStringToListOfStringInQueryParams operation returned by the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ProtocolRestXmlException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ProtocolRestXmlClient.MapOfStringToListOfStringInQueryParams */ @Override public MapOfStringToListOfStringInQueryParamsResponse mapOfStringToListOfStringInQueryParams( MapOfStringToListOfStringInQueryParamsRequest mapOfStringToListOfStringInQueryParamsRequest) throws AwsServiceException, SdkClientException, ProtocolRestXmlException { HttpResponseHandler<MapOfStringToListOfStringInQueryParamsResponse> responseHandler = protocolFactory .createResponseHandler(MapOfStringToListOfStringInQueryParamsResponse::builder, new XmlOperationMetadata().withHasStreamingSuccessResponse(false)); HttpResponseHandler<AwsServiceException> errorResponseHandler = protocolFactory.createErrorResponseHandler(); return clientHandler .execute(new ClientExecutionParams<MapOfStringToListOfStringInQueryParamsRequest, MapOfStringToListOfStringInQueryParamsResponse>() .withOperationName("MapOfStringToListOfStringInQueryParams").withResponseHandler(responseHandler) .withErrorResponseHandler(errorResponseHandler).withInput(mapOfStringToListOfStringInQueryParamsRequest) .withMarshaller(new MapOfStringToListOfStringInQueryParamsRequestMarshaller(protocolFactory))); }
DeleteOperationResponse::builder, new XmlOperationMetadata().withHasStreamingSuccessResponse(false)); HttpResponseHandler<AwsServiceException> errorResponseHandler = protocolFactory.createErrorResponseHandler();
/** * Invokes the OperationWithExplicitPayloadBlob operation. * * @param operationWithExplicitPayloadBlobRequest * @return Result of the OperationWithExplicitPayloadBlob operation returned by the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ProtocolRestXmlException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ProtocolRestXmlClient.OperationWithExplicitPayloadBlob */ @Override public OperationWithExplicitPayloadBlobResponse operationWithExplicitPayloadBlob( OperationWithExplicitPayloadBlobRequest operationWithExplicitPayloadBlobRequest) throws AwsServiceException, SdkClientException, ProtocolRestXmlException { HttpResponseHandler<OperationWithExplicitPayloadBlobResponse> responseHandler = protocolFactory.createResponseHandler( OperationWithExplicitPayloadBlobResponse::builder, new XmlOperationMetadata().withHasStreamingSuccessResponse(false)); HttpResponseHandler<AwsServiceException> errorResponseHandler = protocolFactory.createErrorResponseHandler(); return clientHandler .execute(new ClientExecutionParams<OperationWithExplicitPayloadBlobRequest, OperationWithExplicitPayloadBlobResponse>() .withOperationName("OperationWithExplicitPayloadBlob").withResponseHandler(responseHandler) .withErrorResponseHandler(errorResponseHandler).withInput(operationWithExplicitPayloadBlobRequest) .withMarshaller(new OperationWithExplicitPayloadBlobRequestMarshaller(protocolFactory))); }
MembersInHeadersResponse::builder, new XmlOperationMetadata().withHasStreamingSuccessResponse(false)); HttpResponseHandler<AwsServiceException> errorResponseHandler = protocolFactory.createErrorResponseHandler();
/** * Invokes the OperationWithGreedyLabel operation. * * @param operationWithGreedyLabelRequest * @return Result of the OperationWithGreedyLabel operation returned by the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ProtocolRestXmlException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ProtocolRestXmlClient.OperationWithGreedyLabel */ @Override public OperationWithGreedyLabelResponse operationWithGreedyLabel( OperationWithGreedyLabelRequest operationWithGreedyLabelRequest) throws AwsServiceException, SdkClientException, ProtocolRestXmlException { HttpResponseHandler<OperationWithGreedyLabelResponse> responseHandler = protocolFactory.createResponseHandler( OperationWithGreedyLabelResponse::builder, new XmlOperationMetadata().withHasStreamingSuccessResponse(false)); HttpResponseHandler<AwsServiceException> errorResponseHandler = protocolFactory.createErrorResponseHandler(); return clientHandler .execute(new ClientExecutionParams<OperationWithGreedyLabelRequest, OperationWithGreedyLabelResponse>() .withOperationName("OperationWithGreedyLabel").withResponseHandler(responseHandler) .withErrorResponseHandler(errorResponseHandler).withInput(operationWithGreedyLabelRequest) .withMarshaller(new OperationWithGreedyLabelRequestMarshaller(protocolFactory))); }
MembersInQueryParamsResponse::builder, new XmlOperationMetadata().withHasStreamingSuccessResponse(false)); HttpResponseHandler<AwsServiceException> errorResponseHandler = protocolFactory.createErrorResponseHandler();
ListPublicKeysResponse::builder, new XmlOperationMetadata().withHasStreamingSuccessResponse(false)); HttpResponseHandler<AwsServiceException> errorResponseHandler = protocolFactory.createErrorResponseHandler();
AllTypesResponse::builder, new XmlOperationMetadata().withHasStreamingSuccessResponse(false)); HttpResponseHandler<AwsServiceException> errorResponseHandler = protocolFactory.createErrorResponseHandler();
OperationWithGreedyLabelResponse::builder, new XmlOperationMetadata().withHasStreamingSuccessResponse(false)); HttpResponseHandler<AwsServiceException> errorResponseHandler = protocolFactory.createErrorResponseHandler();
/** * Invokes the AllTypes operation. * * @param allTypesRequest * @return Result of the AllTypes operation returned by the service. * @throws EmptyModeledException * @throws ExplicitPayloadAndHeadersException * @throws ImplicitPayloadException * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ProtocolRestXmlException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ProtocolRestXmlClient.AllTypes */ @Override public AllTypesResponse allTypes(AllTypesRequest allTypesRequest) throws EmptyModeledException, ExplicitPayloadAndHeadersException, ImplicitPayloadException, AwsServiceException, SdkClientException, ProtocolRestXmlException { HttpResponseHandler<AllTypesResponse> responseHandler = protocolFactory.createResponseHandler(AllTypesResponse::builder, new XmlOperationMetadata().withHasStreamingSuccessResponse(false)); HttpResponseHandler<AwsServiceException> errorResponseHandler = protocolFactory.createErrorResponseHandler(); return clientHandler.execute(new ClientExecutionParams<AllTypesRequest, AllTypesResponse>().withOperationName("AllTypes") .withResponseHandler(responseHandler).withErrorResponseHandler(errorResponseHandler).withInput(allTypesRequest) .withMarshaller(new AllTypesRequestMarshaller(protocolFactory))); }
/** * Invokes the OperationWithModeledContentType operation. * * @param operationWithModeledContentTypeRequest * @return Result of the OperationWithModeledContentType operation returned by the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ProtocolRestXmlException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ProtocolRestXmlClient.OperationWithModeledContentType */ @Override public OperationWithModeledContentTypeResponse operationWithModeledContentType( OperationWithModeledContentTypeRequest operationWithModeledContentTypeRequest) throws AwsServiceException, SdkClientException, ProtocolRestXmlException { HttpResponseHandler<OperationWithModeledContentTypeResponse> responseHandler = protocolFactory.createResponseHandler( OperationWithModeledContentTypeResponse::builder, new XmlOperationMetadata().withHasStreamingSuccessResponse(false)); HttpResponseHandler<AwsServiceException> errorResponseHandler = protocolFactory.createErrorResponseHandler(); return clientHandler .execute(new ClientExecutionParams<OperationWithModeledContentTypeRequest, OperationWithModeledContentTypeResponse>() .withOperationName("OperationWithModeledContentType").withResponseHandler(responseHandler) .withErrorResponseHandler(errorResponseHandler).withInput(operationWithModeledContentTypeRequest) .withMarshaller(new OperationWithModeledContentTypeRequestMarshaller(protocolFactory))); }
/** * <p> * Retrieves the number of health checks that are associated with the current AWS account. * </p> * * @param getHealthCheckCountRequest * A request for the number of health checks that are associated with the current AWS account. * @return Result of the GetHealthCheckCount operation returned by the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws Route53Exception * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample Route53Client.GetHealthCheckCount * @see <a href="http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetHealthCheckCount" target="_top">AWS * API Documentation</a> */ @Override public GetHealthCheckCountResponse getHealthCheckCount(GetHealthCheckCountRequest getHealthCheckCountRequest) throws AwsServiceException, SdkClientException, Route53Exception { HttpResponseHandler<GetHealthCheckCountResponse> responseHandler = protocolFactory.createResponseHandler( GetHealthCheckCountResponse::builder, new XmlOperationMetadata().withHasStreamingSuccessResponse(false)); HttpResponseHandler<AwsServiceException> errorResponseHandler = protocolFactory.createErrorResponseHandler(); return clientHandler.execute(new ClientExecutionParams<GetHealthCheckCountRequest, GetHealthCheckCountResponse>() .withOperationName("GetHealthCheckCount").withResponseHandler(responseHandler) .withErrorResponseHandler(errorResponseHandler).withInput(getHealthCheckCountRequest) .withMarshaller(new GetHealthCheckCountRequestMarshaller(protocolFactory))); }
GetCheckerIpRangesResponse::builder, new XmlOperationMetadata().withHasStreamingSuccessResponse(false)); HttpResponseHandler<AwsServiceException> errorResponseHandler = protocolFactory.createErrorResponseHandler();