repo_name
stringlengths 1
52
| repo_creator
stringclasses 6
values | programming_language
stringclasses 4
values | code
stringlengths 0
9.68M
| num_lines
int64 1
234k
|
---|---|---|---|---|
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apigateway-2015-07-09.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Text;
using System.Xml.Serialization;
using Amazon.APIGateway.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.APIGateway.Model.Internal.MarshallTransformations
{
/// <summary>
/// UpdateApiKey Request Marshaller
/// </summary>
public class UpdateApiKeyRequestMarshaller : IMarshaller<IRequest, UpdateApiKeyRequest> , IMarshaller<IRequest,AmazonWebServiceRequest>
{
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="input"></param>
/// <returns></returns>
public IRequest Marshall(AmazonWebServiceRequest input)
{
return this.Marshall((UpdateApiKeyRequest)input);
}
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="publicRequest"></param>
/// <returns></returns>
public IRequest Marshall(UpdateApiKeyRequest publicRequest)
{
IRequest request = new DefaultRequest(publicRequest, "Amazon.APIGateway");
request.Headers["Content-Type"] = "application/json";
request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2015-07-09";
request.HttpMethod = "PATCH";
if (!publicRequest.IsSetApiKey())
throw new AmazonAPIGatewayException("Request object does not have required field ApiKey set");
request.AddPathResource("{api_Key}", StringUtils.FromString(publicRequest.ApiKey));
request.ResourcePath = "/apikeys/{api_Key}";
using (StringWriter stringWriter = new StringWriter(CultureInfo.InvariantCulture))
{
JsonWriter writer = new JsonWriter(stringWriter);
writer.WriteObjectStart();
var context = new JsonMarshallerContext(request, writer);
if(publicRequest.IsSetPatchOperations())
{
context.Writer.WritePropertyName("patchOperations");
context.Writer.WriteArrayStart();
foreach(var publicRequestPatchOperationsListValue in publicRequest.PatchOperations)
{
context.Writer.WriteObjectStart();
var marshaller = PatchOperationMarshaller.Instance;
marshaller.Marshall(publicRequestPatchOperationsListValue, context);
context.Writer.WriteObjectEnd();
}
context.Writer.WriteArrayEnd();
}
writer.WriteObjectEnd();
string snippet = stringWriter.ToString();
request.Content = System.Text.Encoding.UTF8.GetBytes(snippet);
}
return request;
}
private static UpdateApiKeyRequestMarshaller _instance = new UpdateApiKeyRequestMarshaller();
internal static UpdateApiKeyRequestMarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static UpdateApiKeyRequestMarshaller Instance
{
get
{
return _instance;
}
}
}
} | 114 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apigateway-2015-07-09.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Net;
using System.Text;
using System.Xml.Serialization;
using Amazon.APIGateway.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.APIGateway.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for UpdateApiKey operation
/// </summary>
public class UpdateApiKeyResponseUnmarshaller : JsonResponseUnmarshaller
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context)
{
UpdateApiKeyResponse response = new UpdateApiKeyResponse();
context.Read();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("createdDate", targetDepth))
{
var unmarshaller = DateTimeUnmarshaller.Instance;
response.CreatedDate = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("customerId", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.CustomerId = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("description", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.Description = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("enabled", targetDepth))
{
var unmarshaller = BoolUnmarshaller.Instance;
response.Enabled = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("id", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.Id = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("lastUpdatedDate", targetDepth))
{
var unmarshaller = DateTimeUnmarshaller.Instance;
response.LastUpdatedDate = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("name", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.Name = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("stageKeys", targetDepth))
{
var unmarshaller = new ListUnmarshaller<string, StringUnmarshaller>(StringUnmarshaller.Instance);
response.StageKeys = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("tags", targetDepth))
{
var unmarshaller = new DictionaryUnmarshaller<string, string, StringUnmarshaller, StringUnmarshaller>(StringUnmarshaller.Instance, StringUnmarshaller.Instance);
response.Tags = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("value", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.Value = unmarshaller.Unmarshall(context);
continue;
}
}
return response;
}
/// <summary>
/// Unmarshaller error response to exception.
/// </summary>
/// <param name="context"></param>
/// <param name="innerException"></param>
/// <param name="statusCode"></param>
/// <returns></returns>
public override AmazonServiceException UnmarshallException(JsonUnmarshallerContext context, Exception innerException, HttpStatusCode statusCode)
{
var errorResponse = JsonErrorResponseUnmarshaller.GetInstance().Unmarshall(context);
errorResponse.InnerException = innerException;
errorResponse.StatusCode = statusCode;
var responseBodyBytes = context.GetResponseBodyBytes();
using (var streamCopy = new MemoryStream(responseBodyBytes))
using (var contextCopy = new JsonUnmarshallerContext(streamCopy, false, null))
{
if (errorResponse.Code != null && errorResponse.Code.Equals("BadRequestException"))
{
return BadRequestExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ConflictException"))
{
return ConflictExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("LimitExceededException"))
{
return LimitExceededExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("NotFoundException"))
{
return NotFoundExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("TooManyRequestsException"))
{
return TooManyRequestsExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("UnauthorizedException"))
{
return UnauthorizedExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
}
return new AmazonAPIGatewayException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode);
}
private static UpdateApiKeyResponseUnmarshaller _instance = new UpdateApiKeyResponseUnmarshaller();
internal static UpdateApiKeyResponseUnmarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static UpdateApiKeyResponseUnmarshaller Instance
{
get
{
return _instance;
}
}
}
} | 184 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apigateway-2015-07-09.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Text;
using System.Xml.Serialization;
using Amazon.APIGateway.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.APIGateway.Model.Internal.MarshallTransformations
{
/// <summary>
/// UpdateAuthorizer Request Marshaller
/// </summary>
public class UpdateAuthorizerRequestMarshaller : IMarshaller<IRequest, UpdateAuthorizerRequest> , IMarshaller<IRequest,AmazonWebServiceRequest>
{
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="input"></param>
/// <returns></returns>
public IRequest Marshall(AmazonWebServiceRequest input)
{
return this.Marshall((UpdateAuthorizerRequest)input);
}
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="publicRequest"></param>
/// <returns></returns>
public IRequest Marshall(UpdateAuthorizerRequest publicRequest)
{
IRequest request = new DefaultRequest(publicRequest, "Amazon.APIGateway");
request.Headers["Content-Type"] = "application/json";
request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2015-07-09";
request.HttpMethod = "PATCH";
if (!publicRequest.IsSetAuthorizerId())
throw new AmazonAPIGatewayException("Request object does not have required field AuthorizerId set");
request.AddPathResource("{authorizer_id}", StringUtils.FromString(publicRequest.AuthorizerId));
if (!publicRequest.IsSetRestApiId())
throw new AmazonAPIGatewayException("Request object does not have required field RestApiId set");
request.AddPathResource("{restapi_id}", StringUtils.FromString(publicRequest.RestApiId));
request.ResourcePath = "/restapis/{restapi_id}/authorizers/{authorizer_id}";
using (StringWriter stringWriter = new StringWriter(CultureInfo.InvariantCulture))
{
JsonWriter writer = new JsonWriter(stringWriter);
writer.WriteObjectStart();
var context = new JsonMarshallerContext(request, writer);
if(publicRequest.IsSetPatchOperations())
{
context.Writer.WritePropertyName("patchOperations");
context.Writer.WriteArrayStart();
foreach(var publicRequestPatchOperationsListValue in publicRequest.PatchOperations)
{
context.Writer.WriteObjectStart();
var marshaller = PatchOperationMarshaller.Instance;
marshaller.Marshall(publicRequestPatchOperationsListValue, context);
context.Writer.WriteObjectEnd();
}
context.Writer.WriteArrayEnd();
}
writer.WriteObjectEnd();
string snippet = stringWriter.ToString();
request.Content = System.Text.Encoding.UTF8.GetBytes(snippet);
}
return request;
}
private static UpdateAuthorizerRequestMarshaller _instance = new UpdateAuthorizerRequestMarshaller();
internal static UpdateAuthorizerRequestMarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static UpdateAuthorizerRequestMarshaller Instance
{
get
{
return _instance;
}
}
}
} | 117 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apigateway-2015-07-09.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Net;
using System.Text;
using System.Xml.Serialization;
using Amazon.APIGateway.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.APIGateway.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for UpdateAuthorizer operation
/// </summary>
public class UpdateAuthorizerResponseUnmarshaller : JsonResponseUnmarshaller
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context)
{
UpdateAuthorizerResponse response = new UpdateAuthorizerResponse();
context.Read();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("authorizerCredentials", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.AuthorizerCredentials = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("authorizerResultTtlInSeconds", targetDepth))
{
var unmarshaller = IntUnmarshaller.Instance;
response.AuthorizerResultTtlInSeconds = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("authorizerUri", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.AuthorizerUri = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("authType", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.AuthType = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("id", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.Id = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("identitySource", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.IdentitySource = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("identityValidationExpression", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.IdentityValidationExpression = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("name", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.Name = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("providerARNs", targetDepth))
{
var unmarshaller = new ListUnmarshaller<string, StringUnmarshaller>(StringUnmarshaller.Instance);
response.ProviderARNs = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("type", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.Type = unmarshaller.Unmarshall(context);
continue;
}
}
return response;
}
/// <summary>
/// Unmarshaller error response to exception.
/// </summary>
/// <param name="context"></param>
/// <param name="innerException"></param>
/// <param name="statusCode"></param>
/// <returns></returns>
public override AmazonServiceException UnmarshallException(JsonUnmarshallerContext context, Exception innerException, HttpStatusCode statusCode)
{
var errorResponse = JsonErrorResponseUnmarshaller.GetInstance().Unmarshall(context);
errorResponse.InnerException = innerException;
errorResponse.StatusCode = statusCode;
var responseBodyBytes = context.GetResponseBodyBytes();
using (var streamCopy = new MemoryStream(responseBodyBytes))
using (var contextCopy = new JsonUnmarshallerContext(streamCopy, false, null))
{
if (errorResponse.Code != null && errorResponse.Code.Equals("BadRequestException"))
{
return BadRequestExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ConflictException"))
{
return ConflictExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("LimitExceededException"))
{
return LimitExceededExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("NotFoundException"))
{
return NotFoundExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("TooManyRequestsException"))
{
return TooManyRequestsExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("UnauthorizedException"))
{
return UnauthorizedExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
}
return new AmazonAPIGatewayException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode);
}
private static UpdateAuthorizerResponseUnmarshaller _instance = new UpdateAuthorizerResponseUnmarshaller();
internal static UpdateAuthorizerResponseUnmarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static UpdateAuthorizerResponseUnmarshaller Instance
{
get
{
return _instance;
}
}
}
} | 184 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apigateway-2015-07-09.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Text;
using System.Xml.Serialization;
using Amazon.APIGateway.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.APIGateway.Model.Internal.MarshallTransformations
{
/// <summary>
/// UpdateBasePathMapping Request Marshaller
/// </summary>
public class UpdateBasePathMappingRequestMarshaller : IMarshaller<IRequest, UpdateBasePathMappingRequest> , IMarshaller<IRequest,AmazonWebServiceRequest>
{
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="input"></param>
/// <returns></returns>
public IRequest Marshall(AmazonWebServiceRequest input)
{
return this.Marshall((UpdateBasePathMappingRequest)input);
}
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="publicRequest"></param>
/// <returns></returns>
public IRequest Marshall(UpdateBasePathMappingRequest publicRequest)
{
IRequest request = new DefaultRequest(publicRequest, "Amazon.APIGateway");
request.Headers["Content-Type"] = "application/json";
request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2015-07-09";
request.HttpMethod = "PATCH";
if (!publicRequest.IsSetBasePath())
throw new AmazonAPIGatewayException("Request object does not have required field BasePath set");
request.AddPathResource("{base_path}", StringUtils.FromString(publicRequest.BasePath));
if (!publicRequest.IsSetDomainName())
throw new AmazonAPIGatewayException("Request object does not have required field DomainName set");
request.AddPathResource("{domain_name}", StringUtils.FromString(publicRequest.DomainName));
request.ResourcePath = "/domainnames/{domain_name}/basepathmappings/{base_path}";
using (StringWriter stringWriter = new StringWriter(CultureInfo.InvariantCulture))
{
JsonWriter writer = new JsonWriter(stringWriter);
writer.WriteObjectStart();
var context = new JsonMarshallerContext(request, writer);
if(publicRequest.IsSetPatchOperations())
{
context.Writer.WritePropertyName("patchOperations");
context.Writer.WriteArrayStart();
foreach(var publicRequestPatchOperationsListValue in publicRequest.PatchOperations)
{
context.Writer.WriteObjectStart();
var marshaller = PatchOperationMarshaller.Instance;
marshaller.Marshall(publicRequestPatchOperationsListValue, context);
context.Writer.WriteObjectEnd();
}
context.Writer.WriteArrayEnd();
}
writer.WriteObjectEnd();
string snippet = stringWriter.ToString();
request.Content = System.Text.Encoding.UTF8.GetBytes(snippet);
}
return request;
}
private static UpdateBasePathMappingRequestMarshaller _instance = new UpdateBasePathMappingRequestMarshaller();
internal static UpdateBasePathMappingRequestMarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static UpdateBasePathMappingRequestMarshaller Instance
{
get
{
return _instance;
}
}
}
} | 117 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apigateway-2015-07-09.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Net;
using System.Text;
using System.Xml.Serialization;
using Amazon.APIGateway.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.APIGateway.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for UpdateBasePathMapping operation
/// </summary>
public class UpdateBasePathMappingResponseUnmarshaller : JsonResponseUnmarshaller
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context)
{
UpdateBasePathMappingResponse response = new UpdateBasePathMappingResponse();
context.Read();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("basePath", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.BasePath = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("restApiId", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.RestApiId = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("stage", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.Stage = unmarshaller.Unmarshall(context);
continue;
}
}
return response;
}
/// <summary>
/// Unmarshaller error response to exception.
/// </summary>
/// <param name="context"></param>
/// <param name="innerException"></param>
/// <param name="statusCode"></param>
/// <returns></returns>
public override AmazonServiceException UnmarshallException(JsonUnmarshallerContext context, Exception innerException, HttpStatusCode statusCode)
{
var errorResponse = JsonErrorResponseUnmarshaller.GetInstance().Unmarshall(context);
errorResponse.InnerException = innerException;
errorResponse.StatusCode = statusCode;
var responseBodyBytes = context.GetResponseBodyBytes();
using (var streamCopy = new MemoryStream(responseBodyBytes))
using (var contextCopy = new JsonUnmarshallerContext(streamCopy, false, null))
{
if (errorResponse.Code != null && errorResponse.Code.Equals("BadRequestException"))
{
return BadRequestExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ConflictException"))
{
return ConflictExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("LimitExceededException"))
{
return LimitExceededExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("NotFoundException"))
{
return NotFoundExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("TooManyRequestsException"))
{
return TooManyRequestsExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("UnauthorizedException"))
{
return UnauthorizedExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
}
return new AmazonAPIGatewayException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode);
}
private static UpdateBasePathMappingResponseUnmarshaller _instance = new UpdateBasePathMappingResponseUnmarshaller();
internal static UpdateBasePathMappingResponseUnmarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static UpdateBasePathMappingResponseUnmarshaller Instance
{
get
{
return _instance;
}
}
}
} | 142 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apigateway-2015-07-09.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Text;
using System.Xml.Serialization;
using Amazon.APIGateway.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.APIGateway.Model.Internal.MarshallTransformations
{
/// <summary>
/// UpdateClientCertificate Request Marshaller
/// </summary>
public class UpdateClientCertificateRequestMarshaller : IMarshaller<IRequest, UpdateClientCertificateRequest> , IMarshaller<IRequest,AmazonWebServiceRequest>
{
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="input"></param>
/// <returns></returns>
public IRequest Marshall(AmazonWebServiceRequest input)
{
return this.Marshall((UpdateClientCertificateRequest)input);
}
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="publicRequest"></param>
/// <returns></returns>
public IRequest Marshall(UpdateClientCertificateRequest publicRequest)
{
IRequest request = new DefaultRequest(publicRequest, "Amazon.APIGateway");
request.Headers["Content-Type"] = "application/json";
request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2015-07-09";
request.HttpMethod = "PATCH";
if (!publicRequest.IsSetClientCertificateId())
throw new AmazonAPIGatewayException("Request object does not have required field ClientCertificateId set");
request.AddPathResource("{clientcertificate_id}", StringUtils.FromString(publicRequest.ClientCertificateId));
request.ResourcePath = "/clientcertificates/{clientcertificate_id}";
using (StringWriter stringWriter = new StringWriter(CultureInfo.InvariantCulture))
{
JsonWriter writer = new JsonWriter(stringWriter);
writer.WriteObjectStart();
var context = new JsonMarshallerContext(request, writer);
if(publicRequest.IsSetPatchOperations())
{
context.Writer.WritePropertyName("patchOperations");
context.Writer.WriteArrayStart();
foreach(var publicRequestPatchOperationsListValue in publicRequest.PatchOperations)
{
context.Writer.WriteObjectStart();
var marshaller = PatchOperationMarshaller.Instance;
marshaller.Marshall(publicRequestPatchOperationsListValue, context);
context.Writer.WriteObjectEnd();
}
context.Writer.WriteArrayEnd();
}
writer.WriteObjectEnd();
string snippet = stringWriter.ToString();
request.Content = System.Text.Encoding.UTF8.GetBytes(snippet);
}
return request;
}
private static UpdateClientCertificateRequestMarshaller _instance = new UpdateClientCertificateRequestMarshaller();
internal static UpdateClientCertificateRequestMarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static UpdateClientCertificateRequestMarshaller Instance
{
get
{
return _instance;
}
}
}
} | 114 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apigateway-2015-07-09.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Net;
using System.Text;
using System.Xml.Serialization;
using Amazon.APIGateway.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.APIGateway.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for UpdateClientCertificate operation
/// </summary>
public class UpdateClientCertificateResponseUnmarshaller : JsonResponseUnmarshaller
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context)
{
UpdateClientCertificateResponse response = new UpdateClientCertificateResponse();
context.Read();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("clientCertificateId", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.ClientCertificateId = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("createdDate", targetDepth))
{
var unmarshaller = DateTimeUnmarshaller.Instance;
response.CreatedDate = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("description", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.Description = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("expirationDate", targetDepth))
{
var unmarshaller = DateTimeUnmarshaller.Instance;
response.ExpirationDate = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("pemEncodedCertificate", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.PemEncodedCertificate = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("tags", targetDepth))
{
var unmarshaller = new DictionaryUnmarshaller<string, string, StringUnmarshaller, StringUnmarshaller>(StringUnmarshaller.Instance, StringUnmarshaller.Instance);
response.Tags = unmarshaller.Unmarshall(context);
continue;
}
}
return response;
}
/// <summary>
/// Unmarshaller error response to exception.
/// </summary>
/// <param name="context"></param>
/// <param name="innerException"></param>
/// <param name="statusCode"></param>
/// <returns></returns>
public override AmazonServiceException UnmarshallException(JsonUnmarshallerContext context, Exception innerException, HttpStatusCode statusCode)
{
var errorResponse = JsonErrorResponseUnmarshaller.GetInstance().Unmarshall(context);
errorResponse.InnerException = innerException;
errorResponse.StatusCode = statusCode;
var responseBodyBytes = context.GetResponseBodyBytes();
using (var streamCopy = new MemoryStream(responseBodyBytes))
using (var contextCopy = new JsonUnmarshallerContext(streamCopy, false, null))
{
if (errorResponse.Code != null && errorResponse.Code.Equals("BadRequestException"))
{
return BadRequestExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ConflictException"))
{
return ConflictExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("LimitExceededException"))
{
return LimitExceededExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("NotFoundException"))
{
return NotFoundExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("TooManyRequestsException"))
{
return TooManyRequestsExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("UnauthorizedException"))
{
return UnauthorizedExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
}
return new AmazonAPIGatewayException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode);
}
private static UpdateClientCertificateResponseUnmarshaller _instance = new UpdateClientCertificateResponseUnmarshaller();
internal static UpdateClientCertificateResponseUnmarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static UpdateClientCertificateResponseUnmarshaller Instance
{
get
{
return _instance;
}
}
}
} | 160 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apigateway-2015-07-09.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Text;
using System.Xml.Serialization;
using Amazon.APIGateway.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.APIGateway.Model.Internal.MarshallTransformations
{
/// <summary>
/// UpdateDeployment Request Marshaller
/// </summary>
public class UpdateDeploymentRequestMarshaller : IMarshaller<IRequest, UpdateDeploymentRequest> , IMarshaller<IRequest,AmazonWebServiceRequest>
{
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="input"></param>
/// <returns></returns>
public IRequest Marshall(AmazonWebServiceRequest input)
{
return this.Marshall((UpdateDeploymentRequest)input);
}
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="publicRequest"></param>
/// <returns></returns>
public IRequest Marshall(UpdateDeploymentRequest publicRequest)
{
IRequest request = new DefaultRequest(publicRequest, "Amazon.APIGateway");
request.Headers["Content-Type"] = "application/json";
request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2015-07-09";
request.HttpMethod = "PATCH";
if (!publicRequest.IsSetDeploymentId())
throw new AmazonAPIGatewayException("Request object does not have required field DeploymentId set");
request.AddPathResource("{deployment_id}", StringUtils.FromString(publicRequest.DeploymentId));
if (!publicRequest.IsSetRestApiId())
throw new AmazonAPIGatewayException("Request object does not have required field RestApiId set");
request.AddPathResource("{restapi_id}", StringUtils.FromString(publicRequest.RestApiId));
request.ResourcePath = "/restapis/{restapi_id}/deployments/{deployment_id}";
using (StringWriter stringWriter = new StringWriter(CultureInfo.InvariantCulture))
{
JsonWriter writer = new JsonWriter(stringWriter);
writer.WriteObjectStart();
var context = new JsonMarshallerContext(request, writer);
if(publicRequest.IsSetPatchOperations())
{
context.Writer.WritePropertyName("patchOperations");
context.Writer.WriteArrayStart();
foreach(var publicRequestPatchOperationsListValue in publicRequest.PatchOperations)
{
context.Writer.WriteObjectStart();
var marshaller = PatchOperationMarshaller.Instance;
marshaller.Marshall(publicRequestPatchOperationsListValue, context);
context.Writer.WriteObjectEnd();
}
context.Writer.WriteArrayEnd();
}
writer.WriteObjectEnd();
string snippet = stringWriter.ToString();
request.Content = System.Text.Encoding.UTF8.GetBytes(snippet);
}
return request;
}
private static UpdateDeploymentRequestMarshaller _instance = new UpdateDeploymentRequestMarshaller();
internal static UpdateDeploymentRequestMarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static UpdateDeploymentRequestMarshaller Instance
{
get
{
return _instance;
}
}
}
} | 117 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apigateway-2015-07-09.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Net;
using System.Text;
using System.Xml.Serialization;
using Amazon.APIGateway.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.APIGateway.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for UpdateDeployment operation
/// </summary>
public class UpdateDeploymentResponseUnmarshaller : JsonResponseUnmarshaller
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context)
{
UpdateDeploymentResponse response = new UpdateDeploymentResponse();
context.Read();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("apiSummary", targetDepth))
{
var unmarshaller = new DictionaryUnmarshaller<string, Dictionary<string, MethodSnapshot>, StringUnmarshaller, DictionaryUnmarshaller<string, MethodSnapshot, StringUnmarshaller, MethodSnapshotUnmarshaller>>(StringUnmarshaller.Instance, new DictionaryUnmarshaller<string, MethodSnapshot, StringUnmarshaller, MethodSnapshotUnmarshaller>(StringUnmarshaller.Instance, MethodSnapshotUnmarshaller.Instance));
response.ApiSummary = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("createdDate", targetDepth))
{
var unmarshaller = DateTimeUnmarshaller.Instance;
response.CreatedDate = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("description", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.Description = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("id", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.Id = unmarshaller.Unmarshall(context);
continue;
}
}
return response;
}
/// <summary>
/// Unmarshaller error response to exception.
/// </summary>
/// <param name="context"></param>
/// <param name="innerException"></param>
/// <param name="statusCode"></param>
/// <returns></returns>
public override AmazonServiceException UnmarshallException(JsonUnmarshallerContext context, Exception innerException, HttpStatusCode statusCode)
{
var errorResponse = JsonErrorResponseUnmarshaller.GetInstance().Unmarshall(context);
errorResponse.InnerException = innerException;
errorResponse.StatusCode = statusCode;
var responseBodyBytes = context.GetResponseBodyBytes();
using (var streamCopy = new MemoryStream(responseBodyBytes))
using (var contextCopy = new JsonUnmarshallerContext(streamCopy, false, null))
{
if (errorResponse.Code != null && errorResponse.Code.Equals("BadRequestException"))
{
return BadRequestExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ConflictException"))
{
return ConflictExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("LimitExceededException"))
{
return LimitExceededExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("NotFoundException"))
{
return NotFoundExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ServiceUnavailableException"))
{
return ServiceUnavailableExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("TooManyRequestsException"))
{
return TooManyRequestsExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("UnauthorizedException"))
{
return UnauthorizedExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
}
return new AmazonAPIGatewayException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode);
}
private static UpdateDeploymentResponseUnmarshaller _instance = new UpdateDeploymentResponseUnmarshaller();
internal static UpdateDeploymentResponseUnmarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static UpdateDeploymentResponseUnmarshaller Instance
{
get
{
return _instance;
}
}
}
} | 152 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apigateway-2015-07-09.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Text;
using System.Xml.Serialization;
using Amazon.APIGateway.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.APIGateway.Model.Internal.MarshallTransformations
{
/// <summary>
/// UpdateDocumentationPart Request Marshaller
/// </summary>
public class UpdateDocumentationPartRequestMarshaller : IMarshaller<IRequest, UpdateDocumentationPartRequest> , IMarshaller<IRequest,AmazonWebServiceRequest>
{
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="input"></param>
/// <returns></returns>
public IRequest Marshall(AmazonWebServiceRequest input)
{
return this.Marshall((UpdateDocumentationPartRequest)input);
}
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="publicRequest"></param>
/// <returns></returns>
public IRequest Marshall(UpdateDocumentationPartRequest publicRequest)
{
IRequest request = new DefaultRequest(publicRequest, "Amazon.APIGateway");
request.Headers["Content-Type"] = "application/json";
request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2015-07-09";
request.HttpMethod = "PATCH";
if (!publicRequest.IsSetDocumentationPartId())
throw new AmazonAPIGatewayException("Request object does not have required field DocumentationPartId set");
request.AddPathResource("{part_id}", StringUtils.FromString(publicRequest.DocumentationPartId));
if (!publicRequest.IsSetRestApiId())
throw new AmazonAPIGatewayException("Request object does not have required field RestApiId set");
request.AddPathResource("{restapi_id}", StringUtils.FromString(publicRequest.RestApiId));
request.ResourcePath = "/restapis/{restapi_id}/documentation/parts/{part_id}";
using (StringWriter stringWriter = new StringWriter(CultureInfo.InvariantCulture))
{
JsonWriter writer = new JsonWriter(stringWriter);
writer.WriteObjectStart();
var context = new JsonMarshallerContext(request, writer);
if(publicRequest.IsSetPatchOperations())
{
context.Writer.WritePropertyName("patchOperations");
context.Writer.WriteArrayStart();
foreach(var publicRequestPatchOperationsListValue in publicRequest.PatchOperations)
{
context.Writer.WriteObjectStart();
var marshaller = PatchOperationMarshaller.Instance;
marshaller.Marshall(publicRequestPatchOperationsListValue, context);
context.Writer.WriteObjectEnd();
}
context.Writer.WriteArrayEnd();
}
writer.WriteObjectEnd();
string snippet = stringWriter.ToString();
request.Content = System.Text.Encoding.UTF8.GetBytes(snippet);
}
return request;
}
private static UpdateDocumentationPartRequestMarshaller _instance = new UpdateDocumentationPartRequestMarshaller();
internal static UpdateDocumentationPartRequestMarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static UpdateDocumentationPartRequestMarshaller Instance
{
get
{
return _instance;
}
}
}
} | 117 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apigateway-2015-07-09.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Net;
using System.Text;
using System.Xml.Serialization;
using Amazon.APIGateway.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.APIGateway.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for UpdateDocumentationPart operation
/// </summary>
public class UpdateDocumentationPartResponseUnmarshaller : JsonResponseUnmarshaller
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context)
{
UpdateDocumentationPartResponse response = new UpdateDocumentationPartResponse();
context.Read();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("id", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.Id = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("location", targetDepth))
{
var unmarshaller = DocumentationPartLocationUnmarshaller.Instance;
response.Location = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("properties", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.Properties = unmarshaller.Unmarshall(context);
continue;
}
}
return response;
}
/// <summary>
/// Unmarshaller error response to exception.
/// </summary>
/// <param name="context"></param>
/// <param name="innerException"></param>
/// <param name="statusCode"></param>
/// <returns></returns>
public override AmazonServiceException UnmarshallException(JsonUnmarshallerContext context, Exception innerException, HttpStatusCode statusCode)
{
var errorResponse = JsonErrorResponseUnmarshaller.GetInstance().Unmarshall(context);
errorResponse.InnerException = innerException;
errorResponse.StatusCode = statusCode;
var responseBodyBytes = context.GetResponseBodyBytes();
using (var streamCopy = new MemoryStream(responseBodyBytes))
using (var contextCopy = new JsonUnmarshallerContext(streamCopy, false, null))
{
if (errorResponse.Code != null && errorResponse.Code.Equals("BadRequestException"))
{
return BadRequestExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ConflictException"))
{
return ConflictExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("LimitExceededException"))
{
return LimitExceededExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("NotFoundException"))
{
return NotFoundExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("TooManyRequestsException"))
{
return TooManyRequestsExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("UnauthorizedException"))
{
return UnauthorizedExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
}
return new AmazonAPIGatewayException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode);
}
private static UpdateDocumentationPartResponseUnmarshaller _instance = new UpdateDocumentationPartResponseUnmarshaller();
internal static UpdateDocumentationPartResponseUnmarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static UpdateDocumentationPartResponseUnmarshaller Instance
{
get
{
return _instance;
}
}
}
} | 142 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apigateway-2015-07-09.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Text;
using System.Xml.Serialization;
using Amazon.APIGateway.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.APIGateway.Model.Internal.MarshallTransformations
{
/// <summary>
/// UpdateDocumentationVersion Request Marshaller
/// </summary>
public class UpdateDocumentationVersionRequestMarshaller : IMarshaller<IRequest, UpdateDocumentationVersionRequest> , IMarshaller<IRequest,AmazonWebServiceRequest>
{
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="input"></param>
/// <returns></returns>
public IRequest Marshall(AmazonWebServiceRequest input)
{
return this.Marshall((UpdateDocumentationVersionRequest)input);
}
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="publicRequest"></param>
/// <returns></returns>
public IRequest Marshall(UpdateDocumentationVersionRequest publicRequest)
{
IRequest request = new DefaultRequest(publicRequest, "Amazon.APIGateway");
request.Headers["Content-Type"] = "application/json";
request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2015-07-09";
request.HttpMethod = "PATCH";
if (!publicRequest.IsSetDocumentationVersion())
throw new AmazonAPIGatewayException("Request object does not have required field DocumentationVersion set");
request.AddPathResource("{doc_version}", StringUtils.FromString(publicRequest.DocumentationVersion));
if (!publicRequest.IsSetRestApiId())
throw new AmazonAPIGatewayException("Request object does not have required field RestApiId set");
request.AddPathResource("{restapi_id}", StringUtils.FromString(publicRequest.RestApiId));
request.ResourcePath = "/restapis/{restapi_id}/documentation/versions/{doc_version}";
using (StringWriter stringWriter = new StringWriter(CultureInfo.InvariantCulture))
{
JsonWriter writer = new JsonWriter(stringWriter);
writer.WriteObjectStart();
var context = new JsonMarshallerContext(request, writer);
if(publicRequest.IsSetPatchOperations())
{
context.Writer.WritePropertyName("patchOperations");
context.Writer.WriteArrayStart();
foreach(var publicRequestPatchOperationsListValue in publicRequest.PatchOperations)
{
context.Writer.WriteObjectStart();
var marshaller = PatchOperationMarshaller.Instance;
marshaller.Marshall(publicRequestPatchOperationsListValue, context);
context.Writer.WriteObjectEnd();
}
context.Writer.WriteArrayEnd();
}
writer.WriteObjectEnd();
string snippet = stringWriter.ToString();
request.Content = System.Text.Encoding.UTF8.GetBytes(snippet);
}
return request;
}
private static UpdateDocumentationVersionRequestMarshaller _instance = new UpdateDocumentationVersionRequestMarshaller();
internal static UpdateDocumentationVersionRequestMarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static UpdateDocumentationVersionRequestMarshaller Instance
{
get
{
return _instance;
}
}
}
} | 117 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apigateway-2015-07-09.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Net;
using System.Text;
using System.Xml.Serialization;
using Amazon.APIGateway.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.APIGateway.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for UpdateDocumentationVersion operation
/// </summary>
public class UpdateDocumentationVersionResponseUnmarshaller : JsonResponseUnmarshaller
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context)
{
UpdateDocumentationVersionResponse response = new UpdateDocumentationVersionResponse();
context.Read();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("createdDate", targetDepth))
{
var unmarshaller = DateTimeUnmarshaller.Instance;
response.CreatedDate = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("description", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.Description = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("version", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.Version = unmarshaller.Unmarshall(context);
continue;
}
}
return response;
}
/// <summary>
/// Unmarshaller error response to exception.
/// </summary>
/// <param name="context"></param>
/// <param name="innerException"></param>
/// <param name="statusCode"></param>
/// <returns></returns>
public override AmazonServiceException UnmarshallException(JsonUnmarshallerContext context, Exception innerException, HttpStatusCode statusCode)
{
var errorResponse = JsonErrorResponseUnmarshaller.GetInstance().Unmarshall(context);
errorResponse.InnerException = innerException;
errorResponse.StatusCode = statusCode;
var responseBodyBytes = context.GetResponseBodyBytes();
using (var streamCopy = new MemoryStream(responseBodyBytes))
using (var contextCopy = new JsonUnmarshallerContext(streamCopy, false, null))
{
if (errorResponse.Code != null && errorResponse.Code.Equals("BadRequestException"))
{
return BadRequestExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ConflictException"))
{
return ConflictExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("LimitExceededException"))
{
return LimitExceededExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("NotFoundException"))
{
return NotFoundExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("TooManyRequestsException"))
{
return TooManyRequestsExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("UnauthorizedException"))
{
return UnauthorizedExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
}
return new AmazonAPIGatewayException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode);
}
private static UpdateDocumentationVersionResponseUnmarshaller _instance = new UpdateDocumentationVersionResponseUnmarshaller();
internal static UpdateDocumentationVersionResponseUnmarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static UpdateDocumentationVersionResponseUnmarshaller Instance
{
get
{
return _instance;
}
}
}
} | 142 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apigateway-2015-07-09.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Text;
using System.Xml.Serialization;
using Amazon.APIGateway.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.APIGateway.Model.Internal.MarshallTransformations
{
/// <summary>
/// UpdateDomainName Request Marshaller
/// </summary>
public class UpdateDomainNameRequestMarshaller : IMarshaller<IRequest, UpdateDomainNameRequest> , IMarshaller<IRequest,AmazonWebServiceRequest>
{
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="input"></param>
/// <returns></returns>
public IRequest Marshall(AmazonWebServiceRequest input)
{
return this.Marshall((UpdateDomainNameRequest)input);
}
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="publicRequest"></param>
/// <returns></returns>
public IRequest Marshall(UpdateDomainNameRequest publicRequest)
{
IRequest request = new DefaultRequest(publicRequest, "Amazon.APIGateway");
request.Headers["Content-Type"] = "application/json";
request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2015-07-09";
request.HttpMethod = "PATCH";
if (!publicRequest.IsSetDomainName())
throw new AmazonAPIGatewayException("Request object does not have required field DomainName set");
request.AddPathResource("{domain_name}", StringUtils.FromString(publicRequest.DomainName));
request.ResourcePath = "/domainnames/{domain_name}";
using (StringWriter stringWriter = new StringWriter(CultureInfo.InvariantCulture))
{
JsonWriter writer = new JsonWriter(stringWriter);
writer.WriteObjectStart();
var context = new JsonMarshallerContext(request, writer);
if(publicRequest.IsSetPatchOperations())
{
context.Writer.WritePropertyName("patchOperations");
context.Writer.WriteArrayStart();
foreach(var publicRequestPatchOperationsListValue in publicRequest.PatchOperations)
{
context.Writer.WriteObjectStart();
var marshaller = PatchOperationMarshaller.Instance;
marshaller.Marshall(publicRequestPatchOperationsListValue, context);
context.Writer.WriteObjectEnd();
}
context.Writer.WriteArrayEnd();
}
writer.WriteObjectEnd();
string snippet = stringWriter.ToString();
request.Content = System.Text.Encoding.UTF8.GetBytes(snippet);
}
return request;
}
private static UpdateDomainNameRequestMarshaller _instance = new UpdateDomainNameRequestMarshaller();
internal static UpdateDomainNameRequestMarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static UpdateDomainNameRequestMarshaller Instance
{
get
{
return _instance;
}
}
}
} | 114 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apigateway-2015-07-09.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Net;
using System.Text;
using System.Xml.Serialization;
using Amazon.APIGateway.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.APIGateway.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for UpdateDomainName operation
/// </summary>
public class UpdateDomainNameResponseUnmarshaller : JsonResponseUnmarshaller
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context)
{
UpdateDomainNameResponse response = new UpdateDomainNameResponse();
context.Read();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("certificateArn", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.CertificateArn = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("certificateName", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.CertificateName = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("certificateUploadDate", targetDepth))
{
var unmarshaller = DateTimeUnmarshaller.Instance;
response.CertificateUploadDate = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("distributionDomainName", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.DistributionDomainName = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("distributionHostedZoneId", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.DistributionHostedZoneId = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("domainNameStatus", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.DomainNameStatus = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("domainNameStatusMessage", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.DomainNameStatusMessage = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("endpointConfiguration", targetDepth))
{
var unmarshaller = EndpointConfigurationUnmarshaller.Instance;
response.EndpointConfiguration = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("mutualTlsAuthentication", targetDepth))
{
var unmarshaller = MutualTlsAuthenticationUnmarshaller.Instance;
response.MutualTlsAuthentication = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("domainName", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.Name = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("ownershipVerificationCertificateArn", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.OwnershipVerificationCertificateArn = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("regionalCertificateArn", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.RegionalCertificateArn = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("regionalCertificateName", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.RegionalCertificateName = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("regionalDomainName", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.RegionalDomainName = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("regionalHostedZoneId", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.RegionalHostedZoneId = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("securityPolicy", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.SecurityPolicy = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("tags", targetDepth))
{
var unmarshaller = new DictionaryUnmarshaller<string, string, StringUnmarshaller, StringUnmarshaller>(StringUnmarshaller.Instance, StringUnmarshaller.Instance);
response.Tags = unmarshaller.Unmarshall(context);
continue;
}
}
return response;
}
/// <summary>
/// Unmarshaller error response to exception.
/// </summary>
/// <param name="context"></param>
/// <param name="innerException"></param>
/// <param name="statusCode"></param>
/// <returns></returns>
public override AmazonServiceException UnmarshallException(JsonUnmarshallerContext context, Exception innerException, HttpStatusCode statusCode)
{
var errorResponse = JsonErrorResponseUnmarshaller.GetInstance().Unmarshall(context);
errorResponse.InnerException = innerException;
errorResponse.StatusCode = statusCode;
var responseBodyBytes = context.GetResponseBodyBytes();
using (var streamCopy = new MemoryStream(responseBodyBytes))
using (var contextCopy = new JsonUnmarshallerContext(streamCopy, false, null))
{
if (errorResponse.Code != null && errorResponse.Code.Equals("BadRequestException"))
{
return BadRequestExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ConflictException"))
{
return ConflictExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("LimitExceededException"))
{
return LimitExceededExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("NotFoundException"))
{
return NotFoundExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("TooManyRequestsException"))
{
return TooManyRequestsExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("UnauthorizedException"))
{
return UnauthorizedExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
}
return new AmazonAPIGatewayException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode);
}
private static UpdateDomainNameResponseUnmarshaller _instance = new UpdateDomainNameResponseUnmarshaller();
internal static UpdateDomainNameResponseUnmarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static UpdateDomainNameResponseUnmarshaller Instance
{
get
{
return _instance;
}
}
}
} | 226 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apigateway-2015-07-09.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Text;
using System.Xml.Serialization;
using Amazon.APIGateway.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.APIGateway.Model.Internal.MarshallTransformations
{
/// <summary>
/// UpdateGatewayResponse Request Marshaller
/// </summary>
public class UpdateGatewayResponseRequestMarshaller : IMarshaller<IRequest, UpdateGatewayResponseRequest> , IMarshaller<IRequest,AmazonWebServiceRequest>
{
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="input"></param>
/// <returns></returns>
public IRequest Marshall(AmazonWebServiceRequest input)
{
return this.Marshall((UpdateGatewayResponseRequest)input);
}
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="publicRequest"></param>
/// <returns></returns>
public IRequest Marshall(UpdateGatewayResponseRequest publicRequest)
{
IRequest request = new DefaultRequest(publicRequest, "Amazon.APIGateway");
request.Headers["Content-Type"] = "application/json";
request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2015-07-09";
request.HttpMethod = "PATCH";
if (!publicRequest.IsSetResponseType())
throw new AmazonAPIGatewayException("Request object does not have required field ResponseType set");
request.AddPathResource("{response_type}", StringUtils.FromString(publicRequest.ResponseType));
if (!publicRequest.IsSetRestApiId())
throw new AmazonAPIGatewayException("Request object does not have required field RestApiId set");
request.AddPathResource("{restapi_id}", StringUtils.FromString(publicRequest.RestApiId));
request.ResourcePath = "/restapis/{restapi_id}/gatewayresponses/{response_type}";
using (StringWriter stringWriter = new StringWriter(CultureInfo.InvariantCulture))
{
JsonWriter writer = new JsonWriter(stringWriter);
writer.WriteObjectStart();
var context = new JsonMarshallerContext(request, writer);
if(publicRequest.IsSetPatchOperations())
{
context.Writer.WritePropertyName("patchOperations");
context.Writer.WriteArrayStart();
foreach(var publicRequestPatchOperationsListValue in publicRequest.PatchOperations)
{
context.Writer.WriteObjectStart();
var marshaller = PatchOperationMarshaller.Instance;
marshaller.Marshall(publicRequestPatchOperationsListValue, context);
context.Writer.WriteObjectEnd();
}
context.Writer.WriteArrayEnd();
}
writer.WriteObjectEnd();
string snippet = stringWriter.ToString();
request.Content = System.Text.Encoding.UTF8.GetBytes(snippet);
}
return request;
}
private static UpdateGatewayResponseRequestMarshaller _instance = new UpdateGatewayResponseRequestMarshaller();
internal static UpdateGatewayResponseRequestMarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static UpdateGatewayResponseRequestMarshaller Instance
{
get
{
return _instance;
}
}
}
} | 117 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apigateway-2015-07-09.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Net;
using System.Text;
using System.Xml.Serialization;
using Amazon.APIGateway.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.APIGateway.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for UpdateGatewayResponse operation
/// </summary>
public class UpdateGatewayResponseResponseUnmarshaller : JsonResponseUnmarshaller
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context)
{
UpdateGatewayResponseResponse response = new UpdateGatewayResponseResponse();
context.Read();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("defaultResponse", targetDepth))
{
var unmarshaller = BoolUnmarshaller.Instance;
response.DefaultResponse = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("responseParameters", targetDepth))
{
var unmarshaller = new DictionaryUnmarshaller<string, string, StringUnmarshaller, StringUnmarshaller>(StringUnmarshaller.Instance, StringUnmarshaller.Instance);
response.ResponseParameters = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("responseTemplates", targetDepth))
{
var unmarshaller = new DictionaryUnmarshaller<string, string, StringUnmarshaller, StringUnmarshaller>(StringUnmarshaller.Instance, StringUnmarshaller.Instance);
response.ResponseTemplates = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("responseType", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.ResponseType = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("statusCode", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.StatusCode = unmarshaller.Unmarshall(context);
continue;
}
}
return response;
}
/// <summary>
/// Unmarshaller error response to exception.
/// </summary>
/// <param name="context"></param>
/// <param name="innerException"></param>
/// <param name="statusCode"></param>
/// <returns></returns>
public override AmazonServiceException UnmarshallException(JsonUnmarshallerContext context, Exception innerException, HttpStatusCode statusCode)
{
var errorResponse = JsonErrorResponseUnmarshaller.GetInstance().Unmarshall(context);
errorResponse.InnerException = innerException;
errorResponse.StatusCode = statusCode;
var responseBodyBytes = context.GetResponseBodyBytes();
using (var streamCopy = new MemoryStream(responseBodyBytes))
using (var contextCopy = new JsonUnmarshallerContext(streamCopy, false, null))
{
if (errorResponse.Code != null && errorResponse.Code.Equals("BadRequestException"))
{
return BadRequestExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ConflictException"))
{
return ConflictExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("LimitExceededException"))
{
return LimitExceededExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("NotFoundException"))
{
return NotFoundExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("TooManyRequestsException"))
{
return TooManyRequestsExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("UnauthorizedException"))
{
return UnauthorizedExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
}
return new AmazonAPIGatewayException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode);
}
private static UpdateGatewayResponseResponseUnmarshaller _instance = new UpdateGatewayResponseResponseUnmarshaller();
internal static UpdateGatewayResponseResponseUnmarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static UpdateGatewayResponseResponseUnmarshaller Instance
{
get
{
return _instance;
}
}
}
} | 154 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apigateway-2015-07-09.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Text;
using System.Xml.Serialization;
using Amazon.APIGateway.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.APIGateway.Model.Internal.MarshallTransformations
{
/// <summary>
/// UpdateIntegration Request Marshaller
/// </summary>
public class UpdateIntegrationRequestMarshaller : IMarshaller<IRequest, UpdateIntegrationRequest> , IMarshaller<IRequest,AmazonWebServiceRequest>
{
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="input"></param>
/// <returns></returns>
public IRequest Marshall(AmazonWebServiceRequest input)
{
return this.Marshall((UpdateIntegrationRequest)input);
}
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="publicRequest"></param>
/// <returns></returns>
public IRequest Marshall(UpdateIntegrationRequest publicRequest)
{
IRequest request = new DefaultRequest(publicRequest, "Amazon.APIGateway");
request.Headers["Content-Type"] = "application/json";
request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2015-07-09";
request.HttpMethod = "PATCH";
if (!publicRequest.IsSetHttpMethod())
throw new AmazonAPIGatewayException("Request object does not have required field HttpMethod set");
request.AddPathResource("{http_method}", StringUtils.FromString(publicRequest.HttpMethod));
if (!publicRequest.IsSetResourceId())
throw new AmazonAPIGatewayException("Request object does not have required field ResourceId set");
request.AddPathResource("{resource_id}", StringUtils.FromString(publicRequest.ResourceId));
if (!publicRequest.IsSetRestApiId())
throw new AmazonAPIGatewayException("Request object does not have required field RestApiId set");
request.AddPathResource("{restapi_id}", StringUtils.FromString(publicRequest.RestApiId));
request.ResourcePath = "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/integration";
using (StringWriter stringWriter = new StringWriter(CultureInfo.InvariantCulture))
{
JsonWriter writer = new JsonWriter(stringWriter);
writer.WriteObjectStart();
var context = new JsonMarshallerContext(request, writer);
if(publicRequest.IsSetPatchOperations())
{
context.Writer.WritePropertyName("patchOperations");
context.Writer.WriteArrayStart();
foreach(var publicRequestPatchOperationsListValue in publicRequest.PatchOperations)
{
context.Writer.WriteObjectStart();
var marshaller = PatchOperationMarshaller.Instance;
marshaller.Marshall(publicRequestPatchOperationsListValue, context);
context.Writer.WriteObjectEnd();
}
context.Writer.WriteArrayEnd();
}
writer.WriteObjectEnd();
string snippet = stringWriter.ToString();
request.Content = System.Text.Encoding.UTF8.GetBytes(snippet);
}
return request;
}
private static UpdateIntegrationRequestMarshaller _instance = new UpdateIntegrationRequestMarshaller();
internal static UpdateIntegrationRequestMarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static UpdateIntegrationRequestMarshaller Instance
{
get
{
return _instance;
}
}
}
} | 120 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apigateway-2015-07-09.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Text;
using System.Xml.Serialization;
using Amazon.APIGateway.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.APIGateway.Model.Internal.MarshallTransformations
{
/// <summary>
/// UpdateIntegrationResponse Request Marshaller
/// </summary>
public class UpdateIntegrationResponseRequestMarshaller : IMarshaller<IRequest, UpdateIntegrationResponseRequest> , IMarshaller<IRequest,AmazonWebServiceRequest>
{
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="input"></param>
/// <returns></returns>
public IRequest Marshall(AmazonWebServiceRequest input)
{
return this.Marshall((UpdateIntegrationResponseRequest)input);
}
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="publicRequest"></param>
/// <returns></returns>
public IRequest Marshall(UpdateIntegrationResponseRequest publicRequest)
{
IRequest request = new DefaultRequest(publicRequest, "Amazon.APIGateway");
request.Headers["Content-Type"] = "application/json";
request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2015-07-09";
request.HttpMethod = "PATCH";
if (!publicRequest.IsSetHttpMethod())
throw new AmazonAPIGatewayException("Request object does not have required field HttpMethod set");
request.AddPathResource("{http_method}", StringUtils.FromString(publicRequest.HttpMethod));
if (!publicRequest.IsSetResourceId())
throw new AmazonAPIGatewayException("Request object does not have required field ResourceId set");
request.AddPathResource("{resource_id}", StringUtils.FromString(publicRequest.ResourceId));
if (!publicRequest.IsSetRestApiId())
throw new AmazonAPIGatewayException("Request object does not have required field RestApiId set");
request.AddPathResource("{restapi_id}", StringUtils.FromString(publicRequest.RestApiId));
if (!publicRequest.IsSetStatusCode())
throw new AmazonAPIGatewayException("Request object does not have required field StatusCode set");
request.AddPathResource("{status_code}", StringUtils.FromString(publicRequest.StatusCode));
request.ResourcePath = "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/integration/responses/{status_code}";
using (StringWriter stringWriter = new StringWriter(CultureInfo.InvariantCulture))
{
JsonWriter writer = new JsonWriter(stringWriter);
writer.WriteObjectStart();
var context = new JsonMarshallerContext(request, writer);
if(publicRequest.IsSetPatchOperations())
{
context.Writer.WritePropertyName("patchOperations");
context.Writer.WriteArrayStart();
foreach(var publicRequestPatchOperationsListValue in publicRequest.PatchOperations)
{
context.Writer.WriteObjectStart();
var marshaller = PatchOperationMarshaller.Instance;
marshaller.Marshall(publicRequestPatchOperationsListValue, context);
context.Writer.WriteObjectEnd();
}
context.Writer.WriteArrayEnd();
}
writer.WriteObjectEnd();
string snippet = stringWriter.ToString();
request.Content = System.Text.Encoding.UTF8.GetBytes(snippet);
}
return request;
}
private static UpdateIntegrationResponseRequestMarshaller _instance = new UpdateIntegrationResponseRequestMarshaller();
internal static UpdateIntegrationResponseRequestMarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static UpdateIntegrationResponseRequestMarshaller Instance
{
get
{
return _instance;
}
}
}
} | 123 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apigateway-2015-07-09.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Net;
using System.Text;
using System.Xml.Serialization;
using Amazon.APIGateway.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.APIGateway.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for UpdateIntegrationResponse operation
/// </summary>
public class UpdateIntegrationResponseResponseUnmarshaller : JsonResponseUnmarshaller
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context)
{
UpdateIntegrationResponseResponse response = new UpdateIntegrationResponseResponse();
context.Read();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("contentHandling", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.ContentHandling = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("responseParameters", targetDepth))
{
var unmarshaller = new DictionaryUnmarshaller<string, string, StringUnmarshaller, StringUnmarshaller>(StringUnmarshaller.Instance, StringUnmarshaller.Instance);
response.ResponseParameters = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("responseTemplates", targetDepth))
{
var unmarshaller = new DictionaryUnmarshaller<string, string, StringUnmarshaller, StringUnmarshaller>(StringUnmarshaller.Instance, StringUnmarshaller.Instance);
response.ResponseTemplates = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("selectionPattern", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.SelectionPattern = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("statusCode", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.StatusCode = unmarshaller.Unmarshall(context);
continue;
}
}
return response;
}
/// <summary>
/// Unmarshaller error response to exception.
/// </summary>
/// <param name="context"></param>
/// <param name="innerException"></param>
/// <param name="statusCode"></param>
/// <returns></returns>
public override AmazonServiceException UnmarshallException(JsonUnmarshallerContext context, Exception innerException, HttpStatusCode statusCode)
{
var errorResponse = JsonErrorResponseUnmarshaller.GetInstance().Unmarshall(context);
errorResponse.InnerException = innerException;
errorResponse.StatusCode = statusCode;
var responseBodyBytes = context.GetResponseBodyBytes();
using (var streamCopy = new MemoryStream(responseBodyBytes))
using (var contextCopy = new JsonUnmarshallerContext(streamCopy, false, null))
{
if (errorResponse.Code != null && errorResponse.Code.Equals("BadRequestException"))
{
return BadRequestExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ConflictException"))
{
return ConflictExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("LimitExceededException"))
{
return LimitExceededExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("NotFoundException"))
{
return NotFoundExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("TooManyRequestsException"))
{
return TooManyRequestsExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("UnauthorizedException"))
{
return UnauthorizedExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
}
return new AmazonAPIGatewayException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode);
}
private static UpdateIntegrationResponseResponseUnmarshaller _instance = new UpdateIntegrationResponseResponseUnmarshaller();
internal static UpdateIntegrationResponseResponseUnmarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static UpdateIntegrationResponseResponseUnmarshaller Instance
{
get
{
return _instance;
}
}
}
} | 154 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apigateway-2015-07-09.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Net;
using System.Text;
using System.Xml.Serialization;
using Amazon.APIGateway.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.APIGateway.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for UpdateIntegration operation
/// </summary>
public class UpdateIntegrationResponseUnmarshaller : JsonResponseUnmarshaller
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context)
{
UpdateIntegrationResponse response = new UpdateIntegrationResponse();
context.Read();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("cacheKeyParameters", targetDepth))
{
var unmarshaller = new ListUnmarshaller<string, StringUnmarshaller>(StringUnmarshaller.Instance);
response.CacheKeyParameters = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("cacheNamespace", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.CacheNamespace = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("connectionId", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.ConnectionId = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("connectionType", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.ConnectionType = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("contentHandling", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.ContentHandling = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("credentials", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.Credentials = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("httpMethod", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.HttpMethod = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("integrationResponses", targetDepth))
{
var unmarshaller = new DictionaryUnmarshaller<string, IntegrationResponse, StringUnmarshaller, IntegrationResponseUnmarshaller>(StringUnmarshaller.Instance, IntegrationResponseUnmarshaller.Instance);
response.IntegrationResponses = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("passthroughBehavior", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.PassthroughBehavior = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("requestParameters", targetDepth))
{
var unmarshaller = new DictionaryUnmarshaller<string, string, StringUnmarshaller, StringUnmarshaller>(StringUnmarshaller.Instance, StringUnmarshaller.Instance);
response.RequestParameters = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("requestTemplates", targetDepth))
{
var unmarshaller = new DictionaryUnmarshaller<string, string, StringUnmarshaller, StringUnmarshaller>(StringUnmarshaller.Instance, StringUnmarshaller.Instance);
response.RequestTemplates = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("timeoutInMillis", targetDepth))
{
var unmarshaller = IntUnmarshaller.Instance;
response.TimeoutInMillis = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("tlsConfig", targetDepth))
{
var unmarshaller = TlsConfigUnmarshaller.Instance;
response.TlsConfig = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("type", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.Type = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("uri", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.Uri = unmarshaller.Unmarshall(context);
continue;
}
}
return response;
}
/// <summary>
/// Unmarshaller error response to exception.
/// </summary>
/// <param name="context"></param>
/// <param name="innerException"></param>
/// <param name="statusCode"></param>
/// <returns></returns>
public override AmazonServiceException UnmarshallException(JsonUnmarshallerContext context, Exception innerException, HttpStatusCode statusCode)
{
var errorResponse = JsonErrorResponseUnmarshaller.GetInstance().Unmarshall(context);
errorResponse.InnerException = innerException;
errorResponse.StatusCode = statusCode;
var responseBodyBytes = context.GetResponseBodyBytes();
using (var streamCopy = new MemoryStream(responseBodyBytes))
using (var contextCopy = new JsonUnmarshallerContext(streamCopy, false, null))
{
if (errorResponse.Code != null && errorResponse.Code.Equals("BadRequestException"))
{
return BadRequestExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ConflictException"))
{
return ConflictExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("LimitExceededException"))
{
return LimitExceededExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("NotFoundException"))
{
return NotFoundExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("TooManyRequestsException"))
{
return TooManyRequestsExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("UnauthorizedException"))
{
return UnauthorizedExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
}
return new AmazonAPIGatewayException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode);
}
private static UpdateIntegrationResponseUnmarshaller _instance = new UpdateIntegrationResponseUnmarshaller();
internal static UpdateIntegrationResponseUnmarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static UpdateIntegrationResponseUnmarshaller Instance
{
get
{
return _instance;
}
}
}
} | 214 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apigateway-2015-07-09.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Text;
using System.Xml.Serialization;
using Amazon.APIGateway.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.APIGateway.Model.Internal.MarshallTransformations
{
/// <summary>
/// UpdateMethod Request Marshaller
/// </summary>
public class UpdateMethodRequestMarshaller : IMarshaller<IRequest, UpdateMethodRequest> , IMarshaller<IRequest,AmazonWebServiceRequest>
{
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="input"></param>
/// <returns></returns>
public IRequest Marshall(AmazonWebServiceRequest input)
{
return this.Marshall((UpdateMethodRequest)input);
}
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="publicRequest"></param>
/// <returns></returns>
public IRequest Marshall(UpdateMethodRequest publicRequest)
{
IRequest request = new DefaultRequest(publicRequest, "Amazon.APIGateway");
request.Headers["Content-Type"] = "application/json";
request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2015-07-09";
request.HttpMethod = "PATCH";
if (!publicRequest.IsSetHttpMethod())
throw new AmazonAPIGatewayException("Request object does not have required field HttpMethod set");
request.AddPathResource("{http_method}", StringUtils.FromString(publicRequest.HttpMethod));
if (!publicRequest.IsSetResourceId())
throw new AmazonAPIGatewayException("Request object does not have required field ResourceId set");
request.AddPathResource("{resource_id}", StringUtils.FromString(publicRequest.ResourceId));
if (!publicRequest.IsSetRestApiId())
throw new AmazonAPIGatewayException("Request object does not have required field RestApiId set");
request.AddPathResource("{restapi_id}", StringUtils.FromString(publicRequest.RestApiId));
request.ResourcePath = "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}";
using (StringWriter stringWriter = new StringWriter(CultureInfo.InvariantCulture))
{
JsonWriter writer = new JsonWriter(stringWriter);
writer.WriteObjectStart();
var context = new JsonMarshallerContext(request, writer);
if(publicRequest.IsSetPatchOperations())
{
context.Writer.WritePropertyName("patchOperations");
context.Writer.WriteArrayStart();
foreach(var publicRequestPatchOperationsListValue in publicRequest.PatchOperations)
{
context.Writer.WriteObjectStart();
var marshaller = PatchOperationMarshaller.Instance;
marshaller.Marshall(publicRequestPatchOperationsListValue, context);
context.Writer.WriteObjectEnd();
}
context.Writer.WriteArrayEnd();
}
writer.WriteObjectEnd();
string snippet = stringWriter.ToString();
request.Content = System.Text.Encoding.UTF8.GetBytes(snippet);
}
return request;
}
private static UpdateMethodRequestMarshaller _instance = new UpdateMethodRequestMarshaller();
internal static UpdateMethodRequestMarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static UpdateMethodRequestMarshaller Instance
{
get
{
return _instance;
}
}
}
} | 120 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apigateway-2015-07-09.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Text;
using System.Xml.Serialization;
using Amazon.APIGateway.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.APIGateway.Model.Internal.MarshallTransformations
{
/// <summary>
/// UpdateMethodResponse Request Marshaller
/// </summary>
public class UpdateMethodResponseRequestMarshaller : IMarshaller<IRequest, UpdateMethodResponseRequest> , IMarshaller<IRequest,AmazonWebServiceRequest>
{
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="input"></param>
/// <returns></returns>
public IRequest Marshall(AmazonWebServiceRequest input)
{
return this.Marshall((UpdateMethodResponseRequest)input);
}
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="publicRequest"></param>
/// <returns></returns>
public IRequest Marshall(UpdateMethodResponseRequest publicRequest)
{
IRequest request = new DefaultRequest(publicRequest, "Amazon.APIGateway");
request.Headers["Content-Type"] = "application/json";
request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2015-07-09";
request.HttpMethod = "PATCH";
if (!publicRequest.IsSetHttpMethod())
throw new AmazonAPIGatewayException("Request object does not have required field HttpMethod set");
request.AddPathResource("{http_method}", StringUtils.FromString(publicRequest.HttpMethod));
if (!publicRequest.IsSetResourceId())
throw new AmazonAPIGatewayException("Request object does not have required field ResourceId set");
request.AddPathResource("{resource_id}", StringUtils.FromString(publicRequest.ResourceId));
if (!publicRequest.IsSetRestApiId())
throw new AmazonAPIGatewayException("Request object does not have required field RestApiId set");
request.AddPathResource("{restapi_id}", StringUtils.FromString(publicRequest.RestApiId));
if (!publicRequest.IsSetStatusCode())
throw new AmazonAPIGatewayException("Request object does not have required field StatusCode set");
request.AddPathResource("{status_code}", StringUtils.FromString(publicRequest.StatusCode));
request.ResourcePath = "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/responses/{status_code}";
using (StringWriter stringWriter = new StringWriter(CultureInfo.InvariantCulture))
{
JsonWriter writer = new JsonWriter(stringWriter);
writer.WriteObjectStart();
var context = new JsonMarshallerContext(request, writer);
if(publicRequest.IsSetPatchOperations())
{
context.Writer.WritePropertyName("patchOperations");
context.Writer.WriteArrayStart();
foreach(var publicRequestPatchOperationsListValue in publicRequest.PatchOperations)
{
context.Writer.WriteObjectStart();
var marshaller = PatchOperationMarshaller.Instance;
marshaller.Marshall(publicRequestPatchOperationsListValue, context);
context.Writer.WriteObjectEnd();
}
context.Writer.WriteArrayEnd();
}
writer.WriteObjectEnd();
string snippet = stringWriter.ToString();
request.Content = System.Text.Encoding.UTF8.GetBytes(snippet);
}
return request;
}
private static UpdateMethodResponseRequestMarshaller _instance = new UpdateMethodResponseRequestMarshaller();
internal static UpdateMethodResponseRequestMarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static UpdateMethodResponseRequestMarshaller Instance
{
get
{
return _instance;
}
}
}
} | 123 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apigateway-2015-07-09.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Net;
using System.Text;
using System.Xml.Serialization;
using Amazon.APIGateway.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.APIGateway.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for UpdateMethodResponse operation
/// </summary>
public class UpdateMethodResponseResponseUnmarshaller : JsonResponseUnmarshaller
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context)
{
UpdateMethodResponseResponse response = new UpdateMethodResponseResponse();
context.Read();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("responseModels", targetDepth))
{
var unmarshaller = new DictionaryUnmarshaller<string, string, StringUnmarshaller, StringUnmarshaller>(StringUnmarshaller.Instance, StringUnmarshaller.Instance);
response.ResponseModels = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("responseParameters", targetDepth))
{
var unmarshaller = new DictionaryUnmarshaller<string, bool, StringUnmarshaller, BoolUnmarshaller>(StringUnmarshaller.Instance, BoolUnmarshaller.Instance);
response.ResponseParameters = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("statusCode", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.StatusCode = unmarshaller.Unmarshall(context);
continue;
}
}
return response;
}
/// <summary>
/// Unmarshaller error response to exception.
/// </summary>
/// <param name="context"></param>
/// <param name="innerException"></param>
/// <param name="statusCode"></param>
/// <returns></returns>
public override AmazonServiceException UnmarshallException(JsonUnmarshallerContext context, Exception innerException, HttpStatusCode statusCode)
{
var errorResponse = JsonErrorResponseUnmarshaller.GetInstance().Unmarshall(context);
errorResponse.InnerException = innerException;
errorResponse.StatusCode = statusCode;
var responseBodyBytes = context.GetResponseBodyBytes();
using (var streamCopy = new MemoryStream(responseBodyBytes))
using (var contextCopy = new JsonUnmarshallerContext(streamCopy, false, null))
{
if (errorResponse.Code != null && errorResponse.Code.Equals("BadRequestException"))
{
return BadRequestExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ConflictException"))
{
return ConflictExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("LimitExceededException"))
{
return LimitExceededExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("NotFoundException"))
{
return NotFoundExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("TooManyRequestsException"))
{
return TooManyRequestsExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("UnauthorizedException"))
{
return UnauthorizedExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
}
return new AmazonAPIGatewayException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode);
}
private static UpdateMethodResponseResponseUnmarshaller _instance = new UpdateMethodResponseResponseUnmarshaller();
internal static UpdateMethodResponseResponseUnmarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static UpdateMethodResponseResponseUnmarshaller Instance
{
get
{
return _instance;
}
}
}
} | 142 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apigateway-2015-07-09.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Net;
using System.Text;
using System.Xml.Serialization;
using Amazon.APIGateway.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.APIGateway.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for UpdateMethod operation
/// </summary>
public class UpdateMethodResponseUnmarshaller : JsonResponseUnmarshaller
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context)
{
UpdateMethodResponse response = new UpdateMethodResponse();
context.Read();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("apiKeyRequired", targetDepth))
{
var unmarshaller = BoolUnmarshaller.Instance;
response.ApiKeyRequired = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("authorizationScopes", targetDepth))
{
var unmarshaller = new ListUnmarshaller<string, StringUnmarshaller>(StringUnmarshaller.Instance);
response.AuthorizationScopes = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("authorizationType", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.AuthorizationType = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("authorizerId", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.AuthorizerId = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("httpMethod", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.HttpMethod = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("methodIntegration", targetDepth))
{
var unmarshaller = IntegrationUnmarshaller.Instance;
response.MethodIntegration = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("methodResponses", targetDepth))
{
var unmarshaller = new DictionaryUnmarshaller<string, MethodResponse, StringUnmarshaller, MethodResponseUnmarshaller>(StringUnmarshaller.Instance, MethodResponseUnmarshaller.Instance);
response.MethodResponses = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("operationName", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.OperationName = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("requestModels", targetDepth))
{
var unmarshaller = new DictionaryUnmarshaller<string, string, StringUnmarshaller, StringUnmarshaller>(StringUnmarshaller.Instance, StringUnmarshaller.Instance);
response.RequestModels = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("requestParameters", targetDepth))
{
var unmarshaller = new DictionaryUnmarshaller<string, bool, StringUnmarshaller, BoolUnmarshaller>(StringUnmarshaller.Instance, BoolUnmarshaller.Instance);
response.RequestParameters = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("requestValidatorId", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.RequestValidatorId = unmarshaller.Unmarshall(context);
continue;
}
}
return response;
}
/// <summary>
/// Unmarshaller error response to exception.
/// </summary>
/// <param name="context"></param>
/// <param name="innerException"></param>
/// <param name="statusCode"></param>
/// <returns></returns>
public override AmazonServiceException UnmarshallException(JsonUnmarshallerContext context, Exception innerException, HttpStatusCode statusCode)
{
var errorResponse = JsonErrorResponseUnmarshaller.GetInstance().Unmarshall(context);
errorResponse.InnerException = innerException;
errorResponse.StatusCode = statusCode;
var responseBodyBytes = context.GetResponseBodyBytes();
using (var streamCopy = new MemoryStream(responseBodyBytes))
using (var contextCopy = new JsonUnmarshallerContext(streamCopy, false, null))
{
if (errorResponse.Code != null && errorResponse.Code.Equals("BadRequestException"))
{
return BadRequestExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ConflictException"))
{
return ConflictExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("NotFoundException"))
{
return NotFoundExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("TooManyRequestsException"))
{
return TooManyRequestsExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("UnauthorizedException"))
{
return UnauthorizedExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
}
return new AmazonAPIGatewayException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode);
}
private static UpdateMethodResponseUnmarshaller _instance = new UpdateMethodResponseUnmarshaller();
internal static UpdateMethodResponseUnmarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static UpdateMethodResponseUnmarshaller Instance
{
get
{
return _instance;
}
}
}
} | 186 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apigateway-2015-07-09.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Text;
using System.Xml.Serialization;
using Amazon.APIGateway.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.APIGateway.Model.Internal.MarshallTransformations
{
/// <summary>
/// UpdateModel Request Marshaller
/// </summary>
public class UpdateModelRequestMarshaller : IMarshaller<IRequest, UpdateModelRequest> , IMarshaller<IRequest,AmazonWebServiceRequest>
{
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="input"></param>
/// <returns></returns>
public IRequest Marshall(AmazonWebServiceRequest input)
{
return this.Marshall((UpdateModelRequest)input);
}
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="publicRequest"></param>
/// <returns></returns>
public IRequest Marshall(UpdateModelRequest publicRequest)
{
IRequest request = new DefaultRequest(publicRequest, "Amazon.APIGateway");
request.Headers["Content-Type"] = "application/json";
request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2015-07-09";
request.HttpMethod = "PATCH";
if (!publicRequest.IsSetModelName())
throw new AmazonAPIGatewayException("Request object does not have required field ModelName set");
request.AddPathResource("{model_name}", StringUtils.FromString(publicRequest.ModelName));
if (!publicRequest.IsSetRestApiId())
throw new AmazonAPIGatewayException("Request object does not have required field RestApiId set");
request.AddPathResource("{restapi_id}", StringUtils.FromString(publicRequest.RestApiId));
request.ResourcePath = "/restapis/{restapi_id}/models/{model_name}";
using (StringWriter stringWriter = new StringWriter(CultureInfo.InvariantCulture))
{
JsonWriter writer = new JsonWriter(stringWriter);
writer.WriteObjectStart();
var context = new JsonMarshallerContext(request, writer);
if(publicRequest.IsSetPatchOperations())
{
context.Writer.WritePropertyName("patchOperations");
context.Writer.WriteArrayStart();
foreach(var publicRequestPatchOperationsListValue in publicRequest.PatchOperations)
{
context.Writer.WriteObjectStart();
var marshaller = PatchOperationMarshaller.Instance;
marshaller.Marshall(publicRequestPatchOperationsListValue, context);
context.Writer.WriteObjectEnd();
}
context.Writer.WriteArrayEnd();
}
writer.WriteObjectEnd();
string snippet = stringWriter.ToString();
request.Content = System.Text.Encoding.UTF8.GetBytes(snippet);
}
return request;
}
private static UpdateModelRequestMarshaller _instance = new UpdateModelRequestMarshaller();
internal static UpdateModelRequestMarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static UpdateModelRequestMarshaller Instance
{
get
{
return _instance;
}
}
}
} | 117 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apigateway-2015-07-09.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Net;
using System.Text;
using System.Xml.Serialization;
using Amazon.APIGateway.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.APIGateway.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for UpdateModel operation
/// </summary>
public class UpdateModelResponseUnmarshaller : JsonResponseUnmarshaller
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context)
{
UpdateModelResponse response = new UpdateModelResponse();
context.Read();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("contentType", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.ContentType = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("description", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.Description = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("id", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.Id = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("name", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.Name = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("schema", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.Schema = unmarshaller.Unmarshall(context);
continue;
}
}
return response;
}
/// <summary>
/// Unmarshaller error response to exception.
/// </summary>
/// <param name="context"></param>
/// <param name="innerException"></param>
/// <param name="statusCode"></param>
/// <returns></returns>
public override AmazonServiceException UnmarshallException(JsonUnmarshallerContext context, Exception innerException, HttpStatusCode statusCode)
{
var errorResponse = JsonErrorResponseUnmarshaller.GetInstance().Unmarshall(context);
errorResponse.InnerException = innerException;
errorResponse.StatusCode = statusCode;
var responseBodyBytes = context.GetResponseBodyBytes();
using (var streamCopy = new MemoryStream(responseBodyBytes))
using (var contextCopy = new JsonUnmarshallerContext(streamCopy, false, null))
{
if (errorResponse.Code != null && errorResponse.Code.Equals("BadRequestException"))
{
return BadRequestExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ConflictException"))
{
return ConflictExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("LimitExceededException"))
{
return LimitExceededExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("NotFoundException"))
{
return NotFoundExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("TooManyRequestsException"))
{
return TooManyRequestsExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("UnauthorizedException"))
{
return UnauthorizedExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
}
return new AmazonAPIGatewayException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode);
}
private static UpdateModelResponseUnmarshaller _instance = new UpdateModelResponseUnmarshaller();
internal static UpdateModelResponseUnmarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static UpdateModelResponseUnmarshaller Instance
{
get
{
return _instance;
}
}
}
} | 154 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apigateway-2015-07-09.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Text;
using System.Xml.Serialization;
using Amazon.APIGateway.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.APIGateway.Model.Internal.MarshallTransformations
{
/// <summary>
/// UpdateRequestValidator Request Marshaller
/// </summary>
public class UpdateRequestValidatorRequestMarshaller : IMarshaller<IRequest, UpdateRequestValidatorRequest> , IMarshaller<IRequest,AmazonWebServiceRequest>
{
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="input"></param>
/// <returns></returns>
public IRequest Marshall(AmazonWebServiceRequest input)
{
return this.Marshall((UpdateRequestValidatorRequest)input);
}
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="publicRequest"></param>
/// <returns></returns>
public IRequest Marshall(UpdateRequestValidatorRequest publicRequest)
{
IRequest request = new DefaultRequest(publicRequest, "Amazon.APIGateway");
request.Headers["Content-Type"] = "application/json";
request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2015-07-09";
request.HttpMethod = "PATCH";
if (!publicRequest.IsSetRequestValidatorId())
throw new AmazonAPIGatewayException("Request object does not have required field RequestValidatorId set");
request.AddPathResource("{requestvalidator_id}", StringUtils.FromString(publicRequest.RequestValidatorId));
if (!publicRequest.IsSetRestApiId())
throw new AmazonAPIGatewayException("Request object does not have required field RestApiId set");
request.AddPathResource("{restapi_id}", StringUtils.FromString(publicRequest.RestApiId));
request.ResourcePath = "/restapis/{restapi_id}/requestvalidators/{requestvalidator_id}";
using (StringWriter stringWriter = new StringWriter(CultureInfo.InvariantCulture))
{
JsonWriter writer = new JsonWriter(stringWriter);
writer.WriteObjectStart();
var context = new JsonMarshallerContext(request, writer);
if(publicRequest.IsSetPatchOperations())
{
context.Writer.WritePropertyName("patchOperations");
context.Writer.WriteArrayStart();
foreach(var publicRequestPatchOperationsListValue in publicRequest.PatchOperations)
{
context.Writer.WriteObjectStart();
var marshaller = PatchOperationMarshaller.Instance;
marshaller.Marshall(publicRequestPatchOperationsListValue, context);
context.Writer.WriteObjectEnd();
}
context.Writer.WriteArrayEnd();
}
writer.WriteObjectEnd();
string snippet = stringWriter.ToString();
request.Content = System.Text.Encoding.UTF8.GetBytes(snippet);
}
return request;
}
private static UpdateRequestValidatorRequestMarshaller _instance = new UpdateRequestValidatorRequestMarshaller();
internal static UpdateRequestValidatorRequestMarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static UpdateRequestValidatorRequestMarshaller Instance
{
get
{
return _instance;
}
}
}
} | 117 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apigateway-2015-07-09.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Net;
using System.Text;
using System.Xml.Serialization;
using Amazon.APIGateway.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.APIGateway.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for UpdateRequestValidator operation
/// </summary>
public class UpdateRequestValidatorResponseUnmarshaller : JsonResponseUnmarshaller
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context)
{
UpdateRequestValidatorResponse response = new UpdateRequestValidatorResponse();
context.Read();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("id", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.Id = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("name", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.Name = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("validateRequestBody", targetDepth))
{
var unmarshaller = BoolUnmarshaller.Instance;
response.ValidateRequestBody = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("validateRequestParameters", targetDepth))
{
var unmarshaller = BoolUnmarshaller.Instance;
response.ValidateRequestParameters = unmarshaller.Unmarshall(context);
continue;
}
}
return response;
}
/// <summary>
/// Unmarshaller error response to exception.
/// </summary>
/// <param name="context"></param>
/// <param name="innerException"></param>
/// <param name="statusCode"></param>
/// <returns></returns>
public override AmazonServiceException UnmarshallException(JsonUnmarshallerContext context, Exception innerException, HttpStatusCode statusCode)
{
var errorResponse = JsonErrorResponseUnmarshaller.GetInstance().Unmarshall(context);
errorResponse.InnerException = innerException;
errorResponse.StatusCode = statusCode;
var responseBodyBytes = context.GetResponseBodyBytes();
using (var streamCopy = new MemoryStream(responseBodyBytes))
using (var contextCopy = new JsonUnmarshallerContext(streamCopy, false, null))
{
if (errorResponse.Code != null && errorResponse.Code.Equals("BadRequestException"))
{
return BadRequestExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ConflictException"))
{
return ConflictExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("LimitExceededException"))
{
return LimitExceededExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("NotFoundException"))
{
return NotFoundExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("TooManyRequestsException"))
{
return TooManyRequestsExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("UnauthorizedException"))
{
return UnauthorizedExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
}
return new AmazonAPIGatewayException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode);
}
private static UpdateRequestValidatorResponseUnmarshaller _instance = new UpdateRequestValidatorResponseUnmarshaller();
internal static UpdateRequestValidatorResponseUnmarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static UpdateRequestValidatorResponseUnmarshaller Instance
{
get
{
return _instance;
}
}
}
} | 148 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apigateway-2015-07-09.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Text;
using System.Xml.Serialization;
using Amazon.APIGateway.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.APIGateway.Model.Internal.MarshallTransformations
{
/// <summary>
/// UpdateResource Request Marshaller
/// </summary>
public class UpdateResourceRequestMarshaller : IMarshaller<IRequest, UpdateResourceRequest> , IMarshaller<IRequest,AmazonWebServiceRequest>
{
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="input"></param>
/// <returns></returns>
public IRequest Marshall(AmazonWebServiceRequest input)
{
return this.Marshall((UpdateResourceRequest)input);
}
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="publicRequest"></param>
/// <returns></returns>
public IRequest Marshall(UpdateResourceRequest publicRequest)
{
IRequest request = new DefaultRequest(publicRequest, "Amazon.APIGateway");
request.Headers["Content-Type"] = "application/json";
request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2015-07-09";
request.HttpMethod = "PATCH";
if (!publicRequest.IsSetResourceId())
throw new AmazonAPIGatewayException("Request object does not have required field ResourceId set");
request.AddPathResource("{resource_id}", StringUtils.FromString(publicRequest.ResourceId));
if (!publicRequest.IsSetRestApiId())
throw new AmazonAPIGatewayException("Request object does not have required field RestApiId set");
request.AddPathResource("{restapi_id}", StringUtils.FromString(publicRequest.RestApiId));
request.ResourcePath = "/restapis/{restapi_id}/resources/{resource_id}";
using (StringWriter stringWriter = new StringWriter(CultureInfo.InvariantCulture))
{
JsonWriter writer = new JsonWriter(stringWriter);
writer.WriteObjectStart();
var context = new JsonMarshallerContext(request, writer);
if(publicRequest.IsSetPatchOperations())
{
context.Writer.WritePropertyName("patchOperations");
context.Writer.WriteArrayStart();
foreach(var publicRequestPatchOperationsListValue in publicRequest.PatchOperations)
{
context.Writer.WriteObjectStart();
var marshaller = PatchOperationMarshaller.Instance;
marshaller.Marshall(publicRequestPatchOperationsListValue, context);
context.Writer.WriteObjectEnd();
}
context.Writer.WriteArrayEnd();
}
writer.WriteObjectEnd();
string snippet = stringWriter.ToString();
request.Content = System.Text.Encoding.UTF8.GetBytes(snippet);
}
return request;
}
private static UpdateResourceRequestMarshaller _instance = new UpdateResourceRequestMarshaller();
internal static UpdateResourceRequestMarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static UpdateResourceRequestMarshaller Instance
{
get
{
return _instance;
}
}
}
} | 117 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apigateway-2015-07-09.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Net;
using System.Text;
using System.Xml.Serialization;
using Amazon.APIGateway.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.APIGateway.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for UpdateResource operation
/// </summary>
public class UpdateResourceResponseUnmarshaller : JsonResponseUnmarshaller
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context)
{
UpdateResourceResponse response = new UpdateResourceResponse();
context.Read();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("id", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.Id = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("parentId", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.ParentId = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("path", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.Path = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("pathPart", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.PathPart = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("resourceMethods", targetDepth))
{
var unmarshaller = new DictionaryUnmarshaller<string, Method, StringUnmarshaller, MethodUnmarshaller>(StringUnmarshaller.Instance, MethodUnmarshaller.Instance);
response.ResourceMethods = unmarshaller.Unmarshall(context);
continue;
}
}
return response;
}
/// <summary>
/// Unmarshaller error response to exception.
/// </summary>
/// <param name="context"></param>
/// <param name="innerException"></param>
/// <param name="statusCode"></param>
/// <returns></returns>
public override AmazonServiceException UnmarshallException(JsonUnmarshallerContext context, Exception innerException, HttpStatusCode statusCode)
{
var errorResponse = JsonErrorResponseUnmarshaller.GetInstance().Unmarshall(context);
errorResponse.InnerException = innerException;
errorResponse.StatusCode = statusCode;
var responseBodyBytes = context.GetResponseBodyBytes();
using (var streamCopy = new MemoryStream(responseBodyBytes))
using (var contextCopy = new JsonUnmarshallerContext(streamCopy, false, null))
{
if (errorResponse.Code != null && errorResponse.Code.Equals("BadRequestException"))
{
return BadRequestExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ConflictException"))
{
return ConflictExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("NotFoundException"))
{
return NotFoundExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("TooManyRequestsException"))
{
return TooManyRequestsExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("UnauthorizedException"))
{
return UnauthorizedExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
}
return new AmazonAPIGatewayException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode);
}
private static UpdateResourceResponseUnmarshaller _instance = new UpdateResourceResponseUnmarshaller();
internal static UpdateResourceResponseUnmarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static UpdateResourceResponseUnmarshaller Instance
{
get
{
return _instance;
}
}
}
} | 150 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apigateway-2015-07-09.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Text;
using System.Xml.Serialization;
using Amazon.APIGateway.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.APIGateway.Model.Internal.MarshallTransformations
{
/// <summary>
/// UpdateRestApi Request Marshaller
/// </summary>
public class UpdateRestApiRequestMarshaller : IMarshaller<IRequest, UpdateRestApiRequest> , IMarshaller<IRequest,AmazonWebServiceRequest>
{
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="input"></param>
/// <returns></returns>
public IRequest Marshall(AmazonWebServiceRequest input)
{
return this.Marshall((UpdateRestApiRequest)input);
}
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="publicRequest"></param>
/// <returns></returns>
public IRequest Marshall(UpdateRestApiRequest publicRequest)
{
IRequest request = new DefaultRequest(publicRequest, "Amazon.APIGateway");
request.Headers["Content-Type"] = "application/json";
request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2015-07-09";
request.HttpMethod = "PATCH";
if (!publicRequest.IsSetRestApiId())
throw new AmazonAPIGatewayException("Request object does not have required field RestApiId set");
request.AddPathResource("{restapi_id}", StringUtils.FromString(publicRequest.RestApiId));
request.ResourcePath = "/restapis/{restapi_id}";
using (StringWriter stringWriter = new StringWriter(CultureInfo.InvariantCulture))
{
JsonWriter writer = new JsonWriter(stringWriter);
writer.WriteObjectStart();
var context = new JsonMarshallerContext(request, writer);
if(publicRequest.IsSetPatchOperations())
{
context.Writer.WritePropertyName("patchOperations");
context.Writer.WriteArrayStart();
foreach(var publicRequestPatchOperationsListValue in publicRequest.PatchOperations)
{
context.Writer.WriteObjectStart();
var marshaller = PatchOperationMarshaller.Instance;
marshaller.Marshall(publicRequestPatchOperationsListValue, context);
context.Writer.WriteObjectEnd();
}
context.Writer.WriteArrayEnd();
}
writer.WriteObjectEnd();
string snippet = stringWriter.ToString();
request.Content = System.Text.Encoding.UTF8.GetBytes(snippet);
}
return request;
}
private static UpdateRestApiRequestMarshaller _instance = new UpdateRestApiRequestMarshaller();
internal static UpdateRestApiRequestMarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static UpdateRestApiRequestMarshaller Instance
{
get
{
return _instance;
}
}
}
} | 114 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apigateway-2015-07-09.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Net;
using System.Text;
using System.Xml.Serialization;
using Amazon.APIGateway.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.APIGateway.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for UpdateRestApi operation
/// </summary>
public class UpdateRestApiResponseUnmarshaller : JsonResponseUnmarshaller
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context)
{
UpdateRestApiResponse response = new UpdateRestApiResponse();
context.Read();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("apiKeySource", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.ApiKeySource = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("binaryMediaTypes", targetDepth))
{
var unmarshaller = new ListUnmarshaller<string, StringUnmarshaller>(StringUnmarshaller.Instance);
response.BinaryMediaTypes = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("createdDate", targetDepth))
{
var unmarshaller = DateTimeUnmarshaller.Instance;
response.CreatedDate = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("description", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.Description = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("disableExecuteApiEndpoint", targetDepth))
{
var unmarshaller = BoolUnmarshaller.Instance;
response.DisableExecuteApiEndpoint = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("endpointConfiguration", targetDepth))
{
var unmarshaller = EndpointConfigurationUnmarshaller.Instance;
response.EndpointConfiguration = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("id", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.Id = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("minimumCompressionSize", targetDepth))
{
var unmarshaller = IntUnmarshaller.Instance;
response.MinimumCompressionSize = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("name", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.Name = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("policy", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.Policy = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("tags", targetDepth))
{
var unmarshaller = new DictionaryUnmarshaller<string, string, StringUnmarshaller, StringUnmarshaller>(StringUnmarshaller.Instance, StringUnmarshaller.Instance);
response.Tags = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("version", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.Version = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("warnings", targetDepth))
{
var unmarshaller = new ListUnmarshaller<string, StringUnmarshaller>(StringUnmarshaller.Instance);
response.Warnings = unmarshaller.Unmarshall(context);
continue;
}
}
return response;
}
/// <summary>
/// Unmarshaller error response to exception.
/// </summary>
/// <param name="context"></param>
/// <param name="innerException"></param>
/// <param name="statusCode"></param>
/// <returns></returns>
public override AmazonServiceException UnmarshallException(JsonUnmarshallerContext context, Exception innerException, HttpStatusCode statusCode)
{
var errorResponse = JsonErrorResponseUnmarshaller.GetInstance().Unmarshall(context);
errorResponse.InnerException = innerException;
errorResponse.StatusCode = statusCode;
var responseBodyBytes = context.GetResponseBodyBytes();
using (var streamCopy = new MemoryStream(responseBodyBytes))
using (var contextCopy = new JsonUnmarshallerContext(streamCopy, false, null))
{
if (errorResponse.Code != null && errorResponse.Code.Equals("BadRequestException"))
{
return BadRequestExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ConflictException"))
{
return ConflictExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("LimitExceededException"))
{
return LimitExceededExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("NotFoundException"))
{
return NotFoundExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("TooManyRequestsException"))
{
return TooManyRequestsExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("UnauthorizedException"))
{
return UnauthorizedExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
}
return new AmazonAPIGatewayException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode);
}
private static UpdateRestApiResponseUnmarshaller _instance = new UpdateRestApiResponseUnmarshaller();
internal static UpdateRestApiResponseUnmarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static UpdateRestApiResponseUnmarshaller Instance
{
get
{
return _instance;
}
}
}
} | 202 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apigateway-2015-07-09.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Text;
using System.Xml.Serialization;
using Amazon.APIGateway.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.APIGateway.Model.Internal.MarshallTransformations
{
/// <summary>
/// UpdateStage Request Marshaller
/// </summary>
public class UpdateStageRequestMarshaller : IMarshaller<IRequest, UpdateStageRequest> , IMarshaller<IRequest,AmazonWebServiceRequest>
{
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="input"></param>
/// <returns></returns>
public IRequest Marshall(AmazonWebServiceRequest input)
{
return this.Marshall((UpdateStageRequest)input);
}
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="publicRequest"></param>
/// <returns></returns>
public IRequest Marshall(UpdateStageRequest publicRequest)
{
IRequest request = new DefaultRequest(publicRequest, "Amazon.APIGateway");
request.Headers["Content-Type"] = "application/json";
request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2015-07-09";
request.HttpMethod = "PATCH";
if (!publicRequest.IsSetRestApiId())
throw new AmazonAPIGatewayException("Request object does not have required field RestApiId set");
request.AddPathResource("{restapi_id}", StringUtils.FromString(publicRequest.RestApiId));
if (!publicRequest.IsSetStageName())
throw new AmazonAPIGatewayException("Request object does not have required field StageName set");
request.AddPathResource("{stage_name}", StringUtils.FromString(publicRequest.StageName));
request.ResourcePath = "/restapis/{restapi_id}/stages/{stage_name}";
using (StringWriter stringWriter = new StringWriter(CultureInfo.InvariantCulture))
{
JsonWriter writer = new JsonWriter(stringWriter);
writer.WriteObjectStart();
var context = new JsonMarshallerContext(request, writer);
if(publicRequest.IsSetPatchOperations())
{
context.Writer.WritePropertyName("patchOperations");
context.Writer.WriteArrayStart();
foreach(var publicRequestPatchOperationsListValue in publicRequest.PatchOperations)
{
context.Writer.WriteObjectStart();
var marshaller = PatchOperationMarshaller.Instance;
marshaller.Marshall(publicRequestPatchOperationsListValue, context);
context.Writer.WriteObjectEnd();
}
context.Writer.WriteArrayEnd();
}
writer.WriteObjectEnd();
string snippet = stringWriter.ToString();
request.Content = System.Text.Encoding.UTF8.GetBytes(snippet);
}
return request;
}
private static UpdateStageRequestMarshaller _instance = new UpdateStageRequestMarshaller();
internal static UpdateStageRequestMarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static UpdateStageRequestMarshaller Instance
{
get
{
return _instance;
}
}
}
} | 117 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apigateway-2015-07-09.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Net;
using System.Text;
using System.Xml.Serialization;
using Amazon.APIGateway.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.APIGateway.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for UpdateStage operation
/// </summary>
public class UpdateStageResponseUnmarshaller : JsonResponseUnmarshaller
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context)
{
UpdateStageResponse response = new UpdateStageResponse();
context.Read();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("accessLogSettings", targetDepth))
{
var unmarshaller = AccessLogSettingsUnmarshaller.Instance;
response.AccessLogSettings = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("cacheClusterEnabled", targetDepth))
{
var unmarshaller = BoolUnmarshaller.Instance;
response.CacheClusterEnabled = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("cacheClusterSize", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.CacheClusterSize = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("cacheClusterStatus", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.CacheClusterStatus = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("canarySettings", targetDepth))
{
var unmarshaller = CanarySettingsUnmarshaller.Instance;
response.CanarySettings = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("clientCertificateId", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.ClientCertificateId = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("createdDate", targetDepth))
{
var unmarshaller = DateTimeUnmarshaller.Instance;
response.CreatedDate = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("deploymentId", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.DeploymentId = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("description", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.Description = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("documentationVersion", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.DocumentationVersion = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("lastUpdatedDate", targetDepth))
{
var unmarshaller = DateTimeUnmarshaller.Instance;
response.LastUpdatedDate = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("methodSettings", targetDepth))
{
var unmarshaller = new DictionaryUnmarshaller<string, MethodSetting, StringUnmarshaller, MethodSettingUnmarshaller>(StringUnmarshaller.Instance, MethodSettingUnmarshaller.Instance);
response.MethodSettings = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("stageName", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.StageName = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("tags", targetDepth))
{
var unmarshaller = new DictionaryUnmarshaller<string, string, StringUnmarshaller, StringUnmarshaller>(StringUnmarshaller.Instance, StringUnmarshaller.Instance);
response.Tags = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("tracingEnabled", targetDepth))
{
var unmarshaller = BoolUnmarshaller.Instance;
response.TracingEnabled = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("variables", targetDepth))
{
var unmarshaller = new DictionaryUnmarshaller<string, string, StringUnmarshaller, StringUnmarshaller>(StringUnmarshaller.Instance, StringUnmarshaller.Instance);
response.Variables = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("webAclArn", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.WebAclArn = unmarshaller.Unmarshall(context);
continue;
}
}
return response;
}
/// <summary>
/// Unmarshaller error response to exception.
/// </summary>
/// <param name="context"></param>
/// <param name="innerException"></param>
/// <param name="statusCode"></param>
/// <returns></returns>
public override AmazonServiceException UnmarshallException(JsonUnmarshallerContext context, Exception innerException, HttpStatusCode statusCode)
{
var errorResponse = JsonErrorResponseUnmarshaller.GetInstance().Unmarshall(context);
errorResponse.InnerException = innerException;
errorResponse.StatusCode = statusCode;
var responseBodyBytes = context.GetResponseBodyBytes();
using (var streamCopy = new MemoryStream(responseBodyBytes))
using (var contextCopy = new JsonUnmarshallerContext(streamCopy, false, null))
{
if (errorResponse.Code != null && errorResponse.Code.Equals("BadRequestException"))
{
return BadRequestExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ConflictException"))
{
return ConflictExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("LimitExceededException"))
{
return LimitExceededExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("NotFoundException"))
{
return NotFoundExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("TooManyRequestsException"))
{
return TooManyRequestsExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("UnauthorizedException"))
{
return UnauthorizedExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
}
return new AmazonAPIGatewayException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode);
}
private static UpdateStageResponseUnmarshaller _instance = new UpdateStageResponseUnmarshaller();
internal static UpdateStageResponseUnmarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static UpdateStageResponseUnmarshaller Instance
{
get
{
return _instance;
}
}
}
} | 226 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apigateway-2015-07-09.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Text;
using System.Xml.Serialization;
using Amazon.APIGateway.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.APIGateway.Model.Internal.MarshallTransformations
{
/// <summary>
/// UpdateUsagePlan Request Marshaller
/// </summary>
public class UpdateUsagePlanRequestMarshaller : IMarshaller<IRequest, UpdateUsagePlanRequest> , IMarshaller<IRequest,AmazonWebServiceRequest>
{
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="input"></param>
/// <returns></returns>
public IRequest Marshall(AmazonWebServiceRequest input)
{
return this.Marshall((UpdateUsagePlanRequest)input);
}
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="publicRequest"></param>
/// <returns></returns>
public IRequest Marshall(UpdateUsagePlanRequest publicRequest)
{
IRequest request = new DefaultRequest(publicRequest, "Amazon.APIGateway");
request.Headers["Content-Type"] = "application/json";
request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2015-07-09";
request.HttpMethod = "PATCH";
if (!publicRequest.IsSetUsagePlanId())
throw new AmazonAPIGatewayException("Request object does not have required field UsagePlanId set");
request.AddPathResource("{usageplanId}", StringUtils.FromString(publicRequest.UsagePlanId));
request.ResourcePath = "/usageplans/{usageplanId}";
using (StringWriter stringWriter = new StringWriter(CultureInfo.InvariantCulture))
{
JsonWriter writer = new JsonWriter(stringWriter);
writer.WriteObjectStart();
var context = new JsonMarshallerContext(request, writer);
if(publicRequest.IsSetPatchOperations())
{
context.Writer.WritePropertyName("patchOperations");
context.Writer.WriteArrayStart();
foreach(var publicRequestPatchOperationsListValue in publicRequest.PatchOperations)
{
context.Writer.WriteObjectStart();
var marshaller = PatchOperationMarshaller.Instance;
marshaller.Marshall(publicRequestPatchOperationsListValue, context);
context.Writer.WriteObjectEnd();
}
context.Writer.WriteArrayEnd();
}
writer.WriteObjectEnd();
string snippet = stringWriter.ToString();
request.Content = System.Text.Encoding.UTF8.GetBytes(snippet);
}
return request;
}
private static UpdateUsagePlanRequestMarshaller _instance = new UpdateUsagePlanRequestMarshaller();
internal static UpdateUsagePlanRequestMarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static UpdateUsagePlanRequestMarshaller Instance
{
get
{
return _instance;
}
}
}
} | 114 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apigateway-2015-07-09.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Net;
using System.Text;
using System.Xml.Serialization;
using Amazon.APIGateway.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.APIGateway.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for UpdateUsagePlan operation
/// </summary>
public class UpdateUsagePlanResponseUnmarshaller : JsonResponseUnmarshaller
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context)
{
UpdateUsagePlanResponse response = new UpdateUsagePlanResponse();
context.Read();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("apiStages", targetDepth))
{
var unmarshaller = new ListUnmarshaller<ApiStage, ApiStageUnmarshaller>(ApiStageUnmarshaller.Instance);
response.ApiStages = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("description", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.Description = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("id", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.Id = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("name", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.Name = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("productCode", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.ProductCode = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("quota", targetDepth))
{
var unmarshaller = QuotaSettingsUnmarshaller.Instance;
response.Quota = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("tags", targetDepth))
{
var unmarshaller = new DictionaryUnmarshaller<string, string, StringUnmarshaller, StringUnmarshaller>(StringUnmarshaller.Instance, StringUnmarshaller.Instance);
response.Tags = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("throttle", targetDepth))
{
var unmarshaller = ThrottleSettingsUnmarshaller.Instance;
response.Throttle = unmarshaller.Unmarshall(context);
continue;
}
}
return response;
}
/// <summary>
/// Unmarshaller error response to exception.
/// </summary>
/// <param name="context"></param>
/// <param name="innerException"></param>
/// <param name="statusCode"></param>
/// <returns></returns>
public override AmazonServiceException UnmarshallException(JsonUnmarshallerContext context, Exception innerException, HttpStatusCode statusCode)
{
var errorResponse = JsonErrorResponseUnmarshaller.GetInstance().Unmarshall(context);
errorResponse.InnerException = innerException;
errorResponse.StatusCode = statusCode;
var responseBodyBytes = context.GetResponseBodyBytes();
using (var streamCopy = new MemoryStream(responseBodyBytes))
using (var contextCopy = new JsonUnmarshallerContext(streamCopy, false, null))
{
if (errorResponse.Code != null && errorResponse.Code.Equals("BadRequestException"))
{
return BadRequestExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ConflictException"))
{
return ConflictExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("LimitExceededException"))
{
return LimitExceededExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("NotFoundException"))
{
return NotFoundExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("TooManyRequestsException"))
{
return TooManyRequestsExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("UnauthorizedException"))
{
return UnauthorizedExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
}
return new AmazonAPIGatewayException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode);
}
private static UpdateUsagePlanResponseUnmarshaller _instance = new UpdateUsagePlanResponseUnmarshaller();
internal static UpdateUsagePlanResponseUnmarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static UpdateUsagePlanResponseUnmarshaller Instance
{
get
{
return _instance;
}
}
}
} | 172 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apigateway-2015-07-09.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Text;
using System.Xml.Serialization;
using Amazon.APIGateway.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.APIGateway.Model.Internal.MarshallTransformations
{
/// <summary>
/// UpdateUsage Request Marshaller
/// </summary>
public class UpdateUsageRequestMarshaller : IMarshaller<IRequest, UpdateUsageRequest> , IMarshaller<IRequest,AmazonWebServiceRequest>
{
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="input"></param>
/// <returns></returns>
public IRequest Marshall(AmazonWebServiceRequest input)
{
return this.Marshall((UpdateUsageRequest)input);
}
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="publicRequest"></param>
/// <returns></returns>
public IRequest Marshall(UpdateUsageRequest publicRequest)
{
IRequest request = new DefaultRequest(publicRequest, "Amazon.APIGateway");
request.Headers["Content-Type"] = "application/json";
request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2015-07-09";
request.HttpMethod = "PATCH";
if (!publicRequest.IsSetKeyId())
throw new AmazonAPIGatewayException("Request object does not have required field KeyId set");
request.AddPathResource("{keyId}", StringUtils.FromString(publicRequest.KeyId));
if (!publicRequest.IsSetUsagePlanId())
throw new AmazonAPIGatewayException("Request object does not have required field UsagePlanId set");
request.AddPathResource("{usageplanId}", StringUtils.FromString(publicRequest.UsagePlanId));
request.ResourcePath = "/usageplans/{usageplanId}/keys/{keyId}/usage";
using (StringWriter stringWriter = new StringWriter(CultureInfo.InvariantCulture))
{
JsonWriter writer = new JsonWriter(stringWriter);
writer.WriteObjectStart();
var context = new JsonMarshallerContext(request, writer);
if(publicRequest.IsSetPatchOperations())
{
context.Writer.WritePropertyName("patchOperations");
context.Writer.WriteArrayStart();
foreach(var publicRequestPatchOperationsListValue in publicRequest.PatchOperations)
{
context.Writer.WriteObjectStart();
var marshaller = PatchOperationMarshaller.Instance;
marshaller.Marshall(publicRequestPatchOperationsListValue, context);
context.Writer.WriteObjectEnd();
}
context.Writer.WriteArrayEnd();
}
writer.WriteObjectEnd();
string snippet = stringWriter.ToString();
request.Content = System.Text.Encoding.UTF8.GetBytes(snippet);
}
return request;
}
private static UpdateUsageRequestMarshaller _instance = new UpdateUsageRequestMarshaller();
internal static UpdateUsageRequestMarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static UpdateUsageRequestMarshaller Instance
{
get
{
return _instance;
}
}
}
} | 117 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apigateway-2015-07-09.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Net;
using System.Text;
using System.Xml.Serialization;
using Amazon.APIGateway.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.APIGateway.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for UpdateUsage operation
/// </summary>
public class UpdateUsageResponseUnmarshaller : JsonResponseUnmarshaller
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context)
{
UpdateUsageResponse response = new UpdateUsageResponse();
context.Read();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("endDate", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.EndDate = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("values", targetDepth))
{
var unmarshaller = new DictionaryUnmarshaller<string, List<List<long>>, StringUnmarshaller, ListUnmarshaller<List<long>, ListUnmarshaller<long, LongUnmarshaller>>>(StringUnmarshaller.Instance, new ListUnmarshaller<List<long>, ListUnmarshaller<long, LongUnmarshaller>>(new ListUnmarshaller<long, LongUnmarshaller>(LongUnmarshaller.Instance)));
response.Items = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("position", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.Position = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("startDate", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.StartDate = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("usagePlanId", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.UsagePlanId = unmarshaller.Unmarshall(context);
continue;
}
}
return response;
}
/// <summary>
/// Unmarshaller error response to exception.
/// </summary>
/// <param name="context"></param>
/// <param name="innerException"></param>
/// <param name="statusCode"></param>
/// <returns></returns>
public override AmazonServiceException UnmarshallException(JsonUnmarshallerContext context, Exception innerException, HttpStatusCode statusCode)
{
var errorResponse = JsonErrorResponseUnmarshaller.GetInstance().Unmarshall(context);
errorResponse.InnerException = innerException;
errorResponse.StatusCode = statusCode;
var responseBodyBytes = context.GetResponseBodyBytes();
using (var streamCopy = new MemoryStream(responseBodyBytes))
using (var contextCopy = new JsonUnmarshallerContext(streamCopy, false, null))
{
if (errorResponse.Code != null && errorResponse.Code.Equals("BadRequestException"))
{
return BadRequestExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ConflictException"))
{
return ConflictExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("LimitExceededException"))
{
return LimitExceededExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("NotFoundException"))
{
return NotFoundExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("TooManyRequestsException"))
{
return TooManyRequestsExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("UnauthorizedException"))
{
return UnauthorizedExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
}
return new AmazonAPIGatewayException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode);
}
private static UpdateUsageResponseUnmarshaller _instance = new UpdateUsageResponseUnmarshaller();
internal static UpdateUsageResponseUnmarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static UpdateUsageResponseUnmarshaller Instance
{
get
{
return _instance;
}
}
}
} | 154 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apigateway-2015-07-09.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Text;
using System.Xml.Serialization;
using Amazon.APIGateway.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.APIGateway.Model.Internal.MarshallTransformations
{
/// <summary>
/// UpdateVpcLink Request Marshaller
/// </summary>
public class UpdateVpcLinkRequestMarshaller : IMarshaller<IRequest, UpdateVpcLinkRequest> , IMarshaller<IRequest,AmazonWebServiceRequest>
{
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="input"></param>
/// <returns></returns>
public IRequest Marshall(AmazonWebServiceRequest input)
{
return this.Marshall((UpdateVpcLinkRequest)input);
}
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="publicRequest"></param>
/// <returns></returns>
public IRequest Marshall(UpdateVpcLinkRequest publicRequest)
{
IRequest request = new DefaultRequest(publicRequest, "Amazon.APIGateway");
request.Headers["Content-Type"] = "application/json";
request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2015-07-09";
request.HttpMethod = "PATCH";
if (!publicRequest.IsSetVpcLinkId())
throw new AmazonAPIGatewayException("Request object does not have required field VpcLinkId set");
request.AddPathResource("{vpclink_id}", StringUtils.FromString(publicRequest.VpcLinkId));
request.ResourcePath = "/vpclinks/{vpclink_id}";
using (StringWriter stringWriter = new StringWriter(CultureInfo.InvariantCulture))
{
JsonWriter writer = new JsonWriter(stringWriter);
writer.WriteObjectStart();
var context = new JsonMarshallerContext(request, writer);
if(publicRequest.IsSetPatchOperations())
{
context.Writer.WritePropertyName("patchOperations");
context.Writer.WriteArrayStart();
foreach(var publicRequestPatchOperationsListValue in publicRequest.PatchOperations)
{
context.Writer.WriteObjectStart();
var marshaller = PatchOperationMarshaller.Instance;
marshaller.Marshall(publicRequestPatchOperationsListValue, context);
context.Writer.WriteObjectEnd();
}
context.Writer.WriteArrayEnd();
}
writer.WriteObjectEnd();
string snippet = stringWriter.ToString();
request.Content = System.Text.Encoding.UTF8.GetBytes(snippet);
}
return request;
}
private static UpdateVpcLinkRequestMarshaller _instance = new UpdateVpcLinkRequestMarshaller();
internal static UpdateVpcLinkRequestMarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static UpdateVpcLinkRequestMarshaller Instance
{
get
{
return _instance;
}
}
}
} | 114 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apigateway-2015-07-09.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Net;
using System.Text;
using System.Xml.Serialization;
using Amazon.APIGateway.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.APIGateway.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for UpdateVpcLink operation
/// </summary>
public class UpdateVpcLinkResponseUnmarshaller : JsonResponseUnmarshaller
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context)
{
UpdateVpcLinkResponse response = new UpdateVpcLinkResponse();
context.Read();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("description", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.Description = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("id", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.Id = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("name", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.Name = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("status", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.Status = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("statusMessage", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.StatusMessage = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("tags", targetDepth))
{
var unmarshaller = new DictionaryUnmarshaller<string, string, StringUnmarshaller, StringUnmarshaller>(StringUnmarshaller.Instance, StringUnmarshaller.Instance);
response.Tags = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("targetArns", targetDepth))
{
var unmarshaller = new ListUnmarshaller<string, StringUnmarshaller>(StringUnmarshaller.Instance);
response.TargetArns = unmarshaller.Unmarshall(context);
continue;
}
}
return response;
}
/// <summary>
/// Unmarshaller error response to exception.
/// </summary>
/// <param name="context"></param>
/// <param name="innerException"></param>
/// <param name="statusCode"></param>
/// <returns></returns>
public override AmazonServiceException UnmarshallException(JsonUnmarshallerContext context, Exception innerException, HttpStatusCode statusCode)
{
var errorResponse = JsonErrorResponseUnmarshaller.GetInstance().Unmarshall(context);
errorResponse.InnerException = innerException;
errorResponse.StatusCode = statusCode;
var responseBodyBytes = context.GetResponseBodyBytes();
using (var streamCopy = new MemoryStream(responseBodyBytes))
using (var contextCopy = new JsonUnmarshallerContext(streamCopy, false, null))
{
if (errorResponse.Code != null && errorResponse.Code.Equals("BadRequestException"))
{
return BadRequestExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ConflictException"))
{
return ConflictExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("LimitExceededException"))
{
return LimitExceededExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("NotFoundException"))
{
return NotFoundExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("TooManyRequestsException"))
{
return TooManyRequestsExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("UnauthorizedException"))
{
return UnauthorizedExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
}
return new AmazonAPIGatewayException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode);
}
private static UpdateVpcLinkResponseUnmarshaller _instance = new UpdateVpcLinkResponseUnmarshaller();
internal static UpdateVpcLinkResponseUnmarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static UpdateVpcLinkResponseUnmarshaller Instance
{
get
{
return _instance;
}
}
}
} | 166 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apigateway-2015-07-09.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Net;
using System.Text;
using System.Xml.Serialization;
using Amazon.APIGateway.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.APIGateway.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for UsagePlanKey Object
/// </summary>
public class UsagePlanKeyUnmarshaller : IUnmarshaller<UsagePlanKey, XmlUnmarshallerContext>, IUnmarshaller<UsagePlanKey, JsonUnmarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
UsagePlanKey IUnmarshaller<UsagePlanKey, XmlUnmarshallerContext>.Unmarshall(XmlUnmarshallerContext context)
{
throw new NotImplementedException();
}
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
public UsagePlanKey Unmarshall(JsonUnmarshallerContext context)
{
context.Read();
if (context.CurrentTokenType == JsonToken.Null)
return null;
UsagePlanKey unmarshalledObject = new UsagePlanKey();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("id", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.Id = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("name", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.Name = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("type", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.Type = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("value", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.Value = unmarshaller.Unmarshall(context);
continue;
}
}
return unmarshalledObject;
}
private static UsagePlanKeyUnmarshaller _instance = new UsagePlanKeyUnmarshaller();
/// <summary>
/// Gets the singleton.
/// </summary>
public static UsagePlanKeyUnmarshaller Instance
{
get
{
return _instance;
}
}
}
} | 110 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apigateway-2015-07-09.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Net;
using System.Text;
using System.Xml.Serialization;
using Amazon.APIGateway.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.APIGateway.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for UsagePlan Object
/// </summary>
public class UsagePlanUnmarshaller : IUnmarshaller<UsagePlan, XmlUnmarshallerContext>, IUnmarshaller<UsagePlan, JsonUnmarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
UsagePlan IUnmarshaller<UsagePlan, XmlUnmarshallerContext>.Unmarshall(XmlUnmarshallerContext context)
{
throw new NotImplementedException();
}
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
public UsagePlan Unmarshall(JsonUnmarshallerContext context)
{
context.Read();
if (context.CurrentTokenType == JsonToken.Null)
return null;
UsagePlan unmarshalledObject = new UsagePlan();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("apiStages", targetDepth))
{
var unmarshaller = new ListUnmarshaller<ApiStage, ApiStageUnmarshaller>(ApiStageUnmarshaller.Instance);
unmarshalledObject.ApiStages = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("description", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.Description = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("id", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.Id = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("name", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.Name = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("productCode", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.ProductCode = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("quota", targetDepth))
{
var unmarshaller = QuotaSettingsUnmarshaller.Instance;
unmarshalledObject.Quota = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("tags", targetDepth))
{
var unmarshaller = new DictionaryUnmarshaller<string, string, StringUnmarshaller, StringUnmarshaller>(StringUnmarshaller.Instance, StringUnmarshaller.Instance);
unmarshalledObject.Tags = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("throttle", targetDepth))
{
var unmarshaller = ThrottleSettingsUnmarshaller.Instance;
unmarshalledObject.Throttle = unmarshaller.Unmarshall(context);
continue;
}
}
return unmarshalledObject;
}
private static UsagePlanUnmarshaller _instance = new UsagePlanUnmarshaller();
/// <summary>
/// Gets the singleton.
/// </summary>
public static UsagePlanUnmarshaller Instance
{
get
{
return _instance;
}
}
}
} | 134 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apigateway-2015-07-09.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Net;
using System.Text;
using System.Xml.Serialization;
using Amazon.APIGateway.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.APIGateway.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for VpcLink Object
/// </summary>
public class VpcLinkUnmarshaller : IUnmarshaller<VpcLink, XmlUnmarshallerContext>, IUnmarshaller<VpcLink, JsonUnmarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
VpcLink IUnmarshaller<VpcLink, XmlUnmarshallerContext>.Unmarshall(XmlUnmarshallerContext context)
{
throw new NotImplementedException();
}
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
public VpcLink Unmarshall(JsonUnmarshallerContext context)
{
context.Read();
if (context.CurrentTokenType == JsonToken.Null)
return null;
VpcLink unmarshalledObject = new VpcLink();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("description", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.Description = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("id", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.Id = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("name", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.Name = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("status", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.Status = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("statusMessage", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.StatusMessage = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("tags", targetDepth))
{
var unmarshaller = new DictionaryUnmarshaller<string, string, StringUnmarshaller, StringUnmarshaller>(StringUnmarshaller.Instance, StringUnmarshaller.Instance);
unmarshalledObject.Tags = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("targetArns", targetDepth))
{
var unmarshaller = new ListUnmarshaller<string, StringUnmarshaller>(StringUnmarshaller.Instance);
unmarshalledObject.TargetArns = unmarshaller.Unmarshall(context);
continue;
}
}
return unmarshalledObject;
}
private static VpcLinkUnmarshaller _instance = new VpcLinkUnmarshaller();
/// <summary>
/// Gets the singleton.
/// </summary>
public static VpcLinkUnmarshaller Instance
{
get
{
return _instance;
}
}
}
} | 128 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apigateway-2015-07-09.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Text;
namespace Amazon.APIGateway.Model
{
/// <summary>
/// Paginators for the APIGateway service
///</summary>
public class APIGatewayPaginatorFactory : IAPIGatewayPaginatorFactory
{
private readonly IAmazonAPIGateway client;
internal APIGatewayPaginatorFactory(IAmazonAPIGateway client)
{
this.client = client;
}
/// <summary>
/// Paginator for GetApiKeys operation
///</summary>
public IGetApiKeysPaginator GetApiKeys(GetApiKeysRequest request)
{
return new GetApiKeysPaginator(this.client, request);
}
/// <summary>
/// Paginator for GetBasePathMappings operation
///</summary>
public IGetBasePathMappingsPaginator GetBasePathMappings(GetBasePathMappingsRequest request)
{
return new GetBasePathMappingsPaginator(this.client, request);
}
/// <summary>
/// Paginator for GetClientCertificates operation
///</summary>
public IGetClientCertificatesPaginator GetClientCertificates(GetClientCertificatesRequest request)
{
return new GetClientCertificatesPaginator(this.client, request);
}
/// <summary>
/// Paginator for GetDeployments operation
///</summary>
public IGetDeploymentsPaginator GetDeployments(GetDeploymentsRequest request)
{
return new GetDeploymentsPaginator(this.client, request);
}
/// <summary>
/// Paginator for GetDomainNames operation
///</summary>
public IGetDomainNamesPaginator GetDomainNames(GetDomainNamesRequest request)
{
return new GetDomainNamesPaginator(this.client, request);
}
/// <summary>
/// Paginator for GetModels operation
///</summary>
public IGetModelsPaginator GetModels(GetModelsRequest request)
{
return new GetModelsPaginator(this.client, request);
}
/// <summary>
/// Paginator for GetResources operation
///</summary>
public IGetResourcesPaginator GetResources(GetResourcesRequest request)
{
return new GetResourcesPaginator(this.client, request);
}
/// <summary>
/// Paginator for GetRestApis operation
///</summary>
public IGetRestApisPaginator GetRestApis(GetRestApisRequest request)
{
return new GetRestApisPaginator(this.client, request);
}
/// <summary>
/// Paginator for GetUsage operation
///</summary>
public IGetUsagePaginator GetUsage(GetUsageRequest request)
{
return new GetUsagePaginator(this.client, request);
}
/// <summary>
/// Paginator for GetUsagePlanKeys operation
///</summary>
public IGetUsagePlanKeysPaginator GetUsagePlanKeys(GetUsagePlanKeysRequest request)
{
return new GetUsagePlanKeysPaginator(this.client, request);
}
/// <summary>
/// Paginator for GetUsagePlans operation
///</summary>
public IGetUsagePlansPaginator GetUsagePlans(GetUsagePlansRequest request)
{
return new GetUsagePlansPaginator(this.client, request);
}
/// <summary>
/// Paginator for GetVpcLinks operation
///</summary>
public IGetVpcLinksPaginator GetVpcLinks(GetVpcLinksRequest request)
{
return new GetVpcLinksPaginator(this.client, request);
}
}
} | 134 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apigateway-2015-07-09.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Text;
using System.Collections;
using System.Threading;
using System.Threading.Tasks;
using Amazon.Runtime;
namespace Amazon.APIGateway.Model
{
/// <summary>
/// Base class for GetApiKeys paginators.
/// </summary>
internal sealed partial class GetApiKeysPaginator : IPaginator<GetApiKeysResponse>, IGetApiKeysPaginator
{
private readonly IAmazonAPIGateway _client;
private readonly GetApiKeysRequest _request;
private int _isPaginatorInUse = 0;
/// <summary>
/// Enumerable containing all full responses for the operation
/// </summary>
public IPaginatedEnumerable<GetApiKeysResponse> Responses => new PaginatedResponse<GetApiKeysResponse>(this);
/// <summary>
/// Enumerable containing all of the Items
/// </summary>
public IPaginatedEnumerable<ApiKey> Items =>
new PaginatedResultKeyResponse<GetApiKeysResponse, ApiKey>(this, (i) => i.Items);
internal GetApiKeysPaginator(IAmazonAPIGateway client, GetApiKeysRequest request)
{
this._client = client;
this._request = request;
}
#if BCL
IEnumerable<GetApiKeysResponse> IPaginator<GetApiKeysResponse>.Paginate()
{
if (Interlocked.Exchange(ref _isPaginatorInUse, 1) != 0)
{
throw new System.InvalidOperationException("Paginator has already been consumed and cannot be reused. Please create a new instance.");
}
PaginatorUtils.SetUserAgentAdditionOnRequest(_request);
var position = _request.Position;
GetApiKeysResponse response;
do
{
_request.Position = position;
response = _client.GetApiKeys(_request);
position = response.Position;
yield return response;
}
while (!string.IsNullOrEmpty(position));
}
#endif
#if AWS_ASYNC_ENUMERABLES_API
async IAsyncEnumerable<GetApiKeysResponse> IPaginator<GetApiKeysResponse>.PaginateAsync(CancellationToken cancellationToken = default)
{
if (Interlocked.Exchange(ref _isPaginatorInUse, 1) != 0)
{
throw new System.InvalidOperationException("Paginator has already been consumed and cannot be reused. Please create a new instance.");
}
PaginatorUtils.SetUserAgentAdditionOnRequest(_request);
var position = _request.Position;
GetApiKeysResponse response;
do
{
_request.Position = position;
response = await _client.GetApiKeysAsync(_request, cancellationToken).ConfigureAwait(false);
position = response.Position;
cancellationToken.ThrowIfCancellationRequested();
yield return response;
}
while (!string.IsNullOrEmpty(position));
}
#endif
}
} | 97 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apigateway-2015-07-09.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Text;
using System.Collections;
using System.Threading;
using System.Threading.Tasks;
using Amazon.Runtime;
namespace Amazon.APIGateway.Model
{
/// <summary>
/// Base class for GetBasePathMappings paginators.
/// </summary>
internal sealed partial class GetBasePathMappingsPaginator : IPaginator<GetBasePathMappingsResponse>, IGetBasePathMappingsPaginator
{
private readonly IAmazonAPIGateway _client;
private readonly GetBasePathMappingsRequest _request;
private int _isPaginatorInUse = 0;
/// <summary>
/// Enumerable containing all full responses for the operation
/// </summary>
public IPaginatedEnumerable<GetBasePathMappingsResponse> Responses => new PaginatedResponse<GetBasePathMappingsResponse>(this);
/// <summary>
/// Enumerable containing all of the Items
/// </summary>
public IPaginatedEnumerable<BasePathMapping> Items =>
new PaginatedResultKeyResponse<GetBasePathMappingsResponse, BasePathMapping>(this, (i) => i.Items);
internal GetBasePathMappingsPaginator(IAmazonAPIGateway client, GetBasePathMappingsRequest request)
{
this._client = client;
this._request = request;
}
#if BCL
IEnumerable<GetBasePathMappingsResponse> IPaginator<GetBasePathMappingsResponse>.Paginate()
{
if (Interlocked.Exchange(ref _isPaginatorInUse, 1) != 0)
{
throw new System.InvalidOperationException("Paginator has already been consumed and cannot be reused. Please create a new instance.");
}
PaginatorUtils.SetUserAgentAdditionOnRequest(_request);
var position = _request.Position;
GetBasePathMappingsResponse response;
do
{
_request.Position = position;
response = _client.GetBasePathMappings(_request);
position = response.Position;
yield return response;
}
while (!string.IsNullOrEmpty(position));
}
#endif
#if AWS_ASYNC_ENUMERABLES_API
async IAsyncEnumerable<GetBasePathMappingsResponse> IPaginator<GetBasePathMappingsResponse>.PaginateAsync(CancellationToken cancellationToken = default)
{
if (Interlocked.Exchange(ref _isPaginatorInUse, 1) != 0)
{
throw new System.InvalidOperationException("Paginator has already been consumed and cannot be reused. Please create a new instance.");
}
PaginatorUtils.SetUserAgentAdditionOnRequest(_request);
var position = _request.Position;
GetBasePathMappingsResponse response;
do
{
_request.Position = position;
response = await _client.GetBasePathMappingsAsync(_request, cancellationToken).ConfigureAwait(false);
position = response.Position;
cancellationToken.ThrowIfCancellationRequested();
yield return response;
}
while (!string.IsNullOrEmpty(position));
}
#endif
}
} | 97 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apigateway-2015-07-09.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Text;
using System.Collections;
using System.Threading;
using System.Threading.Tasks;
using Amazon.Runtime;
namespace Amazon.APIGateway.Model
{
/// <summary>
/// Base class for GetClientCertificates paginators.
/// </summary>
internal sealed partial class GetClientCertificatesPaginator : IPaginator<GetClientCertificatesResponse>, IGetClientCertificatesPaginator
{
private readonly IAmazonAPIGateway _client;
private readonly GetClientCertificatesRequest _request;
private int _isPaginatorInUse = 0;
/// <summary>
/// Enumerable containing all full responses for the operation
/// </summary>
public IPaginatedEnumerable<GetClientCertificatesResponse> Responses => new PaginatedResponse<GetClientCertificatesResponse>(this);
/// <summary>
/// Enumerable containing all of the Items
/// </summary>
public IPaginatedEnumerable<ClientCertificate> Items =>
new PaginatedResultKeyResponse<GetClientCertificatesResponse, ClientCertificate>(this, (i) => i.Items);
internal GetClientCertificatesPaginator(IAmazonAPIGateway client, GetClientCertificatesRequest request)
{
this._client = client;
this._request = request;
}
#if BCL
IEnumerable<GetClientCertificatesResponse> IPaginator<GetClientCertificatesResponse>.Paginate()
{
if (Interlocked.Exchange(ref _isPaginatorInUse, 1) != 0)
{
throw new System.InvalidOperationException("Paginator has already been consumed and cannot be reused. Please create a new instance.");
}
PaginatorUtils.SetUserAgentAdditionOnRequest(_request);
var position = _request.Position;
GetClientCertificatesResponse response;
do
{
_request.Position = position;
response = _client.GetClientCertificates(_request);
position = response.Position;
yield return response;
}
while (!string.IsNullOrEmpty(position));
}
#endif
#if AWS_ASYNC_ENUMERABLES_API
async IAsyncEnumerable<GetClientCertificatesResponse> IPaginator<GetClientCertificatesResponse>.PaginateAsync(CancellationToken cancellationToken = default)
{
if (Interlocked.Exchange(ref _isPaginatorInUse, 1) != 0)
{
throw new System.InvalidOperationException("Paginator has already been consumed and cannot be reused. Please create a new instance.");
}
PaginatorUtils.SetUserAgentAdditionOnRequest(_request);
var position = _request.Position;
GetClientCertificatesResponse response;
do
{
_request.Position = position;
response = await _client.GetClientCertificatesAsync(_request, cancellationToken).ConfigureAwait(false);
position = response.Position;
cancellationToken.ThrowIfCancellationRequested();
yield return response;
}
while (!string.IsNullOrEmpty(position));
}
#endif
}
} | 97 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apigateway-2015-07-09.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Text;
using System.Collections;
using System.Threading;
using System.Threading.Tasks;
using Amazon.Runtime;
namespace Amazon.APIGateway.Model
{
/// <summary>
/// Base class for GetDeployments paginators.
/// </summary>
internal sealed partial class GetDeploymentsPaginator : IPaginator<GetDeploymentsResponse>, IGetDeploymentsPaginator
{
private readonly IAmazonAPIGateway _client;
private readonly GetDeploymentsRequest _request;
private int _isPaginatorInUse = 0;
/// <summary>
/// Enumerable containing all full responses for the operation
/// </summary>
public IPaginatedEnumerable<GetDeploymentsResponse> Responses => new PaginatedResponse<GetDeploymentsResponse>(this);
/// <summary>
/// Enumerable containing all of the Items
/// </summary>
public IPaginatedEnumerable<Deployment> Items =>
new PaginatedResultKeyResponse<GetDeploymentsResponse, Deployment>(this, (i) => i.Items);
internal GetDeploymentsPaginator(IAmazonAPIGateway client, GetDeploymentsRequest request)
{
this._client = client;
this._request = request;
}
#if BCL
IEnumerable<GetDeploymentsResponse> IPaginator<GetDeploymentsResponse>.Paginate()
{
if (Interlocked.Exchange(ref _isPaginatorInUse, 1) != 0)
{
throw new System.InvalidOperationException("Paginator has already been consumed and cannot be reused. Please create a new instance.");
}
PaginatorUtils.SetUserAgentAdditionOnRequest(_request);
var position = _request.Position;
GetDeploymentsResponse response;
do
{
_request.Position = position;
response = _client.GetDeployments(_request);
position = response.Position;
yield return response;
}
while (!string.IsNullOrEmpty(position));
}
#endif
#if AWS_ASYNC_ENUMERABLES_API
async IAsyncEnumerable<GetDeploymentsResponse> IPaginator<GetDeploymentsResponse>.PaginateAsync(CancellationToken cancellationToken = default)
{
if (Interlocked.Exchange(ref _isPaginatorInUse, 1) != 0)
{
throw new System.InvalidOperationException("Paginator has already been consumed and cannot be reused. Please create a new instance.");
}
PaginatorUtils.SetUserAgentAdditionOnRequest(_request);
var position = _request.Position;
GetDeploymentsResponse response;
do
{
_request.Position = position;
response = await _client.GetDeploymentsAsync(_request, cancellationToken).ConfigureAwait(false);
position = response.Position;
cancellationToken.ThrowIfCancellationRequested();
yield return response;
}
while (!string.IsNullOrEmpty(position));
}
#endif
}
} | 97 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apigateway-2015-07-09.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Text;
using System.Collections;
using System.Threading;
using System.Threading.Tasks;
using Amazon.Runtime;
namespace Amazon.APIGateway.Model
{
/// <summary>
/// Base class for GetDomainNames paginators.
/// </summary>
internal sealed partial class GetDomainNamesPaginator : IPaginator<GetDomainNamesResponse>, IGetDomainNamesPaginator
{
private readonly IAmazonAPIGateway _client;
private readonly GetDomainNamesRequest _request;
private int _isPaginatorInUse = 0;
/// <summary>
/// Enumerable containing all full responses for the operation
/// </summary>
public IPaginatedEnumerable<GetDomainNamesResponse> Responses => new PaginatedResponse<GetDomainNamesResponse>(this);
/// <summary>
/// Enumerable containing all of the Items
/// </summary>
public IPaginatedEnumerable<DomainName> Items =>
new PaginatedResultKeyResponse<GetDomainNamesResponse, DomainName>(this, (i) => i.Items);
internal GetDomainNamesPaginator(IAmazonAPIGateway client, GetDomainNamesRequest request)
{
this._client = client;
this._request = request;
}
#if BCL
IEnumerable<GetDomainNamesResponse> IPaginator<GetDomainNamesResponse>.Paginate()
{
if (Interlocked.Exchange(ref _isPaginatorInUse, 1) != 0)
{
throw new System.InvalidOperationException("Paginator has already been consumed and cannot be reused. Please create a new instance.");
}
PaginatorUtils.SetUserAgentAdditionOnRequest(_request);
var position = _request.Position;
GetDomainNamesResponse response;
do
{
_request.Position = position;
response = _client.GetDomainNames(_request);
position = response.Position;
yield return response;
}
while (!string.IsNullOrEmpty(position));
}
#endif
#if AWS_ASYNC_ENUMERABLES_API
async IAsyncEnumerable<GetDomainNamesResponse> IPaginator<GetDomainNamesResponse>.PaginateAsync(CancellationToken cancellationToken = default)
{
if (Interlocked.Exchange(ref _isPaginatorInUse, 1) != 0)
{
throw new System.InvalidOperationException("Paginator has already been consumed and cannot be reused. Please create a new instance.");
}
PaginatorUtils.SetUserAgentAdditionOnRequest(_request);
var position = _request.Position;
GetDomainNamesResponse response;
do
{
_request.Position = position;
response = await _client.GetDomainNamesAsync(_request, cancellationToken).ConfigureAwait(false);
position = response.Position;
cancellationToken.ThrowIfCancellationRequested();
yield return response;
}
while (!string.IsNullOrEmpty(position));
}
#endif
}
} | 97 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apigateway-2015-07-09.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Text;
using System.Collections;
using System.Threading;
using System.Threading.Tasks;
using Amazon.Runtime;
namespace Amazon.APIGateway.Model
{
/// <summary>
/// Base class for GetModels paginators.
/// </summary>
internal sealed partial class GetModelsPaginator : IPaginator<GetModelsResponse>, IGetModelsPaginator
{
private readonly IAmazonAPIGateway _client;
private readonly GetModelsRequest _request;
private int _isPaginatorInUse = 0;
/// <summary>
/// Enumerable containing all full responses for the operation
/// </summary>
public IPaginatedEnumerable<GetModelsResponse> Responses => new PaginatedResponse<GetModelsResponse>(this);
/// <summary>
/// Enumerable containing all of the Items
/// </summary>
public IPaginatedEnumerable<Model> Items =>
new PaginatedResultKeyResponse<GetModelsResponse, Model>(this, (i) => i.Items);
internal GetModelsPaginator(IAmazonAPIGateway client, GetModelsRequest request)
{
this._client = client;
this._request = request;
}
#if BCL
IEnumerable<GetModelsResponse> IPaginator<GetModelsResponse>.Paginate()
{
if (Interlocked.Exchange(ref _isPaginatorInUse, 1) != 0)
{
throw new System.InvalidOperationException("Paginator has already been consumed and cannot be reused. Please create a new instance.");
}
PaginatorUtils.SetUserAgentAdditionOnRequest(_request);
var position = _request.Position;
GetModelsResponse response;
do
{
_request.Position = position;
response = _client.GetModels(_request);
position = response.Position;
yield return response;
}
while (!string.IsNullOrEmpty(position));
}
#endif
#if AWS_ASYNC_ENUMERABLES_API
async IAsyncEnumerable<GetModelsResponse> IPaginator<GetModelsResponse>.PaginateAsync(CancellationToken cancellationToken = default)
{
if (Interlocked.Exchange(ref _isPaginatorInUse, 1) != 0)
{
throw new System.InvalidOperationException("Paginator has already been consumed and cannot be reused. Please create a new instance.");
}
PaginatorUtils.SetUserAgentAdditionOnRequest(_request);
var position = _request.Position;
GetModelsResponse response;
do
{
_request.Position = position;
response = await _client.GetModelsAsync(_request, cancellationToken).ConfigureAwait(false);
position = response.Position;
cancellationToken.ThrowIfCancellationRequested();
yield return response;
}
while (!string.IsNullOrEmpty(position));
}
#endif
}
} | 97 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apigateway-2015-07-09.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Text;
using System.Collections;
using System.Threading;
using System.Threading.Tasks;
using Amazon.Runtime;
namespace Amazon.APIGateway.Model
{
/// <summary>
/// Base class for GetResources paginators.
/// </summary>
internal sealed partial class GetResourcesPaginator : IPaginator<GetResourcesResponse>, IGetResourcesPaginator
{
private readonly IAmazonAPIGateway _client;
private readonly GetResourcesRequest _request;
private int _isPaginatorInUse = 0;
/// <summary>
/// Enumerable containing all full responses for the operation
/// </summary>
public IPaginatedEnumerable<GetResourcesResponse> Responses => new PaginatedResponse<GetResourcesResponse>(this);
/// <summary>
/// Enumerable containing all of the Items
/// </summary>
public IPaginatedEnumerable<Resource> Items =>
new PaginatedResultKeyResponse<GetResourcesResponse, Resource>(this, (i) => i.Items);
internal GetResourcesPaginator(IAmazonAPIGateway client, GetResourcesRequest request)
{
this._client = client;
this._request = request;
}
#if BCL
IEnumerable<GetResourcesResponse> IPaginator<GetResourcesResponse>.Paginate()
{
if (Interlocked.Exchange(ref _isPaginatorInUse, 1) != 0)
{
throw new System.InvalidOperationException("Paginator has already been consumed and cannot be reused. Please create a new instance.");
}
PaginatorUtils.SetUserAgentAdditionOnRequest(_request);
var position = _request.Position;
GetResourcesResponse response;
do
{
_request.Position = position;
response = _client.GetResources(_request);
position = response.Position;
yield return response;
}
while (!string.IsNullOrEmpty(position));
}
#endif
#if AWS_ASYNC_ENUMERABLES_API
async IAsyncEnumerable<GetResourcesResponse> IPaginator<GetResourcesResponse>.PaginateAsync(CancellationToken cancellationToken = default)
{
if (Interlocked.Exchange(ref _isPaginatorInUse, 1) != 0)
{
throw new System.InvalidOperationException("Paginator has already been consumed and cannot be reused. Please create a new instance.");
}
PaginatorUtils.SetUserAgentAdditionOnRequest(_request);
var position = _request.Position;
GetResourcesResponse response;
do
{
_request.Position = position;
response = await _client.GetResourcesAsync(_request, cancellationToken).ConfigureAwait(false);
position = response.Position;
cancellationToken.ThrowIfCancellationRequested();
yield return response;
}
while (!string.IsNullOrEmpty(position));
}
#endif
}
} | 97 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apigateway-2015-07-09.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Text;
using System.Collections;
using System.Threading;
using System.Threading.Tasks;
using Amazon.Runtime;
namespace Amazon.APIGateway.Model
{
/// <summary>
/// Base class for GetRestApis paginators.
/// </summary>
internal sealed partial class GetRestApisPaginator : IPaginator<GetRestApisResponse>, IGetRestApisPaginator
{
private readonly IAmazonAPIGateway _client;
private readonly GetRestApisRequest _request;
private int _isPaginatorInUse = 0;
/// <summary>
/// Enumerable containing all full responses for the operation
/// </summary>
public IPaginatedEnumerable<GetRestApisResponse> Responses => new PaginatedResponse<GetRestApisResponse>(this);
/// <summary>
/// Enumerable containing all of the Items
/// </summary>
public IPaginatedEnumerable<RestApi> Items =>
new PaginatedResultKeyResponse<GetRestApisResponse, RestApi>(this, (i) => i.Items);
internal GetRestApisPaginator(IAmazonAPIGateway client, GetRestApisRequest request)
{
this._client = client;
this._request = request;
}
#if BCL
IEnumerable<GetRestApisResponse> IPaginator<GetRestApisResponse>.Paginate()
{
if (Interlocked.Exchange(ref _isPaginatorInUse, 1) != 0)
{
throw new System.InvalidOperationException("Paginator has already been consumed and cannot be reused. Please create a new instance.");
}
PaginatorUtils.SetUserAgentAdditionOnRequest(_request);
var position = _request.Position;
GetRestApisResponse response;
do
{
_request.Position = position;
response = _client.GetRestApis(_request);
position = response.Position;
yield return response;
}
while (!string.IsNullOrEmpty(position));
}
#endif
#if AWS_ASYNC_ENUMERABLES_API
async IAsyncEnumerable<GetRestApisResponse> IPaginator<GetRestApisResponse>.PaginateAsync(CancellationToken cancellationToken = default)
{
if (Interlocked.Exchange(ref _isPaginatorInUse, 1) != 0)
{
throw new System.InvalidOperationException("Paginator has already been consumed and cannot be reused. Please create a new instance.");
}
PaginatorUtils.SetUserAgentAdditionOnRequest(_request);
var position = _request.Position;
GetRestApisResponse response;
do
{
_request.Position = position;
response = await _client.GetRestApisAsync(_request, cancellationToken).ConfigureAwait(false);
position = response.Position;
cancellationToken.ThrowIfCancellationRequested();
yield return response;
}
while (!string.IsNullOrEmpty(position));
}
#endif
}
} | 97 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apigateway-2015-07-09.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Text;
using System.Collections;
using System.Threading;
using System.Threading.Tasks;
using Amazon.Runtime;
namespace Amazon.APIGateway.Model
{
/// <summary>
/// Base class for GetUsage paginators.
/// </summary>
internal sealed partial class GetUsagePaginator : IPaginator<GetUsageResponse>, IGetUsagePaginator
{
private readonly IAmazonAPIGateway _client;
private readonly GetUsageRequest _request;
private int _isPaginatorInUse = 0;
/// <summary>
/// Enumerable containing all full responses for the operation
/// </summary>
public IPaginatedEnumerable<GetUsageResponse> Responses => new PaginatedResponse<GetUsageResponse>(this);
internal GetUsagePaginator(IAmazonAPIGateway client, GetUsageRequest request)
{
this._client = client;
this._request = request;
}
#if BCL
IEnumerable<GetUsageResponse> IPaginator<GetUsageResponse>.Paginate()
{
if (Interlocked.Exchange(ref _isPaginatorInUse, 1) != 0)
{
throw new System.InvalidOperationException("Paginator has already been consumed and cannot be reused. Please create a new instance.");
}
PaginatorUtils.SetUserAgentAdditionOnRequest(_request);
var position = _request.Position;
GetUsageResponse response;
do
{
_request.Position = position;
response = _client.GetUsage(_request);
position = response.Position;
yield return response;
}
while (!string.IsNullOrEmpty(position));
}
#endif
#if AWS_ASYNC_ENUMERABLES_API
async IAsyncEnumerable<GetUsageResponse> IPaginator<GetUsageResponse>.PaginateAsync(CancellationToken cancellationToken = default)
{
if (Interlocked.Exchange(ref _isPaginatorInUse, 1) != 0)
{
throw new System.InvalidOperationException("Paginator has already been consumed and cannot be reused. Please create a new instance.");
}
PaginatorUtils.SetUserAgentAdditionOnRequest(_request);
var position = _request.Position;
GetUsageResponse response;
do
{
_request.Position = position;
response = await _client.GetUsageAsync(_request, cancellationToken).ConfigureAwait(false);
position = response.Position;
cancellationToken.ThrowIfCancellationRequested();
yield return response;
}
while (!string.IsNullOrEmpty(position));
}
#endif
}
} | 91 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apigateway-2015-07-09.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Text;
using System.Collections;
using System.Threading;
using System.Threading.Tasks;
using Amazon.Runtime;
namespace Amazon.APIGateway.Model
{
/// <summary>
/// Base class for GetUsagePlanKeys paginators.
/// </summary>
internal sealed partial class GetUsagePlanKeysPaginator : IPaginator<GetUsagePlanKeysResponse>, IGetUsagePlanKeysPaginator
{
private readonly IAmazonAPIGateway _client;
private readonly GetUsagePlanKeysRequest _request;
private int _isPaginatorInUse = 0;
/// <summary>
/// Enumerable containing all full responses for the operation
/// </summary>
public IPaginatedEnumerable<GetUsagePlanKeysResponse> Responses => new PaginatedResponse<GetUsagePlanKeysResponse>(this);
/// <summary>
/// Enumerable containing all of the Items
/// </summary>
public IPaginatedEnumerable<UsagePlanKey> Items =>
new PaginatedResultKeyResponse<GetUsagePlanKeysResponse, UsagePlanKey>(this, (i) => i.Items);
internal GetUsagePlanKeysPaginator(IAmazonAPIGateway client, GetUsagePlanKeysRequest request)
{
this._client = client;
this._request = request;
}
#if BCL
IEnumerable<GetUsagePlanKeysResponse> IPaginator<GetUsagePlanKeysResponse>.Paginate()
{
if (Interlocked.Exchange(ref _isPaginatorInUse, 1) != 0)
{
throw new System.InvalidOperationException("Paginator has already been consumed and cannot be reused. Please create a new instance.");
}
PaginatorUtils.SetUserAgentAdditionOnRequest(_request);
var position = _request.Position;
GetUsagePlanKeysResponse response;
do
{
_request.Position = position;
response = _client.GetUsagePlanKeys(_request);
position = response.Position;
yield return response;
}
while (!string.IsNullOrEmpty(position));
}
#endif
#if AWS_ASYNC_ENUMERABLES_API
async IAsyncEnumerable<GetUsagePlanKeysResponse> IPaginator<GetUsagePlanKeysResponse>.PaginateAsync(CancellationToken cancellationToken = default)
{
if (Interlocked.Exchange(ref _isPaginatorInUse, 1) != 0)
{
throw new System.InvalidOperationException("Paginator has already been consumed and cannot be reused. Please create a new instance.");
}
PaginatorUtils.SetUserAgentAdditionOnRequest(_request);
var position = _request.Position;
GetUsagePlanKeysResponse response;
do
{
_request.Position = position;
response = await _client.GetUsagePlanKeysAsync(_request, cancellationToken).ConfigureAwait(false);
position = response.Position;
cancellationToken.ThrowIfCancellationRequested();
yield return response;
}
while (!string.IsNullOrEmpty(position));
}
#endif
}
} | 97 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apigateway-2015-07-09.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Text;
using System.Collections;
using System.Threading;
using System.Threading.Tasks;
using Amazon.Runtime;
namespace Amazon.APIGateway.Model
{
/// <summary>
/// Base class for GetUsagePlans paginators.
/// </summary>
internal sealed partial class GetUsagePlansPaginator : IPaginator<GetUsagePlansResponse>, IGetUsagePlansPaginator
{
private readonly IAmazonAPIGateway _client;
private readonly GetUsagePlansRequest _request;
private int _isPaginatorInUse = 0;
/// <summary>
/// Enumerable containing all full responses for the operation
/// </summary>
public IPaginatedEnumerable<GetUsagePlansResponse> Responses => new PaginatedResponse<GetUsagePlansResponse>(this);
/// <summary>
/// Enumerable containing all of the Items
/// </summary>
public IPaginatedEnumerable<UsagePlan> Items =>
new PaginatedResultKeyResponse<GetUsagePlansResponse, UsagePlan>(this, (i) => i.Items);
internal GetUsagePlansPaginator(IAmazonAPIGateway client, GetUsagePlansRequest request)
{
this._client = client;
this._request = request;
}
#if BCL
IEnumerable<GetUsagePlansResponse> IPaginator<GetUsagePlansResponse>.Paginate()
{
if (Interlocked.Exchange(ref _isPaginatorInUse, 1) != 0)
{
throw new System.InvalidOperationException("Paginator has already been consumed and cannot be reused. Please create a new instance.");
}
PaginatorUtils.SetUserAgentAdditionOnRequest(_request);
var position = _request.Position;
GetUsagePlansResponse response;
do
{
_request.Position = position;
response = _client.GetUsagePlans(_request);
position = response.Position;
yield return response;
}
while (!string.IsNullOrEmpty(position));
}
#endif
#if AWS_ASYNC_ENUMERABLES_API
async IAsyncEnumerable<GetUsagePlansResponse> IPaginator<GetUsagePlansResponse>.PaginateAsync(CancellationToken cancellationToken = default)
{
if (Interlocked.Exchange(ref _isPaginatorInUse, 1) != 0)
{
throw new System.InvalidOperationException("Paginator has already been consumed and cannot be reused. Please create a new instance.");
}
PaginatorUtils.SetUserAgentAdditionOnRequest(_request);
var position = _request.Position;
GetUsagePlansResponse response;
do
{
_request.Position = position;
response = await _client.GetUsagePlansAsync(_request, cancellationToken).ConfigureAwait(false);
position = response.Position;
cancellationToken.ThrowIfCancellationRequested();
yield return response;
}
while (!string.IsNullOrEmpty(position));
}
#endif
}
} | 97 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apigateway-2015-07-09.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Text;
using System.Collections;
using System.Threading;
using System.Threading.Tasks;
using Amazon.Runtime;
namespace Amazon.APIGateway.Model
{
/// <summary>
/// Base class for GetVpcLinks paginators.
/// </summary>
internal sealed partial class GetVpcLinksPaginator : IPaginator<GetVpcLinksResponse>, IGetVpcLinksPaginator
{
private readonly IAmazonAPIGateway _client;
private readonly GetVpcLinksRequest _request;
private int _isPaginatorInUse = 0;
/// <summary>
/// Enumerable containing all full responses for the operation
/// </summary>
public IPaginatedEnumerable<GetVpcLinksResponse> Responses => new PaginatedResponse<GetVpcLinksResponse>(this);
/// <summary>
/// Enumerable containing all of the Items
/// </summary>
public IPaginatedEnumerable<VpcLink> Items =>
new PaginatedResultKeyResponse<GetVpcLinksResponse, VpcLink>(this, (i) => i.Items);
internal GetVpcLinksPaginator(IAmazonAPIGateway client, GetVpcLinksRequest request)
{
this._client = client;
this._request = request;
}
#if BCL
IEnumerable<GetVpcLinksResponse> IPaginator<GetVpcLinksResponse>.Paginate()
{
if (Interlocked.Exchange(ref _isPaginatorInUse, 1) != 0)
{
throw new System.InvalidOperationException("Paginator has already been consumed and cannot be reused. Please create a new instance.");
}
PaginatorUtils.SetUserAgentAdditionOnRequest(_request);
var position = _request.Position;
GetVpcLinksResponse response;
do
{
_request.Position = position;
response = _client.GetVpcLinks(_request);
position = response.Position;
yield return response;
}
while (!string.IsNullOrEmpty(position));
}
#endif
#if AWS_ASYNC_ENUMERABLES_API
async IAsyncEnumerable<GetVpcLinksResponse> IPaginator<GetVpcLinksResponse>.PaginateAsync(CancellationToken cancellationToken = default)
{
if (Interlocked.Exchange(ref _isPaginatorInUse, 1) != 0)
{
throw new System.InvalidOperationException("Paginator has already been consumed and cannot be reused. Please create a new instance.");
}
PaginatorUtils.SetUserAgentAdditionOnRequest(_request);
var position = _request.Position;
GetVpcLinksResponse response;
do
{
_request.Position = position;
response = await _client.GetVpcLinksAsync(_request, cancellationToken).ConfigureAwait(false);
position = response.Position;
cancellationToken.ThrowIfCancellationRequested();
yield return response;
}
while (!string.IsNullOrEmpty(position));
}
#endif
}
} | 97 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apigateway-2015-07-09.normal.json service model.
*/
namespace Amazon.APIGateway.Model
{
/// <summary>
/// Paginators for the APIGateway service
///</summary>
public interface IAPIGatewayPaginatorFactory
{
/// <summary>
/// Paginator for GetApiKeys operation
///</summary>
IGetApiKeysPaginator GetApiKeys(GetApiKeysRequest request);
/// <summary>
/// Paginator for GetBasePathMappings operation
///</summary>
IGetBasePathMappingsPaginator GetBasePathMappings(GetBasePathMappingsRequest request);
/// <summary>
/// Paginator for GetClientCertificates operation
///</summary>
IGetClientCertificatesPaginator GetClientCertificates(GetClientCertificatesRequest request);
/// <summary>
/// Paginator for GetDeployments operation
///</summary>
IGetDeploymentsPaginator GetDeployments(GetDeploymentsRequest request);
/// <summary>
/// Paginator for GetDomainNames operation
///</summary>
IGetDomainNamesPaginator GetDomainNames(GetDomainNamesRequest request);
/// <summary>
/// Paginator for GetModels operation
///</summary>
IGetModelsPaginator GetModels(GetModelsRequest request);
/// <summary>
/// Paginator for GetResources operation
///</summary>
IGetResourcesPaginator GetResources(GetResourcesRequest request);
/// <summary>
/// Paginator for GetRestApis operation
///</summary>
IGetRestApisPaginator GetRestApis(GetRestApisRequest request);
/// <summary>
/// Paginator for GetUsage operation
///</summary>
IGetUsagePaginator GetUsage(GetUsageRequest request);
/// <summary>
/// Paginator for GetUsagePlanKeys operation
///</summary>
IGetUsagePlanKeysPaginator GetUsagePlanKeys(GetUsagePlanKeysRequest request);
/// <summary>
/// Paginator for GetUsagePlans operation
///</summary>
IGetUsagePlansPaginator GetUsagePlans(GetUsagePlansRequest request);
/// <summary>
/// Paginator for GetVpcLinks operation
///</summary>
IGetVpcLinksPaginator GetVpcLinks(GetVpcLinksRequest request);
}
} | 88 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apigateway-2015-07-09.normal.json service model.
*/
using Amazon.Runtime;
namespace Amazon.APIGateway.Model
{
/// <summary>
/// Paginator for the GetApiKeys operation
///</summary>
public interface IGetApiKeysPaginator
{
/// <summary>
/// Enumerable containing all full responses for the operation
/// </summary>
IPaginatedEnumerable<GetApiKeysResponse> Responses { get; }
/// <summary>
/// Enumerable containing all of the Items
/// </summary>
IPaginatedEnumerable<ApiKey> Items { get; }
}
} | 38 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apigateway-2015-07-09.normal.json service model.
*/
using Amazon.Runtime;
namespace Amazon.APIGateway.Model
{
/// <summary>
/// Paginator for the GetBasePathMappings operation
///</summary>
public interface IGetBasePathMappingsPaginator
{
/// <summary>
/// Enumerable containing all full responses for the operation
/// </summary>
IPaginatedEnumerable<GetBasePathMappingsResponse> Responses { get; }
/// <summary>
/// Enumerable containing all of the Items
/// </summary>
IPaginatedEnumerable<BasePathMapping> Items { get; }
}
} | 38 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apigateway-2015-07-09.normal.json service model.
*/
using Amazon.Runtime;
namespace Amazon.APIGateway.Model
{
/// <summary>
/// Paginator for the GetClientCertificates operation
///</summary>
public interface IGetClientCertificatesPaginator
{
/// <summary>
/// Enumerable containing all full responses for the operation
/// </summary>
IPaginatedEnumerable<GetClientCertificatesResponse> Responses { get; }
/// <summary>
/// Enumerable containing all of the Items
/// </summary>
IPaginatedEnumerable<ClientCertificate> Items { get; }
}
} | 38 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apigateway-2015-07-09.normal.json service model.
*/
using Amazon.Runtime;
namespace Amazon.APIGateway.Model
{
/// <summary>
/// Paginator for the GetDeployments operation
///</summary>
public interface IGetDeploymentsPaginator
{
/// <summary>
/// Enumerable containing all full responses for the operation
/// </summary>
IPaginatedEnumerable<GetDeploymentsResponse> Responses { get; }
/// <summary>
/// Enumerable containing all of the Items
/// </summary>
IPaginatedEnumerable<Deployment> Items { get; }
}
} | 38 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apigateway-2015-07-09.normal.json service model.
*/
using Amazon.Runtime;
namespace Amazon.APIGateway.Model
{
/// <summary>
/// Paginator for the GetDomainNames operation
///</summary>
public interface IGetDomainNamesPaginator
{
/// <summary>
/// Enumerable containing all full responses for the operation
/// </summary>
IPaginatedEnumerable<GetDomainNamesResponse> Responses { get; }
/// <summary>
/// Enumerable containing all of the Items
/// </summary>
IPaginatedEnumerable<DomainName> Items { get; }
}
} | 38 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apigateway-2015-07-09.normal.json service model.
*/
using Amazon.Runtime;
namespace Amazon.APIGateway.Model
{
/// <summary>
/// Paginator for the GetModels operation
///</summary>
public interface IGetModelsPaginator
{
/// <summary>
/// Enumerable containing all full responses for the operation
/// </summary>
IPaginatedEnumerable<GetModelsResponse> Responses { get; }
/// <summary>
/// Enumerable containing all of the Items
/// </summary>
IPaginatedEnumerable<Model> Items { get; }
}
} | 38 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apigateway-2015-07-09.normal.json service model.
*/
using Amazon.Runtime;
namespace Amazon.APIGateway.Model
{
/// <summary>
/// Paginator for the GetResources operation
///</summary>
public interface IGetResourcesPaginator
{
/// <summary>
/// Enumerable containing all full responses for the operation
/// </summary>
IPaginatedEnumerable<GetResourcesResponse> Responses { get; }
/// <summary>
/// Enumerable containing all of the Items
/// </summary>
IPaginatedEnumerable<Resource> Items { get; }
}
} | 38 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apigateway-2015-07-09.normal.json service model.
*/
using Amazon.Runtime;
namespace Amazon.APIGateway.Model
{
/// <summary>
/// Paginator for the GetRestApis operation
///</summary>
public interface IGetRestApisPaginator
{
/// <summary>
/// Enumerable containing all full responses for the operation
/// </summary>
IPaginatedEnumerable<GetRestApisResponse> Responses { get; }
/// <summary>
/// Enumerable containing all of the Items
/// </summary>
IPaginatedEnumerable<RestApi> Items { get; }
}
} | 38 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apigateway-2015-07-09.normal.json service model.
*/
using Amazon.Runtime;
namespace Amazon.APIGateway.Model
{
/// <summary>
/// Paginator for the GetUsage operation
///</summary>
public interface IGetUsagePaginator
{
/// <summary>
/// Enumerable containing all full responses for the operation
/// </summary>
IPaginatedEnumerable<GetUsageResponse> Responses { get; }
}
} | 33 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apigateway-2015-07-09.normal.json service model.
*/
using Amazon.Runtime;
namespace Amazon.APIGateway.Model
{
/// <summary>
/// Paginator for the GetUsagePlanKeys operation
///</summary>
public interface IGetUsagePlanKeysPaginator
{
/// <summary>
/// Enumerable containing all full responses for the operation
/// </summary>
IPaginatedEnumerable<GetUsagePlanKeysResponse> Responses { get; }
/// <summary>
/// Enumerable containing all of the Items
/// </summary>
IPaginatedEnumerable<UsagePlanKey> Items { get; }
}
} | 38 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apigateway-2015-07-09.normal.json service model.
*/
using Amazon.Runtime;
namespace Amazon.APIGateway.Model
{
/// <summary>
/// Paginator for the GetUsagePlans operation
///</summary>
public interface IGetUsagePlansPaginator
{
/// <summary>
/// Enumerable containing all full responses for the operation
/// </summary>
IPaginatedEnumerable<GetUsagePlansResponse> Responses { get; }
/// <summary>
/// Enumerable containing all of the Items
/// </summary>
IPaginatedEnumerable<UsagePlan> Items { get; }
}
} | 38 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apigateway-2015-07-09.normal.json service model.
*/
using Amazon.Runtime;
namespace Amazon.APIGateway.Model
{
/// <summary>
/// Paginator for the GetVpcLinks operation
///</summary>
public interface IGetVpcLinksPaginator
{
/// <summary>
/// Enumerable containing all full responses for the operation
/// </summary>
IPaginatedEnumerable<GetVpcLinksResponse> Responses { get; }
/// <summary>
/// Enumerable containing all of the Items
/// </summary>
IPaginatedEnumerable<VpcLink> Items { get; }
}
} | 38 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apigateway-2015-07-09.normal.json service model.
*/
using System;
using System.Collections.Generic;
using Amazon.Runtime;
using Amazon.APIGateway.Model;
namespace Amazon.APIGateway
{
/// <summary>
/// Interface for accessing APIGateway
///
/// Amazon API Gateway
/// <para>
/// Amazon API Gateway helps developers deliver robust, secure, and scalable mobile and
/// web application back ends. API Gateway allows developers to securely connect mobile
/// and web applications to APIs that run on AWS Lambda, Amazon EC2, or other publicly
/// addressable web services that are hosted outside of AWS.
/// </para>
/// </summary>
public partial interface IAmazonAPIGateway : IAmazonService, IDisposable
{
#if BCL45 || AWS_ASYNC_ENUMERABLES_API
/// <summary>
/// Paginators for the service
/// </summary>
IAPIGatewayPaginatorFactory Paginators { get; }
#endif
#region CreateApiKey
/// <summary>
/// Create an ApiKey resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateApiKey service method.</param>
///
/// <returns>The response from the CreateApiKey service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/CreateApiKey">REST API Reference for CreateApiKey Operation</seealso>
CreateApiKeyResponse CreateApiKey(CreateApiKeyRequest request);
/// <summary>
/// Initiates the asynchronous execution of the CreateApiKey operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the CreateApiKey operation on AmazonAPIGatewayClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateApiKey
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/CreateApiKey">REST API Reference for CreateApiKey Operation</seealso>
IAsyncResult BeginCreateApiKey(CreateApiKeyRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the CreateApiKey operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateApiKey.</param>
///
/// <returns>Returns a CreateApiKeyResult from APIGateway.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/CreateApiKey">REST API Reference for CreateApiKey Operation</seealso>
CreateApiKeyResponse EndCreateApiKey(IAsyncResult asyncResult);
#endregion
#region CreateAuthorizer
/// <summary>
/// Adds a new Authorizer resource to an existing RestApi resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateAuthorizer service method.</param>
///
/// <returns>The response from the CreateAuthorizer service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/CreateAuthorizer">REST API Reference for CreateAuthorizer Operation</seealso>
CreateAuthorizerResponse CreateAuthorizer(CreateAuthorizerRequest request);
/// <summary>
/// Initiates the asynchronous execution of the CreateAuthorizer operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the CreateAuthorizer operation on AmazonAPIGatewayClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateAuthorizer
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/CreateAuthorizer">REST API Reference for CreateAuthorizer Operation</seealso>
IAsyncResult BeginCreateAuthorizer(CreateAuthorizerRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the CreateAuthorizer operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateAuthorizer.</param>
///
/// <returns>Returns a CreateAuthorizerResult from APIGateway.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/CreateAuthorizer">REST API Reference for CreateAuthorizer Operation</seealso>
CreateAuthorizerResponse EndCreateAuthorizer(IAsyncResult asyncResult);
#endregion
#region CreateBasePathMapping
/// <summary>
/// Creates a new BasePathMapping resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateBasePathMapping service method.</param>
///
/// <returns>The response from the CreateBasePathMapping service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/CreateBasePathMapping">REST API Reference for CreateBasePathMapping Operation</seealso>
CreateBasePathMappingResponse CreateBasePathMapping(CreateBasePathMappingRequest request);
/// <summary>
/// Initiates the asynchronous execution of the CreateBasePathMapping operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the CreateBasePathMapping operation on AmazonAPIGatewayClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateBasePathMapping
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/CreateBasePathMapping">REST API Reference for CreateBasePathMapping Operation</seealso>
IAsyncResult BeginCreateBasePathMapping(CreateBasePathMappingRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the CreateBasePathMapping operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateBasePathMapping.</param>
///
/// <returns>Returns a CreateBasePathMappingResult from APIGateway.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/CreateBasePathMapping">REST API Reference for CreateBasePathMapping Operation</seealso>
CreateBasePathMappingResponse EndCreateBasePathMapping(IAsyncResult asyncResult);
#endregion
#region CreateDeployment
/// <summary>
/// Creates a Deployment resource, which makes a specified RestApi callable over the internet.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateDeployment service method.</param>
///
/// <returns>The response from the CreateDeployment service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ServiceUnavailableException">
/// The requested service is not available. For details see the accompanying error message.
/// Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/CreateDeployment">REST API Reference for CreateDeployment Operation</seealso>
CreateDeploymentResponse CreateDeployment(CreateDeploymentRequest request);
/// <summary>
/// Initiates the asynchronous execution of the CreateDeployment operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the CreateDeployment operation on AmazonAPIGatewayClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateDeployment
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/CreateDeployment">REST API Reference for CreateDeployment Operation</seealso>
IAsyncResult BeginCreateDeployment(CreateDeploymentRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the CreateDeployment operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateDeployment.</param>
///
/// <returns>Returns a CreateDeploymentResult from APIGateway.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/CreateDeployment">REST API Reference for CreateDeployment Operation</seealso>
CreateDeploymentResponse EndCreateDeployment(IAsyncResult asyncResult);
#endregion
#region CreateDocumentationPart
/// <summary>
/// Creates a documentation part.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateDocumentationPart service method.</param>
///
/// <returns>The response from the CreateDocumentationPart service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/CreateDocumentationPart">REST API Reference for CreateDocumentationPart Operation</seealso>
CreateDocumentationPartResponse CreateDocumentationPart(CreateDocumentationPartRequest request);
/// <summary>
/// Initiates the asynchronous execution of the CreateDocumentationPart operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the CreateDocumentationPart operation on AmazonAPIGatewayClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateDocumentationPart
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/CreateDocumentationPart">REST API Reference for CreateDocumentationPart Operation</seealso>
IAsyncResult BeginCreateDocumentationPart(CreateDocumentationPartRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the CreateDocumentationPart operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateDocumentationPart.</param>
///
/// <returns>Returns a CreateDocumentationPartResult from APIGateway.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/CreateDocumentationPart">REST API Reference for CreateDocumentationPart Operation</seealso>
CreateDocumentationPartResponse EndCreateDocumentationPart(IAsyncResult asyncResult);
#endregion
#region CreateDocumentationVersion
/// <summary>
/// Creates a documentation version
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateDocumentationVersion service method.</param>
///
/// <returns>The response from the CreateDocumentationVersion service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/CreateDocumentationVersion">REST API Reference for CreateDocumentationVersion Operation</seealso>
CreateDocumentationVersionResponse CreateDocumentationVersion(CreateDocumentationVersionRequest request);
/// <summary>
/// Initiates the asynchronous execution of the CreateDocumentationVersion operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the CreateDocumentationVersion operation on AmazonAPIGatewayClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateDocumentationVersion
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/CreateDocumentationVersion">REST API Reference for CreateDocumentationVersion Operation</seealso>
IAsyncResult BeginCreateDocumentationVersion(CreateDocumentationVersionRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the CreateDocumentationVersion operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateDocumentationVersion.</param>
///
/// <returns>Returns a CreateDocumentationVersionResult from APIGateway.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/CreateDocumentationVersion">REST API Reference for CreateDocumentationVersion Operation</seealso>
CreateDocumentationVersionResponse EndCreateDocumentationVersion(IAsyncResult asyncResult);
#endregion
#region CreateDomainName
/// <summary>
/// Creates a new domain name.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateDomainName service method.</param>
///
/// <returns>The response from the CreateDomainName service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/CreateDomainName">REST API Reference for CreateDomainName Operation</seealso>
CreateDomainNameResponse CreateDomainName(CreateDomainNameRequest request);
/// <summary>
/// Initiates the asynchronous execution of the CreateDomainName operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the CreateDomainName operation on AmazonAPIGatewayClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateDomainName
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/CreateDomainName">REST API Reference for CreateDomainName Operation</seealso>
IAsyncResult BeginCreateDomainName(CreateDomainNameRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the CreateDomainName operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateDomainName.</param>
///
/// <returns>Returns a CreateDomainNameResult from APIGateway.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/CreateDomainName">REST API Reference for CreateDomainName Operation</seealso>
CreateDomainNameResponse EndCreateDomainName(IAsyncResult asyncResult);
#endregion
#region CreateModel
/// <summary>
/// Adds a new Model resource to an existing RestApi resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateModel service method.</param>
///
/// <returns>The response from the CreateModel service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/CreateModel">REST API Reference for CreateModel Operation</seealso>
CreateModelResponse CreateModel(CreateModelRequest request);
/// <summary>
/// Initiates the asynchronous execution of the CreateModel operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the CreateModel operation on AmazonAPIGatewayClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateModel
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/CreateModel">REST API Reference for CreateModel Operation</seealso>
IAsyncResult BeginCreateModel(CreateModelRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the CreateModel operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateModel.</param>
///
/// <returns>Returns a CreateModelResult from APIGateway.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/CreateModel">REST API Reference for CreateModel Operation</seealso>
CreateModelResponse EndCreateModel(IAsyncResult asyncResult);
#endregion
#region CreateRequestValidator
/// <summary>
/// Creates a RequestValidator of a given RestApi.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateRequestValidator service method.</param>
///
/// <returns>The response from the CreateRequestValidator service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/CreateRequestValidator">REST API Reference for CreateRequestValidator Operation</seealso>
CreateRequestValidatorResponse CreateRequestValidator(CreateRequestValidatorRequest request);
/// <summary>
/// Initiates the asynchronous execution of the CreateRequestValidator operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the CreateRequestValidator operation on AmazonAPIGatewayClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateRequestValidator
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/CreateRequestValidator">REST API Reference for CreateRequestValidator Operation</seealso>
IAsyncResult BeginCreateRequestValidator(CreateRequestValidatorRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the CreateRequestValidator operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateRequestValidator.</param>
///
/// <returns>Returns a CreateRequestValidatorResult from APIGateway.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/CreateRequestValidator">REST API Reference for CreateRequestValidator Operation</seealso>
CreateRequestValidatorResponse EndCreateRequestValidator(IAsyncResult asyncResult);
#endregion
#region CreateResource
/// <summary>
/// Creates a Resource resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateResource service method.</param>
///
/// <returns>The response from the CreateResource service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/CreateResource">REST API Reference for CreateResource Operation</seealso>
CreateResourceResponse CreateResource(CreateResourceRequest request);
/// <summary>
/// Initiates the asynchronous execution of the CreateResource operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the CreateResource operation on AmazonAPIGatewayClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateResource
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/CreateResource">REST API Reference for CreateResource Operation</seealso>
IAsyncResult BeginCreateResource(CreateResourceRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the CreateResource operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateResource.</param>
///
/// <returns>Returns a CreateResourceResult from APIGateway.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/CreateResource">REST API Reference for CreateResource Operation</seealso>
CreateResourceResponse EndCreateResource(IAsyncResult asyncResult);
#endregion
#region CreateRestApi
/// <summary>
/// Creates a new RestApi resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateRestApi service method.</param>
///
/// <returns>The response from the CreateRestApi service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/CreateRestApi">REST API Reference for CreateRestApi Operation</seealso>
CreateRestApiResponse CreateRestApi(CreateRestApiRequest request);
/// <summary>
/// Initiates the asynchronous execution of the CreateRestApi operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the CreateRestApi operation on AmazonAPIGatewayClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateRestApi
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/CreateRestApi">REST API Reference for CreateRestApi Operation</seealso>
IAsyncResult BeginCreateRestApi(CreateRestApiRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the CreateRestApi operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateRestApi.</param>
///
/// <returns>Returns a CreateRestApiResult from APIGateway.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/CreateRestApi">REST API Reference for CreateRestApi Operation</seealso>
CreateRestApiResponse EndCreateRestApi(IAsyncResult asyncResult);
#endregion
#region CreateStage
/// <summary>
/// Creates a new Stage resource that references a pre-existing Deployment for the API.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateStage service method.</param>
///
/// <returns>The response from the CreateStage service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/CreateStage">REST API Reference for CreateStage Operation</seealso>
CreateStageResponse CreateStage(CreateStageRequest request);
/// <summary>
/// Initiates the asynchronous execution of the CreateStage operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the CreateStage operation on AmazonAPIGatewayClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateStage
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/CreateStage">REST API Reference for CreateStage Operation</seealso>
IAsyncResult BeginCreateStage(CreateStageRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the CreateStage operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateStage.</param>
///
/// <returns>Returns a CreateStageResult from APIGateway.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/CreateStage">REST API Reference for CreateStage Operation</seealso>
CreateStageResponse EndCreateStage(IAsyncResult asyncResult);
#endregion
#region CreateUsagePlan
/// <summary>
/// Creates a usage plan with the throttle and quota limits, as well as the associated
/// API stages, specified in the payload.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateUsagePlan service method.</param>
///
/// <returns>The response from the CreateUsagePlan service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/CreateUsagePlan">REST API Reference for CreateUsagePlan Operation</seealso>
CreateUsagePlanResponse CreateUsagePlan(CreateUsagePlanRequest request);
/// <summary>
/// Initiates the asynchronous execution of the CreateUsagePlan operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the CreateUsagePlan operation on AmazonAPIGatewayClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateUsagePlan
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/CreateUsagePlan">REST API Reference for CreateUsagePlan Operation</seealso>
IAsyncResult BeginCreateUsagePlan(CreateUsagePlanRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the CreateUsagePlan operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateUsagePlan.</param>
///
/// <returns>Returns a CreateUsagePlanResult from APIGateway.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/CreateUsagePlan">REST API Reference for CreateUsagePlan Operation</seealso>
CreateUsagePlanResponse EndCreateUsagePlan(IAsyncResult asyncResult);
#endregion
#region CreateUsagePlanKey
/// <summary>
/// Creates a usage plan key for adding an existing API key to a usage plan.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateUsagePlanKey service method.</param>
///
/// <returns>The response from the CreateUsagePlanKey service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/CreateUsagePlanKey">REST API Reference for CreateUsagePlanKey Operation</seealso>
CreateUsagePlanKeyResponse CreateUsagePlanKey(CreateUsagePlanKeyRequest request);
/// <summary>
/// Initiates the asynchronous execution of the CreateUsagePlanKey operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the CreateUsagePlanKey operation on AmazonAPIGatewayClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateUsagePlanKey
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/CreateUsagePlanKey">REST API Reference for CreateUsagePlanKey Operation</seealso>
IAsyncResult BeginCreateUsagePlanKey(CreateUsagePlanKeyRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the CreateUsagePlanKey operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateUsagePlanKey.</param>
///
/// <returns>Returns a CreateUsagePlanKeyResult from APIGateway.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/CreateUsagePlanKey">REST API Reference for CreateUsagePlanKey Operation</seealso>
CreateUsagePlanKeyResponse EndCreateUsagePlanKey(IAsyncResult asyncResult);
#endregion
#region CreateVpcLink
/// <summary>
/// Creates a VPC link, under the caller's account in a selected region, in an asynchronous
/// operation that typically takes 2-4 minutes to complete and become operational. The
/// caller must have permissions to create and update VPC Endpoint services.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateVpcLink service method.</param>
///
/// <returns>The response from the CreateVpcLink service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/CreateVpcLink">REST API Reference for CreateVpcLink Operation</seealso>
CreateVpcLinkResponse CreateVpcLink(CreateVpcLinkRequest request);
/// <summary>
/// Initiates the asynchronous execution of the CreateVpcLink operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the CreateVpcLink operation on AmazonAPIGatewayClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateVpcLink
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/CreateVpcLink">REST API Reference for CreateVpcLink Operation</seealso>
IAsyncResult BeginCreateVpcLink(CreateVpcLinkRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the CreateVpcLink operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateVpcLink.</param>
///
/// <returns>Returns a CreateVpcLinkResult from APIGateway.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/CreateVpcLink">REST API Reference for CreateVpcLink Operation</seealso>
CreateVpcLinkResponse EndCreateVpcLink(IAsyncResult asyncResult);
#endregion
#region DeleteApiKey
/// <summary>
/// Deletes the ApiKey resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteApiKey service method.</param>
///
/// <returns>The response from the DeleteApiKey service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteApiKey">REST API Reference for DeleteApiKey Operation</seealso>
DeleteApiKeyResponse DeleteApiKey(DeleteApiKeyRequest request);
/// <summary>
/// Initiates the asynchronous execution of the DeleteApiKey operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the DeleteApiKey operation on AmazonAPIGatewayClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteApiKey
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteApiKey">REST API Reference for DeleteApiKey Operation</seealso>
IAsyncResult BeginDeleteApiKey(DeleteApiKeyRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the DeleteApiKey operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteApiKey.</param>
///
/// <returns>Returns a DeleteApiKeyResult from APIGateway.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteApiKey">REST API Reference for DeleteApiKey Operation</seealso>
DeleteApiKeyResponse EndDeleteApiKey(IAsyncResult asyncResult);
#endregion
#region DeleteAuthorizer
/// <summary>
/// Deletes an existing Authorizer resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteAuthorizer service method.</param>
///
/// <returns>The response from the DeleteAuthorizer service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteAuthorizer">REST API Reference for DeleteAuthorizer Operation</seealso>
DeleteAuthorizerResponse DeleteAuthorizer(DeleteAuthorizerRequest request);
/// <summary>
/// Initiates the asynchronous execution of the DeleteAuthorizer operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the DeleteAuthorizer operation on AmazonAPIGatewayClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteAuthorizer
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteAuthorizer">REST API Reference for DeleteAuthorizer Operation</seealso>
IAsyncResult BeginDeleteAuthorizer(DeleteAuthorizerRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the DeleteAuthorizer operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteAuthorizer.</param>
///
/// <returns>Returns a DeleteAuthorizerResult from APIGateway.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteAuthorizer">REST API Reference for DeleteAuthorizer Operation</seealso>
DeleteAuthorizerResponse EndDeleteAuthorizer(IAsyncResult asyncResult);
#endregion
#region DeleteBasePathMapping
/// <summary>
/// Deletes the BasePathMapping resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteBasePathMapping service method.</param>
///
/// <returns>The response from the DeleteBasePathMapping service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteBasePathMapping">REST API Reference for DeleteBasePathMapping Operation</seealso>
DeleteBasePathMappingResponse DeleteBasePathMapping(DeleteBasePathMappingRequest request);
/// <summary>
/// Initiates the asynchronous execution of the DeleteBasePathMapping operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the DeleteBasePathMapping operation on AmazonAPIGatewayClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteBasePathMapping
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteBasePathMapping">REST API Reference for DeleteBasePathMapping Operation</seealso>
IAsyncResult BeginDeleteBasePathMapping(DeleteBasePathMappingRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the DeleteBasePathMapping operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteBasePathMapping.</param>
///
/// <returns>Returns a DeleteBasePathMappingResult from APIGateway.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteBasePathMapping">REST API Reference for DeleteBasePathMapping Operation</seealso>
DeleteBasePathMappingResponse EndDeleteBasePathMapping(IAsyncResult asyncResult);
#endregion
#region DeleteClientCertificate
/// <summary>
/// Deletes the ClientCertificate resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteClientCertificate service method.</param>
///
/// <returns>The response from the DeleteClientCertificate service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteClientCertificate">REST API Reference for DeleteClientCertificate Operation</seealso>
DeleteClientCertificateResponse DeleteClientCertificate(DeleteClientCertificateRequest request);
/// <summary>
/// Initiates the asynchronous execution of the DeleteClientCertificate operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the DeleteClientCertificate operation on AmazonAPIGatewayClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteClientCertificate
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteClientCertificate">REST API Reference for DeleteClientCertificate Operation</seealso>
IAsyncResult BeginDeleteClientCertificate(DeleteClientCertificateRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the DeleteClientCertificate operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteClientCertificate.</param>
///
/// <returns>Returns a DeleteClientCertificateResult from APIGateway.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteClientCertificate">REST API Reference for DeleteClientCertificate Operation</seealso>
DeleteClientCertificateResponse EndDeleteClientCertificate(IAsyncResult asyncResult);
#endregion
#region DeleteDeployment
/// <summary>
/// Deletes a Deployment resource. Deleting a deployment will only succeed if there are
/// no Stage resources associated with it.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteDeployment service method.</param>
///
/// <returns>The response from the DeleteDeployment service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteDeployment">REST API Reference for DeleteDeployment Operation</seealso>
DeleteDeploymentResponse DeleteDeployment(DeleteDeploymentRequest request);
/// <summary>
/// Initiates the asynchronous execution of the DeleteDeployment operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the DeleteDeployment operation on AmazonAPIGatewayClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteDeployment
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteDeployment">REST API Reference for DeleteDeployment Operation</seealso>
IAsyncResult BeginDeleteDeployment(DeleteDeploymentRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the DeleteDeployment operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteDeployment.</param>
///
/// <returns>Returns a DeleteDeploymentResult from APIGateway.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteDeployment">REST API Reference for DeleteDeployment Operation</seealso>
DeleteDeploymentResponse EndDeleteDeployment(IAsyncResult asyncResult);
#endregion
#region DeleteDocumentationPart
/// <summary>
/// Deletes a documentation part
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteDocumentationPart service method.</param>
///
/// <returns>The response from the DeleteDocumentationPart service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteDocumentationPart">REST API Reference for DeleteDocumentationPart Operation</seealso>
DeleteDocumentationPartResponse DeleteDocumentationPart(DeleteDocumentationPartRequest request);
/// <summary>
/// Initiates the asynchronous execution of the DeleteDocumentationPart operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the DeleteDocumentationPart operation on AmazonAPIGatewayClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteDocumentationPart
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteDocumentationPart">REST API Reference for DeleteDocumentationPart Operation</seealso>
IAsyncResult BeginDeleteDocumentationPart(DeleteDocumentationPartRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the DeleteDocumentationPart operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteDocumentationPart.</param>
///
/// <returns>Returns a DeleteDocumentationPartResult from APIGateway.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteDocumentationPart">REST API Reference for DeleteDocumentationPart Operation</seealso>
DeleteDocumentationPartResponse EndDeleteDocumentationPart(IAsyncResult asyncResult);
#endregion
#region DeleteDocumentationVersion
/// <summary>
/// Deletes a documentation version.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteDocumentationVersion service method.</param>
///
/// <returns>The response from the DeleteDocumentationVersion service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteDocumentationVersion">REST API Reference for DeleteDocumentationVersion Operation</seealso>
DeleteDocumentationVersionResponse DeleteDocumentationVersion(DeleteDocumentationVersionRequest request);
/// <summary>
/// Initiates the asynchronous execution of the DeleteDocumentationVersion operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the DeleteDocumentationVersion operation on AmazonAPIGatewayClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteDocumentationVersion
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteDocumentationVersion">REST API Reference for DeleteDocumentationVersion Operation</seealso>
IAsyncResult BeginDeleteDocumentationVersion(DeleteDocumentationVersionRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the DeleteDocumentationVersion operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteDocumentationVersion.</param>
///
/// <returns>Returns a DeleteDocumentationVersionResult from APIGateway.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteDocumentationVersion">REST API Reference for DeleteDocumentationVersion Operation</seealso>
DeleteDocumentationVersionResponse EndDeleteDocumentationVersion(IAsyncResult asyncResult);
#endregion
#region DeleteDomainName
/// <summary>
/// Deletes the DomainName resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteDomainName service method.</param>
///
/// <returns>The response from the DeleteDomainName service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteDomainName">REST API Reference for DeleteDomainName Operation</seealso>
DeleteDomainNameResponse DeleteDomainName(DeleteDomainNameRequest request);
/// <summary>
/// Initiates the asynchronous execution of the DeleteDomainName operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the DeleteDomainName operation on AmazonAPIGatewayClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteDomainName
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteDomainName">REST API Reference for DeleteDomainName Operation</seealso>
IAsyncResult BeginDeleteDomainName(DeleteDomainNameRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the DeleteDomainName operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteDomainName.</param>
///
/// <returns>Returns a DeleteDomainNameResult from APIGateway.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteDomainName">REST API Reference for DeleteDomainName Operation</seealso>
DeleteDomainNameResponse EndDeleteDomainName(IAsyncResult asyncResult);
#endregion
#region DeleteGatewayResponse
/// <summary>
/// Clears any customization of a GatewayResponse of a specified response type on the
/// given RestApi and resets it with the default settings.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteGatewayResponse service method.</param>
///
/// <returns>The response from the DeleteGatewayResponse service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteGatewayResponse">REST API Reference for DeleteGatewayResponse Operation</seealso>
DeleteGatewayResponseResponse DeleteGatewayResponse(DeleteGatewayResponseRequest request);
/// <summary>
/// Initiates the asynchronous execution of the DeleteGatewayResponse operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the DeleteGatewayResponse operation on AmazonAPIGatewayClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteGatewayResponse
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteGatewayResponse">REST API Reference for DeleteGatewayResponse Operation</seealso>
IAsyncResult BeginDeleteGatewayResponse(DeleteGatewayResponseRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the DeleteGatewayResponse operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteGatewayResponse.</param>
///
/// <returns>Returns a DeleteGatewayResponseResult from APIGateway.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteGatewayResponse">REST API Reference for DeleteGatewayResponse Operation</seealso>
DeleteGatewayResponseResponse EndDeleteGatewayResponse(IAsyncResult asyncResult);
#endregion
#region DeleteIntegration
/// <summary>
/// Represents a delete integration.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteIntegration service method.</param>
///
/// <returns>The response from the DeleteIntegration service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteIntegration">REST API Reference for DeleteIntegration Operation</seealso>
DeleteIntegrationResponse DeleteIntegration(DeleteIntegrationRequest request);
/// <summary>
/// Initiates the asynchronous execution of the DeleteIntegration operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the DeleteIntegration operation on AmazonAPIGatewayClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteIntegration
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteIntegration">REST API Reference for DeleteIntegration Operation</seealso>
IAsyncResult BeginDeleteIntegration(DeleteIntegrationRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the DeleteIntegration operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteIntegration.</param>
///
/// <returns>Returns a DeleteIntegrationResult from APIGateway.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteIntegration">REST API Reference for DeleteIntegration Operation</seealso>
DeleteIntegrationResponse EndDeleteIntegration(IAsyncResult asyncResult);
#endregion
#region DeleteIntegrationResponse
/// <summary>
/// Represents a delete integration response.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteIntegrationResponse service method.</param>
///
/// <returns>The response from the DeleteIntegrationResponse service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteIntegrationResponse">REST API Reference for DeleteIntegrationResponse Operation</seealso>
DeleteIntegrationResponseResponse DeleteIntegrationResponse(DeleteIntegrationResponseRequest request);
/// <summary>
/// Initiates the asynchronous execution of the DeleteIntegrationResponse operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the DeleteIntegrationResponse operation on AmazonAPIGatewayClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteIntegrationResponse
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteIntegrationResponse">REST API Reference for DeleteIntegrationResponse Operation</seealso>
IAsyncResult BeginDeleteIntegrationResponse(DeleteIntegrationResponseRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the DeleteIntegrationResponse operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteIntegrationResponse.</param>
///
/// <returns>Returns a DeleteIntegrationResponseResult from APIGateway.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteIntegrationResponse">REST API Reference for DeleteIntegrationResponse Operation</seealso>
DeleteIntegrationResponseResponse EndDeleteIntegrationResponse(IAsyncResult asyncResult);
#endregion
#region DeleteMethod
/// <summary>
/// Deletes an existing Method resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteMethod service method.</param>
///
/// <returns>The response from the DeleteMethod service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteMethod">REST API Reference for DeleteMethod Operation</seealso>
DeleteMethodResponse DeleteMethod(DeleteMethodRequest request);
/// <summary>
/// Initiates the asynchronous execution of the DeleteMethod operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the DeleteMethod operation on AmazonAPIGatewayClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteMethod
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteMethod">REST API Reference for DeleteMethod Operation</seealso>
IAsyncResult BeginDeleteMethod(DeleteMethodRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the DeleteMethod operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteMethod.</param>
///
/// <returns>Returns a DeleteMethodResult from APIGateway.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteMethod">REST API Reference for DeleteMethod Operation</seealso>
DeleteMethodResponse EndDeleteMethod(IAsyncResult asyncResult);
#endregion
#region DeleteMethodResponse
/// <summary>
/// Deletes an existing MethodResponse resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteMethodResponse service method.</param>
///
/// <returns>The response from the DeleteMethodResponse service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteMethodResponse">REST API Reference for DeleteMethodResponse Operation</seealso>
DeleteMethodResponseResponse DeleteMethodResponse(DeleteMethodResponseRequest request);
/// <summary>
/// Initiates the asynchronous execution of the DeleteMethodResponse operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the DeleteMethodResponse operation on AmazonAPIGatewayClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteMethodResponse
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteMethodResponse">REST API Reference for DeleteMethodResponse Operation</seealso>
IAsyncResult BeginDeleteMethodResponse(DeleteMethodResponseRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the DeleteMethodResponse operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteMethodResponse.</param>
///
/// <returns>Returns a DeleteMethodResponseResult from APIGateway.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteMethodResponse">REST API Reference for DeleteMethodResponse Operation</seealso>
DeleteMethodResponseResponse EndDeleteMethodResponse(IAsyncResult asyncResult);
#endregion
#region DeleteModel
/// <summary>
/// Deletes a model.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteModel service method.</param>
///
/// <returns>The response from the DeleteModel service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteModel">REST API Reference for DeleteModel Operation</seealso>
DeleteModelResponse DeleteModel(DeleteModelRequest request);
/// <summary>
/// Initiates the asynchronous execution of the DeleteModel operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the DeleteModel operation on AmazonAPIGatewayClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteModel
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteModel">REST API Reference for DeleteModel Operation</seealso>
IAsyncResult BeginDeleteModel(DeleteModelRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the DeleteModel operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteModel.</param>
///
/// <returns>Returns a DeleteModelResult from APIGateway.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteModel">REST API Reference for DeleteModel Operation</seealso>
DeleteModelResponse EndDeleteModel(IAsyncResult asyncResult);
#endregion
#region DeleteRequestValidator
/// <summary>
/// Deletes a RequestValidator of a given RestApi.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteRequestValidator service method.</param>
///
/// <returns>The response from the DeleteRequestValidator service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteRequestValidator">REST API Reference for DeleteRequestValidator Operation</seealso>
DeleteRequestValidatorResponse DeleteRequestValidator(DeleteRequestValidatorRequest request);
/// <summary>
/// Initiates the asynchronous execution of the DeleteRequestValidator operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the DeleteRequestValidator operation on AmazonAPIGatewayClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteRequestValidator
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteRequestValidator">REST API Reference for DeleteRequestValidator Operation</seealso>
IAsyncResult BeginDeleteRequestValidator(DeleteRequestValidatorRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the DeleteRequestValidator operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteRequestValidator.</param>
///
/// <returns>Returns a DeleteRequestValidatorResult from APIGateway.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteRequestValidator">REST API Reference for DeleteRequestValidator Operation</seealso>
DeleteRequestValidatorResponse EndDeleteRequestValidator(IAsyncResult asyncResult);
#endregion
#region DeleteResource
/// <summary>
/// Deletes a Resource resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteResource service method.</param>
///
/// <returns>The response from the DeleteResource service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteResource">REST API Reference for DeleteResource Operation</seealso>
DeleteResourceResponse DeleteResource(DeleteResourceRequest request);
/// <summary>
/// Initiates the asynchronous execution of the DeleteResource operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the DeleteResource operation on AmazonAPIGatewayClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteResource
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteResource">REST API Reference for DeleteResource Operation</seealso>
IAsyncResult BeginDeleteResource(DeleteResourceRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the DeleteResource operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteResource.</param>
///
/// <returns>Returns a DeleteResourceResult from APIGateway.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteResource">REST API Reference for DeleteResource Operation</seealso>
DeleteResourceResponse EndDeleteResource(IAsyncResult asyncResult);
#endregion
#region DeleteRestApi
/// <summary>
/// Deletes the specified API.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteRestApi service method.</param>
///
/// <returns>The response from the DeleteRestApi service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteRestApi">REST API Reference for DeleteRestApi Operation</seealso>
DeleteRestApiResponse DeleteRestApi(DeleteRestApiRequest request);
/// <summary>
/// Initiates the asynchronous execution of the DeleteRestApi operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the DeleteRestApi operation on AmazonAPIGatewayClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteRestApi
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteRestApi">REST API Reference for DeleteRestApi Operation</seealso>
IAsyncResult BeginDeleteRestApi(DeleteRestApiRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the DeleteRestApi operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteRestApi.</param>
///
/// <returns>Returns a DeleteRestApiResult from APIGateway.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteRestApi">REST API Reference for DeleteRestApi Operation</seealso>
DeleteRestApiResponse EndDeleteRestApi(IAsyncResult asyncResult);
#endregion
#region DeleteStage
/// <summary>
/// Deletes a Stage resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteStage service method.</param>
///
/// <returns>The response from the DeleteStage service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteStage">REST API Reference for DeleteStage Operation</seealso>
DeleteStageResponse DeleteStage(DeleteStageRequest request);
/// <summary>
/// Initiates the asynchronous execution of the DeleteStage operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the DeleteStage operation on AmazonAPIGatewayClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteStage
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteStage">REST API Reference for DeleteStage Operation</seealso>
IAsyncResult BeginDeleteStage(DeleteStageRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the DeleteStage operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteStage.</param>
///
/// <returns>Returns a DeleteStageResult from APIGateway.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteStage">REST API Reference for DeleteStage Operation</seealso>
DeleteStageResponse EndDeleteStage(IAsyncResult asyncResult);
#endregion
#region DeleteUsagePlan
/// <summary>
/// Deletes a usage plan of a given plan Id.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteUsagePlan service method.</param>
///
/// <returns>The response from the DeleteUsagePlan service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteUsagePlan">REST API Reference for DeleteUsagePlan Operation</seealso>
DeleteUsagePlanResponse DeleteUsagePlan(DeleteUsagePlanRequest request);
/// <summary>
/// Initiates the asynchronous execution of the DeleteUsagePlan operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the DeleteUsagePlan operation on AmazonAPIGatewayClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteUsagePlan
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteUsagePlan">REST API Reference for DeleteUsagePlan Operation</seealso>
IAsyncResult BeginDeleteUsagePlan(DeleteUsagePlanRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the DeleteUsagePlan operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteUsagePlan.</param>
///
/// <returns>Returns a DeleteUsagePlanResult from APIGateway.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteUsagePlan">REST API Reference for DeleteUsagePlan Operation</seealso>
DeleteUsagePlanResponse EndDeleteUsagePlan(IAsyncResult asyncResult);
#endregion
#region DeleteUsagePlanKey
/// <summary>
/// Deletes a usage plan key and remove the underlying API key from the associated usage
/// plan.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteUsagePlanKey service method.</param>
///
/// <returns>The response from the DeleteUsagePlanKey service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteUsagePlanKey">REST API Reference for DeleteUsagePlanKey Operation</seealso>
DeleteUsagePlanKeyResponse DeleteUsagePlanKey(DeleteUsagePlanKeyRequest request);
/// <summary>
/// Initiates the asynchronous execution of the DeleteUsagePlanKey operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the DeleteUsagePlanKey operation on AmazonAPIGatewayClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteUsagePlanKey
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteUsagePlanKey">REST API Reference for DeleteUsagePlanKey Operation</seealso>
IAsyncResult BeginDeleteUsagePlanKey(DeleteUsagePlanKeyRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the DeleteUsagePlanKey operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteUsagePlanKey.</param>
///
/// <returns>Returns a DeleteUsagePlanKeyResult from APIGateway.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteUsagePlanKey">REST API Reference for DeleteUsagePlanKey Operation</seealso>
DeleteUsagePlanKeyResponse EndDeleteUsagePlanKey(IAsyncResult asyncResult);
#endregion
#region DeleteVpcLink
/// <summary>
/// Deletes an existing VpcLink of a specified identifier.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteVpcLink service method.</param>
///
/// <returns>The response from the DeleteVpcLink service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteVpcLink">REST API Reference for DeleteVpcLink Operation</seealso>
DeleteVpcLinkResponse DeleteVpcLink(DeleteVpcLinkRequest request);
/// <summary>
/// Initiates the asynchronous execution of the DeleteVpcLink operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the DeleteVpcLink operation on AmazonAPIGatewayClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteVpcLink
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteVpcLink">REST API Reference for DeleteVpcLink Operation</seealso>
IAsyncResult BeginDeleteVpcLink(DeleteVpcLinkRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the DeleteVpcLink operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteVpcLink.</param>
///
/// <returns>Returns a DeleteVpcLinkResult from APIGateway.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteVpcLink">REST API Reference for DeleteVpcLink Operation</seealso>
DeleteVpcLinkResponse EndDeleteVpcLink(IAsyncResult asyncResult);
#endregion
#region FlushStageAuthorizersCache
/// <summary>
/// Flushes all authorizer cache entries on a stage.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the FlushStageAuthorizersCache service method.</param>
///
/// <returns>The response from the FlushStageAuthorizersCache service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/FlushStageAuthorizersCache">REST API Reference for FlushStageAuthorizersCache Operation</seealso>
FlushStageAuthorizersCacheResponse FlushStageAuthorizersCache(FlushStageAuthorizersCacheRequest request);
/// <summary>
/// Initiates the asynchronous execution of the FlushStageAuthorizersCache operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the FlushStageAuthorizersCache operation on AmazonAPIGatewayClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndFlushStageAuthorizersCache
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/FlushStageAuthorizersCache">REST API Reference for FlushStageAuthorizersCache Operation</seealso>
IAsyncResult BeginFlushStageAuthorizersCache(FlushStageAuthorizersCacheRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the FlushStageAuthorizersCache operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginFlushStageAuthorizersCache.</param>
///
/// <returns>Returns a FlushStageAuthorizersCacheResult from APIGateway.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/FlushStageAuthorizersCache">REST API Reference for FlushStageAuthorizersCache Operation</seealso>
FlushStageAuthorizersCacheResponse EndFlushStageAuthorizersCache(IAsyncResult asyncResult);
#endregion
#region FlushStageCache
/// <summary>
/// Flushes a stage's cache.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the FlushStageCache service method.</param>
///
/// <returns>The response from the FlushStageCache service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/FlushStageCache">REST API Reference for FlushStageCache Operation</seealso>
FlushStageCacheResponse FlushStageCache(FlushStageCacheRequest request);
/// <summary>
/// Initiates the asynchronous execution of the FlushStageCache operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the FlushStageCache operation on AmazonAPIGatewayClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndFlushStageCache
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/FlushStageCache">REST API Reference for FlushStageCache Operation</seealso>
IAsyncResult BeginFlushStageCache(FlushStageCacheRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the FlushStageCache operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginFlushStageCache.</param>
///
/// <returns>Returns a FlushStageCacheResult from APIGateway.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/FlushStageCache">REST API Reference for FlushStageCache Operation</seealso>
FlushStageCacheResponse EndFlushStageCache(IAsyncResult asyncResult);
#endregion
#region GenerateClientCertificate
/// <summary>
/// Generates a ClientCertificate resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GenerateClientCertificate service method.</param>
///
/// <returns>The response from the GenerateClientCertificate service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GenerateClientCertificate">REST API Reference for GenerateClientCertificate Operation</seealso>
GenerateClientCertificateResponse GenerateClientCertificate(GenerateClientCertificateRequest request);
/// <summary>
/// Initiates the asynchronous execution of the GenerateClientCertificate operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GenerateClientCertificate operation on AmazonAPIGatewayClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGenerateClientCertificate
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GenerateClientCertificate">REST API Reference for GenerateClientCertificate Operation</seealso>
IAsyncResult BeginGenerateClientCertificate(GenerateClientCertificateRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the GenerateClientCertificate operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGenerateClientCertificate.</param>
///
/// <returns>Returns a GenerateClientCertificateResult from APIGateway.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GenerateClientCertificate">REST API Reference for GenerateClientCertificate Operation</seealso>
GenerateClientCertificateResponse EndGenerateClientCertificate(IAsyncResult asyncResult);
#endregion
#region GetAccount
/// <summary>
/// Gets information about the current Account resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetAccount service method.</param>
///
/// <returns>The response from the GetAccount service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetAccount">REST API Reference for GetAccount Operation</seealso>
GetAccountResponse GetAccount(GetAccountRequest request);
/// <summary>
/// Initiates the asynchronous execution of the GetAccount operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetAccount operation on AmazonAPIGatewayClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetAccount
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetAccount">REST API Reference for GetAccount Operation</seealso>
IAsyncResult BeginGetAccount(GetAccountRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the GetAccount operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetAccount.</param>
///
/// <returns>Returns a GetAccountResult from APIGateway.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetAccount">REST API Reference for GetAccount Operation</seealso>
GetAccountResponse EndGetAccount(IAsyncResult asyncResult);
#endregion
#region GetApiKey
/// <summary>
/// Gets information about the current ApiKey resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetApiKey service method.</param>
///
/// <returns>The response from the GetApiKey service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetApiKey">REST API Reference for GetApiKey Operation</seealso>
GetApiKeyResponse GetApiKey(GetApiKeyRequest request);
/// <summary>
/// Initiates the asynchronous execution of the GetApiKey operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetApiKey operation on AmazonAPIGatewayClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetApiKey
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetApiKey">REST API Reference for GetApiKey Operation</seealso>
IAsyncResult BeginGetApiKey(GetApiKeyRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the GetApiKey operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetApiKey.</param>
///
/// <returns>Returns a GetApiKeyResult from APIGateway.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetApiKey">REST API Reference for GetApiKey Operation</seealso>
GetApiKeyResponse EndGetApiKey(IAsyncResult asyncResult);
#endregion
#region GetApiKeys
/// <summary>
/// Gets information about the current ApiKeys resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetApiKeys service method.</param>
///
/// <returns>The response from the GetApiKeys service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetApiKeys">REST API Reference for GetApiKeys Operation</seealso>
GetApiKeysResponse GetApiKeys(GetApiKeysRequest request);
/// <summary>
/// Initiates the asynchronous execution of the GetApiKeys operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetApiKeys operation on AmazonAPIGatewayClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetApiKeys
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetApiKeys">REST API Reference for GetApiKeys Operation</seealso>
IAsyncResult BeginGetApiKeys(GetApiKeysRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the GetApiKeys operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetApiKeys.</param>
///
/// <returns>Returns a GetApiKeysResult from APIGateway.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetApiKeys">REST API Reference for GetApiKeys Operation</seealso>
GetApiKeysResponse EndGetApiKeys(IAsyncResult asyncResult);
#endregion
#region GetAuthorizer
/// <summary>
/// Describe an existing Authorizer resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetAuthorizer service method.</param>
///
/// <returns>The response from the GetAuthorizer service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetAuthorizer">REST API Reference for GetAuthorizer Operation</seealso>
GetAuthorizerResponse GetAuthorizer(GetAuthorizerRequest request);
/// <summary>
/// Initiates the asynchronous execution of the GetAuthorizer operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetAuthorizer operation on AmazonAPIGatewayClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetAuthorizer
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetAuthorizer">REST API Reference for GetAuthorizer Operation</seealso>
IAsyncResult BeginGetAuthorizer(GetAuthorizerRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the GetAuthorizer operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetAuthorizer.</param>
///
/// <returns>Returns a GetAuthorizerResult from APIGateway.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetAuthorizer">REST API Reference for GetAuthorizer Operation</seealso>
GetAuthorizerResponse EndGetAuthorizer(IAsyncResult asyncResult);
#endregion
#region GetAuthorizers
/// <summary>
/// Describe an existing Authorizers resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetAuthorizers service method.</param>
///
/// <returns>The response from the GetAuthorizers service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetAuthorizers">REST API Reference for GetAuthorizers Operation</seealso>
GetAuthorizersResponse GetAuthorizers(GetAuthorizersRequest request);
/// <summary>
/// Initiates the asynchronous execution of the GetAuthorizers operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetAuthorizers operation on AmazonAPIGatewayClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetAuthorizers
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetAuthorizers">REST API Reference for GetAuthorizers Operation</seealso>
IAsyncResult BeginGetAuthorizers(GetAuthorizersRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the GetAuthorizers operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetAuthorizers.</param>
///
/// <returns>Returns a GetAuthorizersResult from APIGateway.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetAuthorizers">REST API Reference for GetAuthorizers Operation</seealso>
GetAuthorizersResponse EndGetAuthorizers(IAsyncResult asyncResult);
#endregion
#region GetBasePathMapping
/// <summary>
/// Describe a BasePathMapping resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetBasePathMapping service method.</param>
///
/// <returns>The response from the GetBasePathMapping service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetBasePathMapping">REST API Reference for GetBasePathMapping Operation</seealso>
GetBasePathMappingResponse GetBasePathMapping(GetBasePathMappingRequest request);
/// <summary>
/// Initiates the asynchronous execution of the GetBasePathMapping operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetBasePathMapping operation on AmazonAPIGatewayClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetBasePathMapping
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetBasePathMapping">REST API Reference for GetBasePathMapping Operation</seealso>
IAsyncResult BeginGetBasePathMapping(GetBasePathMappingRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the GetBasePathMapping operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetBasePathMapping.</param>
///
/// <returns>Returns a GetBasePathMappingResult from APIGateway.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetBasePathMapping">REST API Reference for GetBasePathMapping Operation</seealso>
GetBasePathMappingResponse EndGetBasePathMapping(IAsyncResult asyncResult);
#endregion
#region GetBasePathMappings
/// <summary>
/// Represents a collection of BasePathMapping resources.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetBasePathMappings service method.</param>
///
/// <returns>The response from the GetBasePathMappings service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetBasePathMappings">REST API Reference for GetBasePathMappings Operation</seealso>
GetBasePathMappingsResponse GetBasePathMappings(GetBasePathMappingsRequest request);
/// <summary>
/// Initiates the asynchronous execution of the GetBasePathMappings operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetBasePathMappings operation on AmazonAPIGatewayClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetBasePathMappings
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetBasePathMappings">REST API Reference for GetBasePathMappings Operation</seealso>
IAsyncResult BeginGetBasePathMappings(GetBasePathMappingsRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the GetBasePathMappings operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetBasePathMappings.</param>
///
/// <returns>Returns a GetBasePathMappingsResult from APIGateway.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetBasePathMappings">REST API Reference for GetBasePathMappings Operation</seealso>
GetBasePathMappingsResponse EndGetBasePathMappings(IAsyncResult asyncResult);
#endregion
#region GetClientCertificate
/// <summary>
/// Gets information about the current ClientCertificate resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetClientCertificate service method.</param>
///
/// <returns>The response from the GetClientCertificate service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetClientCertificate">REST API Reference for GetClientCertificate Operation</seealso>
GetClientCertificateResponse GetClientCertificate(GetClientCertificateRequest request);
/// <summary>
/// Initiates the asynchronous execution of the GetClientCertificate operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetClientCertificate operation on AmazonAPIGatewayClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetClientCertificate
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetClientCertificate">REST API Reference for GetClientCertificate Operation</seealso>
IAsyncResult BeginGetClientCertificate(GetClientCertificateRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the GetClientCertificate operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetClientCertificate.</param>
///
/// <returns>Returns a GetClientCertificateResult from APIGateway.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetClientCertificate">REST API Reference for GetClientCertificate Operation</seealso>
GetClientCertificateResponse EndGetClientCertificate(IAsyncResult asyncResult);
#endregion
#region GetClientCertificates
/// <summary>
/// Gets a collection of ClientCertificate resources.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetClientCertificates service method.</param>
///
/// <returns>The response from the GetClientCertificates service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetClientCertificates">REST API Reference for GetClientCertificates Operation</seealso>
GetClientCertificatesResponse GetClientCertificates(GetClientCertificatesRequest request);
/// <summary>
/// Initiates the asynchronous execution of the GetClientCertificates operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetClientCertificates operation on AmazonAPIGatewayClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetClientCertificates
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetClientCertificates">REST API Reference for GetClientCertificates Operation</seealso>
IAsyncResult BeginGetClientCertificates(GetClientCertificatesRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the GetClientCertificates operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetClientCertificates.</param>
///
/// <returns>Returns a GetClientCertificatesResult from APIGateway.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetClientCertificates">REST API Reference for GetClientCertificates Operation</seealso>
GetClientCertificatesResponse EndGetClientCertificates(IAsyncResult asyncResult);
#endregion
#region GetDeployment
/// <summary>
/// Gets information about a Deployment resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetDeployment service method.</param>
///
/// <returns>The response from the GetDeployment service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ServiceUnavailableException">
/// The requested service is not available. For details see the accompanying error message.
/// Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetDeployment">REST API Reference for GetDeployment Operation</seealso>
GetDeploymentResponse GetDeployment(GetDeploymentRequest request);
/// <summary>
/// Initiates the asynchronous execution of the GetDeployment operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetDeployment operation on AmazonAPIGatewayClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetDeployment
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetDeployment">REST API Reference for GetDeployment Operation</seealso>
IAsyncResult BeginGetDeployment(GetDeploymentRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the GetDeployment operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetDeployment.</param>
///
/// <returns>Returns a GetDeploymentResult from APIGateway.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetDeployment">REST API Reference for GetDeployment Operation</seealso>
GetDeploymentResponse EndGetDeployment(IAsyncResult asyncResult);
#endregion
#region GetDeployments
/// <summary>
/// Gets information about a Deployments collection.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetDeployments service method.</param>
///
/// <returns>The response from the GetDeployments service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ServiceUnavailableException">
/// The requested service is not available. For details see the accompanying error message.
/// Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetDeployments">REST API Reference for GetDeployments Operation</seealso>
GetDeploymentsResponse GetDeployments(GetDeploymentsRequest request);
/// <summary>
/// Initiates the asynchronous execution of the GetDeployments operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetDeployments operation on AmazonAPIGatewayClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetDeployments
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetDeployments">REST API Reference for GetDeployments Operation</seealso>
IAsyncResult BeginGetDeployments(GetDeploymentsRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the GetDeployments operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetDeployments.</param>
///
/// <returns>Returns a GetDeploymentsResult from APIGateway.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetDeployments">REST API Reference for GetDeployments Operation</seealso>
GetDeploymentsResponse EndGetDeployments(IAsyncResult asyncResult);
#endregion
#region GetDocumentationPart
/// <summary>
/// Gets a documentation part.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetDocumentationPart service method.</param>
///
/// <returns>The response from the GetDocumentationPart service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetDocumentationPart">REST API Reference for GetDocumentationPart Operation</seealso>
GetDocumentationPartResponse GetDocumentationPart(GetDocumentationPartRequest request);
/// <summary>
/// Initiates the asynchronous execution of the GetDocumentationPart operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetDocumentationPart operation on AmazonAPIGatewayClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetDocumentationPart
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetDocumentationPart">REST API Reference for GetDocumentationPart Operation</seealso>
IAsyncResult BeginGetDocumentationPart(GetDocumentationPartRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the GetDocumentationPart operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetDocumentationPart.</param>
///
/// <returns>Returns a GetDocumentationPartResult from APIGateway.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetDocumentationPart">REST API Reference for GetDocumentationPart Operation</seealso>
GetDocumentationPartResponse EndGetDocumentationPart(IAsyncResult asyncResult);
#endregion
#region GetDocumentationParts
/// <summary>
/// Gets documentation parts.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetDocumentationParts service method.</param>
///
/// <returns>The response from the GetDocumentationParts service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetDocumentationParts">REST API Reference for GetDocumentationParts Operation</seealso>
GetDocumentationPartsResponse GetDocumentationParts(GetDocumentationPartsRequest request);
/// <summary>
/// Initiates the asynchronous execution of the GetDocumentationParts operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetDocumentationParts operation on AmazonAPIGatewayClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetDocumentationParts
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetDocumentationParts">REST API Reference for GetDocumentationParts Operation</seealso>
IAsyncResult BeginGetDocumentationParts(GetDocumentationPartsRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the GetDocumentationParts operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetDocumentationParts.</param>
///
/// <returns>Returns a GetDocumentationPartsResult from APIGateway.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetDocumentationParts">REST API Reference for GetDocumentationParts Operation</seealso>
GetDocumentationPartsResponse EndGetDocumentationParts(IAsyncResult asyncResult);
#endregion
#region GetDocumentationVersion
/// <summary>
/// Gets a documentation version.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetDocumentationVersion service method.</param>
///
/// <returns>The response from the GetDocumentationVersion service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetDocumentationVersion">REST API Reference for GetDocumentationVersion Operation</seealso>
GetDocumentationVersionResponse GetDocumentationVersion(GetDocumentationVersionRequest request);
/// <summary>
/// Initiates the asynchronous execution of the GetDocumentationVersion operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetDocumentationVersion operation on AmazonAPIGatewayClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetDocumentationVersion
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetDocumentationVersion">REST API Reference for GetDocumentationVersion Operation</seealso>
IAsyncResult BeginGetDocumentationVersion(GetDocumentationVersionRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the GetDocumentationVersion operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetDocumentationVersion.</param>
///
/// <returns>Returns a GetDocumentationVersionResult from APIGateway.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetDocumentationVersion">REST API Reference for GetDocumentationVersion Operation</seealso>
GetDocumentationVersionResponse EndGetDocumentationVersion(IAsyncResult asyncResult);
#endregion
#region GetDocumentationVersions
/// <summary>
/// Gets documentation versions.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetDocumentationVersions service method.</param>
///
/// <returns>The response from the GetDocumentationVersions service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetDocumentationVersions">REST API Reference for GetDocumentationVersions Operation</seealso>
GetDocumentationVersionsResponse GetDocumentationVersions(GetDocumentationVersionsRequest request);
/// <summary>
/// Initiates the asynchronous execution of the GetDocumentationVersions operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetDocumentationVersions operation on AmazonAPIGatewayClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetDocumentationVersions
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetDocumentationVersions">REST API Reference for GetDocumentationVersions Operation</seealso>
IAsyncResult BeginGetDocumentationVersions(GetDocumentationVersionsRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the GetDocumentationVersions operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetDocumentationVersions.</param>
///
/// <returns>Returns a GetDocumentationVersionsResult from APIGateway.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetDocumentationVersions">REST API Reference for GetDocumentationVersions Operation</seealso>
GetDocumentationVersionsResponse EndGetDocumentationVersions(IAsyncResult asyncResult);
#endregion
#region GetDomainName
/// <summary>
/// Represents a domain name that is contained in a simpler, more intuitive URL that can
/// be called.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetDomainName service method.</param>
///
/// <returns>The response from the GetDomainName service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetDomainName">REST API Reference for GetDomainName Operation</seealso>
GetDomainNameResponse GetDomainName(GetDomainNameRequest request);
/// <summary>
/// Initiates the asynchronous execution of the GetDomainName operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetDomainName operation on AmazonAPIGatewayClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetDomainName
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetDomainName">REST API Reference for GetDomainName Operation</seealso>
IAsyncResult BeginGetDomainName(GetDomainNameRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the GetDomainName operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetDomainName.</param>
///
/// <returns>Returns a GetDomainNameResult from APIGateway.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetDomainName">REST API Reference for GetDomainName Operation</seealso>
GetDomainNameResponse EndGetDomainName(IAsyncResult asyncResult);
#endregion
#region GetDomainNames
/// <summary>
/// Represents a collection of DomainName resources.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetDomainNames service method.</param>
///
/// <returns>The response from the GetDomainNames service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetDomainNames">REST API Reference for GetDomainNames Operation</seealso>
GetDomainNamesResponse GetDomainNames(GetDomainNamesRequest request);
/// <summary>
/// Initiates the asynchronous execution of the GetDomainNames operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetDomainNames operation on AmazonAPIGatewayClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetDomainNames
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetDomainNames">REST API Reference for GetDomainNames Operation</seealso>
IAsyncResult BeginGetDomainNames(GetDomainNamesRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the GetDomainNames operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetDomainNames.</param>
///
/// <returns>Returns a GetDomainNamesResult from APIGateway.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetDomainNames">REST API Reference for GetDomainNames Operation</seealso>
GetDomainNamesResponse EndGetDomainNames(IAsyncResult asyncResult);
#endregion
#region GetExport
/// <summary>
/// Exports a deployed version of a RestApi in a specified format.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetExport service method.</param>
///
/// <returns>The response from the GetExport service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetExport">REST API Reference for GetExport Operation</seealso>
GetExportResponse GetExport(GetExportRequest request);
/// <summary>
/// Initiates the asynchronous execution of the GetExport operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetExport operation on AmazonAPIGatewayClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetExport
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetExport">REST API Reference for GetExport Operation</seealso>
IAsyncResult BeginGetExport(GetExportRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the GetExport operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetExport.</param>
///
/// <returns>Returns a GetExportResult from APIGateway.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetExport">REST API Reference for GetExport Operation</seealso>
GetExportResponse EndGetExport(IAsyncResult asyncResult);
#endregion
#region GetGatewayResponse
/// <summary>
/// Gets a GatewayResponse of a specified response type on the given RestApi.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetGatewayResponse service method.</param>
///
/// <returns>The response from the GetGatewayResponse service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetGatewayResponse">REST API Reference for GetGatewayResponse Operation</seealso>
GetGatewayResponseResponse GetGatewayResponse(GetGatewayResponseRequest request);
/// <summary>
/// Initiates the asynchronous execution of the GetGatewayResponse operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetGatewayResponse operation on AmazonAPIGatewayClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetGatewayResponse
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetGatewayResponse">REST API Reference for GetGatewayResponse Operation</seealso>
IAsyncResult BeginGetGatewayResponse(GetGatewayResponseRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the GetGatewayResponse operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetGatewayResponse.</param>
///
/// <returns>Returns a GetGatewayResponseResult from APIGateway.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetGatewayResponse">REST API Reference for GetGatewayResponse Operation</seealso>
GetGatewayResponseResponse EndGetGatewayResponse(IAsyncResult asyncResult);
#endregion
#region GetGatewayResponses
/// <summary>
/// Gets the GatewayResponses collection on the given RestApi. If an API developer has
/// not added any definitions for gateway responses, the result will be the API Gateway-generated
/// default GatewayResponses collection for the supported response types.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetGatewayResponses service method.</param>
///
/// <returns>The response from the GetGatewayResponses service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetGatewayResponses">REST API Reference for GetGatewayResponses Operation</seealso>
GetGatewayResponsesResponse GetGatewayResponses(GetGatewayResponsesRequest request);
/// <summary>
/// Initiates the asynchronous execution of the GetGatewayResponses operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetGatewayResponses operation on AmazonAPIGatewayClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetGatewayResponses
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetGatewayResponses">REST API Reference for GetGatewayResponses Operation</seealso>
IAsyncResult BeginGetGatewayResponses(GetGatewayResponsesRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the GetGatewayResponses operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetGatewayResponses.</param>
///
/// <returns>Returns a GetGatewayResponsesResult from APIGateway.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetGatewayResponses">REST API Reference for GetGatewayResponses Operation</seealso>
GetGatewayResponsesResponse EndGetGatewayResponses(IAsyncResult asyncResult);
#endregion
#region GetIntegration
/// <summary>
/// Get the integration settings.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetIntegration service method.</param>
///
/// <returns>The response from the GetIntegration service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetIntegration">REST API Reference for GetIntegration Operation</seealso>
GetIntegrationResponse GetIntegration(GetIntegrationRequest request);
/// <summary>
/// Initiates the asynchronous execution of the GetIntegration operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetIntegration operation on AmazonAPIGatewayClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetIntegration
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetIntegration">REST API Reference for GetIntegration Operation</seealso>
IAsyncResult BeginGetIntegration(GetIntegrationRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the GetIntegration operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetIntegration.</param>
///
/// <returns>Returns a GetIntegrationResult from APIGateway.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetIntegration">REST API Reference for GetIntegration Operation</seealso>
GetIntegrationResponse EndGetIntegration(IAsyncResult asyncResult);
#endregion
#region GetIntegrationResponse
/// <summary>
/// Represents a get integration response.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetIntegrationResponse service method.</param>
///
/// <returns>The response from the GetIntegrationResponse service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetIntegrationResponse">REST API Reference for GetIntegrationResponse Operation</seealso>
GetIntegrationResponseResponse GetIntegrationResponse(GetIntegrationResponseRequest request);
/// <summary>
/// Initiates the asynchronous execution of the GetIntegrationResponse operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetIntegrationResponse operation on AmazonAPIGatewayClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetIntegrationResponse
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetIntegrationResponse">REST API Reference for GetIntegrationResponse Operation</seealso>
IAsyncResult BeginGetIntegrationResponse(GetIntegrationResponseRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the GetIntegrationResponse operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetIntegrationResponse.</param>
///
/// <returns>Returns a GetIntegrationResponseResult from APIGateway.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetIntegrationResponse">REST API Reference for GetIntegrationResponse Operation</seealso>
GetIntegrationResponseResponse EndGetIntegrationResponse(IAsyncResult asyncResult);
#endregion
#region GetMethod
/// <summary>
/// Describe an existing Method resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetMethod service method.</param>
///
/// <returns>The response from the GetMethod service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetMethod">REST API Reference for GetMethod Operation</seealso>
GetMethodResponse GetMethod(GetMethodRequest request);
/// <summary>
/// Initiates the asynchronous execution of the GetMethod operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetMethod operation on AmazonAPIGatewayClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetMethod
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetMethod">REST API Reference for GetMethod Operation</seealso>
IAsyncResult BeginGetMethod(GetMethodRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the GetMethod operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetMethod.</param>
///
/// <returns>Returns a GetMethodResult from APIGateway.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetMethod">REST API Reference for GetMethod Operation</seealso>
GetMethodResponse EndGetMethod(IAsyncResult asyncResult);
#endregion
#region GetMethodResponse
/// <summary>
/// Describes a MethodResponse resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetMethodResponse service method.</param>
///
/// <returns>The response from the GetMethodResponse service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetMethodResponse">REST API Reference for GetMethodResponse Operation</seealso>
GetMethodResponseResponse GetMethodResponse(GetMethodResponseRequest request);
/// <summary>
/// Initiates the asynchronous execution of the GetMethodResponse operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetMethodResponse operation on AmazonAPIGatewayClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetMethodResponse
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetMethodResponse">REST API Reference for GetMethodResponse Operation</seealso>
IAsyncResult BeginGetMethodResponse(GetMethodResponseRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the GetMethodResponse operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetMethodResponse.</param>
///
/// <returns>Returns a GetMethodResponseResult from APIGateway.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetMethodResponse">REST API Reference for GetMethodResponse Operation</seealso>
GetMethodResponseResponse EndGetMethodResponse(IAsyncResult asyncResult);
#endregion
#region GetModel
/// <summary>
/// Describes an existing model defined for a RestApi resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetModel service method.</param>
///
/// <returns>The response from the GetModel service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetModel">REST API Reference for GetModel Operation</seealso>
GetModelResponse GetModel(GetModelRequest request);
/// <summary>
/// Initiates the asynchronous execution of the GetModel operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetModel operation on AmazonAPIGatewayClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetModel
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetModel">REST API Reference for GetModel Operation</seealso>
IAsyncResult BeginGetModel(GetModelRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the GetModel operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetModel.</param>
///
/// <returns>Returns a GetModelResult from APIGateway.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetModel">REST API Reference for GetModel Operation</seealso>
GetModelResponse EndGetModel(IAsyncResult asyncResult);
#endregion
#region GetModels
/// <summary>
/// Describes existing Models defined for a RestApi resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetModels service method.</param>
///
/// <returns>The response from the GetModels service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetModels">REST API Reference for GetModels Operation</seealso>
GetModelsResponse GetModels(GetModelsRequest request);
/// <summary>
/// Initiates the asynchronous execution of the GetModels operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetModels operation on AmazonAPIGatewayClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetModels
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetModels">REST API Reference for GetModels Operation</seealso>
IAsyncResult BeginGetModels(GetModelsRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the GetModels operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetModels.</param>
///
/// <returns>Returns a GetModelsResult from APIGateway.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetModels">REST API Reference for GetModels Operation</seealso>
GetModelsResponse EndGetModels(IAsyncResult asyncResult);
#endregion
#region GetModelTemplate
/// <summary>
/// Generates a sample mapping template that can be used to transform a payload into the
/// structure of a model.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetModelTemplate service method.</param>
///
/// <returns>The response from the GetModelTemplate service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetModelTemplate">REST API Reference for GetModelTemplate Operation</seealso>
GetModelTemplateResponse GetModelTemplate(GetModelTemplateRequest request);
/// <summary>
/// Initiates the asynchronous execution of the GetModelTemplate operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetModelTemplate operation on AmazonAPIGatewayClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetModelTemplate
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetModelTemplate">REST API Reference for GetModelTemplate Operation</seealso>
IAsyncResult BeginGetModelTemplate(GetModelTemplateRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the GetModelTemplate operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetModelTemplate.</param>
///
/// <returns>Returns a GetModelTemplateResult from APIGateway.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetModelTemplate">REST API Reference for GetModelTemplate Operation</seealso>
GetModelTemplateResponse EndGetModelTemplate(IAsyncResult asyncResult);
#endregion
#region GetRequestValidator
/// <summary>
/// Gets a RequestValidator of a given RestApi.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetRequestValidator service method.</param>
///
/// <returns>The response from the GetRequestValidator service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetRequestValidator">REST API Reference for GetRequestValidator Operation</seealso>
GetRequestValidatorResponse GetRequestValidator(GetRequestValidatorRequest request);
/// <summary>
/// Initiates the asynchronous execution of the GetRequestValidator operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetRequestValidator operation on AmazonAPIGatewayClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetRequestValidator
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetRequestValidator">REST API Reference for GetRequestValidator Operation</seealso>
IAsyncResult BeginGetRequestValidator(GetRequestValidatorRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the GetRequestValidator operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetRequestValidator.</param>
///
/// <returns>Returns a GetRequestValidatorResult from APIGateway.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetRequestValidator">REST API Reference for GetRequestValidator Operation</seealso>
GetRequestValidatorResponse EndGetRequestValidator(IAsyncResult asyncResult);
#endregion
#region GetRequestValidators
/// <summary>
/// Gets the RequestValidators collection of a given RestApi.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetRequestValidators service method.</param>
///
/// <returns>The response from the GetRequestValidators service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetRequestValidators">REST API Reference for GetRequestValidators Operation</seealso>
GetRequestValidatorsResponse GetRequestValidators(GetRequestValidatorsRequest request);
/// <summary>
/// Initiates the asynchronous execution of the GetRequestValidators operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetRequestValidators operation on AmazonAPIGatewayClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetRequestValidators
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetRequestValidators">REST API Reference for GetRequestValidators Operation</seealso>
IAsyncResult BeginGetRequestValidators(GetRequestValidatorsRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the GetRequestValidators operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetRequestValidators.</param>
///
/// <returns>Returns a GetRequestValidatorsResult from APIGateway.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetRequestValidators">REST API Reference for GetRequestValidators Operation</seealso>
GetRequestValidatorsResponse EndGetRequestValidators(IAsyncResult asyncResult);
#endregion
#region GetResource
/// <summary>
/// Lists information about a resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetResource service method.</param>
///
/// <returns>The response from the GetResource service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetResource">REST API Reference for GetResource Operation</seealso>
GetResourceResponse GetResource(GetResourceRequest request);
/// <summary>
/// Initiates the asynchronous execution of the GetResource operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetResource operation on AmazonAPIGatewayClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetResource
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetResource">REST API Reference for GetResource Operation</seealso>
IAsyncResult BeginGetResource(GetResourceRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the GetResource operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetResource.</param>
///
/// <returns>Returns a GetResourceResult from APIGateway.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetResource">REST API Reference for GetResource Operation</seealso>
GetResourceResponse EndGetResource(IAsyncResult asyncResult);
#endregion
#region GetResources
/// <summary>
/// Lists information about a collection of Resource resources.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetResources service method.</param>
///
/// <returns>The response from the GetResources service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetResources">REST API Reference for GetResources Operation</seealso>
GetResourcesResponse GetResources(GetResourcesRequest request);
/// <summary>
/// Initiates the asynchronous execution of the GetResources operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetResources operation on AmazonAPIGatewayClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetResources
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetResources">REST API Reference for GetResources Operation</seealso>
IAsyncResult BeginGetResources(GetResourcesRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the GetResources operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetResources.</param>
///
/// <returns>Returns a GetResourcesResult from APIGateway.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetResources">REST API Reference for GetResources Operation</seealso>
GetResourcesResponse EndGetResources(IAsyncResult asyncResult);
#endregion
#region GetRestApi
/// <summary>
/// Lists the RestApi resource in the collection.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetRestApi service method.</param>
///
/// <returns>The response from the GetRestApi service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetRestApi">REST API Reference for GetRestApi Operation</seealso>
GetRestApiResponse GetRestApi(GetRestApiRequest request);
/// <summary>
/// Initiates the asynchronous execution of the GetRestApi operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetRestApi operation on AmazonAPIGatewayClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetRestApi
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetRestApi">REST API Reference for GetRestApi Operation</seealso>
IAsyncResult BeginGetRestApi(GetRestApiRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the GetRestApi operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetRestApi.</param>
///
/// <returns>Returns a GetRestApiResult from APIGateway.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetRestApi">REST API Reference for GetRestApi Operation</seealso>
GetRestApiResponse EndGetRestApi(IAsyncResult asyncResult);
#endregion
#region GetRestApis
/// <summary>
/// Lists the RestApis resources for your collection.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetRestApis service method.</param>
///
/// <returns>The response from the GetRestApis service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetRestApis">REST API Reference for GetRestApis Operation</seealso>
GetRestApisResponse GetRestApis(GetRestApisRequest request);
/// <summary>
/// Initiates the asynchronous execution of the GetRestApis operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetRestApis operation on AmazonAPIGatewayClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetRestApis
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetRestApis">REST API Reference for GetRestApis Operation</seealso>
IAsyncResult BeginGetRestApis(GetRestApisRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the GetRestApis operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetRestApis.</param>
///
/// <returns>Returns a GetRestApisResult from APIGateway.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetRestApis">REST API Reference for GetRestApis Operation</seealso>
GetRestApisResponse EndGetRestApis(IAsyncResult asyncResult);
#endregion
#region GetSdk
/// <summary>
/// Generates a client SDK for a RestApi and Stage.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetSdk service method.</param>
///
/// <returns>The response from the GetSdk service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetSdk">REST API Reference for GetSdk Operation</seealso>
GetSdkResponse GetSdk(GetSdkRequest request);
/// <summary>
/// Initiates the asynchronous execution of the GetSdk operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetSdk operation on AmazonAPIGatewayClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetSdk
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetSdk">REST API Reference for GetSdk Operation</seealso>
IAsyncResult BeginGetSdk(GetSdkRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the GetSdk operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetSdk.</param>
///
/// <returns>Returns a GetSdkResult from APIGateway.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetSdk">REST API Reference for GetSdk Operation</seealso>
GetSdkResponse EndGetSdk(IAsyncResult asyncResult);
#endregion
#region GetSdkType
/// <summary>
/// Gets an SDK type.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetSdkType service method.</param>
///
/// <returns>The response from the GetSdkType service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetSdkType">REST API Reference for GetSdkType Operation</seealso>
GetSdkTypeResponse GetSdkType(GetSdkTypeRequest request);
/// <summary>
/// Initiates the asynchronous execution of the GetSdkType operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetSdkType operation on AmazonAPIGatewayClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetSdkType
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetSdkType">REST API Reference for GetSdkType Operation</seealso>
IAsyncResult BeginGetSdkType(GetSdkTypeRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the GetSdkType operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetSdkType.</param>
///
/// <returns>Returns a GetSdkTypeResult from APIGateway.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetSdkType">REST API Reference for GetSdkType Operation</seealso>
GetSdkTypeResponse EndGetSdkType(IAsyncResult asyncResult);
#endregion
#region GetSdkTypes
/// <summary>
/// Gets SDK types
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetSdkTypes service method.</param>
///
/// <returns>The response from the GetSdkTypes service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetSdkTypes">REST API Reference for GetSdkTypes Operation</seealso>
GetSdkTypesResponse GetSdkTypes(GetSdkTypesRequest request);
/// <summary>
/// Initiates the asynchronous execution of the GetSdkTypes operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetSdkTypes operation on AmazonAPIGatewayClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetSdkTypes
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetSdkTypes">REST API Reference for GetSdkTypes Operation</seealso>
IAsyncResult BeginGetSdkTypes(GetSdkTypesRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the GetSdkTypes operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetSdkTypes.</param>
///
/// <returns>Returns a GetSdkTypesResult from APIGateway.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetSdkTypes">REST API Reference for GetSdkTypes Operation</seealso>
GetSdkTypesResponse EndGetSdkTypes(IAsyncResult asyncResult);
#endregion
#region GetStage
/// <summary>
/// Gets information about a Stage resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetStage service method.</param>
///
/// <returns>The response from the GetStage service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetStage">REST API Reference for GetStage Operation</seealso>
GetStageResponse GetStage(GetStageRequest request);
/// <summary>
/// Initiates the asynchronous execution of the GetStage operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetStage operation on AmazonAPIGatewayClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetStage
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetStage">REST API Reference for GetStage Operation</seealso>
IAsyncResult BeginGetStage(GetStageRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the GetStage operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetStage.</param>
///
/// <returns>Returns a GetStageResult from APIGateway.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetStage">REST API Reference for GetStage Operation</seealso>
GetStageResponse EndGetStage(IAsyncResult asyncResult);
#endregion
#region GetStages
/// <summary>
/// Gets information about one or more Stage resources.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetStages service method.</param>
///
/// <returns>The response from the GetStages service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetStages">REST API Reference for GetStages Operation</seealso>
GetStagesResponse GetStages(GetStagesRequest request);
/// <summary>
/// Initiates the asynchronous execution of the GetStages operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetStages operation on AmazonAPIGatewayClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetStages
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetStages">REST API Reference for GetStages Operation</seealso>
IAsyncResult BeginGetStages(GetStagesRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the GetStages operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetStages.</param>
///
/// <returns>Returns a GetStagesResult from APIGateway.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetStages">REST API Reference for GetStages Operation</seealso>
GetStagesResponse EndGetStages(IAsyncResult asyncResult);
#endregion
#region GetTags
/// <summary>
/// Gets the Tags collection for a given resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetTags service method.</param>
///
/// <returns>The response from the GetTags service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetTags">REST API Reference for GetTags Operation</seealso>
GetTagsResponse GetTags(GetTagsRequest request);
/// <summary>
/// Initiates the asynchronous execution of the GetTags operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetTags operation on AmazonAPIGatewayClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetTags
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetTags">REST API Reference for GetTags Operation</seealso>
IAsyncResult BeginGetTags(GetTagsRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the GetTags operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetTags.</param>
///
/// <returns>Returns a GetTagsResult from APIGateway.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetTags">REST API Reference for GetTags Operation</seealso>
GetTagsResponse EndGetTags(IAsyncResult asyncResult);
#endregion
#region GetUsage
/// <summary>
/// Gets the usage data of a usage plan in a specified time interval.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetUsage service method.</param>
///
/// <returns>The response from the GetUsage service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetUsage">REST API Reference for GetUsage Operation</seealso>
GetUsageResponse GetUsage(GetUsageRequest request);
/// <summary>
/// Initiates the asynchronous execution of the GetUsage operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetUsage operation on AmazonAPIGatewayClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetUsage
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetUsage">REST API Reference for GetUsage Operation</seealso>
IAsyncResult BeginGetUsage(GetUsageRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the GetUsage operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetUsage.</param>
///
/// <returns>Returns a GetUsageResult from APIGateway.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetUsage">REST API Reference for GetUsage Operation</seealso>
GetUsageResponse EndGetUsage(IAsyncResult asyncResult);
#endregion
#region GetUsagePlan
/// <summary>
/// Gets a usage plan of a given plan identifier.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetUsagePlan service method.</param>
///
/// <returns>The response from the GetUsagePlan service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetUsagePlan">REST API Reference for GetUsagePlan Operation</seealso>
GetUsagePlanResponse GetUsagePlan(GetUsagePlanRequest request);
/// <summary>
/// Initiates the asynchronous execution of the GetUsagePlan operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetUsagePlan operation on AmazonAPIGatewayClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetUsagePlan
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetUsagePlan">REST API Reference for GetUsagePlan Operation</seealso>
IAsyncResult BeginGetUsagePlan(GetUsagePlanRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the GetUsagePlan operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetUsagePlan.</param>
///
/// <returns>Returns a GetUsagePlanResult from APIGateway.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetUsagePlan">REST API Reference for GetUsagePlan Operation</seealso>
GetUsagePlanResponse EndGetUsagePlan(IAsyncResult asyncResult);
#endregion
#region GetUsagePlanKey
/// <summary>
/// Gets a usage plan key of a given key identifier.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetUsagePlanKey service method.</param>
///
/// <returns>The response from the GetUsagePlanKey service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetUsagePlanKey">REST API Reference for GetUsagePlanKey Operation</seealso>
GetUsagePlanKeyResponse GetUsagePlanKey(GetUsagePlanKeyRequest request);
/// <summary>
/// Initiates the asynchronous execution of the GetUsagePlanKey operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetUsagePlanKey operation on AmazonAPIGatewayClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetUsagePlanKey
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetUsagePlanKey">REST API Reference for GetUsagePlanKey Operation</seealso>
IAsyncResult BeginGetUsagePlanKey(GetUsagePlanKeyRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the GetUsagePlanKey operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetUsagePlanKey.</param>
///
/// <returns>Returns a GetUsagePlanKeyResult from APIGateway.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetUsagePlanKey">REST API Reference for GetUsagePlanKey Operation</seealso>
GetUsagePlanKeyResponse EndGetUsagePlanKey(IAsyncResult asyncResult);
#endregion
#region GetUsagePlanKeys
/// <summary>
/// Gets all the usage plan keys representing the API keys added to a specified usage
/// plan.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetUsagePlanKeys service method.</param>
///
/// <returns>The response from the GetUsagePlanKeys service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetUsagePlanKeys">REST API Reference for GetUsagePlanKeys Operation</seealso>
GetUsagePlanKeysResponse GetUsagePlanKeys(GetUsagePlanKeysRequest request);
/// <summary>
/// Initiates the asynchronous execution of the GetUsagePlanKeys operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetUsagePlanKeys operation on AmazonAPIGatewayClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetUsagePlanKeys
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetUsagePlanKeys">REST API Reference for GetUsagePlanKeys Operation</seealso>
IAsyncResult BeginGetUsagePlanKeys(GetUsagePlanKeysRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the GetUsagePlanKeys operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetUsagePlanKeys.</param>
///
/// <returns>Returns a GetUsagePlanKeysResult from APIGateway.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetUsagePlanKeys">REST API Reference for GetUsagePlanKeys Operation</seealso>
GetUsagePlanKeysResponse EndGetUsagePlanKeys(IAsyncResult asyncResult);
#endregion
#region GetUsagePlans
/// <summary>
/// Gets all the usage plans of the caller's account.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetUsagePlans service method.</param>
///
/// <returns>The response from the GetUsagePlans service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetUsagePlans">REST API Reference for GetUsagePlans Operation</seealso>
GetUsagePlansResponse GetUsagePlans(GetUsagePlansRequest request);
/// <summary>
/// Initiates the asynchronous execution of the GetUsagePlans operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetUsagePlans operation on AmazonAPIGatewayClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetUsagePlans
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetUsagePlans">REST API Reference for GetUsagePlans Operation</seealso>
IAsyncResult BeginGetUsagePlans(GetUsagePlansRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the GetUsagePlans operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetUsagePlans.</param>
///
/// <returns>Returns a GetUsagePlansResult from APIGateway.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetUsagePlans">REST API Reference for GetUsagePlans Operation</seealso>
GetUsagePlansResponse EndGetUsagePlans(IAsyncResult asyncResult);
#endregion
#region GetVpcLink
/// <summary>
/// Gets a specified VPC link under the caller's account in a region.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetVpcLink service method.</param>
///
/// <returns>The response from the GetVpcLink service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetVpcLink">REST API Reference for GetVpcLink Operation</seealso>
GetVpcLinkResponse GetVpcLink(GetVpcLinkRequest request);
/// <summary>
/// Initiates the asynchronous execution of the GetVpcLink operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetVpcLink operation on AmazonAPIGatewayClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetVpcLink
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetVpcLink">REST API Reference for GetVpcLink Operation</seealso>
IAsyncResult BeginGetVpcLink(GetVpcLinkRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the GetVpcLink operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetVpcLink.</param>
///
/// <returns>Returns a GetVpcLinkResult from APIGateway.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetVpcLink">REST API Reference for GetVpcLink Operation</seealso>
GetVpcLinkResponse EndGetVpcLink(IAsyncResult asyncResult);
#endregion
#region GetVpcLinks
/// <summary>
/// Gets the VpcLinks collection under the caller's account in a selected region.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetVpcLinks service method.</param>
///
/// <returns>The response from the GetVpcLinks service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetVpcLinks">REST API Reference for GetVpcLinks Operation</seealso>
GetVpcLinksResponse GetVpcLinks(GetVpcLinksRequest request);
/// <summary>
/// Initiates the asynchronous execution of the GetVpcLinks operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetVpcLinks operation on AmazonAPIGatewayClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetVpcLinks
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetVpcLinks">REST API Reference for GetVpcLinks Operation</seealso>
IAsyncResult BeginGetVpcLinks(GetVpcLinksRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the GetVpcLinks operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetVpcLinks.</param>
///
/// <returns>Returns a GetVpcLinksResult from APIGateway.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetVpcLinks">REST API Reference for GetVpcLinks Operation</seealso>
GetVpcLinksResponse EndGetVpcLinks(IAsyncResult asyncResult);
#endregion
#region ImportApiKeys
/// <summary>
/// Import API keys from an external source, such as a CSV-formatted file.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ImportApiKeys service method.</param>
///
/// <returns>The response from the ImportApiKeys service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/ImportApiKeys">REST API Reference for ImportApiKeys Operation</seealso>
ImportApiKeysResponse ImportApiKeys(ImportApiKeysRequest request);
/// <summary>
/// Initiates the asynchronous execution of the ImportApiKeys operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the ImportApiKeys operation on AmazonAPIGatewayClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndImportApiKeys
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/ImportApiKeys">REST API Reference for ImportApiKeys Operation</seealso>
IAsyncResult BeginImportApiKeys(ImportApiKeysRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the ImportApiKeys operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginImportApiKeys.</param>
///
/// <returns>Returns a ImportApiKeysResult from APIGateway.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/ImportApiKeys">REST API Reference for ImportApiKeys Operation</seealso>
ImportApiKeysResponse EndImportApiKeys(IAsyncResult asyncResult);
#endregion
#region ImportDocumentationParts
/// <summary>
/// Imports documentation parts
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ImportDocumentationParts service method.</param>
///
/// <returns>The response from the ImportDocumentationParts service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/ImportDocumentationParts">REST API Reference for ImportDocumentationParts Operation</seealso>
ImportDocumentationPartsResponse ImportDocumentationParts(ImportDocumentationPartsRequest request);
/// <summary>
/// Initiates the asynchronous execution of the ImportDocumentationParts operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the ImportDocumentationParts operation on AmazonAPIGatewayClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndImportDocumentationParts
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/ImportDocumentationParts">REST API Reference for ImportDocumentationParts Operation</seealso>
IAsyncResult BeginImportDocumentationParts(ImportDocumentationPartsRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the ImportDocumentationParts operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginImportDocumentationParts.</param>
///
/// <returns>Returns a ImportDocumentationPartsResult from APIGateway.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/ImportDocumentationParts">REST API Reference for ImportDocumentationParts Operation</seealso>
ImportDocumentationPartsResponse EndImportDocumentationParts(IAsyncResult asyncResult);
#endregion
#region ImportRestApi
/// <summary>
/// A feature of the API Gateway control service for creating a new API from an external
/// API definition file.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ImportRestApi service method.</param>
///
/// <returns>The response from the ImportRestApi service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/ImportRestApi">REST API Reference for ImportRestApi Operation</seealso>
ImportRestApiResponse ImportRestApi(ImportRestApiRequest request);
/// <summary>
/// Initiates the asynchronous execution of the ImportRestApi operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the ImportRestApi operation on AmazonAPIGatewayClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndImportRestApi
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/ImportRestApi">REST API Reference for ImportRestApi Operation</seealso>
IAsyncResult BeginImportRestApi(ImportRestApiRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the ImportRestApi operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginImportRestApi.</param>
///
/// <returns>Returns a ImportRestApiResult from APIGateway.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/ImportRestApi">REST API Reference for ImportRestApi Operation</seealso>
ImportRestApiResponse EndImportRestApi(IAsyncResult asyncResult);
#endregion
#region PutGatewayResponse
/// <summary>
/// Creates a customization of a GatewayResponse of a specified response type and status
/// code on the given RestApi.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the PutGatewayResponse service method.</param>
///
/// <returns>The response from the PutGatewayResponse service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/PutGatewayResponse">REST API Reference for PutGatewayResponse Operation</seealso>
PutGatewayResponseResponse PutGatewayResponse(PutGatewayResponseRequest request);
/// <summary>
/// Initiates the asynchronous execution of the PutGatewayResponse operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the PutGatewayResponse operation on AmazonAPIGatewayClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndPutGatewayResponse
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/PutGatewayResponse">REST API Reference for PutGatewayResponse Operation</seealso>
IAsyncResult BeginPutGatewayResponse(PutGatewayResponseRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the PutGatewayResponse operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginPutGatewayResponse.</param>
///
/// <returns>Returns a PutGatewayResponseResult from APIGateway.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/PutGatewayResponse">REST API Reference for PutGatewayResponse Operation</seealso>
PutGatewayResponseResponse EndPutGatewayResponse(IAsyncResult asyncResult);
#endregion
#region PutIntegration
/// <summary>
/// Sets up a method's integration.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the PutIntegration service method.</param>
///
/// <returns>The response from the PutIntegration service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/PutIntegration">REST API Reference for PutIntegration Operation</seealso>
PutIntegrationResponse PutIntegration(PutIntegrationRequest request);
/// <summary>
/// Initiates the asynchronous execution of the PutIntegration operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the PutIntegration operation on AmazonAPIGatewayClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndPutIntegration
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/PutIntegration">REST API Reference for PutIntegration Operation</seealso>
IAsyncResult BeginPutIntegration(PutIntegrationRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the PutIntegration operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginPutIntegration.</param>
///
/// <returns>Returns a PutIntegrationResult from APIGateway.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/PutIntegration">REST API Reference for PutIntegration Operation</seealso>
PutIntegrationResponse EndPutIntegration(IAsyncResult asyncResult);
#endregion
#region PutIntegrationResponse
/// <summary>
/// Represents a put integration.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the PutIntegrationResponse service method.</param>
///
/// <returns>The response from the PutIntegrationResponse service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/PutIntegrationResponse">REST API Reference for PutIntegrationResponse Operation</seealso>
PutIntegrationResponseResponse PutIntegrationResponse(PutIntegrationResponseRequest request);
/// <summary>
/// Initiates the asynchronous execution of the PutIntegrationResponse operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the PutIntegrationResponse operation on AmazonAPIGatewayClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndPutIntegrationResponse
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/PutIntegrationResponse">REST API Reference for PutIntegrationResponse Operation</seealso>
IAsyncResult BeginPutIntegrationResponse(PutIntegrationResponseRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the PutIntegrationResponse operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginPutIntegrationResponse.</param>
///
/// <returns>Returns a PutIntegrationResponseResult from APIGateway.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/PutIntegrationResponse">REST API Reference for PutIntegrationResponse Operation</seealso>
PutIntegrationResponseResponse EndPutIntegrationResponse(IAsyncResult asyncResult);
#endregion
#region PutMethod
/// <summary>
/// Add a method to an existing Resource resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the PutMethod service method.</param>
///
/// <returns>The response from the PutMethod service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/PutMethod">REST API Reference for PutMethod Operation</seealso>
PutMethodResponse PutMethod(PutMethodRequest request);
/// <summary>
/// Initiates the asynchronous execution of the PutMethod operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the PutMethod operation on AmazonAPIGatewayClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndPutMethod
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/PutMethod">REST API Reference for PutMethod Operation</seealso>
IAsyncResult BeginPutMethod(PutMethodRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the PutMethod operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginPutMethod.</param>
///
/// <returns>Returns a PutMethodResult from APIGateway.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/PutMethod">REST API Reference for PutMethod Operation</seealso>
PutMethodResponse EndPutMethod(IAsyncResult asyncResult);
#endregion
#region PutMethodResponse
/// <summary>
/// Adds a MethodResponse to an existing Method resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the PutMethodResponse service method.</param>
///
/// <returns>The response from the PutMethodResponse service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/PutMethodResponse">REST API Reference for PutMethodResponse Operation</seealso>
PutMethodResponseResponse PutMethodResponse(PutMethodResponseRequest request);
/// <summary>
/// Initiates the asynchronous execution of the PutMethodResponse operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the PutMethodResponse operation on AmazonAPIGatewayClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndPutMethodResponse
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/PutMethodResponse">REST API Reference for PutMethodResponse Operation</seealso>
IAsyncResult BeginPutMethodResponse(PutMethodResponseRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the PutMethodResponse operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginPutMethodResponse.</param>
///
/// <returns>Returns a PutMethodResponseResult from APIGateway.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/PutMethodResponse">REST API Reference for PutMethodResponse Operation</seealso>
PutMethodResponseResponse EndPutMethodResponse(IAsyncResult asyncResult);
#endregion
#region PutRestApi
/// <summary>
/// A feature of the API Gateway control service for updating an existing API with an
/// input of external API definitions. The update can take the form of merging the supplied
/// definition into the existing API or overwriting the existing API.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the PutRestApi service method.</param>
///
/// <returns>The response from the PutRestApi service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/PutRestApi">REST API Reference for PutRestApi Operation</seealso>
PutRestApiResponse PutRestApi(PutRestApiRequest request);
/// <summary>
/// Initiates the asynchronous execution of the PutRestApi operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the PutRestApi operation on AmazonAPIGatewayClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndPutRestApi
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/PutRestApi">REST API Reference for PutRestApi Operation</seealso>
IAsyncResult BeginPutRestApi(PutRestApiRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the PutRestApi operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginPutRestApi.</param>
///
/// <returns>Returns a PutRestApiResult from APIGateway.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/PutRestApi">REST API Reference for PutRestApi Operation</seealso>
PutRestApiResponse EndPutRestApi(IAsyncResult asyncResult);
#endregion
#region TagResource
/// <summary>
/// Adds or updates a tag on a given resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the TagResource service method.</param>
///
/// <returns>The response from the TagResource service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/TagResource">REST API Reference for TagResource Operation</seealso>
TagResourceResponse TagResource(TagResourceRequest request);
/// <summary>
/// Initiates the asynchronous execution of the TagResource operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the TagResource operation on AmazonAPIGatewayClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndTagResource
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/TagResource">REST API Reference for TagResource Operation</seealso>
IAsyncResult BeginTagResource(TagResourceRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the TagResource operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginTagResource.</param>
///
/// <returns>Returns a TagResourceResult from APIGateway.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/TagResource">REST API Reference for TagResource Operation</seealso>
TagResourceResponse EndTagResource(IAsyncResult asyncResult);
#endregion
#region TestInvokeAuthorizer
/// <summary>
/// Simulate the execution of an Authorizer in your RestApi with headers, parameters,
/// and an incoming request body.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the TestInvokeAuthorizer service method.</param>
///
/// <returns>The response from the TestInvokeAuthorizer service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/TestInvokeAuthorizer">REST API Reference for TestInvokeAuthorizer Operation</seealso>
TestInvokeAuthorizerResponse TestInvokeAuthorizer(TestInvokeAuthorizerRequest request);
/// <summary>
/// Initiates the asynchronous execution of the TestInvokeAuthorizer operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the TestInvokeAuthorizer operation on AmazonAPIGatewayClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndTestInvokeAuthorizer
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/TestInvokeAuthorizer">REST API Reference for TestInvokeAuthorizer Operation</seealso>
IAsyncResult BeginTestInvokeAuthorizer(TestInvokeAuthorizerRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the TestInvokeAuthorizer operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginTestInvokeAuthorizer.</param>
///
/// <returns>Returns a TestInvokeAuthorizerResult from APIGateway.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/TestInvokeAuthorizer">REST API Reference for TestInvokeAuthorizer Operation</seealso>
TestInvokeAuthorizerResponse EndTestInvokeAuthorizer(IAsyncResult asyncResult);
#endregion
#region TestInvokeMethod
/// <summary>
/// Simulate the invocation of a Method in your RestApi with headers, parameters, and
/// an incoming request body.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the TestInvokeMethod service method.</param>
///
/// <returns>The response from the TestInvokeMethod service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/TestInvokeMethod">REST API Reference for TestInvokeMethod Operation</seealso>
TestInvokeMethodResponse TestInvokeMethod(TestInvokeMethodRequest request);
/// <summary>
/// Initiates the asynchronous execution of the TestInvokeMethod operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the TestInvokeMethod operation on AmazonAPIGatewayClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndTestInvokeMethod
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/TestInvokeMethod">REST API Reference for TestInvokeMethod Operation</seealso>
IAsyncResult BeginTestInvokeMethod(TestInvokeMethodRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the TestInvokeMethod operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginTestInvokeMethod.</param>
///
/// <returns>Returns a TestInvokeMethodResult from APIGateway.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/TestInvokeMethod">REST API Reference for TestInvokeMethod Operation</seealso>
TestInvokeMethodResponse EndTestInvokeMethod(IAsyncResult asyncResult);
#endregion
#region UntagResource
/// <summary>
/// Removes a tag from a given resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UntagResource service method.</param>
///
/// <returns>The response from the UntagResource service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UntagResource">REST API Reference for UntagResource Operation</seealso>
UntagResourceResponse UntagResource(UntagResourceRequest request);
/// <summary>
/// Initiates the asynchronous execution of the UntagResource operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the UntagResource operation on AmazonAPIGatewayClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUntagResource
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UntagResource">REST API Reference for UntagResource Operation</seealso>
IAsyncResult BeginUntagResource(UntagResourceRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the UntagResource operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginUntagResource.</param>
///
/// <returns>Returns a UntagResourceResult from APIGateway.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UntagResource">REST API Reference for UntagResource Operation</seealso>
UntagResourceResponse EndUntagResource(IAsyncResult asyncResult);
#endregion
#region UpdateAccount
/// <summary>
/// Changes information about the current Account resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateAccount service method.</param>
///
/// <returns>The response from the UpdateAccount service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateAccount">REST API Reference for UpdateAccount Operation</seealso>
UpdateAccountResponse UpdateAccount(UpdateAccountRequest request);
/// <summary>
/// Initiates the asynchronous execution of the UpdateAccount operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the UpdateAccount operation on AmazonAPIGatewayClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateAccount
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateAccount">REST API Reference for UpdateAccount Operation</seealso>
IAsyncResult BeginUpdateAccount(UpdateAccountRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the UpdateAccount operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateAccount.</param>
///
/// <returns>Returns a UpdateAccountResult from APIGateway.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateAccount">REST API Reference for UpdateAccount Operation</seealso>
UpdateAccountResponse EndUpdateAccount(IAsyncResult asyncResult);
#endregion
#region UpdateApiKey
/// <summary>
/// Changes information about an ApiKey resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateApiKey service method.</param>
///
/// <returns>The response from the UpdateApiKey service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateApiKey">REST API Reference for UpdateApiKey Operation</seealso>
UpdateApiKeyResponse UpdateApiKey(UpdateApiKeyRequest request);
/// <summary>
/// Initiates the asynchronous execution of the UpdateApiKey operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the UpdateApiKey operation on AmazonAPIGatewayClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateApiKey
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateApiKey">REST API Reference for UpdateApiKey Operation</seealso>
IAsyncResult BeginUpdateApiKey(UpdateApiKeyRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the UpdateApiKey operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateApiKey.</param>
///
/// <returns>Returns a UpdateApiKeyResult from APIGateway.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateApiKey">REST API Reference for UpdateApiKey Operation</seealso>
UpdateApiKeyResponse EndUpdateApiKey(IAsyncResult asyncResult);
#endregion
#region UpdateAuthorizer
/// <summary>
/// Updates an existing Authorizer resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateAuthorizer service method.</param>
///
/// <returns>The response from the UpdateAuthorizer service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateAuthorizer">REST API Reference for UpdateAuthorizer Operation</seealso>
UpdateAuthorizerResponse UpdateAuthorizer(UpdateAuthorizerRequest request);
/// <summary>
/// Initiates the asynchronous execution of the UpdateAuthorizer operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the UpdateAuthorizer operation on AmazonAPIGatewayClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateAuthorizer
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateAuthorizer">REST API Reference for UpdateAuthorizer Operation</seealso>
IAsyncResult BeginUpdateAuthorizer(UpdateAuthorizerRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the UpdateAuthorizer operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateAuthorizer.</param>
///
/// <returns>Returns a UpdateAuthorizerResult from APIGateway.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateAuthorizer">REST API Reference for UpdateAuthorizer Operation</seealso>
UpdateAuthorizerResponse EndUpdateAuthorizer(IAsyncResult asyncResult);
#endregion
#region UpdateBasePathMapping
/// <summary>
/// Changes information about the BasePathMapping resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateBasePathMapping service method.</param>
///
/// <returns>The response from the UpdateBasePathMapping service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateBasePathMapping">REST API Reference for UpdateBasePathMapping Operation</seealso>
UpdateBasePathMappingResponse UpdateBasePathMapping(UpdateBasePathMappingRequest request);
/// <summary>
/// Initiates the asynchronous execution of the UpdateBasePathMapping operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the UpdateBasePathMapping operation on AmazonAPIGatewayClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateBasePathMapping
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateBasePathMapping">REST API Reference for UpdateBasePathMapping Operation</seealso>
IAsyncResult BeginUpdateBasePathMapping(UpdateBasePathMappingRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the UpdateBasePathMapping operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateBasePathMapping.</param>
///
/// <returns>Returns a UpdateBasePathMappingResult from APIGateway.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateBasePathMapping">REST API Reference for UpdateBasePathMapping Operation</seealso>
UpdateBasePathMappingResponse EndUpdateBasePathMapping(IAsyncResult asyncResult);
#endregion
#region UpdateClientCertificate
/// <summary>
/// Changes information about an ClientCertificate resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateClientCertificate service method.</param>
///
/// <returns>The response from the UpdateClientCertificate service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateClientCertificate">REST API Reference for UpdateClientCertificate Operation</seealso>
UpdateClientCertificateResponse UpdateClientCertificate(UpdateClientCertificateRequest request);
/// <summary>
/// Initiates the asynchronous execution of the UpdateClientCertificate operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the UpdateClientCertificate operation on AmazonAPIGatewayClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateClientCertificate
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateClientCertificate">REST API Reference for UpdateClientCertificate Operation</seealso>
IAsyncResult BeginUpdateClientCertificate(UpdateClientCertificateRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the UpdateClientCertificate operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateClientCertificate.</param>
///
/// <returns>Returns a UpdateClientCertificateResult from APIGateway.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateClientCertificate">REST API Reference for UpdateClientCertificate Operation</seealso>
UpdateClientCertificateResponse EndUpdateClientCertificate(IAsyncResult asyncResult);
#endregion
#region UpdateDeployment
/// <summary>
/// Changes information about a Deployment resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateDeployment service method.</param>
///
/// <returns>The response from the UpdateDeployment service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ServiceUnavailableException">
/// The requested service is not available. For details see the accompanying error message.
/// Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateDeployment">REST API Reference for UpdateDeployment Operation</seealso>
UpdateDeploymentResponse UpdateDeployment(UpdateDeploymentRequest request);
/// <summary>
/// Initiates the asynchronous execution of the UpdateDeployment operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the UpdateDeployment operation on AmazonAPIGatewayClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateDeployment
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateDeployment">REST API Reference for UpdateDeployment Operation</seealso>
IAsyncResult BeginUpdateDeployment(UpdateDeploymentRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the UpdateDeployment operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateDeployment.</param>
///
/// <returns>Returns a UpdateDeploymentResult from APIGateway.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateDeployment">REST API Reference for UpdateDeployment Operation</seealso>
UpdateDeploymentResponse EndUpdateDeployment(IAsyncResult asyncResult);
#endregion
#region UpdateDocumentationPart
/// <summary>
/// Updates a documentation part.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateDocumentationPart service method.</param>
///
/// <returns>The response from the UpdateDocumentationPart service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateDocumentationPart">REST API Reference for UpdateDocumentationPart Operation</seealso>
UpdateDocumentationPartResponse UpdateDocumentationPart(UpdateDocumentationPartRequest request);
/// <summary>
/// Initiates the asynchronous execution of the UpdateDocumentationPart operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the UpdateDocumentationPart operation on AmazonAPIGatewayClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateDocumentationPart
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateDocumentationPart">REST API Reference for UpdateDocumentationPart Operation</seealso>
IAsyncResult BeginUpdateDocumentationPart(UpdateDocumentationPartRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the UpdateDocumentationPart operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateDocumentationPart.</param>
///
/// <returns>Returns a UpdateDocumentationPartResult from APIGateway.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateDocumentationPart">REST API Reference for UpdateDocumentationPart Operation</seealso>
UpdateDocumentationPartResponse EndUpdateDocumentationPart(IAsyncResult asyncResult);
#endregion
#region UpdateDocumentationVersion
/// <summary>
/// Updates a documentation version.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateDocumentationVersion service method.</param>
///
/// <returns>The response from the UpdateDocumentationVersion service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateDocumentationVersion">REST API Reference for UpdateDocumentationVersion Operation</seealso>
UpdateDocumentationVersionResponse UpdateDocumentationVersion(UpdateDocumentationVersionRequest request);
/// <summary>
/// Initiates the asynchronous execution of the UpdateDocumentationVersion operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the UpdateDocumentationVersion operation on AmazonAPIGatewayClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateDocumentationVersion
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateDocumentationVersion">REST API Reference for UpdateDocumentationVersion Operation</seealso>
IAsyncResult BeginUpdateDocumentationVersion(UpdateDocumentationVersionRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the UpdateDocumentationVersion operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateDocumentationVersion.</param>
///
/// <returns>Returns a UpdateDocumentationVersionResult from APIGateway.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateDocumentationVersion">REST API Reference for UpdateDocumentationVersion Operation</seealso>
UpdateDocumentationVersionResponse EndUpdateDocumentationVersion(IAsyncResult asyncResult);
#endregion
#region UpdateDomainName
/// <summary>
/// Changes information about the DomainName resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateDomainName service method.</param>
///
/// <returns>The response from the UpdateDomainName service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateDomainName">REST API Reference for UpdateDomainName Operation</seealso>
UpdateDomainNameResponse UpdateDomainName(UpdateDomainNameRequest request);
/// <summary>
/// Initiates the asynchronous execution of the UpdateDomainName operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the UpdateDomainName operation on AmazonAPIGatewayClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateDomainName
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateDomainName">REST API Reference for UpdateDomainName Operation</seealso>
IAsyncResult BeginUpdateDomainName(UpdateDomainNameRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the UpdateDomainName operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateDomainName.</param>
///
/// <returns>Returns a UpdateDomainNameResult from APIGateway.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateDomainName">REST API Reference for UpdateDomainName Operation</seealso>
UpdateDomainNameResponse EndUpdateDomainName(IAsyncResult asyncResult);
#endregion
#region UpdateGatewayResponse
/// <summary>
/// Updates a GatewayResponse of a specified response type on the given RestApi.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateGatewayResponse service method.</param>
///
/// <returns>The response from the UpdateGatewayResponse service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateGatewayResponse">REST API Reference for UpdateGatewayResponse Operation</seealso>
UpdateGatewayResponseResponse UpdateGatewayResponse(UpdateGatewayResponseRequest request);
/// <summary>
/// Initiates the asynchronous execution of the UpdateGatewayResponse operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the UpdateGatewayResponse operation on AmazonAPIGatewayClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateGatewayResponse
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateGatewayResponse">REST API Reference for UpdateGatewayResponse Operation</seealso>
IAsyncResult BeginUpdateGatewayResponse(UpdateGatewayResponseRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the UpdateGatewayResponse operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateGatewayResponse.</param>
///
/// <returns>Returns a UpdateGatewayResponseResult from APIGateway.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateGatewayResponse">REST API Reference for UpdateGatewayResponse Operation</seealso>
UpdateGatewayResponseResponse EndUpdateGatewayResponse(IAsyncResult asyncResult);
#endregion
#region UpdateIntegration
/// <summary>
/// Represents an update integration.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateIntegration service method.</param>
///
/// <returns>The response from the UpdateIntegration service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateIntegration">REST API Reference for UpdateIntegration Operation</seealso>
UpdateIntegrationResponse UpdateIntegration(UpdateIntegrationRequest request);
/// <summary>
/// Initiates the asynchronous execution of the UpdateIntegration operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the UpdateIntegration operation on AmazonAPIGatewayClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateIntegration
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateIntegration">REST API Reference for UpdateIntegration Operation</seealso>
IAsyncResult BeginUpdateIntegration(UpdateIntegrationRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the UpdateIntegration operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateIntegration.</param>
///
/// <returns>Returns a UpdateIntegrationResult from APIGateway.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateIntegration">REST API Reference for UpdateIntegration Operation</seealso>
UpdateIntegrationResponse EndUpdateIntegration(IAsyncResult asyncResult);
#endregion
#region UpdateIntegrationResponse
/// <summary>
/// Represents an update integration response.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateIntegrationResponse service method.</param>
///
/// <returns>The response from the UpdateIntegrationResponse service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateIntegrationResponse">REST API Reference for UpdateIntegrationResponse Operation</seealso>
UpdateIntegrationResponseResponse UpdateIntegrationResponse(UpdateIntegrationResponseRequest request);
/// <summary>
/// Initiates the asynchronous execution of the UpdateIntegrationResponse operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the UpdateIntegrationResponse operation on AmazonAPIGatewayClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateIntegrationResponse
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateIntegrationResponse">REST API Reference for UpdateIntegrationResponse Operation</seealso>
IAsyncResult BeginUpdateIntegrationResponse(UpdateIntegrationResponseRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the UpdateIntegrationResponse operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateIntegrationResponse.</param>
///
/// <returns>Returns a UpdateIntegrationResponseResult from APIGateway.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateIntegrationResponse">REST API Reference for UpdateIntegrationResponse Operation</seealso>
UpdateIntegrationResponseResponse EndUpdateIntegrationResponse(IAsyncResult asyncResult);
#endregion
#region UpdateMethod
/// <summary>
/// Updates an existing Method resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateMethod service method.</param>
///
/// <returns>The response from the UpdateMethod service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateMethod">REST API Reference for UpdateMethod Operation</seealso>
UpdateMethodResponse UpdateMethod(UpdateMethodRequest request);
/// <summary>
/// Initiates the asynchronous execution of the UpdateMethod operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the UpdateMethod operation on AmazonAPIGatewayClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateMethod
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateMethod">REST API Reference for UpdateMethod Operation</seealso>
IAsyncResult BeginUpdateMethod(UpdateMethodRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the UpdateMethod operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateMethod.</param>
///
/// <returns>Returns a UpdateMethodResult from APIGateway.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateMethod">REST API Reference for UpdateMethod Operation</seealso>
UpdateMethodResponse EndUpdateMethod(IAsyncResult asyncResult);
#endregion
#region UpdateMethodResponse
/// <summary>
/// Updates an existing MethodResponse resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateMethodResponse service method.</param>
///
/// <returns>The response from the UpdateMethodResponse service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateMethodResponse">REST API Reference for UpdateMethodResponse Operation</seealso>
UpdateMethodResponseResponse UpdateMethodResponse(UpdateMethodResponseRequest request);
/// <summary>
/// Initiates the asynchronous execution of the UpdateMethodResponse operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the UpdateMethodResponse operation on AmazonAPIGatewayClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateMethodResponse
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateMethodResponse">REST API Reference for UpdateMethodResponse Operation</seealso>
IAsyncResult BeginUpdateMethodResponse(UpdateMethodResponseRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the UpdateMethodResponse operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateMethodResponse.</param>
///
/// <returns>Returns a UpdateMethodResponseResult from APIGateway.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateMethodResponse">REST API Reference for UpdateMethodResponse Operation</seealso>
UpdateMethodResponseResponse EndUpdateMethodResponse(IAsyncResult asyncResult);
#endregion
#region UpdateModel
/// <summary>
/// Changes information about a model.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateModel service method.</param>
///
/// <returns>The response from the UpdateModel service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateModel">REST API Reference for UpdateModel Operation</seealso>
UpdateModelResponse UpdateModel(UpdateModelRequest request);
/// <summary>
/// Initiates the asynchronous execution of the UpdateModel operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the UpdateModel operation on AmazonAPIGatewayClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateModel
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateModel">REST API Reference for UpdateModel Operation</seealso>
IAsyncResult BeginUpdateModel(UpdateModelRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the UpdateModel operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateModel.</param>
///
/// <returns>Returns a UpdateModelResult from APIGateway.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateModel">REST API Reference for UpdateModel Operation</seealso>
UpdateModelResponse EndUpdateModel(IAsyncResult asyncResult);
#endregion
#region UpdateRequestValidator
/// <summary>
/// Updates a RequestValidator of a given RestApi.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateRequestValidator service method.</param>
///
/// <returns>The response from the UpdateRequestValidator service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateRequestValidator">REST API Reference for UpdateRequestValidator Operation</seealso>
UpdateRequestValidatorResponse UpdateRequestValidator(UpdateRequestValidatorRequest request);
/// <summary>
/// Initiates the asynchronous execution of the UpdateRequestValidator operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the UpdateRequestValidator operation on AmazonAPIGatewayClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateRequestValidator
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateRequestValidator">REST API Reference for UpdateRequestValidator Operation</seealso>
IAsyncResult BeginUpdateRequestValidator(UpdateRequestValidatorRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the UpdateRequestValidator operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateRequestValidator.</param>
///
/// <returns>Returns a UpdateRequestValidatorResult from APIGateway.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateRequestValidator">REST API Reference for UpdateRequestValidator Operation</seealso>
UpdateRequestValidatorResponse EndUpdateRequestValidator(IAsyncResult asyncResult);
#endregion
#region UpdateResource
/// <summary>
/// Changes information about a Resource resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateResource service method.</param>
///
/// <returns>The response from the UpdateResource service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateResource">REST API Reference for UpdateResource Operation</seealso>
UpdateResourceResponse UpdateResource(UpdateResourceRequest request);
/// <summary>
/// Initiates the asynchronous execution of the UpdateResource operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the UpdateResource operation on AmazonAPIGatewayClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateResource
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateResource">REST API Reference for UpdateResource Operation</seealso>
IAsyncResult BeginUpdateResource(UpdateResourceRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the UpdateResource operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateResource.</param>
///
/// <returns>Returns a UpdateResourceResult from APIGateway.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateResource">REST API Reference for UpdateResource Operation</seealso>
UpdateResourceResponse EndUpdateResource(IAsyncResult asyncResult);
#endregion
#region UpdateRestApi
/// <summary>
/// Changes information about the specified API.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateRestApi service method.</param>
///
/// <returns>The response from the UpdateRestApi service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateRestApi">REST API Reference for UpdateRestApi Operation</seealso>
UpdateRestApiResponse UpdateRestApi(UpdateRestApiRequest request);
/// <summary>
/// Initiates the asynchronous execution of the UpdateRestApi operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the UpdateRestApi operation on AmazonAPIGatewayClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateRestApi
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateRestApi">REST API Reference for UpdateRestApi Operation</seealso>
IAsyncResult BeginUpdateRestApi(UpdateRestApiRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the UpdateRestApi operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateRestApi.</param>
///
/// <returns>Returns a UpdateRestApiResult from APIGateway.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateRestApi">REST API Reference for UpdateRestApi Operation</seealso>
UpdateRestApiResponse EndUpdateRestApi(IAsyncResult asyncResult);
#endregion
#region UpdateStage
/// <summary>
/// Changes information about a Stage resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateStage service method.</param>
///
/// <returns>The response from the UpdateStage service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateStage">REST API Reference for UpdateStage Operation</seealso>
UpdateStageResponse UpdateStage(UpdateStageRequest request);
/// <summary>
/// Initiates the asynchronous execution of the UpdateStage operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the UpdateStage operation on AmazonAPIGatewayClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateStage
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateStage">REST API Reference for UpdateStage Operation</seealso>
IAsyncResult BeginUpdateStage(UpdateStageRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the UpdateStage operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateStage.</param>
///
/// <returns>Returns a UpdateStageResult from APIGateway.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateStage">REST API Reference for UpdateStage Operation</seealso>
UpdateStageResponse EndUpdateStage(IAsyncResult asyncResult);
#endregion
#region UpdateUsage
/// <summary>
/// Grants a temporary extension to the remaining quota of a usage plan associated with
/// a specified API key.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateUsage service method.</param>
///
/// <returns>The response from the UpdateUsage service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateUsage">REST API Reference for UpdateUsage Operation</seealso>
UpdateUsageResponse UpdateUsage(UpdateUsageRequest request);
/// <summary>
/// Initiates the asynchronous execution of the UpdateUsage operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the UpdateUsage operation on AmazonAPIGatewayClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateUsage
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateUsage">REST API Reference for UpdateUsage Operation</seealso>
IAsyncResult BeginUpdateUsage(UpdateUsageRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the UpdateUsage operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateUsage.</param>
///
/// <returns>Returns a UpdateUsageResult from APIGateway.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateUsage">REST API Reference for UpdateUsage Operation</seealso>
UpdateUsageResponse EndUpdateUsage(IAsyncResult asyncResult);
#endregion
#region UpdateUsagePlan
/// <summary>
/// Updates a usage plan of a given plan Id.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateUsagePlan service method.</param>
///
/// <returns>The response from the UpdateUsagePlan service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateUsagePlan">REST API Reference for UpdateUsagePlan Operation</seealso>
UpdateUsagePlanResponse UpdateUsagePlan(UpdateUsagePlanRequest request);
/// <summary>
/// Initiates the asynchronous execution of the UpdateUsagePlan operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the UpdateUsagePlan operation on AmazonAPIGatewayClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateUsagePlan
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateUsagePlan">REST API Reference for UpdateUsagePlan Operation</seealso>
IAsyncResult BeginUpdateUsagePlan(UpdateUsagePlanRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the UpdateUsagePlan operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateUsagePlan.</param>
///
/// <returns>Returns a UpdateUsagePlanResult from APIGateway.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateUsagePlan">REST API Reference for UpdateUsagePlan Operation</seealso>
UpdateUsagePlanResponse EndUpdateUsagePlan(IAsyncResult asyncResult);
#endregion
#region UpdateVpcLink
/// <summary>
/// Updates an existing VpcLink of a specified identifier.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateVpcLink service method.</param>
///
/// <returns>The response from the UpdateVpcLink service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateVpcLink">REST API Reference for UpdateVpcLink Operation</seealso>
UpdateVpcLinkResponse UpdateVpcLink(UpdateVpcLinkRequest request);
/// <summary>
/// Initiates the asynchronous execution of the UpdateVpcLink operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the UpdateVpcLink operation on AmazonAPIGatewayClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateVpcLink
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateVpcLink">REST API Reference for UpdateVpcLink Operation</seealso>
IAsyncResult BeginUpdateVpcLink(UpdateVpcLinkRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the UpdateVpcLink operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateVpcLink.</param>
///
/// <returns>Returns a UpdateVpcLinkResult from APIGateway.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateVpcLink">REST API Reference for UpdateVpcLink Operation</seealso>
UpdateVpcLinkResponse EndUpdateVpcLink(IAsyncResult asyncResult);
#endregion
}
} | 6,809 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apigateway-2015-07-09.normal.json service model.
*/
using System;
using System.Threading;
using System.Threading.Tasks;
using System.Collections.Generic;
using Amazon.Runtime;
using Amazon.APIGateway.Model;
namespace Amazon.APIGateway
{
/// <summary>
/// Interface for accessing APIGateway
///
/// Amazon API Gateway
/// <para>
/// Amazon API Gateway helps developers deliver robust, secure, and scalable mobile and
/// web application back ends. API Gateway allows developers to securely connect mobile
/// and web applications to APIs that run on AWS Lambda, Amazon EC2, or other publicly
/// addressable web services that are hosted outside of AWS.
/// </para>
/// </summary>
public partial interface IAmazonAPIGateway : IAmazonService, IDisposable
{
/// <summary>
/// Paginators for the service
/// </summary>
IAPIGatewayPaginatorFactory Paginators { get; }
#region CreateApiKey
/// <summary>
/// Create an ApiKey resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateApiKey service method.</param>
///
/// <returns>The response from the CreateApiKey service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/CreateApiKey">REST API Reference for CreateApiKey Operation</seealso>
CreateApiKeyResponse CreateApiKey(CreateApiKeyRequest request);
/// <summary>
/// Create an ApiKey resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateApiKey service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateApiKey service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/CreateApiKey">REST API Reference for CreateApiKey Operation</seealso>
Task<CreateApiKeyResponse> CreateApiKeyAsync(CreateApiKeyRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateAuthorizer
/// <summary>
/// Adds a new Authorizer resource to an existing RestApi resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateAuthorizer service method.</param>
///
/// <returns>The response from the CreateAuthorizer service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/CreateAuthorizer">REST API Reference for CreateAuthorizer Operation</seealso>
CreateAuthorizerResponse CreateAuthorizer(CreateAuthorizerRequest request);
/// <summary>
/// Adds a new Authorizer resource to an existing RestApi resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateAuthorizer service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateAuthorizer service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/CreateAuthorizer">REST API Reference for CreateAuthorizer Operation</seealso>
Task<CreateAuthorizerResponse> CreateAuthorizerAsync(CreateAuthorizerRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateBasePathMapping
/// <summary>
/// Creates a new BasePathMapping resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateBasePathMapping service method.</param>
///
/// <returns>The response from the CreateBasePathMapping service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/CreateBasePathMapping">REST API Reference for CreateBasePathMapping Operation</seealso>
CreateBasePathMappingResponse CreateBasePathMapping(CreateBasePathMappingRequest request);
/// <summary>
/// Creates a new BasePathMapping resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateBasePathMapping service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateBasePathMapping service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/CreateBasePathMapping">REST API Reference for CreateBasePathMapping Operation</seealso>
Task<CreateBasePathMappingResponse> CreateBasePathMappingAsync(CreateBasePathMappingRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateDeployment
/// <summary>
/// Creates a Deployment resource, which makes a specified RestApi callable over the internet.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateDeployment service method.</param>
///
/// <returns>The response from the CreateDeployment service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ServiceUnavailableException">
/// The requested service is not available. For details see the accompanying error message.
/// Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/CreateDeployment">REST API Reference for CreateDeployment Operation</seealso>
CreateDeploymentResponse CreateDeployment(CreateDeploymentRequest request);
/// <summary>
/// Creates a Deployment resource, which makes a specified RestApi callable over the internet.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateDeployment service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateDeployment service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ServiceUnavailableException">
/// The requested service is not available. For details see the accompanying error message.
/// Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/CreateDeployment">REST API Reference for CreateDeployment Operation</seealso>
Task<CreateDeploymentResponse> CreateDeploymentAsync(CreateDeploymentRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateDocumentationPart
/// <summary>
/// Creates a documentation part.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateDocumentationPart service method.</param>
///
/// <returns>The response from the CreateDocumentationPart service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/CreateDocumentationPart">REST API Reference for CreateDocumentationPart Operation</seealso>
CreateDocumentationPartResponse CreateDocumentationPart(CreateDocumentationPartRequest request);
/// <summary>
/// Creates a documentation part.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateDocumentationPart service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateDocumentationPart service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/CreateDocumentationPart">REST API Reference for CreateDocumentationPart Operation</seealso>
Task<CreateDocumentationPartResponse> CreateDocumentationPartAsync(CreateDocumentationPartRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateDocumentationVersion
/// <summary>
/// Creates a documentation version
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateDocumentationVersion service method.</param>
///
/// <returns>The response from the CreateDocumentationVersion service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/CreateDocumentationVersion">REST API Reference for CreateDocumentationVersion Operation</seealso>
CreateDocumentationVersionResponse CreateDocumentationVersion(CreateDocumentationVersionRequest request);
/// <summary>
/// Creates a documentation version
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateDocumentationVersion service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateDocumentationVersion service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/CreateDocumentationVersion">REST API Reference for CreateDocumentationVersion Operation</seealso>
Task<CreateDocumentationVersionResponse> CreateDocumentationVersionAsync(CreateDocumentationVersionRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateDomainName
/// <summary>
/// Creates a new domain name.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateDomainName service method.</param>
///
/// <returns>The response from the CreateDomainName service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/CreateDomainName">REST API Reference for CreateDomainName Operation</seealso>
CreateDomainNameResponse CreateDomainName(CreateDomainNameRequest request);
/// <summary>
/// Creates a new domain name.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateDomainName service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateDomainName service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/CreateDomainName">REST API Reference for CreateDomainName Operation</seealso>
Task<CreateDomainNameResponse> CreateDomainNameAsync(CreateDomainNameRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateModel
/// <summary>
/// Adds a new Model resource to an existing RestApi resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateModel service method.</param>
///
/// <returns>The response from the CreateModel service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/CreateModel">REST API Reference for CreateModel Operation</seealso>
CreateModelResponse CreateModel(CreateModelRequest request);
/// <summary>
/// Adds a new Model resource to an existing RestApi resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateModel service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateModel service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/CreateModel">REST API Reference for CreateModel Operation</seealso>
Task<CreateModelResponse> CreateModelAsync(CreateModelRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateRequestValidator
/// <summary>
/// Creates a RequestValidator of a given RestApi.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateRequestValidator service method.</param>
///
/// <returns>The response from the CreateRequestValidator service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/CreateRequestValidator">REST API Reference for CreateRequestValidator Operation</seealso>
CreateRequestValidatorResponse CreateRequestValidator(CreateRequestValidatorRequest request);
/// <summary>
/// Creates a RequestValidator of a given RestApi.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateRequestValidator service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateRequestValidator service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/CreateRequestValidator">REST API Reference for CreateRequestValidator Operation</seealso>
Task<CreateRequestValidatorResponse> CreateRequestValidatorAsync(CreateRequestValidatorRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateResource
/// <summary>
/// Creates a Resource resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateResource service method.</param>
///
/// <returns>The response from the CreateResource service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/CreateResource">REST API Reference for CreateResource Operation</seealso>
CreateResourceResponse CreateResource(CreateResourceRequest request);
/// <summary>
/// Creates a Resource resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateResource service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateResource service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/CreateResource">REST API Reference for CreateResource Operation</seealso>
Task<CreateResourceResponse> CreateResourceAsync(CreateResourceRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateRestApi
/// <summary>
/// Creates a new RestApi resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateRestApi service method.</param>
///
/// <returns>The response from the CreateRestApi service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/CreateRestApi">REST API Reference for CreateRestApi Operation</seealso>
CreateRestApiResponse CreateRestApi(CreateRestApiRequest request);
/// <summary>
/// Creates a new RestApi resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateRestApi service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateRestApi service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/CreateRestApi">REST API Reference for CreateRestApi Operation</seealso>
Task<CreateRestApiResponse> CreateRestApiAsync(CreateRestApiRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateStage
/// <summary>
/// Creates a new Stage resource that references a pre-existing Deployment for the API.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateStage service method.</param>
///
/// <returns>The response from the CreateStage service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/CreateStage">REST API Reference for CreateStage Operation</seealso>
CreateStageResponse CreateStage(CreateStageRequest request);
/// <summary>
/// Creates a new Stage resource that references a pre-existing Deployment for the API.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateStage service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateStage service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/CreateStage">REST API Reference for CreateStage Operation</seealso>
Task<CreateStageResponse> CreateStageAsync(CreateStageRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateUsagePlan
/// <summary>
/// Creates a usage plan with the throttle and quota limits, as well as the associated
/// API stages, specified in the payload.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateUsagePlan service method.</param>
///
/// <returns>The response from the CreateUsagePlan service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/CreateUsagePlan">REST API Reference for CreateUsagePlan Operation</seealso>
CreateUsagePlanResponse CreateUsagePlan(CreateUsagePlanRequest request);
/// <summary>
/// Creates a usage plan with the throttle and quota limits, as well as the associated
/// API stages, specified in the payload.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateUsagePlan service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateUsagePlan service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/CreateUsagePlan">REST API Reference for CreateUsagePlan Operation</seealso>
Task<CreateUsagePlanResponse> CreateUsagePlanAsync(CreateUsagePlanRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateUsagePlanKey
/// <summary>
/// Creates a usage plan key for adding an existing API key to a usage plan.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateUsagePlanKey service method.</param>
///
/// <returns>The response from the CreateUsagePlanKey service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/CreateUsagePlanKey">REST API Reference for CreateUsagePlanKey Operation</seealso>
CreateUsagePlanKeyResponse CreateUsagePlanKey(CreateUsagePlanKeyRequest request);
/// <summary>
/// Creates a usage plan key for adding an existing API key to a usage plan.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateUsagePlanKey service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateUsagePlanKey service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/CreateUsagePlanKey">REST API Reference for CreateUsagePlanKey Operation</seealso>
Task<CreateUsagePlanKeyResponse> CreateUsagePlanKeyAsync(CreateUsagePlanKeyRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateVpcLink
/// <summary>
/// Creates a VPC link, under the caller's account in a selected region, in an asynchronous
/// operation that typically takes 2-4 minutes to complete and become operational. The
/// caller must have permissions to create and update VPC Endpoint services.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateVpcLink service method.</param>
///
/// <returns>The response from the CreateVpcLink service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/CreateVpcLink">REST API Reference for CreateVpcLink Operation</seealso>
CreateVpcLinkResponse CreateVpcLink(CreateVpcLinkRequest request);
/// <summary>
/// Creates a VPC link, under the caller's account in a selected region, in an asynchronous
/// operation that typically takes 2-4 minutes to complete and become operational. The
/// caller must have permissions to create and update VPC Endpoint services.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateVpcLink service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateVpcLink service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/CreateVpcLink">REST API Reference for CreateVpcLink Operation</seealso>
Task<CreateVpcLinkResponse> CreateVpcLinkAsync(CreateVpcLinkRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteApiKey
/// <summary>
/// Deletes the ApiKey resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteApiKey service method.</param>
///
/// <returns>The response from the DeleteApiKey service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteApiKey">REST API Reference for DeleteApiKey Operation</seealso>
DeleteApiKeyResponse DeleteApiKey(DeleteApiKeyRequest request);
/// <summary>
/// Deletes the ApiKey resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteApiKey service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteApiKey service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteApiKey">REST API Reference for DeleteApiKey Operation</seealso>
Task<DeleteApiKeyResponse> DeleteApiKeyAsync(DeleteApiKeyRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteAuthorizer
/// <summary>
/// Deletes an existing Authorizer resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteAuthorizer service method.</param>
///
/// <returns>The response from the DeleteAuthorizer service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteAuthorizer">REST API Reference for DeleteAuthorizer Operation</seealso>
DeleteAuthorizerResponse DeleteAuthorizer(DeleteAuthorizerRequest request);
/// <summary>
/// Deletes an existing Authorizer resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteAuthorizer service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteAuthorizer service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteAuthorizer">REST API Reference for DeleteAuthorizer Operation</seealso>
Task<DeleteAuthorizerResponse> DeleteAuthorizerAsync(DeleteAuthorizerRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteBasePathMapping
/// <summary>
/// Deletes the BasePathMapping resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteBasePathMapping service method.</param>
///
/// <returns>The response from the DeleteBasePathMapping service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteBasePathMapping">REST API Reference for DeleteBasePathMapping Operation</seealso>
DeleteBasePathMappingResponse DeleteBasePathMapping(DeleteBasePathMappingRequest request);
/// <summary>
/// Deletes the BasePathMapping resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteBasePathMapping service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteBasePathMapping service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteBasePathMapping">REST API Reference for DeleteBasePathMapping Operation</seealso>
Task<DeleteBasePathMappingResponse> DeleteBasePathMappingAsync(DeleteBasePathMappingRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteClientCertificate
/// <summary>
/// Deletes the ClientCertificate resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteClientCertificate service method.</param>
///
/// <returns>The response from the DeleteClientCertificate service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteClientCertificate">REST API Reference for DeleteClientCertificate Operation</seealso>
DeleteClientCertificateResponse DeleteClientCertificate(DeleteClientCertificateRequest request);
/// <summary>
/// Deletes the ClientCertificate resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteClientCertificate service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteClientCertificate service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteClientCertificate">REST API Reference for DeleteClientCertificate Operation</seealso>
Task<DeleteClientCertificateResponse> DeleteClientCertificateAsync(DeleteClientCertificateRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteDeployment
/// <summary>
/// Deletes a Deployment resource. Deleting a deployment will only succeed if there are
/// no Stage resources associated with it.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteDeployment service method.</param>
///
/// <returns>The response from the DeleteDeployment service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteDeployment">REST API Reference for DeleteDeployment Operation</seealso>
DeleteDeploymentResponse DeleteDeployment(DeleteDeploymentRequest request);
/// <summary>
/// Deletes a Deployment resource. Deleting a deployment will only succeed if there are
/// no Stage resources associated with it.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteDeployment service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteDeployment service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteDeployment">REST API Reference for DeleteDeployment Operation</seealso>
Task<DeleteDeploymentResponse> DeleteDeploymentAsync(DeleteDeploymentRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteDocumentationPart
/// <summary>
/// Deletes a documentation part
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteDocumentationPart service method.</param>
///
/// <returns>The response from the DeleteDocumentationPart service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteDocumentationPart">REST API Reference for DeleteDocumentationPart Operation</seealso>
DeleteDocumentationPartResponse DeleteDocumentationPart(DeleteDocumentationPartRequest request);
/// <summary>
/// Deletes a documentation part
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteDocumentationPart service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteDocumentationPart service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteDocumentationPart">REST API Reference for DeleteDocumentationPart Operation</seealso>
Task<DeleteDocumentationPartResponse> DeleteDocumentationPartAsync(DeleteDocumentationPartRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteDocumentationVersion
/// <summary>
/// Deletes a documentation version.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteDocumentationVersion service method.</param>
///
/// <returns>The response from the DeleteDocumentationVersion service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteDocumentationVersion">REST API Reference for DeleteDocumentationVersion Operation</seealso>
DeleteDocumentationVersionResponse DeleteDocumentationVersion(DeleteDocumentationVersionRequest request);
/// <summary>
/// Deletes a documentation version.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteDocumentationVersion service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteDocumentationVersion service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteDocumentationVersion">REST API Reference for DeleteDocumentationVersion Operation</seealso>
Task<DeleteDocumentationVersionResponse> DeleteDocumentationVersionAsync(DeleteDocumentationVersionRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteDomainName
/// <summary>
/// Deletes the DomainName resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteDomainName service method.</param>
///
/// <returns>The response from the DeleteDomainName service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteDomainName">REST API Reference for DeleteDomainName Operation</seealso>
DeleteDomainNameResponse DeleteDomainName(DeleteDomainNameRequest request);
/// <summary>
/// Deletes the DomainName resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteDomainName service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteDomainName service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteDomainName">REST API Reference for DeleteDomainName Operation</seealso>
Task<DeleteDomainNameResponse> DeleteDomainNameAsync(DeleteDomainNameRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteGatewayResponse
/// <summary>
/// Clears any customization of a GatewayResponse of a specified response type on the
/// given RestApi and resets it with the default settings.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteGatewayResponse service method.</param>
///
/// <returns>The response from the DeleteGatewayResponse service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteGatewayResponse">REST API Reference for DeleteGatewayResponse Operation</seealso>
DeleteGatewayResponseResponse DeleteGatewayResponse(DeleteGatewayResponseRequest request);
/// <summary>
/// Clears any customization of a GatewayResponse of a specified response type on the
/// given RestApi and resets it with the default settings.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteGatewayResponse service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteGatewayResponse service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteGatewayResponse">REST API Reference for DeleteGatewayResponse Operation</seealso>
Task<DeleteGatewayResponseResponse> DeleteGatewayResponseAsync(DeleteGatewayResponseRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteIntegration
/// <summary>
/// Represents a delete integration.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteIntegration service method.</param>
///
/// <returns>The response from the DeleteIntegration service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteIntegration">REST API Reference for DeleteIntegration Operation</seealso>
DeleteIntegrationResponse DeleteIntegration(DeleteIntegrationRequest request);
/// <summary>
/// Represents a delete integration.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteIntegration service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteIntegration service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteIntegration">REST API Reference for DeleteIntegration Operation</seealso>
Task<DeleteIntegrationResponse> DeleteIntegrationAsync(DeleteIntegrationRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteIntegrationResponse
/// <summary>
/// Represents a delete integration response.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteIntegrationResponse service method.</param>
///
/// <returns>The response from the DeleteIntegrationResponse service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteIntegrationResponse">REST API Reference for DeleteIntegrationResponse Operation</seealso>
DeleteIntegrationResponseResponse DeleteIntegrationResponse(DeleteIntegrationResponseRequest request);
/// <summary>
/// Represents a delete integration response.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteIntegrationResponse service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteIntegrationResponse service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteIntegrationResponse">REST API Reference for DeleteIntegrationResponse Operation</seealso>
Task<DeleteIntegrationResponseResponse> DeleteIntegrationResponseAsync(DeleteIntegrationResponseRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteMethod
/// <summary>
/// Deletes an existing Method resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteMethod service method.</param>
///
/// <returns>The response from the DeleteMethod service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteMethod">REST API Reference for DeleteMethod Operation</seealso>
DeleteMethodResponse DeleteMethod(DeleteMethodRequest request);
/// <summary>
/// Deletes an existing Method resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteMethod service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteMethod service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteMethod">REST API Reference for DeleteMethod Operation</seealso>
Task<DeleteMethodResponse> DeleteMethodAsync(DeleteMethodRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteMethodResponse
/// <summary>
/// Deletes an existing MethodResponse resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteMethodResponse service method.</param>
///
/// <returns>The response from the DeleteMethodResponse service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteMethodResponse">REST API Reference for DeleteMethodResponse Operation</seealso>
DeleteMethodResponseResponse DeleteMethodResponse(DeleteMethodResponseRequest request);
/// <summary>
/// Deletes an existing MethodResponse resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteMethodResponse service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteMethodResponse service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteMethodResponse">REST API Reference for DeleteMethodResponse Operation</seealso>
Task<DeleteMethodResponseResponse> DeleteMethodResponseAsync(DeleteMethodResponseRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteModel
/// <summary>
/// Deletes a model.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteModel service method.</param>
///
/// <returns>The response from the DeleteModel service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteModel">REST API Reference for DeleteModel Operation</seealso>
DeleteModelResponse DeleteModel(DeleteModelRequest request);
/// <summary>
/// Deletes a model.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteModel service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteModel service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteModel">REST API Reference for DeleteModel Operation</seealso>
Task<DeleteModelResponse> DeleteModelAsync(DeleteModelRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteRequestValidator
/// <summary>
/// Deletes a RequestValidator of a given RestApi.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteRequestValidator service method.</param>
///
/// <returns>The response from the DeleteRequestValidator service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteRequestValidator">REST API Reference for DeleteRequestValidator Operation</seealso>
DeleteRequestValidatorResponse DeleteRequestValidator(DeleteRequestValidatorRequest request);
/// <summary>
/// Deletes a RequestValidator of a given RestApi.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteRequestValidator service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteRequestValidator service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteRequestValidator">REST API Reference for DeleteRequestValidator Operation</seealso>
Task<DeleteRequestValidatorResponse> DeleteRequestValidatorAsync(DeleteRequestValidatorRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteResource
/// <summary>
/// Deletes a Resource resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteResource service method.</param>
///
/// <returns>The response from the DeleteResource service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteResource">REST API Reference for DeleteResource Operation</seealso>
DeleteResourceResponse DeleteResource(DeleteResourceRequest request);
/// <summary>
/// Deletes a Resource resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteResource service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteResource service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteResource">REST API Reference for DeleteResource Operation</seealso>
Task<DeleteResourceResponse> DeleteResourceAsync(DeleteResourceRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteRestApi
/// <summary>
/// Deletes the specified API.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteRestApi service method.</param>
///
/// <returns>The response from the DeleteRestApi service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteRestApi">REST API Reference for DeleteRestApi Operation</seealso>
DeleteRestApiResponse DeleteRestApi(DeleteRestApiRequest request);
/// <summary>
/// Deletes the specified API.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteRestApi service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteRestApi service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteRestApi">REST API Reference for DeleteRestApi Operation</seealso>
Task<DeleteRestApiResponse> DeleteRestApiAsync(DeleteRestApiRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteStage
/// <summary>
/// Deletes a Stage resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteStage service method.</param>
///
/// <returns>The response from the DeleteStage service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteStage">REST API Reference for DeleteStage Operation</seealso>
DeleteStageResponse DeleteStage(DeleteStageRequest request);
/// <summary>
/// Deletes a Stage resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteStage service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteStage service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteStage">REST API Reference for DeleteStage Operation</seealso>
Task<DeleteStageResponse> DeleteStageAsync(DeleteStageRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteUsagePlan
/// <summary>
/// Deletes a usage plan of a given plan Id.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteUsagePlan service method.</param>
///
/// <returns>The response from the DeleteUsagePlan service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteUsagePlan">REST API Reference for DeleteUsagePlan Operation</seealso>
DeleteUsagePlanResponse DeleteUsagePlan(DeleteUsagePlanRequest request);
/// <summary>
/// Deletes a usage plan of a given plan Id.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteUsagePlan service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteUsagePlan service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteUsagePlan">REST API Reference for DeleteUsagePlan Operation</seealso>
Task<DeleteUsagePlanResponse> DeleteUsagePlanAsync(DeleteUsagePlanRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteUsagePlanKey
/// <summary>
/// Deletes a usage plan key and remove the underlying API key from the associated usage
/// plan.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteUsagePlanKey service method.</param>
///
/// <returns>The response from the DeleteUsagePlanKey service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteUsagePlanKey">REST API Reference for DeleteUsagePlanKey Operation</seealso>
DeleteUsagePlanKeyResponse DeleteUsagePlanKey(DeleteUsagePlanKeyRequest request);
/// <summary>
/// Deletes a usage plan key and remove the underlying API key from the associated usage
/// plan.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteUsagePlanKey service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteUsagePlanKey service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteUsagePlanKey">REST API Reference for DeleteUsagePlanKey Operation</seealso>
Task<DeleteUsagePlanKeyResponse> DeleteUsagePlanKeyAsync(DeleteUsagePlanKeyRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteVpcLink
/// <summary>
/// Deletes an existing VpcLink of a specified identifier.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteVpcLink service method.</param>
///
/// <returns>The response from the DeleteVpcLink service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteVpcLink">REST API Reference for DeleteVpcLink Operation</seealso>
DeleteVpcLinkResponse DeleteVpcLink(DeleteVpcLinkRequest request);
/// <summary>
/// Deletes an existing VpcLink of a specified identifier.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteVpcLink service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteVpcLink service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteVpcLink">REST API Reference for DeleteVpcLink Operation</seealso>
Task<DeleteVpcLinkResponse> DeleteVpcLinkAsync(DeleteVpcLinkRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region FlushStageAuthorizersCache
/// <summary>
/// Flushes all authorizer cache entries on a stage.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the FlushStageAuthorizersCache service method.</param>
///
/// <returns>The response from the FlushStageAuthorizersCache service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/FlushStageAuthorizersCache">REST API Reference for FlushStageAuthorizersCache Operation</seealso>
FlushStageAuthorizersCacheResponse FlushStageAuthorizersCache(FlushStageAuthorizersCacheRequest request);
/// <summary>
/// Flushes all authorizer cache entries on a stage.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the FlushStageAuthorizersCache service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the FlushStageAuthorizersCache service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/FlushStageAuthorizersCache">REST API Reference for FlushStageAuthorizersCache Operation</seealso>
Task<FlushStageAuthorizersCacheResponse> FlushStageAuthorizersCacheAsync(FlushStageAuthorizersCacheRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region FlushStageCache
/// <summary>
/// Flushes a stage's cache.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the FlushStageCache service method.</param>
///
/// <returns>The response from the FlushStageCache service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/FlushStageCache">REST API Reference for FlushStageCache Operation</seealso>
FlushStageCacheResponse FlushStageCache(FlushStageCacheRequest request);
/// <summary>
/// Flushes a stage's cache.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the FlushStageCache service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the FlushStageCache service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/FlushStageCache">REST API Reference for FlushStageCache Operation</seealso>
Task<FlushStageCacheResponse> FlushStageCacheAsync(FlushStageCacheRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GenerateClientCertificate
/// <summary>
/// Generates a ClientCertificate resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GenerateClientCertificate service method.</param>
///
/// <returns>The response from the GenerateClientCertificate service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GenerateClientCertificate">REST API Reference for GenerateClientCertificate Operation</seealso>
GenerateClientCertificateResponse GenerateClientCertificate(GenerateClientCertificateRequest request);
/// <summary>
/// Generates a ClientCertificate resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GenerateClientCertificate service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GenerateClientCertificate service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GenerateClientCertificate">REST API Reference for GenerateClientCertificate Operation</seealso>
Task<GenerateClientCertificateResponse> GenerateClientCertificateAsync(GenerateClientCertificateRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetAccount
/// <summary>
/// Gets information about the current Account resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetAccount service method.</param>
///
/// <returns>The response from the GetAccount service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetAccount">REST API Reference for GetAccount Operation</seealso>
GetAccountResponse GetAccount(GetAccountRequest request);
/// <summary>
/// Gets information about the current Account resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetAccount service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetAccount service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetAccount">REST API Reference for GetAccount Operation</seealso>
Task<GetAccountResponse> GetAccountAsync(GetAccountRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetApiKey
/// <summary>
/// Gets information about the current ApiKey resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetApiKey service method.</param>
///
/// <returns>The response from the GetApiKey service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetApiKey">REST API Reference for GetApiKey Operation</seealso>
GetApiKeyResponse GetApiKey(GetApiKeyRequest request);
/// <summary>
/// Gets information about the current ApiKey resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetApiKey service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetApiKey service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetApiKey">REST API Reference for GetApiKey Operation</seealso>
Task<GetApiKeyResponse> GetApiKeyAsync(GetApiKeyRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetApiKeys
/// <summary>
/// Gets information about the current ApiKeys resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetApiKeys service method.</param>
///
/// <returns>The response from the GetApiKeys service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetApiKeys">REST API Reference for GetApiKeys Operation</seealso>
GetApiKeysResponse GetApiKeys(GetApiKeysRequest request);
/// <summary>
/// Gets information about the current ApiKeys resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetApiKeys service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetApiKeys service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetApiKeys">REST API Reference for GetApiKeys Operation</seealso>
Task<GetApiKeysResponse> GetApiKeysAsync(GetApiKeysRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetAuthorizer
/// <summary>
/// Describe an existing Authorizer resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetAuthorizer service method.</param>
///
/// <returns>The response from the GetAuthorizer service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetAuthorizer">REST API Reference for GetAuthorizer Operation</seealso>
GetAuthorizerResponse GetAuthorizer(GetAuthorizerRequest request);
/// <summary>
/// Describe an existing Authorizer resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetAuthorizer service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetAuthorizer service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetAuthorizer">REST API Reference for GetAuthorizer Operation</seealso>
Task<GetAuthorizerResponse> GetAuthorizerAsync(GetAuthorizerRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetAuthorizers
/// <summary>
/// Describe an existing Authorizers resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetAuthorizers service method.</param>
///
/// <returns>The response from the GetAuthorizers service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetAuthorizers">REST API Reference for GetAuthorizers Operation</seealso>
GetAuthorizersResponse GetAuthorizers(GetAuthorizersRequest request);
/// <summary>
/// Describe an existing Authorizers resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetAuthorizers service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetAuthorizers service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetAuthorizers">REST API Reference for GetAuthorizers Operation</seealso>
Task<GetAuthorizersResponse> GetAuthorizersAsync(GetAuthorizersRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetBasePathMapping
/// <summary>
/// Describe a BasePathMapping resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetBasePathMapping service method.</param>
///
/// <returns>The response from the GetBasePathMapping service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetBasePathMapping">REST API Reference for GetBasePathMapping Operation</seealso>
GetBasePathMappingResponse GetBasePathMapping(GetBasePathMappingRequest request);
/// <summary>
/// Describe a BasePathMapping resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetBasePathMapping service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetBasePathMapping service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetBasePathMapping">REST API Reference for GetBasePathMapping Operation</seealso>
Task<GetBasePathMappingResponse> GetBasePathMappingAsync(GetBasePathMappingRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetBasePathMappings
/// <summary>
/// Represents a collection of BasePathMapping resources.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetBasePathMappings service method.</param>
///
/// <returns>The response from the GetBasePathMappings service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetBasePathMappings">REST API Reference for GetBasePathMappings Operation</seealso>
GetBasePathMappingsResponse GetBasePathMappings(GetBasePathMappingsRequest request);
/// <summary>
/// Represents a collection of BasePathMapping resources.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetBasePathMappings service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetBasePathMappings service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetBasePathMappings">REST API Reference for GetBasePathMappings Operation</seealso>
Task<GetBasePathMappingsResponse> GetBasePathMappingsAsync(GetBasePathMappingsRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetClientCertificate
/// <summary>
/// Gets information about the current ClientCertificate resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetClientCertificate service method.</param>
///
/// <returns>The response from the GetClientCertificate service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetClientCertificate">REST API Reference for GetClientCertificate Operation</seealso>
GetClientCertificateResponse GetClientCertificate(GetClientCertificateRequest request);
/// <summary>
/// Gets information about the current ClientCertificate resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetClientCertificate service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetClientCertificate service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetClientCertificate">REST API Reference for GetClientCertificate Operation</seealso>
Task<GetClientCertificateResponse> GetClientCertificateAsync(GetClientCertificateRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetClientCertificates
/// <summary>
/// Gets a collection of ClientCertificate resources.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetClientCertificates service method.</param>
///
/// <returns>The response from the GetClientCertificates service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetClientCertificates">REST API Reference for GetClientCertificates Operation</seealso>
GetClientCertificatesResponse GetClientCertificates(GetClientCertificatesRequest request);
/// <summary>
/// Gets a collection of ClientCertificate resources.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetClientCertificates service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetClientCertificates service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetClientCertificates">REST API Reference for GetClientCertificates Operation</seealso>
Task<GetClientCertificatesResponse> GetClientCertificatesAsync(GetClientCertificatesRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetDeployment
/// <summary>
/// Gets information about a Deployment resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetDeployment service method.</param>
///
/// <returns>The response from the GetDeployment service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ServiceUnavailableException">
/// The requested service is not available. For details see the accompanying error message.
/// Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetDeployment">REST API Reference for GetDeployment Operation</seealso>
GetDeploymentResponse GetDeployment(GetDeploymentRequest request);
/// <summary>
/// Gets information about a Deployment resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetDeployment service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetDeployment service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ServiceUnavailableException">
/// The requested service is not available. For details see the accompanying error message.
/// Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetDeployment">REST API Reference for GetDeployment Operation</seealso>
Task<GetDeploymentResponse> GetDeploymentAsync(GetDeploymentRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetDeployments
/// <summary>
/// Gets information about a Deployments collection.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetDeployments service method.</param>
///
/// <returns>The response from the GetDeployments service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ServiceUnavailableException">
/// The requested service is not available. For details see the accompanying error message.
/// Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetDeployments">REST API Reference for GetDeployments Operation</seealso>
GetDeploymentsResponse GetDeployments(GetDeploymentsRequest request);
/// <summary>
/// Gets information about a Deployments collection.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetDeployments service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetDeployments service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ServiceUnavailableException">
/// The requested service is not available. For details see the accompanying error message.
/// Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetDeployments">REST API Reference for GetDeployments Operation</seealso>
Task<GetDeploymentsResponse> GetDeploymentsAsync(GetDeploymentsRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetDocumentationPart
/// <summary>
/// Gets a documentation part.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetDocumentationPart service method.</param>
///
/// <returns>The response from the GetDocumentationPart service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetDocumentationPart">REST API Reference for GetDocumentationPart Operation</seealso>
GetDocumentationPartResponse GetDocumentationPart(GetDocumentationPartRequest request);
/// <summary>
/// Gets a documentation part.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetDocumentationPart service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetDocumentationPart service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetDocumentationPart">REST API Reference for GetDocumentationPart Operation</seealso>
Task<GetDocumentationPartResponse> GetDocumentationPartAsync(GetDocumentationPartRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetDocumentationParts
/// <summary>
/// Gets documentation parts.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetDocumentationParts service method.</param>
///
/// <returns>The response from the GetDocumentationParts service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetDocumentationParts">REST API Reference for GetDocumentationParts Operation</seealso>
GetDocumentationPartsResponse GetDocumentationParts(GetDocumentationPartsRequest request);
/// <summary>
/// Gets documentation parts.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetDocumentationParts service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetDocumentationParts service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetDocumentationParts">REST API Reference for GetDocumentationParts Operation</seealso>
Task<GetDocumentationPartsResponse> GetDocumentationPartsAsync(GetDocumentationPartsRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetDocumentationVersion
/// <summary>
/// Gets a documentation version.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetDocumentationVersion service method.</param>
///
/// <returns>The response from the GetDocumentationVersion service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetDocumentationVersion">REST API Reference for GetDocumentationVersion Operation</seealso>
GetDocumentationVersionResponse GetDocumentationVersion(GetDocumentationVersionRequest request);
/// <summary>
/// Gets a documentation version.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetDocumentationVersion service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetDocumentationVersion service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetDocumentationVersion">REST API Reference for GetDocumentationVersion Operation</seealso>
Task<GetDocumentationVersionResponse> GetDocumentationVersionAsync(GetDocumentationVersionRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetDocumentationVersions
/// <summary>
/// Gets documentation versions.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetDocumentationVersions service method.</param>
///
/// <returns>The response from the GetDocumentationVersions service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetDocumentationVersions">REST API Reference for GetDocumentationVersions Operation</seealso>
GetDocumentationVersionsResponse GetDocumentationVersions(GetDocumentationVersionsRequest request);
/// <summary>
/// Gets documentation versions.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetDocumentationVersions service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetDocumentationVersions service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetDocumentationVersions">REST API Reference for GetDocumentationVersions Operation</seealso>
Task<GetDocumentationVersionsResponse> GetDocumentationVersionsAsync(GetDocumentationVersionsRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetDomainName
/// <summary>
/// Represents a domain name that is contained in a simpler, more intuitive URL that can
/// be called.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetDomainName service method.</param>
///
/// <returns>The response from the GetDomainName service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetDomainName">REST API Reference for GetDomainName Operation</seealso>
GetDomainNameResponse GetDomainName(GetDomainNameRequest request);
/// <summary>
/// Represents a domain name that is contained in a simpler, more intuitive URL that can
/// be called.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetDomainName service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetDomainName service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetDomainName">REST API Reference for GetDomainName Operation</seealso>
Task<GetDomainNameResponse> GetDomainNameAsync(GetDomainNameRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetDomainNames
/// <summary>
/// Represents a collection of DomainName resources.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetDomainNames service method.</param>
///
/// <returns>The response from the GetDomainNames service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetDomainNames">REST API Reference for GetDomainNames Operation</seealso>
GetDomainNamesResponse GetDomainNames(GetDomainNamesRequest request);
/// <summary>
/// Represents a collection of DomainName resources.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetDomainNames service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetDomainNames service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetDomainNames">REST API Reference for GetDomainNames Operation</seealso>
Task<GetDomainNamesResponse> GetDomainNamesAsync(GetDomainNamesRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetExport
/// <summary>
/// Exports a deployed version of a RestApi in a specified format.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetExport service method.</param>
///
/// <returns>The response from the GetExport service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetExport">REST API Reference for GetExport Operation</seealso>
GetExportResponse GetExport(GetExportRequest request);
/// <summary>
/// Exports a deployed version of a RestApi in a specified format.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetExport service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetExport service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetExport">REST API Reference for GetExport Operation</seealso>
Task<GetExportResponse> GetExportAsync(GetExportRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetGatewayResponse
/// <summary>
/// Gets a GatewayResponse of a specified response type on the given RestApi.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetGatewayResponse service method.</param>
///
/// <returns>The response from the GetGatewayResponse service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetGatewayResponse">REST API Reference for GetGatewayResponse Operation</seealso>
GetGatewayResponseResponse GetGatewayResponse(GetGatewayResponseRequest request);
/// <summary>
/// Gets a GatewayResponse of a specified response type on the given RestApi.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetGatewayResponse service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetGatewayResponse service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetGatewayResponse">REST API Reference for GetGatewayResponse Operation</seealso>
Task<GetGatewayResponseResponse> GetGatewayResponseAsync(GetGatewayResponseRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetGatewayResponses
/// <summary>
/// Gets the GatewayResponses collection on the given RestApi. If an API developer has
/// not added any definitions for gateway responses, the result will be the API Gateway-generated
/// default GatewayResponses collection for the supported response types.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetGatewayResponses service method.</param>
///
/// <returns>The response from the GetGatewayResponses service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetGatewayResponses">REST API Reference for GetGatewayResponses Operation</seealso>
GetGatewayResponsesResponse GetGatewayResponses(GetGatewayResponsesRequest request);
/// <summary>
/// Gets the GatewayResponses collection on the given RestApi. If an API developer has
/// not added any definitions for gateway responses, the result will be the API Gateway-generated
/// default GatewayResponses collection for the supported response types.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetGatewayResponses service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetGatewayResponses service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetGatewayResponses">REST API Reference for GetGatewayResponses Operation</seealso>
Task<GetGatewayResponsesResponse> GetGatewayResponsesAsync(GetGatewayResponsesRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetIntegration
/// <summary>
/// Get the integration settings.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetIntegration service method.</param>
///
/// <returns>The response from the GetIntegration service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetIntegration">REST API Reference for GetIntegration Operation</seealso>
GetIntegrationResponse GetIntegration(GetIntegrationRequest request);
/// <summary>
/// Get the integration settings.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetIntegration service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetIntegration service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetIntegration">REST API Reference for GetIntegration Operation</seealso>
Task<GetIntegrationResponse> GetIntegrationAsync(GetIntegrationRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetIntegrationResponse
/// <summary>
/// Represents a get integration response.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetIntegrationResponse service method.</param>
///
/// <returns>The response from the GetIntegrationResponse service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetIntegrationResponse">REST API Reference for GetIntegrationResponse Operation</seealso>
GetIntegrationResponseResponse GetIntegrationResponse(GetIntegrationResponseRequest request);
/// <summary>
/// Represents a get integration response.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetIntegrationResponse service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetIntegrationResponse service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetIntegrationResponse">REST API Reference for GetIntegrationResponse Operation</seealso>
Task<GetIntegrationResponseResponse> GetIntegrationResponseAsync(GetIntegrationResponseRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetMethod
/// <summary>
/// Describe an existing Method resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetMethod service method.</param>
///
/// <returns>The response from the GetMethod service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetMethod">REST API Reference for GetMethod Operation</seealso>
GetMethodResponse GetMethod(GetMethodRequest request);
/// <summary>
/// Describe an existing Method resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetMethod service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetMethod service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetMethod">REST API Reference for GetMethod Operation</seealso>
Task<GetMethodResponse> GetMethodAsync(GetMethodRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetMethodResponse
/// <summary>
/// Describes a MethodResponse resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetMethodResponse service method.</param>
///
/// <returns>The response from the GetMethodResponse service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetMethodResponse">REST API Reference for GetMethodResponse Operation</seealso>
GetMethodResponseResponse GetMethodResponse(GetMethodResponseRequest request);
/// <summary>
/// Describes a MethodResponse resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetMethodResponse service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetMethodResponse service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetMethodResponse">REST API Reference for GetMethodResponse Operation</seealso>
Task<GetMethodResponseResponse> GetMethodResponseAsync(GetMethodResponseRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetModel
/// <summary>
/// Describes an existing model defined for a RestApi resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetModel service method.</param>
///
/// <returns>The response from the GetModel service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetModel">REST API Reference for GetModel Operation</seealso>
GetModelResponse GetModel(GetModelRequest request);
/// <summary>
/// Describes an existing model defined for a RestApi resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetModel service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetModel service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetModel">REST API Reference for GetModel Operation</seealso>
Task<GetModelResponse> GetModelAsync(GetModelRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetModels
/// <summary>
/// Describes existing Models defined for a RestApi resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetModels service method.</param>
///
/// <returns>The response from the GetModels service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetModels">REST API Reference for GetModels Operation</seealso>
GetModelsResponse GetModels(GetModelsRequest request);
/// <summary>
/// Describes existing Models defined for a RestApi resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetModels service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetModels service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetModels">REST API Reference for GetModels Operation</seealso>
Task<GetModelsResponse> GetModelsAsync(GetModelsRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetModelTemplate
/// <summary>
/// Generates a sample mapping template that can be used to transform a payload into the
/// structure of a model.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetModelTemplate service method.</param>
///
/// <returns>The response from the GetModelTemplate service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetModelTemplate">REST API Reference for GetModelTemplate Operation</seealso>
GetModelTemplateResponse GetModelTemplate(GetModelTemplateRequest request);
/// <summary>
/// Generates a sample mapping template that can be used to transform a payload into the
/// structure of a model.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetModelTemplate service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetModelTemplate service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetModelTemplate">REST API Reference for GetModelTemplate Operation</seealso>
Task<GetModelTemplateResponse> GetModelTemplateAsync(GetModelTemplateRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetRequestValidator
/// <summary>
/// Gets a RequestValidator of a given RestApi.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetRequestValidator service method.</param>
///
/// <returns>The response from the GetRequestValidator service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetRequestValidator">REST API Reference for GetRequestValidator Operation</seealso>
GetRequestValidatorResponse GetRequestValidator(GetRequestValidatorRequest request);
/// <summary>
/// Gets a RequestValidator of a given RestApi.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetRequestValidator service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetRequestValidator service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetRequestValidator">REST API Reference for GetRequestValidator Operation</seealso>
Task<GetRequestValidatorResponse> GetRequestValidatorAsync(GetRequestValidatorRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetRequestValidators
/// <summary>
/// Gets the RequestValidators collection of a given RestApi.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetRequestValidators service method.</param>
///
/// <returns>The response from the GetRequestValidators service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetRequestValidators">REST API Reference for GetRequestValidators Operation</seealso>
GetRequestValidatorsResponse GetRequestValidators(GetRequestValidatorsRequest request);
/// <summary>
/// Gets the RequestValidators collection of a given RestApi.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetRequestValidators service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetRequestValidators service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetRequestValidators">REST API Reference for GetRequestValidators Operation</seealso>
Task<GetRequestValidatorsResponse> GetRequestValidatorsAsync(GetRequestValidatorsRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetResource
/// <summary>
/// Lists information about a resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetResource service method.</param>
///
/// <returns>The response from the GetResource service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetResource">REST API Reference for GetResource Operation</seealso>
GetResourceResponse GetResource(GetResourceRequest request);
/// <summary>
/// Lists information about a resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetResource service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetResource service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetResource">REST API Reference for GetResource Operation</seealso>
Task<GetResourceResponse> GetResourceAsync(GetResourceRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetResources
/// <summary>
/// Lists information about a collection of Resource resources.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetResources service method.</param>
///
/// <returns>The response from the GetResources service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetResources">REST API Reference for GetResources Operation</seealso>
GetResourcesResponse GetResources(GetResourcesRequest request);
/// <summary>
/// Lists information about a collection of Resource resources.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetResources service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetResources service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetResources">REST API Reference for GetResources Operation</seealso>
Task<GetResourcesResponse> GetResourcesAsync(GetResourcesRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetRestApi
/// <summary>
/// Lists the RestApi resource in the collection.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetRestApi service method.</param>
///
/// <returns>The response from the GetRestApi service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetRestApi">REST API Reference for GetRestApi Operation</seealso>
GetRestApiResponse GetRestApi(GetRestApiRequest request);
/// <summary>
/// Lists the RestApi resource in the collection.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetRestApi service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetRestApi service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetRestApi">REST API Reference for GetRestApi Operation</seealso>
Task<GetRestApiResponse> GetRestApiAsync(GetRestApiRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetRestApis
/// <summary>
/// Lists the RestApis resources for your collection.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetRestApis service method.</param>
///
/// <returns>The response from the GetRestApis service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetRestApis">REST API Reference for GetRestApis Operation</seealso>
GetRestApisResponse GetRestApis(GetRestApisRequest request);
/// <summary>
/// Lists the RestApis resources for your collection.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetRestApis service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetRestApis service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetRestApis">REST API Reference for GetRestApis Operation</seealso>
Task<GetRestApisResponse> GetRestApisAsync(GetRestApisRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetSdk
/// <summary>
/// Generates a client SDK for a RestApi and Stage.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetSdk service method.</param>
///
/// <returns>The response from the GetSdk service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetSdk">REST API Reference for GetSdk Operation</seealso>
GetSdkResponse GetSdk(GetSdkRequest request);
/// <summary>
/// Generates a client SDK for a RestApi and Stage.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetSdk service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetSdk service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetSdk">REST API Reference for GetSdk Operation</seealso>
Task<GetSdkResponse> GetSdkAsync(GetSdkRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetSdkType
/// <summary>
/// Gets an SDK type.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetSdkType service method.</param>
///
/// <returns>The response from the GetSdkType service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetSdkType">REST API Reference for GetSdkType Operation</seealso>
GetSdkTypeResponse GetSdkType(GetSdkTypeRequest request);
/// <summary>
/// Gets an SDK type.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetSdkType service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetSdkType service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetSdkType">REST API Reference for GetSdkType Operation</seealso>
Task<GetSdkTypeResponse> GetSdkTypeAsync(GetSdkTypeRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetSdkTypes
/// <summary>
/// Gets SDK types
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetSdkTypes service method.</param>
///
/// <returns>The response from the GetSdkTypes service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetSdkTypes">REST API Reference for GetSdkTypes Operation</seealso>
GetSdkTypesResponse GetSdkTypes(GetSdkTypesRequest request);
/// <summary>
/// Gets SDK types
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetSdkTypes service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetSdkTypes service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetSdkTypes">REST API Reference for GetSdkTypes Operation</seealso>
Task<GetSdkTypesResponse> GetSdkTypesAsync(GetSdkTypesRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetStage
/// <summary>
/// Gets information about a Stage resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetStage service method.</param>
///
/// <returns>The response from the GetStage service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetStage">REST API Reference for GetStage Operation</seealso>
GetStageResponse GetStage(GetStageRequest request);
/// <summary>
/// Gets information about a Stage resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetStage service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetStage service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetStage">REST API Reference for GetStage Operation</seealso>
Task<GetStageResponse> GetStageAsync(GetStageRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetStages
/// <summary>
/// Gets information about one or more Stage resources.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetStages service method.</param>
///
/// <returns>The response from the GetStages service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetStages">REST API Reference for GetStages Operation</seealso>
GetStagesResponse GetStages(GetStagesRequest request);
/// <summary>
/// Gets information about one or more Stage resources.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetStages service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetStages service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetStages">REST API Reference for GetStages Operation</seealso>
Task<GetStagesResponse> GetStagesAsync(GetStagesRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetTags
/// <summary>
/// Gets the Tags collection for a given resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetTags service method.</param>
///
/// <returns>The response from the GetTags service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetTags">REST API Reference for GetTags Operation</seealso>
GetTagsResponse GetTags(GetTagsRequest request);
/// <summary>
/// Gets the Tags collection for a given resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetTags service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetTags service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetTags">REST API Reference for GetTags Operation</seealso>
Task<GetTagsResponse> GetTagsAsync(GetTagsRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetUsage
/// <summary>
/// Gets the usage data of a usage plan in a specified time interval.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetUsage service method.</param>
///
/// <returns>The response from the GetUsage service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetUsage">REST API Reference for GetUsage Operation</seealso>
GetUsageResponse GetUsage(GetUsageRequest request);
/// <summary>
/// Gets the usage data of a usage plan in a specified time interval.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetUsage service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetUsage service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetUsage">REST API Reference for GetUsage Operation</seealso>
Task<GetUsageResponse> GetUsageAsync(GetUsageRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetUsagePlan
/// <summary>
/// Gets a usage plan of a given plan identifier.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetUsagePlan service method.</param>
///
/// <returns>The response from the GetUsagePlan service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetUsagePlan">REST API Reference for GetUsagePlan Operation</seealso>
GetUsagePlanResponse GetUsagePlan(GetUsagePlanRequest request);
/// <summary>
/// Gets a usage plan of a given plan identifier.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetUsagePlan service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetUsagePlan service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetUsagePlan">REST API Reference for GetUsagePlan Operation</seealso>
Task<GetUsagePlanResponse> GetUsagePlanAsync(GetUsagePlanRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetUsagePlanKey
/// <summary>
/// Gets a usage plan key of a given key identifier.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetUsagePlanKey service method.</param>
///
/// <returns>The response from the GetUsagePlanKey service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetUsagePlanKey">REST API Reference for GetUsagePlanKey Operation</seealso>
GetUsagePlanKeyResponse GetUsagePlanKey(GetUsagePlanKeyRequest request);
/// <summary>
/// Gets a usage plan key of a given key identifier.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetUsagePlanKey service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetUsagePlanKey service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetUsagePlanKey">REST API Reference for GetUsagePlanKey Operation</seealso>
Task<GetUsagePlanKeyResponse> GetUsagePlanKeyAsync(GetUsagePlanKeyRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetUsagePlanKeys
/// <summary>
/// Gets all the usage plan keys representing the API keys added to a specified usage
/// plan.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetUsagePlanKeys service method.</param>
///
/// <returns>The response from the GetUsagePlanKeys service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetUsagePlanKeys">REST API Reference for GetUsagePlanKeys Operation</seealso>
GetUsagePlanKeysResponse GetUsagePlanKeys(GetUsagePlanKeysRequest request);
/// <summary>
/// Gets all the usage plan keys representing the API keys added to a specified usage
/// plan.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetUsagePlanKeys service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetUsagePlanKeys service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetUsagePlanKeys">REST API Reference for GetUsagePlanKeys Operation</seealso>
Task<GetUsagePlanKeysResponse> GetUsagePlanKeysAsync(GetUsagePlanKeysRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetUsagePlans
/// <summary>
/// Gets all the usage plans of the caller's account.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetUsagePlans service method.</param>
///
/// <returns>The response from the GetUsagePlans service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetUsagePlans">REST API Reference for GetUsagePlans Operation</seealso>
GetUsagePlansResponse GetUsagePlans(GetUsagePlansRequest request);
/// <summary>
/// Gets all the usage plans of the caller's account.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetUsagePlans service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetUsagePlans service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetUsagePlans">REST API Reference for GetUsagePlans Operation</seealso>
Task<GetUsagePlansResponse> GetUsagePlansAsync(GetUsagePlansRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetVpcLink
/// <summary>
/// Gets a specified VPC link under the caller's account in a region.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetVpcLink service method.</param>
///
/// <returns>The response from the GetVpcLink service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetVpcLink">REST API Reference for GetVpcLink Operation</seealso>
GetVpcLinkResponse GetVpcLink(GetVpcLinkRequest request);
/// <summary>
/// Gets a specified VPC link under the caller's account in a region.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetVpcLink service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetVpcLink service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetVpcLink">REST API Reference for GetVpcLink Operation</seealso>
Task<GetVpcLinkResponse> GetVpcLinkAsync(GetVpcLinkRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetVpcLinks
/// <summary>
/// Gets the VpcLinks collection under the caller's account in a selected region.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetVpcLinks service method.</param>
///
/// <returns>The response from the GetVpcLinks service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetVpcLinks">REST API Reference for GetVpcLinks Operation</seealso>
GetVpcLinksResponse GetVpcLinks(GetVpcLinksRequest request);
/// <summary>
/// Gets the VpcLinks collection under the caller's account in a selected region.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetVpcLinks service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetVpcLinks service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetVpcLinks">REST API Reference for GetVpcLinks Operation</seealso>
Task<GetVpcLinksResponse> GetVpcLinksAsync(GetVpcLinksRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ImportApiKeys
/// <summary>
/// Import API keys from an external source, such as a CSV-formatted file.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ImportApiKeys service method.</param>
///
/// <returns>The response from the ImportApiKeys service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/ImportApiKeys">REST API Reference for ImportApiKeys Operation</seealso>
ImportApiKeysResponse ImportApiKeys(ImportApiKeysRequest request);
/// <summary>
/// Import API keys from an external source, such as a CSV-formatted file.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ImportApiKeys service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ImportApiKeys service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/ImportApiKeys">REST API Reference for ImportApiKeys Operation</seealso>
Task<ImportApiKeysResponse> ImportApiKeysAsync(ImportApiKeysRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ImportDocumentationParts
/// <summary>
/// Imports documentation parts
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ImportDocumentationParts service method.</param>
///
/// <returns>The response from the ImportDocumentationParts service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/ImportDocumentationParts">REST API Reference for ImportDocumentationParts Operation</seealso>
ImportDocumentationPartsResponse ImportDocumentationParts(ImportDocumentationPartsRequest request);
/// <summary>
/// Imports documentation parts
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ImportDocumentationParts service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ImportDocumentationParts service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/ImportDocumentationParts">REST API Reference for ImportDocumentationParts Operation</seealso>
Task<ImportDocumentationPartsResponse> ImportDocumentationPartsAsync(ImportDocumentationPartsRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ImportRestApi
/// <summary>
/// A feature of the API Gateway control service for creating a new API from an external
/// API definition file.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ImportRestApi service method.</param>
///
/// <returns>The response from the ImportRestApi service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/ImportRestApi">REST API Reference for ImportRestApi Operation</seealso>
ImportRestApiResponse ImportRestApi(ImportRestApiRequest request);
/// <summary>
/// A feature of the API Gateway control service for creating a new API from an external
/// API definition file.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ImportRestApi service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ImportRestApi service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/ImportRestApi">REST API Reference for ImportRestApi Operation</seealso>
Task<ImportRestApiResponse> ImportRestApiAsync(ImportRestApiRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region PutGatewayResponse
/// <summary>
/// Creates a customization of a GatewayResponse of a specified response type and status
/// code on the given RestApi.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the PutGatewayResponse service method.</param>
///
/// <returns>The response from the PutGatewayResponse service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/PutGatewayResponse">REST API Reference for PutGatewayResponse Operation</seealso>
PutGatewayResponseResponse PutGatewayResponse(PutGatewayResponseRequest request);
/// <summary>
/// Creates a customization of a GatewayResponse of a specified response type and status
/// code on the given RestApi.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the PutGatewayResponse service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the PutGatewayResponse service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/PutGatewayResponse">REST API Reference for PutGatewayResponse Operation</seealso>
Task<PutGatewayResponseResponse> PutGatewayResponseAsync(PutGatewayResponseRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region PutIntegration
/// <summary>
/// Sets up a method's integration.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the PutIntegration service method.</param>
///
/// <returns>The response from the PutIntegration service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/PutIntegration">REST API Reference for PutIntegration Operation</seealso>
PutIntegrationResponse PutIntegration(PutIntegrationRequest request);
/// <summary>
/// Sets up a method's integration.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the PutIntegration service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the PutIntegration service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/PutIntegration">REST API Reference for PutIntegration Operation</seealso>
Task<PutIntegrationResponse> PutIntegrationAsync(PutIntegrationRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region PutIntegrationResponse
/// <summary>
/// Represents a put integration.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the PutIntegrationResponse service method.</param>
///
/// <returns>The response from the PutIntegrationResponse service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/PutIntegrationResponse">REST API Reference for PutIntegrationResponse Operation</seealso>
PutIntegrationResponseResponse PutIntegrationResponse(PutIntegrationResponseRequest request);
/// <summary>
/// Represents a put integration.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the PutIntegrationResponse service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the PutIntegrationResponse service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/PutIntegrationResponse">REST API Reference for PutIntegrationResponse Operation</seealso>
Task<PutIntegrationResponseResponse> PutIntegrationResponseAsync(PutIntegrationResponseRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region PutMethod
/// <summary>
/// Add a method to an existing Resource resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the PutMethod service method.</param>
///
/// <returns>The response from the PutMethod service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/PutMethod">REST API Reference for PutMethod Operation</seealso>
PutMethodResponse PutMethod(PutMethodRequest request);
/// <summary>
/// Add a method to an existing Resource resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the PutMethod service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the PutMethod service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/PutMethod">REST API Reference for PutMethod Operation</seealso>
Task<PutMethodResponse> PutMethodAsync(PutMethodRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region PutMethodResponse
/// <summary>
/// Adds a MethodResponse to an existing Method resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the PutMethodResponse service method.</param>
///
/// <returns>The response from the PutMethodResponse service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/PutMethodResponse">REST API Reference for PutMethodResponse Operation</seealso>
PutMethodResponseResponse PutMethodResponse(PutMethodResponseRequest request);
/// <summary>
/// Adds a MethodResponse to an existing Method resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the PutMethodResponse service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the PutMethodResponse service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/PutMethodResponse">REST API Reference for PutMethodResponse Operation</seealso>
Task<PutMethodResponseResponse> PutMethodResponseAsync(PutMethodResponseRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region PutRestApi
/// <summary>
/// A feature of the API Gateway control service for updating an existing API with an
/// input of external API definitions. The update can take the form of merging the supplied
/// definition into the existing API or overwriting the existing API.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the PutRestApi service method.</param>
///
/// <returns>The response from the PutRestApi service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/PutRestApi">REST API Reference for PutRestApi Operation</seealso>
PutRestApiResponse PutRestApi(PutRestApiRequest request);
/// <summary>
/// A feature of the API Gateway control service for updating an existing API with an
/// input of external API definitions. The update can take the form of merging the supplied
/// definition into the existing API or overwriting the existing API.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the PutRestApi service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the PutRestApi service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/PutRestApi">REST API Reference for PutRestApi Operation</seealso>
Task<PutRestApiResponse> PutRestApiAsync(PutRestApiRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region TagResource
/// <summary>
/// Adds or updates a tag on a given resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the TagResource service method.</param>
///
/// <returns>The response from the TagResource service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/TagResource">REST API Reference for TagResource Operation</seealso>
TagResourceResponse TagResource(TagResourceRequest request);
/// <summary>
/// Adds or updates a tag on a given resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the TagResource service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the TagResource service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/TagResource">REST API Reference for TagResource Operation</seealso>
Task<TagResourceResponse> TagResourceAsync(TagResourceRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region TestInvokeAuthorizer
/// <summary>
/// Simulate the execution of an Authorizer in your RestApi with headers, parameters,
/// and an incoming request body.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the TestInvokeAuthorizer service method.</param>
///
/// <returns>The response from the TestInvokeAuthorizer service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/TestInvokeAuthorizer">REST API Reference for TestInvokeAuthorizer Operation</seealso>
TestInvokeAuthorizerResponse TestInvokeAuthorizer(TestInvokeAuthorizerRequest request);
/// <summary>
/// Simulate the execution of an Authorizer in your RestApi with headers, parameters,
/// and an incoming request body.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the TestInvokeAuthorizer service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the TestInvokeAuthorizer service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/TestInvokeAuthorizer">REST API Reference for TestInvokeAuthorizer Operation</seealso>
Task<TestInvokeAuthorizerResponse> TestInvokeAuthorizerAsync(TestInvokeAuthorizerRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region TestInvokeMethod
/// <summary>
/// Simulate the invocation of a Method in your RestApi with headers, parameters, and
/// an incoming request body.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the TestInvokeMethod service method.</param>
///
/// <returns>The response from the TestInvokeMethod service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/TestInvokeMethod">REST API Reference for TestInvokeMethod Operation</seealso>
TestInvokeMethodResponse TestInvokeMethod(TestInvokeMethodRequest request);
/// <summary>
/// Simulate the invocation of a Method in your RestApi with headers, parameters, and
/// an incoming request body.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the TestInvokeMethod service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the TestInvokeMethod service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/TestInvokeMethod">REST API Reference for TestInvokeMethod Operation</seealso>
Task<TestInvokeMethodResponse> TestInvokeMethodAsync(TestInvokeMethodRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UntagResource
/// <summary>
/// Removes a tag from a given resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UntagResource service method.</param>
///
/// <returns>The response from the UntagResource service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UntagResource">REST API Reference for UntagResource Operation</seealso>
UntagResourceResponse UntagResource(UntagResourceRequest request);
/// <summary>
/// Removes a tag from a given resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UntagResource service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UntagResource service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UntagResource">REST API Reference for UntagResource Operation</seealso>
Task<UntagResourceResponse> UntagResourceAsync(UntagResourceRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateAccount
/// <summary>
/// Changes information about the current Account resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateAccount service method.</param>
///
/// <returns>The response from the UpdateAccount service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateAccount">REST API Reference for UpdateAccount Operation</seealso>
UpdateAccountResponse UpdateAccount(UpdateAccountRequest request);
/// <summary>
/// Changes information about the current Account resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateAccount service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateAccount service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateAccount">REST API Reference for UpdateAccount Operation</seealso>
Task<UpdateAccountResponse> UpdateAccountAsync(UpdateAccountRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateApiKey
/// <summary>
/// Changes information about an ApiKey resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateApiKey service method.</param>
///
/// <returns>The response from the UpdateApiKey service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateApiKey">REST API Reference for UpdateApiKey Operation</seealso>
UpdateApiKeyResponse UpdateApiKey(UpdateApiKeyRequest request);
/// <summary>
/// Changes information about an ApiKey resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateApiKey service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateApiKey service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateApiKey">REST API Reference for UpdateApiKey Operation</seealso>
Task<UpdateApiKeyResponse> UpdateApiKeyAsync(UpdateApiKeyRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateAuthorizer
/// <summary>
/// Updates an existing Authorizer resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateAuthorizer service method.</param>
///
/// <returns>The response from the UpdateAuthorizer service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateAuthorizer">REST API Reference for UpdateAuthorizer Operation</seealso>
UpdateAuthorizerResponse UpdateAuthorizer(UpdateAuthorizerRequest request);
/// <summary>
/// Updates an existing Authorizer resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateAuthorizer service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateAuthorizer service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateAuthorizer">REST API Reference for UpdateAuthorizer Operation</seealso>
Task<UpdateAuthorizerResponse> UpdateAuthorizerAsync(UpdateAuthorizerRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateBasePathMapping
/// <summary>
/// Changes information about the BasePathMapping resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateBasePathMapping service method.</param>
///
/// <returns>The response from the UpdateBasePathMapping service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateBasePathMapping">REST API Reference for UpdateBasePathMapping Operation</seealso>
UpdateBasePathMappingResponse UpdateBasePathMapping(UpdateBasePathMappingRequest request);
/// <summary>
/// Changes information about the BasePathMapping resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateBasePathMapping service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateBasePathMapping service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateBasePathMapping">REST API Reference for UpdateBasePathMapping Operation</seealso>
Task<UpdateBasePathMappingResponse> UpdateBasePathMappingAsync(UpdateBasePathMappingRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateClientCertificate
/// <summary>
/// Changes information about an ClientCertificate resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateClientCertificate service method.</param>
///
/// <returns>The response from the UpdateClientCertificate service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateClientCertificate">REST API Reference for UpdateClientCertificate Operation</seealso>
UpdateClientCertificateResponse UpdateClientCertificate(UpdateClientCertificateRequest request);
/// <summary>
/// Changes information about an ClientCertificate resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateClientCertificate service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateClientCertificate service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateClientCertificate">REST API Reference for UpdateClientCertificate Operation</seealso>
Task<UpdateClientCertificateResponse> UpdateClientCertificateAsync(UpdateClientCertificateRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateDeployment
/// <summary>
/// Changes information about a Deployment resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateDeployment service method.</param>
///
/// <returns>The response from the UpdateDeployment service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ServiceUnavailableException">
/// The requested service is not available. For details see the accompanying error message.
/// Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateDeployment">REST API Reference for UpdateDeployment Operation</seealso>
UpdateDeploymentResponse UpdateDeployment(UpdateDeploymentRequest request);
/// <summary>
/// Changes information about a Deployment resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateDeployment service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateDeployment service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ServiceUnavailableException">
/// The requested service is not available. For details see the accompanying error message.
/// Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateDeployment">REST API Reference for UpdateDeployment Operation</seealso>
Task<UpdateDeploymentResponse> UpdateDeploymentAsync(UpdateDeploymentRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateDocumentationPart
/// <summary>
/// Updates a documentation part.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateDocumentationPart service method.</param>
///
/// <returns>The response from the UpdateDocumentationPart service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateDocumentationPart">REST API Reference for UpdateDocumentationPart Operation</seealso>
UpdateDocumentationPartResponse UpdateDocumentationPart(UpdateDocumentationPartRequest request);
/// <summary>
/// Updates a documentation part.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateDocumentationPart service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateDocumentationPart service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateDocumentationPart">REST API Reference for UpdateDocumentationPart Operation</seealso>
Task<UpdateDocumentationPartResponse> UpdateDocumentationPartAsync(UpdateDocumentationPartRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateDocumentationVersion
/// <summary>
/// Updates a documentation version.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateDocumentationVersion service method.</param>
///
/// <returns>The response from the UpdateDocumentationVersion service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateDocumentationVersion">REST API Reference for UpdateDocumentationVersion Operation</seealso>
UpdateDocumentationVersionResponse UpdateDocumentationVersion(UpdateDocumentationVersionRequest request);
/// <summary>
/// Updates a documentation version.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateDocumentationVersion service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateDocumentationVersion service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateDocumentationVersion">REST API Reference for UpdateDocumentationVersion Operation</seealso>
Task<UpdateDocumentationVersionResponse> UpdateDocumentationVersionAsync(UpdateDocumentationVersionRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateDomainName
/// <summary>
/// Changes information about the DomainName resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateDomainName service method.</param>
///
/// <returns>The response from the UpdateDomainName service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateDomainName">REST API Reference for UpdateDomainName Operation</seealso>
UpdateDomainNameResponse UpdateDomainName(UpdateDomainNameRequest request);
/// <summary>
/// Changes information about the DomainName resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateDomainName service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateDomainName service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateDomainName">REST API Reference for UpdateDomainName Operation</seealso>
Task<UpdateDomainNameResponse> UpdateDomainNameAsync(UpdateDomainNameRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateGatewayResponse
/// <summary>
/// Updates a GatewayResponse of a specified response type on the given RestApi.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateGatewayResponse service method.</param>
///
/// <returns>The response from the UpdateGatewayResponse service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateGatewayResponse">REST API Reference for UpdateGatewayResponse Operation</seealso>
UpdateGatewayResponseResponse UpdateGatewayResponse(UpdateGatewayResponseRequest request);
/// <summary>
/// Updates a GatewayResponse of a specified response type on the given RestApi.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateGatewayResponse service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateGatewayResponse service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateGatewayResponse">REST API Reference for UpdateGatewayResponse Operation</seealso>
Task<UpdateGatewayResponseResponse> UpdateGatewayResponseAsync(UpdateGatewayResponseRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateIntegration
/// <summary>
/// Represents an update integration.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateIntegration service method.</param>
///
/// <returns>The response from the UpdateIntegration service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateIntegration">REST API Reference for UpdateIntegration Operation</seealso>
UpdateIntegrationResponse UpdateIntegration(UpdateIntegrationRequest request);
/// <summary>
/// Represents an update integration.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateIntegration service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateIntegration service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateIntegration">REST API Reference for UpdateIntegration Operation</seealso>
Task<UpdateIntegrationResponse> UpdateIntegrationAsync(UpdateIntegrationRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateIntegrationResponse
/// <summary>
/// Represents an update integration response.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateIntegrationResponse service method.</param>
///
/// <returns>The response from the UpdateIntegrationResponse service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateIntegrationResponse">REST API Reference for UpdateIntegrationResponse Operation</seealso>
UpdateIntegrationResponseResponse UpdateIntegrationResponse(UpdateIntegrationResponseRequest request);
/// <summary>
/// Represents an update integration response.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateIntegrationResponse service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateIntegrationResponse service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateIntegrationResponse">REST API Reference for UpdateIntegrationResponse Operation</seealso>
Task<UpdateIntegrationResponseResponse> UpdateIntegrationResponseAsync(UpdateIntegrationResponseRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateMethod
/// <summary>
/// Updates an existing Method resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateMethod service method.</param>
///
/// <returns>The response from the UpdateMethod service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateMethod">REST API Reference for UpdateMethod Operation</seealso>
UpdateMethodResponse UpdateMethod(UpdateMethodRequest request);
/// <summary>
/// Updates an existing Method resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateMethod service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateMethod service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateMethod">REST API Reference for UpdateMethod Operation</seealso>
Task<UpdateMethodResponse> UpdateMethodAsync(UpdateMethodRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateMethodResponse
/// <summary>
/// Updates an existing MethodResponse resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateMethodResponse service method.</param>
///
/// <returns>The response from the UpdateMethodResponse service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateMethodResponse">REST API Reference for UpdateMethodResponse Operation</seealso>
UpdateMethodResponseResponse UpdateMethodResponse(UpdateMethodResponseRequest request);
/// <summary>
/// Updates an existing MethodResponse resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateMethodResponse service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateMethodResponse service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateMethodResponse">REST API Reference for UpdateMethodResponse Operation</seealso>
Task<UpdateMethodResponseResponse> UpdateMethodResponseAsync(UpdateMethodResponseRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateModel
/// <summary>
/// Changes information about a model.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateModel service method.</param>
///
/// <returns>The response from the UpdateModel service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateModel">REST API Reference for UpdateModel Operation</seealso>
UpdateModelResponse UpdateModel(UpdateModelRequest request);
/// <summary>
/// Changes information about a model.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateModel service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateModel service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateModel">REST API Reference for UpdateModel Operation</seealso>
Task<UpdateModelResponse> UpdateModelAsync(UpdateModelRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateRequestValidator
/// <summary>
/// Updates a RequestValidator of a given RestApi.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateRequestValidator service method.</param>
///
/// <returns>The response from the UpdateRequestValidator service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateRequestValidator">REST API Reference for UpdateRequestValidator Operation</seealso>
UpdateRequestValidatorResponse UpdateRequestValidator(UpdateRequestValidatorRequest request);
/// <summary>
/// Updates a RequestValidator of a given RestApi.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateRequestValidator service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateRequestValidator service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateRequestValidator">REST API Reference for UpdateRequestValidator Operation</seealso>
Task<UpdateRequestValidatorResponse> UpdateRequestValidatorAsync(UpdateRequestValidatorRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateResource
/// <summary>
/// Changes information about a Resource resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateResource service method.</param>
///
/// <returns>The response from the UpdateResource service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateResource">REST API Reference for UpdateResource Operation</seealso>
UpdateResourceResponse UpdateResource(UpdateResourceRequest request);
/// <summary>
/// Changes information about a Resource resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateResource service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateResource service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateResource">REST API Reference for UpdateResource Operation</seealso>
Task<UpdateResourceResponse> UpdateResourceAsync(UpdateResourceRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateRestApi
/// <summary>
/// Changes information about the specified API.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateRestApi service method.</param>
///
/// <returns>The response from the UpdateRestApi service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateRestApi">REST API Reference for UpdateRestApi Operation</seealso>
UpdateRestApiResponse UpdateRestApi(UpdateRestApiRequest request);
/// <summary>
/// Changes information about the specified API.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateRestApi service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateRestApi service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateRestApi">REST API Reference for UpdateRestApi Operation</seealso>
Task<UpdateRestApiResponse> UpdateRestApiAsync(UpdateRestApiRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateStage
/// <summary>
/// Changes information about a Stage resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateStage service method.</param>
///
/// <returns>The response from the UpdateStage service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateStage">REST API Reference for UpdateStage Operation</seealso>
UpdateStageResponse UpdateStage(UpdateStageRequest request);
/// <summary>
/// Changes information about a Stage resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateStage service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateStage service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateStage">REST API Reference for UpdateStage Operation</seealso>
Task<UpdateStageResponse> UpdateStageAsync(UpdateStageRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateUsage
/// <summary>
/// Grants a temporary extension to the remaining quota of a usage plan associated with
/// a specified API key.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateUsage service method.</param>
///
/// <returns>The response from the UpdateUsage service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateUsage">REST API Reference for UpdateUsage Operation</seealso>
UpdateUsageResponse UpdateUsage(UpdateUsageRequest request);
/// <summary>
/// Grants a temporary extension to the remaining quota of a usage plan associated with
/// a specified API key.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateUsage service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateUsage service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateUsage">REST API Reference for UpdateUsage Operation</seealso>
Task<UpdateUsageResponse> UpdateUsageAsync(UpdateUsageRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateUsagePlan
/// <summary>
/// Updates a usage plan of a given plan Id.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateUsagePlan service method.</param>
///
/// <returns>The response from the UpdateUsagePlan service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateUsagePlan">REST API Reference for UpdateUsagePlan Operation</seealso>
UpdateUsagePlanResponse UpdateUsagePlan(UpdateUsagePlanRequest request);
/// <summary>
/// Updates a usage plan of a given plan Id.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateUsagePlan service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateUsagePlan service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateUsagePlan">REST API Reference for UpdateUsagePlan Operation</seealso>
Task<UpdateUsagePlanResponse> UpdateUsagePlanAsync(UpdateUsagePlanRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateVpcLink
/// <summary>
/// Updates an existing VpcLink of a specified identifier.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateVpcLink service method.</param>
///
/// <returns>The response from the UpdateVpcLink service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateVpcLink">REST API Reference for UpdateVpcLink Operation</seealso>
UpdateVpcLinkResponse UpdateVpcLink(UpdateVpcLinkRequest request);
/// <summary>
/// Updates an existing VpcLink of a specified identifier.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateVpcLink service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateVpcLink service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateVpcLink">REST API Reference for UpdateVpcLink Operation</seealso>
Task<UpdateVpcLinkResponse> UpdateVpcLinkAsync(UpdateVpcLinkRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
}
} | 7,322 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apigateway-2015-07-09.normal.json service model.
*/
using System;
using System.Runtime.ExceptionServices;
using System.Threading;
using System.Threading.Tasks;
using System.Collections.Generic;
using System.Net;
using Amazon.APIGateway.Model;
using Amazon.APIGateway.Model.Internal.MarshallTransformations;
using Amazon.APIGateway.Internal;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Auth;
using Amazon.Runtime.Internal.Transform;
namespace Amazon.APIGateway
{
/// <summary>
/// Implementation for accessing APIGateway
///
/// Amazon API Gateway
/// <para>
/// Amazon API Gateway helps developers deliver robust, secure, and scalable mobile and
/// web application back ends. API Gateway allows developers to securely connect mobile
/// and web applications to APIs that run on AWS Lambda, Amazon EC2, or other publicly
/// addressable web services that are hosted outside of AWS.
/// </para>
/// </summary>
public partial class AmazonAPIGatewayClient : AmazonServiceClient, IAmazonAPIGateway
{
private static IServiceMetadata serviceMetadata = new AmazonAPIGatewayMetadata();
#region Constructors
/// <summary>
/// Constructs AmazonAPIGatewayClient with the credentials loaded from the application's
/// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance.
///
/// Example App.config with credentials set.
/// <code>
/// <?xml version="1.0" encoding="utf-8" ?>
/// <configuration>
/// <appSettings>
/// <add key="AWSProfileName" value="AWS Default"/>
/// </appSettings>
/// </configuration>
/// </code>
///
/// </summary>
public AmazonAPIGatewayClient()
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonAPIGatewayConfig()) { }
/// <summary>
/// Constructs AmazonAPIGatewayClient with the credentials loaded from the application's
/// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance.
///
/// Example App.config with credentials set.
/// <code>
/// <?xml version="1.0" encoding="utf-8" ?>
/// <configuration>
/// <appSettings>
/// <add key="AWSProfileName" value="AWS Default"/>
/// </appSettings>
/// </configuration>
/// </code>
///
/// </summary>
/// <param name="region">The region to connect.</param>
public AmazonAPIGatewayClient(RegionEndpoint region)
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonAPIGatewayConfig{RegionEndpoint = region}) { }
/// <summary>
/// Constructs AmazonAPIGatewayClient with the credentials loaded from the application's
/// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance.
///
/// Example App.config with credentials set.
/// <code>
/// <?xml version="1.0" encoding="utf-8" ?>
/// <configuration>
/// <appSettings>
/// <add key="AWSProfileName" value="AWS Default"/>
/// </appSettings>
/// </configuration>
/// </code>
///
/// </summary>
/// <param name="config">The AmazonAPIGatewayClient Configuration Object</param>
public AmazonAPIGatewayClient(AmazonAPIGatewayConfig config)
: base(FallbackCredentialsFactory.GetCredentials(), config) { }
/// <summary>
/// Constructs AmazonAPIGatewayClient with AWS Credentials
/// </summary>
/// <param name="credentials">AWS Credentials</param>
public AmazonAPIGatewayClient(AWSCredentials credentials)
: this(credentials, new AmazonAPIGatewayConfig())
{
}
/// <summary>
/// Constructs AmazonAPIGatewayClient with AWS Credentials
/// </summary>
/// <param name="credentials">AWS Credentials</param>
/// <param name="region">The region to connect.</param>
public AmazonAPIGatewayClient(AWSCredentials credentials, RegionEndpoint region)
: this(credentials, new AmazonAPIGatewayConfig{RegionEndpoint = region})
{
}
/// <summary>
/// Constructs AmazonAPIGatewayClient with AWS Credentials and an
/// AmazonAPIGatewayClient Configuration object.
/// </summary>
/// <param name="credentials">AWS Credentials</param>
/// <param name="clientConfig">The AmazonAPIGatewayClient Configuration Object</param>
public AmazonAPIGatewayClient(AWSCredentials credentials, AmazonAPIGatewayConfig clientConfig)
: base(credentials, clientConfig)
{
}
/// <summary>
/// Constructs AmazonAPIGatewayClient with AWS Access Key ID and AWS Secret Key
/// </summary>
/// <param name="awsAccessKeyId">AWS Access Key ID</param>
/// <param name="awsSecretAccessKey">AWS Secret Access Key</param>
public AmazonAPIGatewayClient(string awsAccessKeyId, string awsSecretAccessKey)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonAPIGatewayConfig())
{
}
/// <summary>
/// Constructs AmazonAPIGatewayClient with AWS Access Key ID and AWS Secret Key
/// </summary>
/// <param name="awsAccessKeyId">AWS Access Key ID</param>
/// <param name="awsSecretAccessKey">AWS Secret Access Key</param>
/// <param name="region">The region to connect.</param>
public AmazonAPIGatewayClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonAPIGatewayConfig() {RegionEndpoint=region})
{
}
/// <summary>
/// Constructs AmazonAPIGatewayClient with AWS Access Key ID, AWS Secret Key and an
/// AmazonAPIGatewayClient Configuration object.
/// </summary>
/// <param name="awsAccessKeyId">AWS Access Key ID</param>
/// <param name="awsSecretAccessKey">AWS Secret Access Key</param>
/// <param name="clientConfig">The AmazonAPIGatewayClient Configuration Object</param>
public AmazonAPIGatewayClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonAPIGatewayConfig clientConfig)
: base(awsAccessKeyId, awsSecretAccessKey, clientConfig)
{
}
/// <summary>
/// Constructs AmazonAPIGatewayClient with AWS Access Key ID and AWS Secret Key
/// </summary>
/// <param name="awsAccessKeyId">AWS Access Key ID</param>
/// <param name="awsSecretAccessKey">AWS Secret Access Key</param>
/// <param name="awsSessionToken">AWS Session Token</param>
public AmazonAPIGatewayClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonAPIGatewayConfig())
{
}
/// <summary>
/// Constructs AmazonAPIGatewayClient with AWS Access Key ID and AWS Secret Key
/// </summary>
/// <param name="awsAccessKeyId">AWS Access Key ID</param>
/// <param name="awsSecretAccessKey">AWS Secret Access Key</param>
/// <param name="awsSessionToken">AWS Session Token</param>
/// <param name="region">The region to connect.</param>
public AmazonAPIGatewayClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonAPIGatewayConfig{RegionEndpoint = region})
{
}
/// <summary>
/// Constructs AmazonAPIGatewayClient with AWS Access Key ID, AWS Secret Key and an
/// AmazonAPIGatewayClient Configuration object.
/// </summary>
/// <param name="awsAccessKeyId">AWS Access Key ID</param>
/// <param name="awsSecretAccessKey">AWS Secret Access Key</param>
/// <param name="awsSessionToken">AWS Session Token</param>
/// <param name="clientConfig">The AmazonAPIGatewayClient Configuration Object</param>
public AmazonAPIGatewayClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonAPIGatewayConfig clientConfig)
: base(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, clientConfig)
{
}
#endregion
#if AWS_ASYNC_ENUMERABLES_API
private IAPIGatewayPaginatorFactory _paginators;
/// <summary>
/// Paginators for the service
/// </summary>
public IAPIGatewayPaginatorFactory Paginators
{
get
{
if (this._paginators == null)
{
this._paginators = new APIGatewayPaginatorFactory(this);
}
return this._paginators;
}
}
#endif
#region Overrides
/// <summary>
/// Creates the signer for the service.
/// </summary>
protected override AbstractAWSSigner CreateSigner()
{
return new AWS4Signer();
}
/// <summary>
/// Customizes the runtime pipeline.
/// </summary>
/// <param name="pipeline">Runtime pipeline for the current client.</param>
protected override void CustomizeRuntimePipeline(RuntimePipeline pipeline)
{
pipeline.AddHandlerAfter<Amazon.Runtime.Internal.Marshaller>(new Amazon.APIGateway.Internal.AmazonAPIGatewayPostMarshallHandler());
pipeline.RemoveHandler<Amazon.Runtime.Internal.EndpointResolver>();
pipeline.AddHandlerAfter<Amazon.Runtime.Internal.Marshaller>(new AmazonAPIGatewayEndpointResolver());
}
/// <summary>
/// Capture metadata for the service.
/// </summary>
protected override IServiceMetadata ServiceMetadata
{
get
{
return serviceMetadata;
}
}
#endregion
#region Dispose
/// <summary>
/// Disposes the service client.
/// </summary>
protected override void Dispose(bool disposing)
{
base.Dispose(disposing);
}
#endregion
#region CreateApiKey
internal virtual CreateApiKeyResponse CreateApiKey(CreateApiKeyRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateApiKeyRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateApiKeyResponseUnmarshaller.Instance;
return Invoke<CreateApiKeyResponse>(request, options);
}
/// <summary>
/// Create an ApiKey resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateApiKey service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateApiKey service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/CreateApiKey">REST API Reference for CreateApiKey Operation</seealso>
public virtual Task<CreateApiKeyResponse> CreateApiKeyAsync(CreateApiKeyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateApiKeyRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateApiKeyResponseUnmarshaller.Instance;
return InvokeAsync<CreateApiKeyResponse>(request, options, cancellationToken);
}
#endregion
#region CreateAuthorizer
internal virtual CreateAuthorizerResponse CreateAuthorizer(CreateAuthorizerRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateAuthorizerRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateAuthorizerResponseUnmarshaller.Instance;
return Invoke<CreateAuthorizerResponse>(request, options);
}
/// <summary>
/// Adds a new Authorizer resource to an existing RestApi resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateAuthorizer service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateAuthorizer service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/CreateAuthorizer">REST API Reference for CreateAuthorizer Operation</seealso>
public virtual Task<CreateAuthorizerResponse> CreateAuthorizerAsync(CreateAuthorizerRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateAuthorizerRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateAuthorizerResponseUnmarshaller.Instance;
return InvokeAsync<CreateAuthorizerResponse>(request, options, cancellationToken);
}
#endregion
#region CreateBasePathMapping
internal virtual CreateBasePathMappingResponse CreateBasePathMapping(CreateBasePathMappingRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateBasePathMappingRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateBasePathMappingResponseUnmarshaller.Instance;
return Invoke<CreateBasePathMappingResponse>(request, options);
}
/// <summary>
/// Creates a new BasePathMapping resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateBasePathMapping service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateBasePathMapping service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/CreateBasePathMapping">REST API Reference for CreateBasePathMapping Operation</seealso>
public virtual Task<CreateBasePathMappingResponse> CreateBasePathMappingAsync(CreateBasePathMappingRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateBasePathMappingRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateBasePathMappingResponseUnmarshaller.Instance;
return InvokeAsync<CreateBasePathMappingResponse>(request, options, cancellationToken);
}
#endregion
#region CreateDeployment
internal virtual CreateDeploymentResponse CreateDeployment(CreateDeploymentRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateDeploymentRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateDeploymentResponseUnmarshaller.Instance;
return Invoke<CreateDeploymentResponse>(request, options);
}
/// <summary>
/// Creates a Deployment resource, which makes a specified RestApi callable over the internet.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateDeployment service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateDeployment service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ServiceUnavailableException">
/// The requested service is not available. For details see the accompanying error message.
/// Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/CreateDeployment">REST API Reference for CreateDeployment Operation</seealso>
public virtual Task<CreateDeploymentResponse> CreateDeploymentAsync(CreateDeploymentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateDeploymentRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateDeploymentResponseUnmarshaller.Instance;
return InvokeAsync<CreateDeploymentResponse>(request, options, cancellationToken);
}
#endregion
#region CreateDocumentationPart
internal virtual CreateDocumentationPartResponse CreateDocumentationPart(CreateDocumentationPartRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateDocumentationPartRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateDocumentationPartResponseUnmarshaller.Instance;
return Invoke<CreateDocumentationPartResponse>(request, options);
}
/// <summary>
/// Creates a documentation part.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateDocumentationPart service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateDocumentationPart service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/CreateDocumentationPart">REST API Reference for CreateDocumentationPart Operation</seealso>
public virtual Task<CreateDocumentationPartResponse> CreateDocumentationPartAsync(CreateDocumentationPartRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateDocumentationPartRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateDocumentationPartResponseUnmarshaller.Instance;
return InvokeAsync<CreateDocumentationPartResponse>(request, options, cancellationToken);
}
#endregion
#region CreateDocumentationVersion
internal virtual CreateDocumentationVersionResponse CreateDocumentationVersion(CreateDocumentationVersionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateDocumentationVersionRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateDocumentationVersionResponseUnmarshaller.Instance;
return Invoke<CreateDocumentationVersionResponse>(request, options);
}
/// <summary>
/// Creates a documentation version
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateDocumentationVersion service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateDocumentationVersion service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/CreateDocumentationVersion">REST API Reference for CreateDocumentationVersion Operation</seealso>
public virtual Task<CreateDocumentationVersionResponse> CreateDocumentationVersionAsync(CreateDocumentationVersionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateDocumentationVersionRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateDocumentationVersionResponseUnmarshaller.Instance;
return InvokeAsync<CreateDocumentationVersionResponse>(request, options, cancellationToken);
}
#endregion
#region CreateDomainName
internal virtual CreateDomainNameResponse CreateDomainName(CreateDomainNameRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateDomainNameRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateDomainNameResponseUnmarshaller.Instance;
return Invoke<CreateDomainNameResponse>(request, options);
}
/// <summary>
/// Creates a new domain name.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateDomainName service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateDomainName service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/CreateDomainName">REST API Reference for CreateDomainName Operation</seealso>
public virtual Task<CreateDomainNameResponse> CreateDomainNameAsync(CreateDomainNameRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateDomainNameRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateDomainNameResponseUnmarshaller.Instance;
return InvokeAsync<CreateDomainNameResponse>(request, options, cancellationToken);
}
#endregion
#region CreateModel
internal virtual CreateModelResponse CreateModel(CreateModelRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateModelRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateModelResponseUnmarshaller.Instance;
return Invoke<CreateModelResponse>(request, options);
}
/// <summary>
/// Adds a new Model resource to an existing RestApi resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateModel service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateModel service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/CreateModel">REST API Reference for CreateModel Operation</seealso>
public virtual Task<CreateModelResponse> CreateModelAsync(CreateModelRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateModelRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateModelResponseUnmarshaller.Instance;
return InvokeAsync<CreateModelResponse>(request, options, cancellationToken);
}
#endregion
#region CreateRequestValidator
internal virtual CreateRequestValidatorResponse CreateRequestValidator(CreateRequestValidatorRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateRequestValidatorRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateRequestValidatorResponseUnmarshaller.Instance;
return Invoke<CreateRequestValidatorResponse>(request, options);
}
/// <summary>
/// Creates a RequestValidator of a given RestApi.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateRequestValidator service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateRequestValidator service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/CreateRequestValidator">REST API Reference for CreateRequestValidator Operation</seealso>
public virtual Task<CreateRequestValidatorResponse> CreateRequestValidatorAsync(CreateRequestValidatorRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateRequestValidatorRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateRequestValidatorResponseUnmarshaller.Instance;
return InvokeAsync<CreateRequestValidatorResponse>(request, options, cancellationToken);
}
#endregion
#region CreateResource
internal virtual CreateResourceResponse CreateResource(CreateResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateResourceResponseUnmarshaller.Instance;
return Invoke<CreateResourceResponse>(request, options);
}
/// <summary>
/// Creates a Resource resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateResource service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateResource service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/CreateResource">REST API Reference for CreateResource Operation</seealso>
public virtual Task<CreateResourceResponse> CreateResourceAsync(CreateResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateResourceResponseUnmarshaller.Instance;
return InvokeAsync<CreateResourceResponse>(request, options, cancellationToken);
}
#endregion
#region CreateRestApi
internal virtual CreateRestApiResponse CreateRestApi(CreateRestApiRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateRestApiRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateRestApiResponseUnmarshaller.Instance;
return Invoke<CreateRestApiResponse>(request, options);
}
/// <summary>
/// Creates a new RestApi resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateRestApi service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateRestApi service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/CreateRestApi">REST API Reference for CreateRestApi Operation</seealso>
public virtual Task<CreateRestApiResponse> CreateRestApiAsync(CreateRestApiRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateRestApiRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateRestApiResponseUnmarshaller.Instance;
return InvokeAsync<CreateRestApiResponse>(request, options, cancellationToken);
}
#endregion
#region CreateStage
internal virtual CreateStageResponse CreateStage(CreateStageRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateStageRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateStageResponseUnmarshaller.Instance;
return Invoke<CreateStageResponse>(request, options);
}
/// <summary>
/// Creates a new Stage resource that references a pre-existing Deployment for the API.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateStage service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateStage service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/CreateStage">REST API Reference for CreateStage Operation</seealso>
public virtual Task<CreateStageResponse> CreateStageAsync(CreateStageRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateStageRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateStageResponseUnmarshaller.Instance;
return InvokeAsync<CreateStageResponse>(request, options, cancellationToken);
}
#endregion
#region CreateUsagePlan
internal virtual CreateUsagePlanResponse CreateUsagePlan(CreateUsagePlanRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateUsagePlanRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateUsagePlanResponseUnmarshaller.Instance;
return Invoke<CreateUsagePlanResponse>(request, options);
}
/// <summary>
/// Creates a usage plan with the throttle and quota limits, as well as the associated
/// API stages, specified in the payload.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateUsagePlan service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateUsagePlan service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/CreateUsagePlan">REST API Reference for CreateUsagePlan Operation</seealso>
public virtual Task<CreateUsagePlanResponse> CreateUsagePlanAsync(CreateUsagePlanRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateUsagePlanRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateUsagePlanResponseUnmarshaller.Instance;
return InvokeAsync<CreateUsagePlanResponse>(request, options, cancellationToken);
}
#endregion
#region CreateUsagePlanKey
internal virtual CreateUsagePlanKeyResponse CreateUsagePlanKey(CreateUsagePlanKeyRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateUsagePlanKeyRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateUsagePlanKeyResponseUnmarshaller.Instance;
return Invoke<CreateUsagePlanKeyResponse>(request, options);
}
/// <summary>
/// Creates a usage plan key for adding an existing API key to a usage plan.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateUsagePlanKey service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateUsagePlanKey service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/CreateUsagePlanKey">REST API Reference for CreateUsagePlanKey Operation</seealso>
public virtual Task<CreateUsagePlanKeyResponse> CreateUsagePlanKeyAsync(CreateUsagePlanKeyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateUsagePlanKeyRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateUsagePlanKeyResponseUnmarshaller.Instance;
return InvokeAsync<CreateUsagePlanKeyResponse>(request, options, cancellationToken);
}
#endregion
#region CreateVpcLink
internal virtual CreateVpcLinkResponse CreateVpcLink(CreateVpcLinkRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateVpcLinkRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateVpcLinkResponseUnmarshaller.Instance;
return Invoke<CreateVpcLinkResponse>(request, options);
}
/// <summary>
/// Creates a VPC link, under the caller's account in a selected region, in an asynchronous
/// operation that typically takes 2-4 minutes to complete and become operational. The
/// caller must have permissions to create and update VPC Endpoint services.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateVpcLink service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateVpcLink service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/CreateVpcLink">REST API Reference for CreateVpcLink Operation</seealso>
public virtual Task<CreateVpcLinkResponse> CreateVpcLinkAsync(CreateVpcLinkRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateVpcLinkRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateVpcLinkResponseUnmarshaller.Instance;
return InvokeAsync<CreateVpcLinkResponse>(request, options, cancellationToken);
}
#endregion
#region DeleteApiKey
internal virtual DeleteApiKeyResponse DeleteApiKey(DeleteApiKeyRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteApiKeyRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteApiKeyResponseUnmarshaller.Instance;
return Invoke<DeleteApiKeyResponse>(request, options);
}
/// <summary>
/// Deletes the ApiKey resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteApiKey service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteApiKey service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteApiKey">REST API Reference for DeleteApiKey Operation</seealso>
public virtual Task<DeleteApiKeyResponse> DeleteApiKeyAsync(DeleteApiKeyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteApiKeyRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteApiKeyResponseUnmarshaller.Instance;
return InvokeAsync<DeleteApiKeyResponse>(request, options, cancellationToken);
}
#endregion
#region DeleteAuthorizer
internal virtual DeleteAuthorizerResponse DeleteAuthorizer(DeleteAuthorizerRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteAuthorizerRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteAuthorizerResponseUnmarshaller.Instance;
return Invoke<DeleteAuthorizerResponse>(request, options);
}
/// <summary>
/// Deletes an existing Authorizer resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteAuthorizer service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteAuthorizer service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteAuthorizer">REST API Reference for DeleteAuthorizer Operation</seealso>
public virtual Task<DeleteAuthorizerResponse> DeleteAuthorizerAsync(DeleteAuthorizerRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteAuthorizerRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteAuthorizerResponseUnmarshaller.Instance;
return InvokeAsync<DeleteAuthorizerResponse>(request, options, cancellationToken);
}
#endregion
#region DeleteBasePathMapping
internal virtual DeleteBasePathMappingResponse DeleteBasePathMapping(DeleteBasePathMappingRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteBasePathMappingRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteBasePathMappingResponseUnmarshaller.Instance;
return Invoke<DeleteBasePathMappingResponse>(request, options);
}
/// <summary>
/// Deletes the BasePathMapping resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteBasePathMapping service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteBasePathMapping service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteBasePathMapping">REST API Reference for DeleteBasePathMapping Operation</seealso>
public virtual Task<DeleteBasePathMappingResponse> DeleteBasePathMappingAsync(DeleteBasePathMappingRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteBasePathMappingRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteBasePathMappingResponseUnmarshaller.Instance;
return InvokeAsync<DeleteBasePathMappingResponse>(request, options, cancellationToken);
}
#endregion
#region DeleteClientCertificate
internal virtual DeleteClientCertificateResponse DeleteClientCertificate(DeleteClientCertificateRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteClientCertificateRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteClientCertificateResponseUnmarshaller.Instance;
return Invoke<DeleteClientCertificateResponse>(request, options);
}
/// <summary>
/// Deletes the ClientCertificate resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteClientCertificate service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteClientCertificate service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteClientCertificate">REST API Reference for DeleteClientCertificate Operation</seealso>
public virtual Task<DeleteClientCertificateResponse> DeleteClientCertificateAsync(DeleteClientCertificateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteClientCertificateRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteClientCertificateResponseUnmarshaller.Instance;
return InvokeAsync<DeleteClientCertificateResponse>(request, options, cancellationToken);
}
#endregion
#region DeleteDeployment
internal virtual DeleteDeploymentResponse DeleteDeployment(DeleteDeploymentRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteDeploymentRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteDeploymentResponseUnmarshaller.Instance;
return Invoke<DeleteDeploymentResponse>(request, options);
}
/// <summary>
/// Deletes a Deployment resource. Deleting a deployment will only succeed if there are
/// no Stage resources associated with it.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteDeployment service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteDeployment service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteDeployment">REST API Reference for DeleteDeployment Operation</seealso>
public virtual Task<DeleteDeploymentResponse> DeleteDeploymentAsync(DeleteDeploymentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteDeploymentRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteDeploymentResponseUnmarshaller.Instance;
return InvokeAsync<DeleteDeploymentResponse>(request, options, cancellationToken);
}
#endregion
#region DeleteDocumentationPart
internal virtual DeleteDocumentationPartResponse DeleteDocumentationPart(DeleteDocumentationPartRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteDocumentationPartRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteDocumentationPartResponseUnmarshaller.Instance;
return Invoke<DeleteDocumentationPartResponse>(request, options);
}
/// <summary>
/// Deletes a documentation part
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteDocumentationPart service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteDocumentationPart service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteDocumentationPart">REST API Reference for DeleteDocumentationPart Operation</seealso>
public virtual Task<DeleteDocumentationPartResponse> DeleteDocumentationPartAsync(DeleteDocumentationPartRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteDocumentationPartRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteDocumentationPartResponseUnmarshaller.Instance;
return InvokeAsync<DeleteDocumentationPartResponse>(request, options, cancellationToken);
}
#endregion
#region DeleteDocumentationVersion
internal virtual DeleteDocumentationVersionResponse DeleteDocumentationVersion(DeleteDocumentationVersionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteDocumentationVersionRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteDocumentationVersionResponseUnmarshaller.Instance;
return Invoke<DeleteDocumentationVersionResponse>(request, options);
}
/// <summary>
/// Deletes a documentation version.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteDocumentationVersion service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteDocumentationVersion service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteDocumentationVersion">REST API Reference for DeleteDocumentationVersion Operation</seealso>
public virtual Task<DeleteDocumentationVersionResponse> DeleteDocumentationVersionAsync(DeleteDocumentationVersionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteDocumentationVersionRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteDocumentationVersionResponseUnmarshaller.Instance;
return InvokeAsync<DeleteDocumentationVersionResponse>(request, options, cancellationToken);
}
#endregion
#region DeleteDomainName
internal virtual DeleteDomainNameResponse DeleteDomainName(DeleteDomainNameRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteDomainNameRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteDomainNameResponseUnmarshaller.Instance;
return Invoke<DeleteDomainNameResponse>(request, options);
}
/// <summary>
/// Deletes the DomainName resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteDomainName service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteDomainName service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteDomainName">REST API Reference for DeleteDomainName Operation</seealso>
public virtual Task<DeleteDomainNameResponse> DeleteDomainNameAsync(DeleteDomainNameRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteDomainNameRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteDomainNameResponseUnmarshaller.Instance;
return InvokeAsync<DeleteDomainNameResponse>(request, options, cancellationToken);
}
#endregion
#region DeleteGatewayResponse
internal virtual DeleteGatewayResponseResponse DeleteGatewayResponse(DeleteGatewayResponseRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteGatewayResponseRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteGatewayResponseResponseUnmarshaller.Instance;
return Invoke<DeleteGatewayResponseResponse>(request, options);
}
/// <summary>
/// Clears any customization of a GatewayResponse of a specified response type on the
/// given RestApi and resets it with the default settings.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteGatewayResponse service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteGatewayResponse service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteGatewayResponse">REST API Reference for DeleteGatewayResponse Operation</seealso>
public virtual Task<DeleteGatewayResponseResponse> DeleteGatewayResponseAsync(DeleteGatewayResponseRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteGatewayResponseRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteGatewayResponseResponseUnmarshaller.Instance;
return InvokeAsync<DeleteGatewayResponseResponse>(request, options, cancellationToken);
}
#endregion
#region DeleteIntegration
internal virtual DeleteIntegrationResponse DeleteIntegration(DeleteIntegrationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteIntegrationRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteIntegrationResponseUnmarshaller.Instance;
return Invoke<DeleteIntegrationResponse>(request, options);
}
/// <summary>
/// Represents a delete integration.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteIntegration service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteIntegration service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteIntegration">REST API Reference for DeleteIntegration Operation</seealso>
public virtual Task<DeleteIntegrationResponse> DeleteIntegrationAsync(DeleteIntegrationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteIntegrationRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteIntegrationResponseUnmarshaller.Instance;
return InvokeAsync<DeleteIntegrationResponse>(request, options, cancellationToken);
}
#endregion
#region DeleteIntegrationResponse
internal virtual DeleteIntegrationResponseResponse DeleteIntegrationResponse(DeleteIntegrationResponseRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteIntegrationResponseRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteIntegrationResponseResponseUnmarshaller.Instance;
return Invoke<DeleteIntegrationResponseResponse>(request, options);
}
/// <summary>
/// Represents a delete integration response.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteIntegrationResponse service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteIntegrationResponse service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteIntegrationResponse">REST API Reference for DeleteIntegrationResponse Operation</seealso>
public virtual Task<DeleteIntegrationResponseResponse> DeleteIntegrationResponseAsync(DeleteIntegrationResponseRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteIntegrationResponseRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteIntegrationResponseResponseUnmarshaller.Instance;
return InvokeAsync<DeleteIntegrationResponseResponse>(request, options, cancellationToken);
}
#endregion
#region DeleteMethod
internal virtual DeleteMethodResponse DeleteMethod(DeleteMethodRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteMethodRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteMethodResponseUnmarshaller.Instance;
return Invoke<DeleteMethodResponse>(request, options);
}
/// <summary>
/// Deletes an existing Method resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteMethod service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteMethod service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteMethod">REST API Reference for DeleteMethod Operation</seealso>
public virtual Task<DeleteMethodResponse> DeleteMethodAsync(DeleteMethodRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteMethodRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteMethodResponseUnmarshaller.Instance;
return InvokeAsync<DeleteMethodResponse>(request, options, cancellationToken);
}
#endregion
#region DeleteMethodResponse
internal virtual DeleteMethodResponseResponse DeleteMethodResponse(DeleteMethodResponseRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteMethodResponseRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteMethodResponseResponseUnmarshaller.Instance;
return Invoke<DeleteMethodResponseResponse>(request, options);
}
/// <summary>
/// Deletes an existing MethodResponse resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteMethodResponse service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteMethodResponse service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteMethodResponse">REST API Reference for DeleteMethodResponse Operation</seealso>
public virtual Task<DeleteMethodResponseResponse> DeleteMethodResponseAsync(DeleteMethodResponseRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteMethodResponseRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteMethodResponseResponseUnmarshaller.Instance;
return InvokeAsync<DeleteMethodResponseResponse>(request, options, cancellationToken);
}
#endregion
#region DeleteModel
internal virtual DeleteModelResponse DeleteModel(DeleteModelRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteModelRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteModelResponseUnmarshaller.Instance;
return Invoke<DeleteModelResponse>(request, options);
}
/// <summary>
/// Deletes a model.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteModel service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteModel service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteModel">REST API Reference for DeleteModel Operation</seealso>
public virtual Task<DeleteModelResponse> DeleteModelAsync(DeleteModelRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteModelRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteModelResponseUnmarshaller.Instance;
return InvokeAsync<DeleteModelResponse>(request, options, cancellationToken);
}
#endregion
#region DeleteRequestValidator
internal virtual DeleteRequestValidatorResponse DeleteRequestValidator(DeleteRequestValidatorRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteRequestValidatorRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteRequestValidatorResponseUnmarshaller.Instance;
return Invoke<DeleteRequestValidatorResponse>(request, options);
}
/// <summary>
/// Deletes a RequestValidator of a given RestApi.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteRequestValidator service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteRequestValidator service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteRequestValidator">REST API Reference for DeleteRequestValidator Operation</seealso>
public virtual Task<DeleteRequestValidatorResponse> DeleteRequestValidatorAsync(DeleteRequestValidatorRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteRequestValidatorRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteRequestValidatorResponseUnmarshaller.Instance;
return InvokeAsync<DeleteRequestValidatorResponse>(request, options, cancellationToken);
}
#endregion
#region DeleteResource
internal virtual DeleteResourceResponse DeleteResource(DeleteResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteResourceResponseUnmarshaller.Instance;
return Invoke<DeleteResourceResponse>(request, options);
}
/// <summary>
/// Deletes a Resource resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteResource service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteResource service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteResource">REST API Reference for DeleteResource Operation</seealso>
public virtual Task<DeleteResourceResponse> DeleteResourceAsync(DeleteResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteResourceResponseUnmarshaller.Instance;
return InvokeAsync<DeleteResourceResponse>(request, options, cancellationToken);
}
#endregion
#region DeleteRestApi
internal virtual DeleteRestApiResponse DeleteRestApi(DeleteRestApiRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteRestApiRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteRestApiResponseUnmarshaller.Instance;
return Invoke<DeleteRestApiResponse>(request, options);
}
/// <summary>
/// Deletes the specified API.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteRestApi service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteRestApi service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteRestApi">REST API Reference for DeleteRestApi Operation</seealso>
public virtual Task<DeleteRestApiResponse> DeleteRestApiAsync(DeleteRestApiRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteRestApiRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteRestApiResponseUnmarshaller.Instance;
return InvokeAsync<DeleteRestApiResponse>(request, options, cancellationToken);
}
#endregion
#region DeleteStage
internal virtual DeleteStageResponse DeleteStage(DeleteStageRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteStageRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteStageResponseUnmarshaller.Instance;
return Invoke<DeleteStageResponse>(request, options);
}
/// <summary>
/// Deletes a Stage resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteStage service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteStage service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteStage">REST API Reference for DeleteStage Operation</seealso>
public virtual Task<DeleteStageResponse> DeleteStageAsync(DeleteStageRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteStageRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteStageResponseUnmarshaller.Instance;
return InvokeAsync<DeleteStageResponse>(request, options, cancellationToken);
}
#endregion
#region DeleteUsagePlan
internal virtual DeleteUsagePlanResponse DeleteUsagePlan(DeleteUsagePlanRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteUsagePlanRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteUsagePlanResponseUnmarshaller.Instance;
return Invoke<DeleteUsagePlanResponse>(request, options);
}
/// <summary>
/// Deletes a usage plan of a given plan Id.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteUsagePlan service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteUsagePlan service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteUsagePlan">REST API Reference for DeleteUsagePlan Operation</seealso>
public virtual Task<DeleteUsagePlanResponse> DeleteUsagePlanAsync(DeleteUsagePlanRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteUsagePlanRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteUsagePlanResponseUnmarshaller.Instance;
return InvokeAsync<DeleteUsagePlanResponse>(request, options, cancellationToken);
}
#endregion
#region DeleteUsagePlanKey
internal virtual DeleteUsagePlanKeyResponse DeleteUsagePlanKey(DeleteUsagePlanKeyRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteUsagePlanKeyRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteUsagePlanKeyResponseUnmarshaller.Instance;
return Invoke<DeleteUsagePlanKeyResponse>(request, options);
}
/// <summary>
/// Deletes a usage plan key and remove the underlying API key from the associated usage
/// plan.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteUsagePlanKey service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteUsagePlanKey service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteUsagePlanKey">REST API Reference for DeleteUsagePlanKey Operation</seealso>
public virtual Task<DeleteUsagePlanKeyResponse> DeleteUsagePlanKeyAsync(DeleteUsagePlanKeyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteUsagePlanKeyRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteUsagePlanKeyResponseUnmarshaller.Instance;
return InvokeAsync<DeleteUsagePlanKeyResponse>(request, options, cancellationToken);
}
#endregion
#region DeleteVpcLink
internal virtual DeleteVpcLinkResponse DeleteVpcLink(DeleteVpcLinkRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteVpcLinkRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteVpcLinkResponseUnmarshaller.Instance;
return Invoke<DeleteVpcLinkResponse>(request, options);
}
/// <summary>
/// Deletes an existing VpcLink of a specified identifier.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteVpcLink service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteVpcLink service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteVpcLink">REST API Reference for DeleteVpcLink Operation</seealso>
public virtual Task<DeleteVpcLinkResponse> DeleteVpcLinkAsync(DeleteVpcLinkRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteVpcLinkRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteVpcLinkResponseUnmarshaller.Instance;
return InvokeAsync<DeleteVpcLinkResponse>(request, options, cancellationToken);
}
#endregion
#region FlushStageAuthorizersCache
internal virtual FlushStageAuthorizersCacheResponse FlushStageAuthorizersCache(FlushStageAuthorizersCacheRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = FlushStageAuthorizersCacheRequestMarshaller.Instance;
options.ResponseUnmarshaller = FlushStageAuthorizersCacheResponseUnmarshaller.Instance;
return Invoke<FlushStageAuthorizersCacheResponse>(request, options);
}
/// <summary>
/// Flushes all authorizer cache entries on a stage.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the FlushStageAuthorizersCache service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the FlushStageAuthorizersCache service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/FlushStageAuthorizersCache">REST API Reference for FlushStageAuthorizersCache Operation</seealso>
public virtual Task<FlushStageAuthorizersCacheResponse> FlushStageAuthorizersCacheAsync(FlushStageAuthorizersCacheRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = FlushStageAuthorizersCacheRequestMarshaller.Instance;
options.ResponseUnmarshaller = FlushStageAuthorizersCacheResponseUnmarshaller.Instance;
return InvokeAsync<FlushStageAuthorizersCacheResponse>(request, options, cancellationToken);
}
#endregion
#region FlushStageCache
internal virtual FlushStageCacheResponse FlushStageCache(FlushStageCacheRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = FlushStageCacheRequestMarshaller.Instance;
options.ResponseUnmarshaller = FlushStageCacheResponseUnmarshaller.Instance;
return Invoke<FlushStageCacheResponse>(request, options);
}
/// <summary>
/// Flushes a stage's cache.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the FlushStageCache service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the FlushStageCache service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/FlushStageCache">REST API Reference for FlushStageCache Operation</seealso>
public virtual Task<FlushStageCacheResponse> FlushStageCacheAsync(FlushStageCacheRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = FlushStageCacheRequestMarshaller.Instance;
options.ResponseUnmarshaller = FlushStageCacheResponseUnmarshaller.Instance;
return InvokeAsync<FlushStageCacheResponse>(request, options, cancellationToken);
}
#endregion
#region GenerateClientCertificate
internal virtual GenerateClientCertificateResponse GenerateClientCertificate(GenerateClientCertificateRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GenerateClientCertificateRequestMarshaller.Instance;
options.ResponseUnmarshaller = GenerateClientCertificateResponseUnmarshaller.Instance;
return Invoke<GenerateClientCertificateResponse>(request, options);
}
/// <summary>
/// Generates a ClientCertificate resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GenerateClientCertificate service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GenerateClientCertificate service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GenerateClientCertificate">REST API Reference for GenerateClientCertificate Operation</seealso>
public virtual Task<GenerateClientCertificateResponse> GenerateClientCertificateAsync(GenerateClientCertificateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GenerateClientCertificateRequestMarshaller.Instance;
options.ResponseUnmarshaller = GenerateClientCertificateResponseUnmarshaller.Instance;
return InvokeAsync<GenerateClientCertificateResponse>(request, options, cancellationToken);
}
#endregion
#region GetAccount
internal virtual GetAccountResponse GetAccount(GetAccountRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetAccountRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetAccountResponseUnmarshaller.Instance;
return Invoke<GetAccountResponse>(request, options);
}
/// <summary>
/// Gets information about the current Account resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetAccount service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetAccount service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetAccount">REST API Reference for GetAccount Operation</seealso>
public virtual Task<GetAccountResponse> GetAccountAsync(GetAccountRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetAccountRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetAccountResponseUnmarshaller.Instance;
return InvokeAsync<GetAccountResponse>(request, options, cancellationToken);
}
#endregion
#region GetApiKey
internal virtual GetApiKeyResponse GetApiKey(GetApiKeyRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetApiKeyRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetApiKeyResponseUnmarshaller.Instance;
return Invoke<GetApiKeyResponse>(request, options);
}
/// <summary>
/// Gets information about the current ApiKey resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetApiKey service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetApiKey service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetApiKey">REST API Reference for GetApiKey Operation</seealso>
public virtual Task<GetApiKeyResponse> GetApiKeyAsync(GetApiKeyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetApiKeyRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetApiKeyResponseUnmarshaller.Instance;
return InvokeAsync<GetApiKeyResponse>(request, options, cancellationToken);
}
#endregion
#region GetApiKeys
internal virtual GetApiKeysResponse GetApiKeys(GetApiKeysRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetApiKeysRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetApiKeysResponseUnmarshaller.Instance;
return Invoke<GetApiKeysResponse>(request, options);
}
/// <summary>
/// Gets information about the current ApiKeys resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetApiKeys service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetApiKeys service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetApiKeys">REST API Reference for GetApiKeys Operation</seealso>
public virtual Task<GetApiKeysResponse> GetApiKeysAsync(GetApiKeysRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetApiKeysRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetApiKeysResponseUnmarshaller.Instance;
return InvokeAsync<GetApiKeysResponse>(request, options, cancellationToken);
}
#endregion
#region GetAuthorizer
internal virtual GetAuthorizerResponse GetAuthorizer(GetAuthorizerRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetAuthorizerRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetAuthorizerResponseUnmarshaller.Instance;
return Invoke<GetAuthorizerResponse>(request, options);
}
/// <summary>
/// Describe an existing Authorizer resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetAuthorizer service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetAuthorizer service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetAuthorizer">REST API Reference for GetAuthorizer Operation</seealso>
public virtual Task<GetAuthorizerResponse> GetAuthorizerAsync(GetAuthorizerRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetAuthorizerRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetAuthorizerResponseUnmarshaller.Instance;
return InvokeAsync<GetAuthorizerResponse>(request, options, cancellationToken);
}
#endregion
#region GetAuthorizers
internal virtual GetAuthorizersResponse GetAuthorizers(GetAuthorizersRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetAuthorizersRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetAuthorizersResponseUnmarshaller.Instance;
return Invoke<GetAuthorizersResponse>(request, options);
}
/// <summary>
/// Describe an existing Authorizers resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetAuthorizers service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetAuthorizers service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetAuthorizers">REST API Reference for GetAuthorizers Operation</seealso>
public virtual Task<GetAuthorizersResponse> GetAuthorizersAsync(GetAuthorizersRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetAuthorizersRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetAuthorizersResponseUnmarshaller.Instance;
return InvokeAsync<GetAuthorizersResponse>(request, options, cancellationToken);
}
#endregion
#region GetBasePathMapping
internal virtual GetBasePathMappingResponse GetBasePathMapping(GetBasePathMappingRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetBasePathMappingRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetBasePathMappingResponseUnmarshaller.Instance;
return Invoke<GetBasePathMappingResponse>(request, options);
}
/// <summary>
/// Describe a BasePathMapping resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetBasePathMapping service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetBasePathMapping service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetBasePathMapping">REST API Reference for GetBasePathMapping Operation</seealso>
public virtual Task<GetBasePathMappingResponse> GetBasePathMappingAsync(GetBasePathMappingRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetBasePathMappingRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetBasePathMappingResponseUnmarshaller.Instance;
return InvokeAsync<GetBasePathMappingResponse>(request, options, cancellationToken);
}
#endregion
#region GetBasePathMappings
internal virtual GetBasePathMappingsResponse GetBasePathMappings(GetBasePathMappingsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetBasePathMappingsRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetBasePathMappingsResponseUnmarshaller.Instance;
return Invoke<GetBasePathMappingsResponse>(request, options);
}
/// <summary>
/// Represents a collection of BasePathMapping resources.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetBasePathMappings service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetBasePathMappings service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetBasePathMappings">REST API Reference for GetBasePathMappings Operation</seealso>
public virtual Task<GetBasePathMappingsResponse> GetBasePathMappingsAsync(GetBasePathMappingsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetBasePathMappingsRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetBasePathMappingsResponseUnmarshaller.Instance;
return InvokeAsync<GetBasePathMappingsResponse>(request, options, cancellationToken);
}
#endregion
#region GetClientCertificate
internal virtual GetClientCertificateResponse GetClientCertificate(GetClientCertificateRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetClientCertificateRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetClientCertificateResponseUnmarshaller.Instance;
return Invoke<GetClientCertificateResponse>(request, options);
}
/// <summary>
/// Gets information about the current ClientCertificate resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetClientCertificate service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetClientCertificate service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetClientCertificate">REST API Reference for GetClientCertificate Operation</seealso>
public virtual Task<GetClientCertificateResponse> GetClientCertificateAsync(GetClientCertificateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetClientCertificateRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetClientCertificateResponseUnmarshaller.Instance;
return InvokeAsync<GetClientCertificateResponse>(request, options, cancellationToken);
}
#endregion
#region GetClientCertificates
internal virtual GetClientCertificatesResponse GetClientCertificates(GetClientCertificatesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetClientCertificatesRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetClientCertificatesResponseUnmarshaller.Instance;
return Invoke<GetClientCertificatesResponse>(request, options);
}
/// <summary>
/// Gets a collection of ClientCertificate resources.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetClientCertificates service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetClientCertificates service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetClientCertificates">REST API Reference for GetClientCertificates Operation</seealso>
public virtual Task<GetClientCertificatesResponse> GetClientCertificatesAsync(GetClientCertificatesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetClientCertificatesRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetClientCertificatesResponseUnmarshaller.Instance;
return InvokeAsync<GetClientCertificatesResponse>(request, options, cancellationToken);
}
#endregion
#region GetDeployment
internal virtual GetDeploymentResponse GetDeployment(GetDeploymentRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetDeploymentRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetDeploymentResponseUnmarshaller.Instance;
return Invoke<GetDeploymentResponse>(request, options);
}
/// <summary>
/// Gets information about a Deployment resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetDeployment service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetDeployment service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ServiceUnavailableException">
/// The requested service is not available. For details see the accompanying error message.
/// Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetDeployment">REST API Reference for GetDeployment Operation</seealso>
public virtual Task<GetDeploymentResponse> GetDeploymentAsync(GetDeploymentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetDeploymentRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetDeploymentResponseUnmarshaller.Instance;
return InvokeAsync<GetDeploymentResponse>(request, options, cancellationToken);
}
#endregion
#region GetDeployments
internal virtual GetDeploymentsResponse GetDeployments(GetDeploymentsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetDeploymentsRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetDeploymentsResponseUnmarshaller.Instance;
return Invoke<GetDeploymentsResponse>(request, options);
}
/// <summary>
/// Gets information about a Deployments collection.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetDeployments service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetDeployments service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ServiceUnavailableException">
/// The requested service is not available. For details see the accompanying error message.
/// Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetDeployments">REST API Reference for GetDeployments Operation</seealso>
public virtual Task<GetDeploymentsResponse> GetDeploymentsAsync(GetDeploymentsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetDeploymentsRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetDeploymentsResponseUnmarshaller.Instance;
return InvokeAsync<GetDeploymentsResponse>(request, options, cancellationToken);
}
#endregion
#region GetDocumentationPart
internal virtual GetDocumentationPartResponse GetDocumentationPart(GetDocumentationPartRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetDocumentationPartRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetDocumentationPartResponseUnmarshaller.Instance;
return Invoke<GetDocumentationPartResponse>(request, options);
}
/// <summary>
/// Gets a documentation part.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetDocumentationPart service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetDocumentationPart service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetDocumentationPart">REST API Reference for GetDocumentationPart Operation</seealso>
public virtual Task<GetDocumentationPartResponse> GetDocumentationPartAsync(GetDocumentationPartRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetDocumentationPartRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetDocumentationPartResponseUnmarshaller.Instance;
return InvokeAsync<GetDocumentationPartResponse>(request, options, cancellationToken);
}
#endregion
#region GetDocumentationParts
internal virtual GetDocumentationPartsResponse GetDocumentationParts(GetDocumentationPartsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetDocumentationPartsRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetDocumentationPartsResponseUnmarshaller.Instance;
return Invoke<GetDocumentationPartsResponse>(request, options);
}
/// <summary>
/// Gets documentation parts.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetDocumentationParts service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetDocumentationParts service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetDocumentationParts">REST API Reference for GetDocumentationParts Operation</seealso>
public virtual Task<GetDocumentationPartsResponse> GetDocumentationPartsAsync(GetDocumentationPartsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetDocumentationPartsRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetDocumentationPartsResponseUnmarshaller.Instance;
return InvokeAsync<GetDocumentationPartsResponse>(request, options, cancellationToken);
}
#endregion
#region GetDocumentationVersion
internal virtual GetDocumentationVersionResponse GetDocumentationVersion(GetDocumentationVersionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetDocumentationVersionRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetDocumentationVersionResponseUnmarshaller.Instance;
return Invoke<GetDocumentationVersionResponse>(request, options);
}
/// <summary>
/// Gets a documentation version.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetDocumentationVersion service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetDocumentationVersion service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetDocumentationVersion">REST API Reference for GetDocumentationVersion Operation</seealso>
public virtual Task<GetDocumentationVersionResponse> GetDocumentationVersionAsync(GetDocumentationVersionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetDocumentationVersionRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetDocumentationVersionResponseUnmarshaller.Instance;
return InvokeAsync<GetDocumentationVersionResponse>(request, options, cancellationToken);
}
#endregion
#region GetDocumentationVersions
internal virtual GetDocumentationVersionsResponse GetDocumentationVersions(GetDocumentationVersionsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetDocumentationVersionsRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetDocumentationVersionsResponseUnmarshaller.Instance;
return Invoke<GetDocumentationVersionsResponse>(request, options);
}
/// <summary>
/// Gets documentation versions.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetDocumentationVersions service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetDocumentationVersions service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetDocumentationVersions">REST API Reference for GetDocumentationVersions Operation</seealso>
public virtual Task<GetDocumentationVersionsResponse> GetDocumentationVersionsAsync(GetDocumentationVersionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetDocumentationVersionsRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetDocumentationVersionsResponseUnmarshaller.Instance;
return InvokeAsync<GetDocumentationVersionsResponse>(request, options, cancellationToken);
}
#endregion
#region GetDomainName
internal virtual GetDomainNameResponse GetDomainName(GetDomainNameRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetDomainNameRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetDomainNameResponseUnmarshaller.Instance;
return Invoke<GetDomainNameResponse>(request, options);
}
/// <summary>
/// Represents a domain name that is contained in a simpler, more intuitive URL that can
/// be called.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetDomainName service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetDomainName service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetDomainName">REST API Reference for GetDomainName Operation</seealso>
public virtual Task<GetDomainNameResponse> GetDomainNameAsync(GetDomainNameRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetDomainNameRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetDomainNameResponseUnmarshaller.Instance;
return InvokeAsync<GetDomainNameResponse>(request, options, cancellationToken);
}
#endregion
#region GetDomainNames
internal virtual GetDomainNamesResponse GetDomainNames(GetDomainNamesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetDomainNamesRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetDomainNamesResponseUnmarshaller.Instance;
return Invoke<GetDomainNamesResponse>(request, options);
}
/// <summary>
/// Represents a collection of DomainName resources.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetDomainNames service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetDomainNames service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetDomainNames">REST API Reference for GetDomainNames Operation</seealso>
public virtual Task<GetDomainNamesResponse> GetDomainNamesAsync(GetDomainNamesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetDomainNamesRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetDomainNamesResponseUnmarshaller.Instance;
return InvokeAsync<GetDomainNamesResponse>(request, options, cancellationToken);
}
#endregion
#region GetExport
internal virtual GetExportResponse GetExport(GetExportRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetExportRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetExportResponseUnmarshaller.Instance;
return Invoke<GetExportResponse>(request, options);
}
/// <summary>
/// Exports a deployed version of a RestApi in a specified format.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetExport service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetExport service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetExport">REST API Reference for GetExport Operation</seealso>
public virtual Task<GetExportResponse> GetExportAsync(GetExportRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetExportRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetExportResponseUnmarshaller.Instance;
return InvokeAsync<GetExportResponse>(request, options, cancellationToken);
}
#endregion
#region GetGatewayResponse
internal virtual GetGatewayResponseResponse GetGatewayResponse(GetGatewayResponseRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetGatewayResponseRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetGatewayResponseResponseUnmarshaller.Instance;
return Invoke<GetGatewayResponseResponse>(request, options);
}
/// <summary>
/// Gets a GatewayResponse of a specified response type on the given RestApi.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetGatewayResponse service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetGatewayResponse service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetGatewayResponse">REST API Reference for GetGatewayResponse Operation</seealso>
public virtual Task<GetGatewayResponseResponse> GetGatewayResponseAsync(GetGatewayResponseRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetGatewayResponseRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetGatewayResponseResponseUnmarshaller.Instance;
return InvokeAsync<GetGatewayResponseResponse>(request, options, cancellationToken);
}
#endregion
#region GetGatewayResponses
internal virtual GetGatewayResponsesResponse GetGatewayResponses(GetGatewayResponsesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetGatewayResponsesRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetGatewayResponsesResponseUnmarshaller.Instance;
return Invoke<GetGatewayResponsesResponse>(request, options);
}
/// <summary>
/// Gets the GatewayResponses collection on the given RestApi. If an API developer has
/// not added any definitions for gateway responses, the result will be the API Gateway-generated
/// default GatewayResponses collection for the supported response types.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetGatewayResponses service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetGatewayResponses service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetGatewayResponses">REST API Reference for GetGatewayResponses Operation</seealso>
public virtual Task<GetGatewayResponsesResponse> GetGatewayResponsesAsync(GetGatewayResponsesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetGatewayResponsesRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetGatewayResponsesResponseUnmarshaller.Instance;
return InvokeAsync<GetGatewayResponsesResponse>(request, options, cancellationToken);
}
#endregion
#region GetIntegration
internal virtual GetIntegrationResponse GetIntegration(GetIntegrationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetIntegrationRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetIntegrationResponseUnmarshaller.Instance;
return Invoke<GetIntegrationResponse>(request, options);
}
/// <summary>
/// Get the integration settings.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetIntegration service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetIntegration service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetIntegration">REST API Reference for GetIntegration Operation</seealso>
public virtual Task<GetIntegrationResponse> GetIntegrationAsync(GetIntegrationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetIntegrationRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetIntegrationResponseUnmarshaller.Instance;
return InvokeAsync<GetIntegrationResponse>(request, options, cancellationToken);
}
#endregion
#region GetIntegrationResponse
internal virtual GetIntegrationResponseResponse GetIntegrationResponse(GetIntegrationResponseRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetIntegrationResponseRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetIntegrationResponseResponseUnmarshaller.Instance;
return Invoke<GetIntegrationResponseResponse>(request, options);
}
/// <summary>
/// Represents a get integration response.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetIntegrationResponse service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetIntegrationResponse service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetIntegrationResponse">REST API Reference for GetIntegrationResponse Operation</seealso>
public virtual Task<GetIntegrationResponseResponse> GetIntegrationResponseAsync(GetIntegrationResponseRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetIntegrationResponseRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetIntegrationResponseResponseUnmarshaller.Instance;
return InvokeAsync<GetIntegrationResponseResponse>(request, options, cancellationToken);
}
#endregion
#region GetMethod
internal virtual GetMethodResponse GetMethod(GetMethodRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetMethodRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetMethodResponseUnmarshaller.Instance;
return Invoke<GetMethodResponse>(request, options);
}
/// <summary>
/// Describe an existing Method resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetMethod service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetMethod service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetMethod">REST API Reference for GetMethod Operation</seealso>
public virtual Task<GetMethodResponse> GetMethodAsync(GetMethodRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetMethodRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetMethodResponseUnmarshaller.Instance;
return InvokeAsync<GetMethodResponse>(request, options, cancellationToken);
}
#endregion
#region GetMethodResponse
internal virtual GetMethodResponseResponse GetMethodResponse(GetMethodResponseRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetMethodResponseRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetMethodResponseResponseUnmarshaller.Instance;
return Invoke<GetMethodResponseResponse>(request, options);
}
/// <summary>
/// Describes a MethodResponse resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetMethodResponse service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetMethodResponse service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetMethodResponse">REST API Reference for GetMethodResponse Operation</seealso>
public virtual Task<GetMethodResponseResponse> GetMethodResponseAsync(GetMethodResponseRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetMethodResponseRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetMethodResponseResponseUnmarshaller.Instance;
return InvokeAsync<GetMethodResponseResponse>(request, options, cancellationToken);
}
#endregion
#region GetModel
internal virtual GetModelResponse GetModel(GetModelRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetModelRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetModelResponseUnmarshaller.Instance;
return Invoke<GetModelResponse>(request, options);
}
/// <summary>
/// Describes an existing model defined for a RestApi resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetModel service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetModel service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetModel">REST API Reference for GetModel Operation</seealso>
public virtual Task<GetModelResponse> GetModelAsync(GetModelRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetModelRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetModelResponseUnmarshaller.Instance;
return InvokeAsync<GetModelResponse>(request, options, cancellationToken);
}
#endregion
#region GetModels
internal virtual GetModelsResponse GetModels(GetModelsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetModelsRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetModelsResponseUnmarshaller.Instance;
return Invoke<GetModelsResponse>(request, options);
}
/// <summary>
/// Describes existing Models defined for a RestApi resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetModels service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetModels service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetModels">REST API Reference for GetModels Operation</seealso>
public virtual Task<GetModelsResponse> GetModelsAsync(GetModelsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetModelsRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetModelsResponseUnmarshaller.Instance;
return InvokeAsync<GetModelsResponse>(request, options, cancellationToken);
}
#endregion
#region GetModelTemplate
internal virtual GetModelTemplateResponse GetModelTemplate(GetModelTemplateRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetModelTemplateRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetModelTemplateResponseUnmarshaller.Instance;
return Invoke<GetModelTemplateResponse>(request, options);
}
/// <summary>
/// Generates a sample mapping template that can be used to transform a payload into the
/// structure of a model.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetModelTemplate service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetModelTemplate service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetModelTemplate">REST API Reference for GetModelTemplate Operation</seealso>
public virtual Task<GetModelTemplateResponse> GetModelTemplateAsync(GetModelTemplateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetModelTemplateRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetModelTemplateResponseUnmarshaller.Instance;
return InvokeAsync<GetModelTemplateResponse>(request, options, cancellationToken);
}
#endregion
#region GetRequestValidator
internal virtual GetRequestValidatorResponse GetRequestValidator(GetRequestValidatorRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetRequestValidatorRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetRequestValidatorResponseUnmarshaller.Instance;
return Invoke<GetRequestValidatorResponse>(request, options);
}
/// <summary>
/// Gets a RequestValidator of a given RestApi.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetRequestValidator service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetRequestValidator service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetRequestValidator">REST API Reference for GetRequestValidator Operation</seealso>
public virtual Task<GetRequestValidatorResponse> GetRequestValidatorAsync(GetRequestValidatorRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetRequestValidatorRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetRequestValidatorResponseUnmarshaller.Instance;
return InvokeAsync<GetRequestValidatorResponse>(request, options, cancellationToken);
}
#endregion
#region GetRequestValidators
internal virtual GetRequestValidatorsResponse GetRequestValidators(GetRequestValidatorsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetRequestValidatorsRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetRequestValidatorsResponseUnmarshaller.Instance;
return Invoke<GetRequestValidatorsResponse>(request, options);
}
/// <summary>
/// Gets the RequestValidators collection of a given RestApi.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetRequestValidators service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetRequestValidators service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetRequestValidators">REST API Reference for GetRequestValidators Operation</seealso>
public virtual Task<GetRequestValidatorsResponse> GetRequestValidatorsAsync(GetRequestValidatorsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetRequestValidatorsRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetRequestValidatorsResponseUnmarshaller.Instance;
return InvokeAsync<GetRequestValidatorsResponse>(request, options, cancellationToken);
}
#endregion
#region GetResource
internal virtual GetResourceResponse GetResource(GetResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetResourceResponseUnmarshaller.Instance;
return Invoke<GetResourceResponse>(request, options);
}
/// <summary>
/// Lists information about a resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetResource service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetResource service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetResource">REST API Reference for GetResource Operation</seealso>
public virtual Task<GetResourceResponse> GetResourceAsync(GetResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetResourceResponseUnmarshaller.Instance;
return InvokeAsync<GetResourceResponse>(request, options, cancellationToken);
}
#endregion
#region GetResources
internal virtual GetResourcesResponse GetResources(GetResourcesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetResourcesRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetResourcesResponseUnmarshaller.Instance;
return Invoke<GetResourcesResponse>(request, options);
}
/// <summary>
/// Lists information about a collection of Resource resources.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetResources service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetResources service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetResources">REST API Reference for GetResources Operation</seealso>
public virtual Task<GetResourcesResponse> GetResourcesAsync(GetResourcesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetResourcesRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetResourcesResponseUnmarshaller.Instance;
return InvokeAsync<GetResourcesResponse>(request, options, cancellationToken);
}
#endregion
#region GetRestApi
internal virtual GetRestApiResponse GetRestApi(GetRestApiRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetRestApiRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetRestApiResponseUnmarshaller.Instance;
return Invoke<GetRestApiResponse>(request, options);
}
/// <summary>
/// Lists the RestApi resource in the collection.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetRestApi service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetRestApi service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetRestApi">REST API Reference for GetRestApi Operation</seealso>
public virtual Task<GetRestApiResponse> GetRestApiAsync(GetRestApiRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetRestApiRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetRestApiResponseUnmarshaller.Instance;
return InvokeAsync<GetRestApiResponse>(request, options, cancellationToken);
}
#endregion
#region GetRestApis
internal virtual GetRestApisResponse GetRestApis(GetRestApisRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetRestApisRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetRestApisResponseUnmarshaller.Instance;
return Invoke<GetRestApisResponse>(request, options);
}
/// <summary>
/// Lists the RestApis resources for your collection.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetRestApis service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetRestApis service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetRestApis">REST API Reference for GetRestApis Operation</seealso>
public virtual Task<GetRestApisResponse> GetRestApisAsync(GetRestApisRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetRestApisRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetRestApisResponseUnmarshaller.Instance;
return InvokeAsync<GetRestApisResponse>(request, options, cancellationToken);
}
#endregion
#region GetSdk
internal virtual GetSdkResponse GetSdk(GetSdkRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetSdkRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetSdkResponseUnmarshaller.Instance;
return Invoke<GetSdkResponse>(request, options);
}
/// <summary>
/// Generates a client SDK for a RestApi and Stage.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetSdk service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetSdk service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetSdk">REST API Reference for GetSdk Operation</seealso>
public virtual Task<GetSdkResponse> GetSdkAsync(GetSdkRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetSdkRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetSdkResponseUnmarshaller.Instance;
return InvokeAsync<GetSdkResponse>(request, options, cancellationToken);
}
#endregion
#region GetSdkType
internal virtual GetSdkTypeResponse GetSdkType(GetSdkTypeRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetSdkTypeRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetSdkTypeResponseUnmarshaller.Instance;
return Invoke<GetSdkTypeResponse>(request, options);
}
/// <summary>
/// Gets an SDK type.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetSdkType service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetSdkType service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetSdkType">REST API Reference for GetSdkType Operation</seealso>
public virtual Task<GetSdkTypeResponse> GetSdkTypeAsync(GetSdkTypeRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetSdkTypeRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetSdkTypeResponseUnmarshaller.Instance;
return InvokeAsync<GetSdkTypeResponse>(request, options, cancellationToken);
}
#endregion
#region GetSdkTypes
internal virtual GetSdkTypesResponse GetSdkTypes(GetSdkTypesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetSdkTypesRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetSdkTypesResponseUnmarshaller.Instance;
return Invoke<GetSdkTypesResponse>(request, options);
}
/// <summary>
/// Gets SDK types
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetSdkTypes service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetSdkTypes service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetSdkTypes">REST API Reference for GetSdkTypes Operation</seealso>
public virtual Task<GetSdkTypesResponse> GetSdkTypesAsync(GetSdkTypesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetSdkTypesRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetSdkTypesResponseUnmarshaller.Instance;
return InvokeAsync<GetSdkTypesResponse>(request, options, cancellationToken);
}
#endregion
#region GetStage
internal virtual GetStageResponse GetStage(GetStageRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetStageRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetStageResponseUnmarshaller.Instance;
return Invoke<GetStageResponse>(request, options);
}
/// <summary>
/// Gets information about a Stage resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetStage service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetStage service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetStage">REST API Reference for GetStage Operation</seealso>
public virtual Task<GetStageResponse> GetStageAsync(GetStageRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetStageRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetStageResponseUnmarshaller.Instance;
return InvokeAsync<GetStageResponse>(request, options, cancellationToken);
}
#endregion
#region GetStages
internal virtual GetStagesResponse GetStages(GetStagesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetStagesRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetStagesResponseUnmarshaller.Instance;
return Invoke<GetStagesResponse>(request, options);
}
/// <summary>
/// Gets information about one or more Stage resources.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetStages service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetStages service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetStages">REST API Reference for GetStages Operation</seealso>
public virtual Task<GetStagesResponse> GetStagesAsync(GetStagesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetStagesRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetStagesResponseUnmarshaller.Instance;
return InvokeAsync<GetStagesResponse>(request, options, cancellationToken);
}
#endregion
#region GetTags
internal virtual GetTagsResponse GetTags(GetTagsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetTagsRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetTagsResponseUnmarshaller.Instance;
return Invoke<GetTagsResponse>(request, options);
}
/// <summary>
/// Gets the Tags collection for a given resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetTags service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetTags service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetTags">REST API Reference for GetTags Operation</seealso>
public virtual Task<GetTagsResponse> GetTagsAsync(GetTagsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetTagsRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetTagsResponseUnmarshaller.Instance;
return InvokeAsync<GetTagsResponse>(request, options, cancellationToken);
}
#endregion
#region GetUsage
internal virtual GetUsageResponse GetUsage(GetUsageRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetUsageRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetUsageResponseUnmarshaller.Instance;
return Invoke<GetUsageResponse>(request, options);
}
/// <summary>
/// Gets the usage data of a usage plan in a specified time interval.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetUsage service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetUsage service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetUsage">REST API Reference for GetUsage Operation</seealso>
public virtual Task<GetUsageResponse> GetUsageAsync(GetUsageRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetUsageRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetUsageResponseUnmarshaller.Instance;
return InvokeAsync<GetUsageResponse>(request, options, cancellationToken);
}
#endregion
#region GetUsagePlan
internal virtual GetUsagePlanResponse GetUsagePlan(GetUsagePlanRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetUsagePlanRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetUsagePlanResponseUnmarshaller.Instance;
return Invoke<GetUsagePlanResponse>(request, options);
}
/// <summary>
/// Gets a usage plan of a given plan identifier.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetUsagePlan service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetUsagePlan service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetUsagePlan">REST API Reference for GetUsagePlan Operation</seealso>
public virtual Task<GetUsagePlanResponse> GetUsagePlanAsync(GetUsagePlanRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetUsagePlanRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetUsagePlanResponseUnmarshaller.Instance;
return InvokeAsync<GetUsagePlanResponse>(request, options, cancellationToken);
}
#endregion
#region GetUsagePlanKey
internal virtual GetUsagePlanKeyResponse GetUsagePlanKey(GetUsagePlanKeyRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetUsagePlanKeyRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetUsagePlanKeyResponseUnmarshaller.Instance;
return Invoke<GetUsagePlanKeyResponse>(request, options);
}
/// <summary>
/// Gets a usage plan key of a given key identifier.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetUsagePlanKey service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetUsagePlanKey service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetUsagePlanKey">REST API Reference for GetUsagePlanKey Operation</seealso>
public virtual Task<GetUsagePlanKeyResponse> GetUsagePlanKeyAsync(GetUsagePlanKeyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetUsagePlanKeyRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetUsagePlanKeyResponseUnmarshaller.Instance;
return InvokeAsync<GetUsagePlanKeyResponse>(request, options, cancellationToken);
}
#endregion
#region GetUsagePlanKeys
internal virtual GetUsagePlanKeysResponse GetUsagePlanKeys(GetUsagePlanKeysRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetUsagePlanKeysRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetUsagePlanKeysResponseUnmarshaller.Instance;
return Invoke<GetUsagePlanKeysResponse>(request, options);
}
/// <summary>
/// Gets all the usage plan keys representing the API keys added to a specified usage
/// plan.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetUsagePlanKeys service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetUsagePlanKeys service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetUsagePlanKeys">REST API Reference for GetUsagePlanKeys Operation</seealso>
public virtual Task<GetUsagePlanKeysResponse> GetUsagePlanKeysAsync(GetUsagePlanKeysRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetUsagePlanKeysRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetUsagePlanKeysResponseUnmarshaller.Instance;
return InvokeAsync<GetUsagePlanKeysResponse>(request, options, cancellationToken);
}
#endregion
#region GetUsagePlans
internal virtual GetUsagePlansResponse GetUsagePlans(GetUsagePlansRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetUsagePlansRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetUsagePlansResponseUnmarshaller.Instance;
return Invoke<GetUsagePlansResponse>(request, options);
}
/// <summary>
/// Gets all the usage plans of the caller's account.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetUsagePlans service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetUsagePlans service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetUsagePlans">REST API Reference for GetUsagePlans Operation</seealso>
public virtual Task<GetUsagePlansResponse> GetUsagePlansAsync(GetUsagePlansRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetUsagePlansRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetUsagePlansResponseUnmarshaller.Instance;
return InvokeAsync<GetUsagePlansResponse>(request, options, cancellationToken);
}
#endregion
#region GetVpcLink
internal virtual GetVpcLinkResponse GetVpcLink(GetVpcLinkRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetVpcLinkRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetVpcLinkResponseUnmarshaller.Instance;
return Invoke<GetVpcLinkResponse>(request, options);
}
/// <summary>
/// Gets a specified VPC link under the caller's account in a region.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetVpcLink service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetVpcLink service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetVpcLink">REST API Reference for GetVpcLink Operation</seealso>
public virtual Task<GetVpcLinkResponse> GetVpcLinkAsync(GetVpcLinkRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetVpcLinkRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetVpcLinkResponseUnmarshaller.Instance;
return InvokeAsync<GetVpcLinkResponse>(request, options, cancellationToken);
}
#endregion
#region GetVpcLinks
internal virtual GetVpcLinksResponse GetVpcLinks(GetVpcLinksRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetVpcLinksRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetVpcLinksResponseUnmarshaller.Instance;
return Invoke<GetVpcLinksResponse>(request, options);
}
/// <summary>
/// Gets the VpcLinks collection under the caller's account in a selected region.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetVpcLinks service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetVpcLinks service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetVpcLinks">REST API Reference for GetVpcLinks Operation</seealso>
public virtual Task<GetVpcLinksResponse> GetVpcLinksAsync(GetVpcLinksRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetVpcLinksRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetVpcLinksResponseUnmarshaller.Instance;
return InvokeAsync<GetVpcLinksResponse>(request, options, cancellationToken);
}
#endregion
#region ImportApiKeys
internal virtual ImportApiKeysResponse ImportApiKeys(ImportApiKeysRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ImportApiKeysRequestMarshaller.Instance;
options.ResponseUnmarshaller = ImportApiKeysResponseUnmarshaller.Instance;
return Invoke<ImportApiKeysResponse>(request, options);
}
/// <summary>
/// Import API keys from an external source, such as a CSV-formatted file.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ImportApiKeys service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ImportApiKeys service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/ImportApiKeys">REST API Reference for ImportApiKeys Operation</seealso>
public virtual Task<ImportApiKeysResponse> ImportApiKeysAsync(ImportApiKeysRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ImportApiKeysRequestMarshaller.Instance;
options.ResponseUnmarshaller = ImportApiKeysResponseUnmarshaller.Instance;
return InvokeAsync<ImportApiKeysResponse>(request, options, cancellationToken);
}
#endregion
#region ImportDocumentationParts
internal virtual ImportDocumentationPartsResponse ImportDocumentationParts(ImportDocumentationPartsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ImportDocumentationPartsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ImportDocumentationPartsResponseUnmarshaller.Instance;
return Invoke<ImportDocumentationPartsResponse>(request, options);
}
/// <summary>
/// Imports documentation parts
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ImportDocumentationParts service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ImportDocumentationParts service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/ImportDocumentationParts">REST API Reference for ImportDocumentationParts Operation</seealso>
public virtual Task<ImportDocumentationPartsResponse> ImportDocumentationPartsAsync(ImportDocumentationPartsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ImportDocumentationPartsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ImportDocumentationPartsResponseUnmarshaller.Instance;
return InvokeAsync<ImportDocumentationPartsResponse>(request, options, cancellationToken);
}
#endregion
#region ImportRestApi
internal virtual ImportRestApiResponse ImportRestApi(ImportRestApiRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ImportRestApiRequestMarshaller.Instance;
options.ResponseUnmarshaller = ImportRestApiResponseUnmarshaller.Instance;
return Invoke<ImportRestApiResponse>(request, options);
}
/// <summary>
/// A feature of the API Gateway control service for creating a new API from an external
/// API definition file.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ImportRestApi service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ImportRestApi service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/ImportRestApi">REST API Reference for ImportRestApi Operation</seealso>
public virtual Task<ImportRestApiResponse> ImportRestApiAsync(ImportRestApiRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ImportRestApiRequestMarshaller.Instance;
options.ResponseUnmarshaller = ImportRestApiResponseUnmarshaller.Instance;
return InvokeAsync<ImportRestApiResponse>(request, options, cancellationToken);
}
#endregion
#region PutGatewayResponse
internal virtual PutGatewayResponseResponse PutGatewayResponse(PutGatewayResponseRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = PutGatewayResponseRequestMarshaller.Instance;
options.ResponseUnmarshaller = PutGatewayResponseResponseUnmarshaller.Instance;
return Invoke<PutGatewayResponseResponse>(request, options);
}
/// <summary>
/// Creates a customization of a GatewayResponse of a specified response type and status
/// code on the given RestApi.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the PutGatewayResponse service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the PutGatewayResponse service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/PutGatewayResponse">REST API Reference for PutGatewayResponse Operation</seealso>
public virtual Task<PutGatewayResponseResponse> PutGatewayResponseAsync(PutGatewayResponseRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = PutGatewayResponseRequestMarshaller.Instance;
options.ResponseUnmarshaller = PutGatewayResponseResponseUnmarshaller.Instance;
return InvokeAsync<PutGatewayResponseResponse>(request, options, cancellationToken);
}
#endregion
#region PutIntegration
internal virtual PutIntegrationResponse PutIntegration(PutIntegrationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = PutIntegrationRequestMarshaller.Instance;
options.ResponseUnmarshaller = PutIntegrationResponseUnmarshaller.Instance;
return Invoke<PutIntegrationResponse>(request, options);
}
/// <summary>
/// Sets up a method's integration.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the PutIntegration service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the PutIntegration service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/PutIntegration">REST API Reference for PutIntegration Operation</seealso>
public virtual Task<PutIntegrationResponse> PutIntegrationAsync(PutIntegrationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = PutIntegrationRequestMarshaller.Instance;
options.ResponseUnmarshaller = PutIntegrationResponseUnmarshaller.Instance;
return InvokeAsync<PutIntegrationResponse>(request, options, cancellationToken);
}
#endregion
#region PutIntegrationResponse
internal virtual PutIntegrationResponseResponse PutIntegrationResponse(PutIntegrationResponseRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = PutIntegrationResponseRequestMarshaller.Instance;
options.ResponseUnmarshaller = PutIntegrationResponseResponseUnmarshaller.Instance;
return Invoke<PutIntegrationResponseResponse>(request, options);
}
/// <summary>
/// Represents a put integration.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the PutIntegrationResponse service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the PutIntegrationResponse service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/PutIntegrationResponse">REST API Reference for PutIntegrationResponse Operation</seealso>
public virtual Task<PutIntegrationResponseResponse> PutIntegrationResponseAsync(PutIntegrationResponseRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = PutIntegrationResponseRequestMarshaller.Instance;
options.ResponseUnmarshaller = PutIntegrationResponseResponseUnmarshaller.Instance;
return InvokeAsync<PutIntegrationResponseResponse>(request, options, cancellationToken);
}
#endregion
#region PutMethod
internal virtual PutMethodResponse PutMethod(PutMethodRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = PutMethodRequestMarshaller.Instance;
options.ResponseUnmarshaller = PutMethodResponseUnmarshaller.Instance;
return Invoke<PutMethodResponse>(request, options);
}
/// <summary>
/// Add a method to an existing Resource resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the PutMethod service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the PutMethod service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/PutMethod">REST API Reference for PutMethod Operation</seealso>
public virtual Task<PutMethodResponse> PutMethodAsync(PutMethodRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = PutMethodRequestMarshaller.Instance;
options.ResponseUnmarshaller = PutMethodResponseUnmarshaller.Instance;
return InvokeAsync<PutMethodResponse>(request, options, cancellationToken);
}
#endregion
#region PutMethodResponse
internal virtual PutMethodResponseResponse PutMethodResponse(PutMethodResponseRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = PutMethodResponseRequestMarshaller.Instance;
options.ResponseUnmarshaller = PutMethodResponseResponseUnmarshaller.Instance;
return Invoke<PutMethodResponseResponse>(request, options);
}
/// <summary>
/// Adds a MethodResponse to an existing Method resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the PutMethodResponse service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the PutMethodResponse service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/PutMethodResponse">REST API Reference for PutMethodResponse Operation</seealso>
public virtual Task<PutMethodResponseResponse> PutMethodResponseAsync(PutMethodResponseRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = PutMethodResponseRequestMarshaller.Instance;
options.ResponseUnmarshaller = PutMethodResponseResponseUnmarshaller.Instance;
return InvokeAsync<PutMethodResponseResponse>(request, options, cancellationToken);
}
#endregion
#region PutRestApi
internal virtual PutRestApiResponse PutRestApi(PutRestApiRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = PutRestApiRequestMarshaller.Instance;
options.ResponseUnmarshaller = PutRestApiResponseUnmarshaller.Instance;
return Invoke<PutRestApiResponse>(request, options);
}
/// <summary>
/// A feature of the API Gateway control service for updating an existing API with an
/// input of external API definitions. The update can take the form of merging the supplied
/// definition into the existing API or overwriting the existing API.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the PutRestApi service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the PutRestApi service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/PutRestApi">REST API Reference for PutRestApi Operation</seealso>
public virtual Task<PutRestApiResponse> PutRestApiAsync(PutRestApiRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = PutRestApiRequestMarshaller.Instance;
options.ResponseUnmarshaller = PutRestApiResponseUnmarshaller.Instance;
return InvokeAsync<PutRestApiResponse>(request, options, cancellationToken);
}
#endregion
#region TagResource
internal virtual TagResourceResponse TagResource(TagResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = TagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance;
return Invoke<TagResourceResponse>(request, options);
}
/// <summary>
/// Adds or updates a tag on a given resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the TagResource service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the TagResource service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/TagResource">REST API Reference for TagResource Operation</seealso>
public virtual Task<TagResourceResponse> TagResourceAsync(TagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = TagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance;
return InvokeAsync<TagResourceResponse>(request, options, cancellationToken);
}
#endregion
#region TestInvokeAuthorizer
internal virtual TestInvokeAuthorizerResponse TestInvokeAuthorizer(TestInvokeAuthorizerRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = TestInvokeAuthorizerRequestMarshaller.Instance;
options.ResponseUnmarshaller = TestInvokeAuthorizerResponseUnmarshaller.Instance;
return Invoke<TestInvokeAuthorizerResponse>(request, options);
}
/// <summary>
/// Simulate the execution of an Authorizer in your RestApi with headers, parameters,
/// and an incoming request body.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the TestInvokeAuthorizer service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the TestInvokeAuthorizer service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/TestInvokeAuthorizer">REST API Reference for TestInvokeAuthorizer Operation</seealso>
public virtual Task<TestInvokeAuthorizerResponse> TestInvokeAuthorizerAsync(TestInvokeAuthorizerRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = TestInvokeAuthorizerRequestMarshaller.Instance;
options.ResponseUnmarshaller = TestInvokeAuthorizerResponseUnmarshaller.Instance;
return InvokeAsync<TestInvokeAuthorizerResponse>(request, options, cancellationToken);
}
#endregion
#region TestInvokeMethod
internal virtual TestInvokeMethodResponse TestInvokeMethod(TestInvokeMethodRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = TestInvokeMethodRequestMarshaller.Instance;
options.ResponseUnmarshaller = TestInvokeMethodResponseUnmarshaller.Instance;
return Invoke<TestInvokeMethodResponse>(request, options);
}
/// <summary>
/// Simulate the invocation of a Method in your RestApi with headers, parameters, and
/// an incoming request body.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the TestInvokeMethod service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the TestInvokeMethod service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/TestInvokeMethod">REST API Reference for TestInvokeMethod Operation</seealso>
public virtual Task<TestInvokeMethodResponse> TestInvokeMethodAsync(TestInvokeMethodRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = TestInvokeMethodRequestMarshaller.Instance;
options.ResponseUnmarshaller = TestInvokeMethodResponseUnmarshaller.Instance;
return InvokeAsync<TestInvokeMethodResponse>(request, options, cancellationToken);
}
#endregion
#region UntagResource
internal virtual UntagResourceResponse UntagResource(UntagResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UntagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance;
return Invoke<UntagResourceResponse>(request, options);
}
/// <summary>
/// Removes a tag from a given resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UntagResource service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UntagResource service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UntagResource">REST API Reference for UntagResource Operation</seealso>
public virtual Task<UntagResourceResponse> UntagResourceAsync(UntagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UntagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance;
return InvokeAsync<UntagResourceResponse>(request, options, cancellationToken);
}
#endregion
#region UpdateAccount
internal virtual UpdateAccountResponse UpdateAccount(UpdateAccountRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateAccountRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateAccountResponseUnmarshaller.Instance;
return Invoke<UpdateAccountResponse>(request, options);
}
/// <summary>
/// Changes information about the current Account resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateAccount service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateAccount service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateAccount">REST API Reference for UpdateAccount Operation</seealso>
public virtual Task<UpdateAccountResponse> UpdateAccountAsync(UpdateAccountRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateAccountRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateAccountResponseUnmarshaller.Instance;
return InvokeAsync<UpdateAccountResponse>(request, options, cancellationToken);
}
#endregion
#region UpdateApiKey
internal virtual UpdateApiKeyResponse UpdateApiKey(UpdateApiKeyRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateApiKeyRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateApiKeyResponseUnmarshaller.Instance;
return Invoke<UpdateApiKeyResponse>(request, options);
}
/// <summary>
/// Changes information about an ApiKey resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateApiKey service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateApiKey service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateApiKey">REST API Reference for UpdateApiKey Operation</seealso>
public virtual Task<UpdateApiKeyResponse> UpdateApiKeyAsync(UpdateApiKeyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateApiKeyRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateApiKeyResponseUnmarshaller.Instance;
return InvokeAsync<UpdateApiKeyResponse>(request, options, cancellationToken);
}
#endregion
#region UpdateAuthorizer
internal virtual UpdateAuthorizerResponse UpdateAuthorizer(UpdateAuthorizerRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateAuthorizerRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateAuthorizerResponseUnmarshaller.Instance;
return Invoke<UpdateAuthorizerResponse>(request, options);
}
/// <summary>
/// Updates an existing Authorizer resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateAuthorizer service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateAuthorizer service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateAuthorizer">REST API Reference for UpdateAuthorizer Operation</seealso>
public virtual Task<UpdateAuthorizerResponse> UpdateAuthorizerAsync(UpdateAuthorizerRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateAuthorizerRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateAuthorizerResponseUnmarshaller.Instance;
return InvokeAsync<UpdateAuthorizerResponse>(request, options, cancellationToken);
}
#endregion
#region UpdateBasePathMapping
internal virtual UpdateBasePathMappingResponse UpdateBasePathMapping(UpdateBasePathMappingRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateBasePathMappingRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateBasePathMappingResponseUnmarshaller.Instance;
return Invoke<UpdateBasePathMappingResponse>(request, options);
}
/// <summary>
/// Changes information about the BasePathMapping resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateBasePathMapping service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateBasePathMapping service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateBasePathMapping">REST API Reference for UpdateBasePathMapping Operation</seealso>
public virtual Task<UpdateBasePathMappingResponse> UpdateBasePathMappingAsync(UpdateBasePathMappingRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateBasePathMappingRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateBasePathMappingResponseUnmarshaller.Instance;
return InvokeAsync<UpdateBasePathMappingResponse>(request, options, cancellationToken);
}
#endregion
#region UpdateClientCertificate
internal virtual UpdateClientCertificateResponse UpdateClientCertificate(UpdateClientCertificateRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateClientCertificateRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateClientCertificateResponseUnmarshaller.Instance;
return Invoke<UpdateClientCertificateResponse>(request, options);
}
/// <summary>
/// Changes information about an ClientCertificate resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateClientCertificate service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateClientCertificate service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateClientCertificate">REST API Reference for UpdateClientCertificate Operation</seealso>
public virtual Task<UpdateClientCertificateResponse> UpdateClientCertificateAsync(UpdateClientCertificateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateClientCertificateRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateClientCertificateResponseUnmarshaller.Instance;
return InvokeAsync<UpdateClientCertificateResponse>(request, options, cancellationToken);
}
#endregion
#region UpdateDeployment
internal virtual UpdateDeploymentResponse UpdateDeployment(UpdateDeploymentRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateDeploymentRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateDeploymentResponseUnmarshaller.Instance;
return Invoke<UpdateDeploymentResponse>(request, options);
}
/// <summary>
/// Changes information about a Deployment resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateDeployment service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateDeployment service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ServiceUnavailableException">
/// The requested service is not available. For details see the accompanying error message.
/// Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateDeployment">REST API Reference for UpdateDeployment Operation</seealso>
public virtual Task<UpdateDeploymentResponse> UpdateDeploymentAsync(UpdateDeploymentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateDeploymentRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateDeploymentResponseUnmarshaller.Instance;
return InvokeAsync<UpdateDeploymentResponse>(request, options, cancellationToken);
}
#endregion
#region UpdateDocumentationPart
internal virtual UpdateDocumentationPartResponse UpdateDocumentationPart(UpdateDocumentationPartRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateDocumentationPartRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateDocumentationPartResponseUnmarshaller.Instance;
return Invoke<UpdateDocumentationPartResponse>(request, options);
}
/// <summary>
/// Updates a documentation part.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateDocumentationPart service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateDocumentationPart service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateDocumentationPart">REST API Reference for UpdateDocumentationPart Operation</seealso>
public virtual Task<UpdateDocumentationPartResponse> UpdateDocumentationPartAsync(UpdateDocumentationPartRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateDocumentationPartRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateDocumentationPartResponseUnmarshaller.Instance;
return InvokeAsync<UpdateDocumentationPartResponse>(request, options, cancellationToken);
}
#endregion
#region UpdateDocumentationVersion
internal virtual UpdateDocumentationVersionResponse UpdateDocumentationVersion(UpdateDocumentationVersionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateDocumentationVersionRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateDocumentationVersionResponseUnmarshaller.Instance;
return Invoke<UpdateDocumentationVersionResponse>(request, options);
}
/// <summary>
/// Updates a documentation version.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateDocumentationVersion service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateDocumentationVersion service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateDocumentationVersion">REST API Reference for UpdateDocumentationVersion Operation</seealso>
public virtual Task<UpdateDocumentationVersionResponse> UpdateDocumentationVersionAsync(UpdateDocumentationVersionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateDocumentationVersionRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateDocumentationVersionResponseUnmarshaller.Instance;
return InvokeAsync<UpdateDocumentationVersionResponse>(request, options, cancellationToken);
}
#endregion
#region UpdateDomainName
internal virtual UpdateDomainNameResponse UpdateDomainName(UpdateDomainNameRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateDomainNameRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateDomainNameResponseUnmarshaller.Instance;
return Invoke<UpdateDomainNameResponse>(request, options);
}
/// <summary>
/// Changes information about the DomainName resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateDomainName service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateDomainName service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateDomainName">REST API Reference for UpdateDomainName Operation</seealso>
public virtual Task<UpdateDomainNameResponse> UpdateDomainNameAsync(UpdateDomainNameRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateDomainNameRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateDomainNameResponseUnmarshaller.Instance;
return InvokeAsync<UpdateDomainNameResponse>(request, options, cancellationToken);
}
#endregion
#region UpdateGatewayResponse
internal virtual UpdateGatewayResponseResponse UpdateGatewayResponse(UpdateGatewayResponseRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateGatewayResponseRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateGatewayResponseResponseUnmarshaller.Instance;
return Invoke<UpdateGatewayResponseResponse>(request, options);
}
/// <summary>
/// Updates a GatewayResponse of a specified response type on the given RestApi.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateGatewayResponse service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateGatewayResponse service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateGatewayResponse">REST API Reference for UpdateGatewayResponse Operation</seealso>
public virtual Task<UpdateGatewayResponseResponse> UpdateGatewayResponseAsync(UpdateGatewayResponseRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateGatewayResponseRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateGatewayResponseResponseUnmarshaller.Instance;
return InvokeAsync<UpdateGatewayResponseResponse>(request, options, cancellationToken);
}
#endregion
#region UpdateIntegration
internal virtual UpdateIntegrationResponse UpdateIntegration(UpdateIntegrationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateIntegrationRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateIntegrationResponseUnmarshaller.Instance;
return Invoke<UpdateIntegrationResponse>(request, options);
}
/// <summary>
/// Represents an update integration.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateIntegration service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateIntegration service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateIntegration">REST API Reference for UpdateIntegration Operation</seealso>
public virtual Task<UpdateIntegrationResponse> UpdateIntegrationAsync(UpdateIntegrationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateIntegrationRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateIntegrationResponseUnmarshaller.Instance;
return InvokeAsync<UpdateIntegrationResponse>(request, options, cancellationToken);
}
#endregion
#region UpdateIntegrationResponse
internal virtual UpdateIntegrationResponseResponse UpdateIntegrationResponse(UpdateIntegrationResponseRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateIntegrationResponseRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateIntegrationResponseResponseUnmarshaller.Instance;
return Invoke<UpdateIntegrationResponseResponse>(request, options);
}
/// <summary>
/// Represents an update integration response.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateIntegrationResponse service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateIntegrationResponse service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateIntegrationResponse">REST API Reference for UpdateIntegrationResponse Operation</seealso>
public virtual Task<UpdateIntegrationResponseResponse> UpdateIntegrationResponseAsync(UpdateIntegrationResponseRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateIntegrationResponseRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateIntegrationResponseResponseUnmarshaller.Instance;
return InvokeAsync<UpdateIntegrationResponseResponse>(request, options, cancellationToken);
}
#endregion
#region UpdateMethod
internal virtual UpdateMethodResponse UpdateMethod(UpdateMethodRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateMethodRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateMethodResponseUnmarshaller.Instance;
return Invoke<UpdateMethodResponse>(request, options);
}
/// <summary>
/// Updates an existing Method resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateMethod service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateMethod service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateMethod">REST API Reference for UpdateMethod Operation</seealso>
public virtual Task<UpdateMethodResponse> UpdateMethodAsync(UpdateMethodRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateMethodRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateMethodResponseUnmarshaller.Instance;
return InvokeAsync<UpdateMethodResponse>(request, options, cancellationToken);
}
#endregion
#region UpdateMethodResponse
internal virtual UpdateMethodResponseResponse UpdateMethodResponse(UpdateMethodResponseRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateMethodResponseRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateMethodResponseResponseUnmarshaller.Instance;
return Invoke<UpdateMethodResponseResponse>(request, options);
}
/// <summary>
/// Updates an existing MethodResponse resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateMethodResponse service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateMethodResponse service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateMethodResponse">REST API Reference for UpdateMethodResponse Operation</seealso>
public virtual Task<UpdateMethodResponseResponse> UpdateMethodResponseAsync(UpdateMethodResponseRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateMethodResponseRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateMethodResponseResponseUnmarshaller.Instance;
return InvokeAsync<UpdateMethodResponseResponse>(request, options, cancellationToken);
}
#endregion
#region UpdateModel
internal virtual UpdateModelResponse UpdateModel(UpdateModelRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateModelRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateModelResponseUnmarshaller.Instance;
return Invoke<UpdateModelResponse>(request, options);
}
/// <summary>
/// Changes information about a model.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateModel service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateModel service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateModel">REST API Reference for UpdateModel Operation</seealso>
public virtual Task<UpdateModelResponse> UpdateModelAsync(UpdateModelRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateModelRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateModelResponseUnmarshaller.Instance;
return InvokeAsync<UpdateModelResponse>(request, options, cancellationToken);
}
#endregion
#region UpdateRequestValidator
internal virtual UpdateRequestValidatorResponse UpdateRequestValidator(UpdateRequestValidatorRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateRequestValidatorRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateRequestValidatorResponseUnmarshaller.Instance;
return Invoke<UpdateRequestValidatorResponse>(request, options);
}
/// <summary>
/// Updates a RequestValidator of a given RestApi.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateRequestValidator service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateRequestValidator service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateRequestValidator">REST API Reference for UpdateRequestValidator Operation</seealso>
public virtual Task<UpdateRequestValidatorResponse> UpdateRequestValidatorAsync(UpdateRequestValidatorRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateRequestValidatorRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateRequestValidatorResponseUnmarshaller.Instance;
return InvokeAsync<UpdateRequestValidatorResponse>(request, options, cancellationToken);
}
#endregion
#region UpdateResource
internal virtual UpdateResourceResponse UpdateResource(UpdateResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateResourceResponseUnmarshaller.Instance;
return Invoke<UpdateResourceResponse>(request, options);
}
/// <summary>
/// Changes information about a Resource resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateResource service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateResource service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateResource">REST API Reference for UpdateResource Operation</seealso>
public virtual Task<UpdateResourceResponse> UpdateResourceAsync(UpdateResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateResourceResponseUnmarshaller.Instance;
return InvokeAsync<UpdateResourceResponse>(request, options, cancellationToken);
}
#endregion
#region UpdateRestApi
internal virtual UpdateRestApiResponse UpdateRestApi(UpdateRestApiRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateRestApiRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateRestApiResponseUnmarshaller.Instance;
return Invoke<UpdateRestApiResponse>(request, options);
}
/// <summary>
/// Changes information about the specified API.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateRestApi service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateRestApi service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateRestApi">REST API Reference for UpdateRestApi Operation</seealso>
public virtual Task<UpdateRestApiResponse> UpdateRestApiAsync(UpdateRestApiRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateRestApiRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateRestApiResponseUnmarshaller.Instance;
return InvokeAsync<UpdateRestApiResponse>(request, options, cancellationToken);
}
#endregion
#region UpdateStage
internal virtual UpdateStageResponse UpdateStage(UpdateStageRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateStageRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateStageResponseUnmarshaller.Instance;
return Invoke<UpdateStageResponse>(request, options);
}
/// <summary>
/// Changes information about a Stage resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateStage service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateStage service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateStage">REST API Reference for UpdateStage Operation</seealso>
public virtual Task<UpdateStageResponse> UpdateStageAsync(UpdateStageRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateStageRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateStageResponseUnmarshaller.Instance;
return InvokeAsync<UpdateStageResponse>(request, options, cancellationToken);
}
#endregion
#region UpdateUsage
internal virtual UpdateUsageResponse UpdateUsage(UpdateUsageRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateUsageRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateUsageResponseUnmarshaller.Instance;
return Invoke<UpdateUsageResponse>(request, options);
}
/// <summary>
/// Grants a temporary extension to the remaining quota of a usage plan associated with
/// a specified API key.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateUsage service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateUsage service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateUsage">REST API Reference for UpdateUsage Operation</seealso>
public virtual Task<UpdateUsageResponse> UpdateUsageAsync(UpdateUsageRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateUsageRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateUsageResponseUnmarshaller.Instance;
return InvokeAsync<UpdateUsageResponse>(request, options, cancellationToken);
}
#endregion
#region UpdateUsagePlan
internal virtual UpdateUsagePlanResponse UpdateUsagePlan(UpdateUsagePlanRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateUsagePlanRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateUsagePlanResponseUnmarshaller.Instance;
return Invoke<UpdateUsagePlanResponse>(request, options);
}
/// <summary>
/// Updates a usage plan of a given plan Id.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateUsagePlan service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateUsagePlan service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateUsagePlan">REST API Reference for UpdateUsagePlan Operation</seealso>
public virtual Task<UpdateUsagePlanResponse> UpdateUsagePlanAsync(UpdateUsagePlanRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateUsagePlanRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateUsagePlanResponseUnmarshaller.Instance;
return InvokeAsync<UpdateUsagePlanResponse>(request, options, cancellationToken);
}
#endregion
#region UpdateVpcLink
internal virtual UpdateVpcLinkResponse UpdateVpcLink(UpdateVpcLinkRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateVpcLinkRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateVpcLinkResponseUnmarshaller.Instance;
return Invoke<UpdateVpcLinkResponse>(request, options);
}
/// <summary>
/// Updates an existing VpcLink of a specified identifier.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateVpcLink service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateVpcLink service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateVpcLink">REST API Reference for UpdateVpcLink Operation</seealso>
public virtual Task<UpdateVpcLinkResponse> UpdateVpcLinkAsync(UpdateVpcLinkRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateVpcLinkRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateVpcLinkResponseUnmarshaller.Instance;
return InvokeAsync<UpdateVpcLinkResponse>(request, options, cancellationToken);
}
#endregion
}
} | 6,313 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apigateway-2015-07-09.normal.json service model.
*/
using System;
using System.Threading;
using System.Threading.Tasks;
using System.Collections.Generic;
using Amazon.Runtime;
using Amazon.APIGateway.Model;
namespace Amazon.APIGateway
{
/// <summary>
/// Interface for accessing APIGateway
///
/// Amazon API Gateway
/// <para>
/// Amazon API Gateway helps developers deliver robust, secure, and scalable mobile and
/// web application back ends. API Gateway allows developers to securely connect mobile
/// and web applications to APIs that run on AWS Lambda, Amazon EC2, or other publicly
/// addressable web services that are hosted outside of AWS.
/// </para>
/// </summary>
public partial interface IAmazonAPIGateway : IAmazonService, IDisposable
{
#if AWS_ASYNC_ENUMERABLES_API
/// <summary>
/// Paginators for the service
/// </summary>
IAPIGatewayPaginatorFactory Paginators { get; }
#endif
#region CreateApiKey
/// <summary>
/// Create an ApiKey resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateApiKey service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateApiKey service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/CreateApiKey">REST API Reference for CreateApiKey Operation</seealso>
Task<CreateApiKeyResponse> CreateApiKeyAsync(CreateApiKeyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateAuthorizer
/// <summary>
/// Adds a new Authorizer resource to an existing RestApi resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateAuthorizer service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateAuthorizer service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/CreateAuthorizer">REST API Reference for CreateAuthorizer Operation</seealso>
Task<CreateAuthorizerResponse> CreateAuthorizerAsync(CreateAuthorizerRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateBasePathMapping
/// <summary>
/// Creates a new BasePathMapping resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateBasePathMapping service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateBasePathMapping service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/CreateBasePathMapping">REST API Reference for CreateBasePathMapping Operation</seealso>
Task<CreateBasePathMappingResponse> CreateBasePathMappingAsync(CreateBasePathMappingRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateDeployment
/// <summary>
/// Creates a Deployment resource, which makes a specified RestApi callable over the internet.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateDeployment service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateDeployment service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ServiceUnavailableException">
/// The requested service is not available. For details see the accompanying error message.
/// Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/CreateDeployment">REST API Reference for CreateDeployment Operation</seealso>
Task<CreateDeploymentResponse> CreateDeploymentAsync(CreateDeploymentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateDocumentationPart
/// <summary>
/// Creates a documentation part.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateDocumentationPart service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateDocumentationPart service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/CreateDocumentationPart">REST API Reference for CreateDocumentationPart Operation</seealso>
Task<CreateDocumentationPartResponse> CreateDocumentationPartAsync(CreateDocumentationPartRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateDocumentationVersion
/// <summary>
/// Creates a documentation version
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateDocumentationVersion service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateDocumentationVersion service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/CreateDocumentationVersion">REST API Reference for CreateDocumentationVersion Operation</seealso>
Task<CreateDocumentationVersionResponse> CreateDocumentationVersionAsync(CreateDocumentationVersionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateDomainName
/// <summary>
/// Creates a new domain name.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateDomainName service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateDomainName service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/CreateDomainName">REST API Reference for CreateDomainName Operation</seealso>
Task<CreateDomainNameResponse> CreateDomainNameAsync(CreateDomainNameRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateModel
/// <summary>
/// Adds a new Model resource to an existing RestApi resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateModel service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateModel service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/CreateModel">REST API Reference for CreateModel Operation</seealso>
Task<CreateModelResponse> CreateModelAsync(CreateModelRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateRequestValidator
/// <summary>
/// Creates a RequestValidator of a given RestApi.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateRequestValidator service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateRequestValidator service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/CreateRequestValidator">REST API Reference for CreateRequestValidator Operation</seealso>
Task<CreateRequestValidatorResponse> CreateRequestValidatorAsync(CreateRequestValidatorRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateResource
/// <summary>
/// Creates a Resource resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateResource service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateResource service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/CreateResource">REST API Reference for CreateResource Operation</seealso>
Task<CreateResourceResponse> CreateResourceAsync(CreateResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateRestApi
/// <summary>
/// Creates a new RestApi resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateRestApi service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateRestApi service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/CreateRestApi">REST API Reference for CreateRestApi Operation</seealso>
Task<CreateRestApiResponse> CreateRestApiAsync(CreateRestApiRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateStage
/// <summary>
/// Creates a new Stage resource that references a pre-existing Deployment for the API.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateStage service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateStage service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/CreateStage">REST API Reference for CreateStage Operation</seealso>
Task<CreateStageResponse> CreateStageAsync(CreateStageRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateUsagePlan
/// <summary>
/// Creates a usage plan with the throttle and quota limits, as well as the associated
/// API stages, specified in the payload.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateUsagePlan service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateUsagePlan service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/CreateUsagePlan">REST API Reference for CreateUsagePlan Operation</seealso>
Task<CreateUsagePlanResponse> CreateUsagePlanAsync(CreateUsagePlanRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateUsagePlanKey
/// <summary>
/// Creates a usage plan key for adding an existing API key to a usage plan.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateUsagePlanKey service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateUsagePlanKey service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/CreateUsagePlanKey">REST API Reference for CreateUsagePlanKey Operation</seealso>
Task<CreateUsagePlanKeyResponse> CreateUsagePlanKeyAsync(CreateUsagePlanKeyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateVpcLink
/// <summary>
/// Creates a VPC link, under the caller's account in a selected region, in an asynchronous
/// operation that typically takes 2-4 minutes to complete and become operational. The
/// caller must have permissions to create and update VPC Endpoint services.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateVpcLink service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateVpcLink service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/CreateVpcLink">REST API Reference for CreateVpcLink Operation</seealso>
Task<CreateVpcLinkResponse> CreateVpcLinkAsync(CreateVpcLinkRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteApiKey
/// <summary>
/// Deletes the ApiKey resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteApiKey service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteApiKey service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteApiKey">REST API Reference for DeleteApiKey Operation</seealso>
Task<DeleteApiKeyResponse> DeleteApiKeyAsync(DeleteApiKeyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteAuthorizer
/// <summary>
/// Deletes an existing Authorizer resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteAuthorizer service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteAuthorizer service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteAuthorizer">REST API Reference for DeleteAuthorizer Operation</seealso>
Task<DeleteAuthorizerResponse> DeleteAuthorizerAsync(DeleteAuthorizerRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteBasePathMapping
/// <summary>
/// Deletes the BasePathMapping resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteBasePathMapping service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteBasePathMapping service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteBasePathMapping">REST API Reference for DeleteBasePathMapping Operation</seealso>
Task<DeleteBasePathMappingResponse> DeleteBasePathMappingAsync(DeleteBasePathMappingRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteClientCertificate
/// <summary>
/// Deletes the ClientCertificate resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteClientCertificate service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteClientCertificate service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteClientCertificate">REST API Reference for DeleteClientCertificate Operation</seealso>
Task<DeleteClientCertificateResponse> DeleteClientCertificateAsync(DeleteClientCertificateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteDeployment
/// <summary>
/// Deletes a Deployment resource. Deleting a deployment will only succeed if there are
/// no Stage resources associated with it.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteDeployment service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteDeployment service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteDeployment">REST API Reference for DeleteDeployment Operation</seealso>
Task<DeleteDeploymentResponse> DeleteDeploymentAsync(DeleteDeploymentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteDocumentationPart
/// <summary>
/// Deletes a documentation part
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteDocumentationPart service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteDocumentationPart service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteDocumentationPart">REST API Reference for DeleteDocumentationPart Operation</seealso>
Task<DeleteDocumentationPartResponse> DeleteDocumentationPartAsync(DeleteDocumentationPartRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteDocumentationVersion
/// <summary>
/// Deletes a documentation version.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteDocumentationVersion service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteDocumentationVersion service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteDocumentationVersion">REST API Reference for DeleteDocumentationVersion Operation</seealso>
Task<DeleteDocumentationVersionResponse> DeleteDocumentationVersionAsync(DeleteDocumentationVersionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteDomainName
/// <summary>
/// Deletes the DomainName resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteDomainName service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteDomainName service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteDomainName">REST API Reference for DeleteDomainName Operation</seealso>
Task<DeleteDomainNameResponse> DeleteDomainNameAsync(DeleteDomainNameRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteGatewayResponse
/// <summary>
/// Clears any customization of a GatewayResponse of a specified response type on the
/// given RestApi and resets it with the default settings.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteGatewayResponse service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteGatewayResponse service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteGatewayResponse">REST API Reference for DeleteGatewayResponse Operation</seealso>
Task<DeleteGatewayResponseResponse> DeleteGatewayResponseAsync(DeleteGatewayResponseRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteIntegration
/// <summary>
/// Represents a delete integration.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteIntegration service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteIntegration service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteIntegration">REST API Reference for DeleteIntegration Operation</seealso>
Task<DeleteIntegrationResponse> DeleteIntegrationAsync(DeleteIntegrationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteIntegrationResponse
/// <summary>
/// Represents a delete integration response.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteIntegrationResponse service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteIntegrationResponse service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteIntegrationResponse">REST API Reference for DeleteIntegrationResponse Operation</seealso>
Task<DeleteIntegrationResponseResponse> DeleteIntegrationResponseAsync(DeleteIntegrationResponseRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteMethod
/// <summary>
/// Deletes an existing Method resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteMethod service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteMethod service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteMethod">REST API Reference for DeleteMethod Operation</seealso>
Task<DeleteMethodResponse> DeleteMethodAsync(DeleteMethodRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteMethodResponse
/// <summary>
/// Deletes an existing MethodResponse resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteMethodResponse service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteMethodResponse service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteMethodResponse">REST API Reference for DeleteMethodResponse Operation</seealso>
Task<DeleteMethodResponseResponse> DeleteMethodResponseAsync(DeleteMethodResponseRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteModel
/// <summary>
/// Deletes a model.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteModel service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteModel service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteModel">REST API Reference for DeleteModel Operation</seealso>
Task<DeleteModelResponse> DeleteModelAsync(DeleteModelRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteRequestValidator
/// <summary>
/// Deletes a RequestValidator of a given RestApi.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteRequestValidator service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteRequestValidator service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteRequestValidator">REST API Reference for DeleteRequestValidator Operation</seealso>
Task<DeleteRequestValidatorResponse> DeleteRequestValidatorAsync(DeleteRequestValidatorRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteResource
/// <summary>
/// Deletes a Resource resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteResource service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteResource service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteResource">REST API Reference for DeleteResource Operation</seealso>
Task<DeleteResourceResponse> DeleteResourceAsync(DeleteResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteRestApi
/// <summary>
/// Deletes the specified API.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteRestApi service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteRestApi service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteRestApi">REST API Reference for DeleteRestApi Operation</seealso>
Task<DeleteRestApiResponse> DeleteRestApiAsync(DeleteRestApiRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteStage
/// <summary>
/// Deletes a Stage resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteStage service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteStage service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteStage">REST API Reference for DeleteStage Operation</seealso>
Task<DeleteStageResponse> DeleteStageAsync(DeleteStageRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteUsagePlan
/// <summary>
/// Deletes a usage plan of a given plan Id.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteUsagePlan service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteUsagePlan service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteUsagePlan">REST API Reference for DeleteUsagePlan Operation</seealso>
Task<DeleteUsagePlanResponse> DeleteUsagePlanAsync(DeleteUsagePlanRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteUsagePlanKey
/// <summary>
/// Deletes a usage plan key and remove the underlying API key from the associated usage
/// plan.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteUsagePlanKey service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteUsagePlanKey service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteUsagePlanKey">REST API Reference for DeleteUsagePlanKey Operation</seealso>
Task<DeleteUsagePlanKeyResponse> DeleteUsagePlanKeyAsync(DeleteUsagePlanKeyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteVpcLink
/// <summary>
/// Deletes an existing VpcLink of a specified identifier.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteVpcLink service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteVpcLink service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteVpcLink">REST API Reference for DeleteVpcLink Operation</seealso>
Task<DeleteVpcLinkResponse> DeleteVpcLinkAsync(DeleteVpcLinkRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region FlushStageAuthorizersCache
/// <summary>
/// Flushes all authorizer cache entries on a stage.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the FlushStageAuthorizersCache service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the FlushStageAuthorizersCache service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/FlushStageAuthorizersCache">REST API Reference for FlushStageAuthorizersCache Operation</seealso>
Task<FlushStageAuthorizersCacheResponse> FlushStageAuthorizersCacheAsync(FlushStageAuthorizersCacheRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region FlushStageCache
/// <summary>
/// Flushes a stage's cache.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the FlushStageCache service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the FlushStageCache service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/FlushStageCache">REST API Reference for FlushStageCache Operation</seealso>
Task<FlushStageCacheResponse> FlushStageCacheAsync(FlushStageCacheRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GenerateClientCertificate
/// <summary>
/// Generates a ClientCertificate resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GenerateClientCertificate service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GenerateClientCertificate service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GenerateClientCertificate">REST API Reference for GenerateClientCertificate Operation</seealso>
Task<GenerateClientCertificateResponse> GenerateClientCertificateAsync(GenerateClientCertificateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetAccount
/// <summary>
/// Gets information about the current Account resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetAccount service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetAccount service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetAccount">REST API Reference for GetAccount Operation</seealso>
Task<GetAccountResponse> GetAccountAsync(GetAccountRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetApiKey
/// <summary>
/// Gets information about the current ApiKey resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetApiKey service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetApiKey service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetApiKey">REST API Reference for GetApiKey Operation</seealso>
Task<GetApiKeyResponse> GetApiKeyAsync(GetApiKeyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetApiKeys
/// <summary>
/// Gets information about the current ApiKeys resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetApiKeys service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetApiKeys service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetApiKeys">REST API Reference for GetApiKeys Operation</seealso>
Task<GetApiKeysResponse> GetApiKeysAsync(GetApiKeysRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetAuthorizer
/// <summary>
/// Describe an existing Authorizer resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetAuthorizer service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetAuthorizer service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetAuthorizer">REST API Reference for GetAuthorizer Operation</seealso>
Task<GetAuthorizerResponse> GetAuthorizerAsync(GetAuthorizerRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetAuthorizers
/// <summary>
/// Describe an existing Authorizers resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetAuthorizers service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetAuthorizers service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetAuthorizers">REST API Reference for GetAuthorizers Operation</seealso>
Task<GetAuthorizersResponse> GetAuthorizersAsync(GetAuthorizersRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetBasePathMapping
/// <summary>
/// Describe a BasePathMapping resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetBasePathMapping service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetBasePathMapping service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetBasePathMapping">REST API Reference for GetBasePathMapping Operation</seealso>
Task<GetBasePathMappingResponse> GetBasePathMappingAsync(GetBasePathMappingRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetBasePathMappings
/// <summary>
/// Represents a collection of BasePathMapping resources.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetBasePathMappings service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetBasePathMappings service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetBasePathMappings">REST API Reference for GetBasePathMappings Operation</seealso>
Task<GetBasePathMappingsResponse> GetBasePathMappingsAsync(GetBasePathMappingsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetClientCertificate
/// <summary>
/// Gets information about the current ClientCertificate resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetClientCertificate service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetClientCertificate service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetClientCertificate">REST API Reference for GetClientCertificate Operation</seealso>
Task<GetClientCertificateResponse> GetClientCertificateAsync(GetClientCertificateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetClientCertificates
/// <summary>
/// Gets a collection of ClientCertificate resources.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetClientCertificates service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetClientCertificates service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetClientCertificates">REST API Reference for GetClientCertificates Operation</seealso>
Task<GetClientCertificatesResponse> GetClientCertificatesAsync(GetClientCertificatesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetDeployment
/// <summary>
/// Gets information about a Deployment resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetDeployment service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetDeployment service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ServiceUnavailableException">
/// The requested service is not available. For details see the accompanying error message.
/// Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetDeployment">REST API Reference for GetDeployment Operation</seealso>
Task<GetDeploymentResponse> GetDeploymentAsync(GetDeploymentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetDeployments
/// <summary>
/// Gets information about a Deployments collection.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetDeployments service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetDeployments service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ServiceUnavailableException">
/// The requested service is not available. For details see the accompanying error message.
/// Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetDeployments">REST API Reference for GetDeployments Operation</seealso>
Task<GetDeploymentsResponse> GetDeploymentsAsync(GetDeploymentsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetDocumentationPart
/// <summary>
/// Gets a documentation part.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetDocumentationPart service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetDocumentationPart service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetDocumentationPart">REST API Reference for GetDocumentationPart Operation</seealso>
Task<GetDocumentationPartResponse> GetDocumentationPartAsync(GetDocumentationPartRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetDocumentationParts
/// <summary>
/// Gets documentation parts.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetDocumentationParts service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetDocumentationParts service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetDocumentationParts">REST API Reference for GetDocumentationParts Operation</seealso>
Task<GetDocumentationPartsResponse> GetDocumentationPartsAsync(GetDocumentationPartsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetDocumentationVersion
/// <summary>
/// Gets a documentation version.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetDocumentationVersion service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetDocumentationVersion service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetDocumentationVersion">REST API Reference for GetDocumentationVersion Operation</seealso>
Task<GetDocumentationVersionResponse> GetDocumentationVersionAsync(GetDocumentationVersionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetDocumentationVersions
/// <summary>
/// Gets documentation versions.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetDocumentationVersions service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetDocumentationVersions service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetDocumentationVersions">REST API Reference for GetDocumentationVersions Operation</seealso>
Task<GetDocumentationVersionsResponse> GetDocumentationVersionsAsync(GetDocumentationVersionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetDomainName
/// <summary>
/// Represents a domain name that is contained in a simpler, more intuitive URL that can
/// be called.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetDomainName service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetDomainName service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetDomainName">REST API Reference for GetDomainName Operation</seealso>
Task<GetDomainNameResponse> GetDomainNameAsync(GetDomainNameRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetDomainNames
/// <summary>
/// Represents a collection of DomainName resources.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetDomainNames service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetDomainNames service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetDomainNames">REST API Reference for GetDomainNames Operation</seealso>
Task<GetDomainNamesResponse> GetDomainNamesAsync(GetDomainNamesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetExport
/// <summary>
/// Exports a deployed version of a RestApi in a specified format.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetExport service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetExport service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetExport">REST API Reference for GetExport Operation</seealso>
Task<GetExportResponse> GetExportAsync(GetExportRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetGatewayResponse
/// <summary>
/// Gets a GatewayResponse of a specified response type on the given RestApi.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetGatewayResponse service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetGatewayResponse service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetGatewayResponse">REST API Reference for GetGatewayResponse Operation</seealso>
Task<GetGatewayResponseResponse> GetGatewayResponseAsync(GetGatewayResponseRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetGatewayResponses
/// <summary>
/// Gets the GatewayResponses collection on the given RestApi. If an API developer has
/// not added any definitions for gateway responses, the result will be the API Gateway-generated
/// default GatewayResponses collection for the supported response types.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetGatewayResponses service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetGatewayResponses service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetGatewayResponses">REST API Reference for GetGatewayResponses Operation</seealso>
Task<GetGatewayResponsesResponse> GetGatewayResponsesAsync(GetGatewayResponsesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetIntegration
/// <summary>
/// Get the integration settings.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetIntegration service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetIntegration service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetIntegration">REST API Reference for GetIntegration Operation</seealso>
Task<GetIntegrationResponse> GetIntegrationAsync(GetIntegrationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetIntegrationResponse
/// <summary>
/// Represents a get integration response.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetIntegrationResponse service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetIntegrationResponse service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetIntegrationResponse">REST API Reference for GetIntegrationResponse Operation</seealso>
Task<GetIntegrationResponseResponse> GetIntegrationResponseAsync(GetIntegrationResponseRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetMethod
/// <summary>
/// Describe an existing Method resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetMethod service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetMethod service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetMethod">REST API Reference for GetMethod Operation</seealso>
Task<GetMethodResponse> GetMethodAsync(GetMethodRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetMethodResponse
/// <summary>
/// Describes a MethodResponse resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetMethodResponse service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetMethodResponse service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetMethodResponse">REST API Reference for GetMethodResponse Operation</seealso>
Task<GetMethodResponseResponse> GetMethodResponseAsync(GetMethodResponseRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetModel
/// <summary>
/// Describes an existing model defined for a RestApi resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetModel service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetModel service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetModel">REST API Reference for GetModel Operation</seealso>
Task<GetModelResponse> GetModelAsync(GetModelRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetModels
/// <summary>
/// Describes existing Models defined for a RestApi resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetModels service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetModels service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetModels">REST API Reference for GetModels Operation</seealso>
Task<GetModelsResponse> GetModelsAsync(GetModelsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetModelTemplate
/// <summary>
/// Generates a sample mapping template that can be used to transform a payload into the
/// structure of a model.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetModelTemplate service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetModelTemplate service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetModelTemplate">REST API Reference for GetModelTemplate Operation</seealso>
Task<GetModelTemplateResponse> GetModelTemplateAsync(GetModelTemplateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetRequestValidator
/// <summary>
/// Gets a RequestValidator of a given RestApi.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetRequestValidator service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetRequestValidator service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetRequestValidator">REST API Reference for GetRequestValidator Operation</seealso>
Task<GetRequestValidatorResponse> GetRequestValidatorAsync(GetRequestValidatorRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetRequestValidators
/// <summary>
/// Gets the RequestValidators collection of a given RestApi.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetRequestValidators service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetRequestValidators service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetRequestValidators">REST API Reference for GetRequestValidators Operation</seealso>
Task<GetRequestValidatorsResponse> GetRequestValidatorsAsync(GetRequestValidatorsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetResource
/// <summary>
/// Lists information about a resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetResource service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetResource service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetResource">REST API Reference for GetResource Operation</seealso>
Task<GetResourceResponse> GetResourceAsync(GetResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetResources
/// <summary>
/// Lists information about a collection of Resource resources.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetResources service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetResources service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetResources">REST API Reference for GetResources Operation</seealso>
Task<GetResourcesResponse> GetResourcesAsync(GetResourcesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetRestApi
/// <summary>
/// Lists the RestApi resource in the collection.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetRestApi service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetRestApi service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetRestApi">REST API Reference for GetRestApi Operation</seealso>
Task<GetRestApiResponse> GetRestApiAsync(GetRestApiRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetRestApis
/// <summary>
/// Lists the RestApis resources for your collection.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetRestApis service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetRestApis service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetRestApis">REST API Reference for GetRestApis Operation</seealso>
Task<GetRestApisResponse> GetRestApisAsync(GetRestApisRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetSdk
/// <summary>
/// Generates a client SDK for a RestApi and Stage.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetSdk service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetSdk service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetSdk">REST API Reference for GetSdk Operation</seealso>
Task<GetSdkResponse> GetSdkAsync(GetSdkRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetSdkType
/// <summary>
/// Gets an SDK type.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetSdkType service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetSdkType service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetSdkType">REST API Reference for GetSdkType Operation</seealso>
Task<GetSdkTypeResponse> GetSdkTypeAsync(GetSdkTypeRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetSdkTypes
/// <summary>
/// Gets SDK types
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetSdkTypes service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetSdkTypes service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetSdkTypes">REST API Reference for GetSdkTypes Operation</seealso>
Task<GetSdkTypesResponse> GetSdkTypesAsync(GetSdkTypesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetStage
/// <summary>
/// Gets information about a Stage resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetStage service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetStage service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetStage">REST API Reference for GetStage Operation</seealso>
Task<GetStageResponse> GetStageAsync(GetStageRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetStages
/// <summary>
/// Gets information about one or more Stage resources.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetStages service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetStages service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetStages">REST API Reference for GetStages Operation</seealso>
Task<GetStagesResponse> GetStagesAsync(GetStagesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetTags
/// <summary>
/// Gets the Tags collection for a given resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetTags service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetTags service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetTags">REST API Reference for GetTags Operation</seealso>
Task<GetTagsResponse> GetTagsAsync(GetTagsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetUsage
/// <summary>
/// Gets the usage data of a usage plan in a specified time interval.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetUsage service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetUsage service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetUsage">REST API Reference for GetUsage Operation</seealso>
Task<GetUsageResponse> GetUsageAsync(GetUsageRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetUsagePlan
/// <summary>
/// Gets a usage plan of a given plan identifier.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetUsagePlan service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetUsagePlan service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetUsagePlan">REST API Reference for GetUsagePlan Operation</seealso>
Task<GetUsagePlanResponse> GetUsagePlanAsync(GetUsagePlanRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetUsagePlanKey
/// <summary>
/// Gets a usage plan key of a given key identifier.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetUsagePlanKey service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetUsagePlanKey service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetUsagePlanKey">REST API Reference for GetUsagePlanKey Operation</seealso>
Task<GetUsagePlanKeyResponse> GetUsagePlanKeyAsync(GetUsagePlanKeyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetUsagePlanKeys
/// <summary>
/// Gets all the usage plan keys representing the API keys added to a specified usage
/// plan.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetUsagePlanKeys service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetUsagePlanKeys service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetUsagePlanKeys">REST API Reference for GetUsagePlanKeys Operation</seealso>
Task<GetUsagePlanKeysResponse> GetUsagePlanKeysAsync(GetUsagePlanKeysRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetUsagePlans
/// <summary>
/// Gets all the usage plans of the caller's account.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetUsagePlans service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetUsagePlans service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetUsagePlans">REST API Reference for GetUsagePlans Operation</seealso>
Task<GetUsagePlansResponse> GetUsagePlansAsync(GetUsagePlansRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetVpcLink
/// <summary>
/// Gets a specified VPC link under the caller's account in a region.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetVpcLink service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetVpcLink service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetVpcLink">REST API Reference for GetVpcLink Operation</seealso>
Task<GetVpcLinkResponse> GetVpcLinkAsync(GetVpcLinkRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetVpcLinks
/// <summary>
/// Gets the VpcLinks collection under the caller's account in a selected region.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetVpcLinks service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetVpcLinks service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/GetVpcLinks">REST API Reference for GetVpcLinks Operation</seealso>
Task<GetVpcLinksResponse> GetVpcLinksAsync(GetVpcLinksRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ImportApiKeys
/// <summary>
/// Import API keys from an external source, such as a CSV-formatted file.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ImportApiKeys service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ImportApiKeys service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/ImportApiKeys">REST API Reference for ImportApiKeys Operation</seealso>
Task<ImportApiKeysResponse> ImportApiKeysAsync(ImportApiKeysRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ImportDocumentationParts
/// <summary>
/// Imports documentation parts
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ImportDocumentationParts service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ImportDocumentationParts service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/ImportDocumentationParts">REST API Reference for ImportDocumentationParts Operation</seealso>
Task<ImportDocumentationPartsResponse> ImportDocumentationPartsAsync(ImportDocumentationPartsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ImportRestApi
/// <summary>
/// A feature of the API Gateway control service for creating a new API from an external
/// API definition file.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ImportRestApi service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ImportRestApi service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/ImportRestApi">REST API Reference for ImportRestApi Operation</seealso>
Task<ImportRestApiResponse> ImportRestApiAsync(ImportRestApiRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region PutGatewayResponse
/// <summary>
/// Creates a customization of a GatewayResponse of a specified response type and status
/// code on the given RestApi.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the PutGatewayResponse service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the PutGatewayResponse service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/PutGatewayResponse">REST API Reference for PutGatewayResponse Operation</seealso>
Task<PutGatewayResponseResponse> PutGatewayResponseAsync(PutGatewayResponseRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region PutIntegration
/// <summary>
/// Sets up a method's integration.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the PutIntegration service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the PutIntegration service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/PutIntegration">REST API Reference for PutIntegration Operation</seealso>
Task<PutIntegrationResponse> PutIntegrationAsync(PutIntegrationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region PutIntegrationResponse
/// <summary>
/// Represents a put integration.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the PutIntegrationResponse service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the PutIntegrationResponse service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/PutIntegrationResponse">REST API Reference for PutIntegrationResponse Operation</seealso>
Task<PutIntegrationResponseResponse> PutIntegrationResponseAsync(PutIntegrationResponseRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region PutMethod
/// <summary>
/// Add a method to an existing Resource resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the PutMethod service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the PutMethod service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/PutMethod">REST API Reference for PutMethod Operation</seealso>
Task<PutMethodResponse> PutMethodAsync(PutMethodRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region PutMethodResponse
/// <summary>
/// Adds a MethodResponse to an existing Method resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the PutMethodResponse service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the PutMethodResponse service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/PutMethodResponse">REST API Reference for PutMethodResponse Operation</seealso>
Task<PutMethodResponseResponse> PutMethodResponseAsync(PutMethodResponseRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region PutRestApi
/// <summary>
/// A feature of the API Gateway control service for updating an existing API with an
/// input of external API definitions. The update can take the form of merging the supplied
/// definition into the existing API or overwriting the existing API.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the PutRestApi service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the PutRestApi service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/PutRestApi">REST API Reference for PutRestApi Operation</seealso>
Task<PutRestApiResponse> PutRestApiAsync(PutRestApiRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region TagResource
/// <summary>
/// Adds or updates a tag on a given resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the TagResource service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the TagResource service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/TagResource">REST API Reference for TagResource Operation</seealso>
Task<TagResourceResponse> TagResourceAsync(TagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region TestInvokeAuthorizer
/// <summary>
/// Simulate the execution of an Authorizer in your RestApi with headers, parameters,
/// and an incoming request body.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the TestInvokeAuthorizer service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the TestInvokeAuthorizer service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/TestInvokeAuthorizer">REST API Reference for TestInvokeAuthorizer Operation</seealso>
Task<TestInvokeAuthorizerResponse> TestInvokeAuthorizerAsync(TestInvokeAuthorizerRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region TestInvokeMethod
/// <summary>
/// Simulate the invocation of a Method in your RestApi with headers, parameters, and
/// an incoming request body.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the TestInvokeMethod service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the TestInvokeMethod service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/TestInvokeMethod">REST API Reference for TestInvokeMethod Operation</seealso>
Task<TestInvokeMethodResponse> TestInvokeMethodAsync(TestInvokeMethodRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UntagResource
/// <summary>
/// Removes a tag from a given resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UntagResource service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UntagResource service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UntagResource">REST API Reference for UntagResource Operation</seealso>
Task<UntagResourceResponse> UntagResourceAsync(UntagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateAccount
/// <summary>
/// Changes information about the current Account resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateAccount service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateAccount service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateAccount">REST API Reference for UpdateAccount Operation</seealso>
Task<UpdateAccountResponse> UpdateAccountAsync(UpdateAccountRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateApiKey
/// <summary>
/// Changes information about an ApiKey resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateApiKey service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateApiKey service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateApiKey">REST API Reference for UpdateApiKey Operation</seealso>
Task<UpdateApiKeyResponse> UpdateApiKeyAsync(UpdateApiKeyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateAuthorizer
/// <summary>
/// Updates an existing Authorizer resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateAuthorizer service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateAuthorizer service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateAuthorizer">REST API Reference for UpdateAuthorizer Operation</seealso>
Task<UpdateAuthorizerResponse> UpdateAuthorizerAsync(UpdateAuthorizerRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateBasePathMapping
/// <summary>
/// Changes information about the BasePathMapping resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateBasePathMapping service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateBasePathMapping service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateBasePathMapping">REST API Reference for UpdateBasePathMapping Operation</seealso>
Task<UpdateBasePathMappingResponse> UpdateBasePathMappingAsync(UpdateBasePathMappingRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateClientCertificate
/// <summary>
/// Changes information about an ClientCertificate resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateClientCertificate service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateClientCertificate service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateClientCertificate">REST API Reference for UpdateClientCertificate Operation</seealso>
Task<UpdateClientCertificateResponse> UpdateClientCertificateAsync(UpdateClientCertificateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateDeployment
/// <summary>
/// Changes information about a Deployment resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateDeployment service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateDeployment service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ServiceUnavailableException">
/// The requested service is not available. For details see the accompanying error message.
/// Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateDeployment">REST API Reference for UpdateDeployment Operation</seealso>
Task<UpdateDeploymentResponse> UpdateDeploymentAsync(UpdateDeploymentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateDocumentationPart
/// <summary>
/// Updates a documentation part.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateDocumentationPart service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateDocumentationPart service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateDocumentationPart">REST API Reference for UpdateDocumentationPart Operation</seealso>
Task<UpdateDocumentationPartResponse> UpdateDocumentationPartAsync(UpdateDocumentationPartRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateDocumentationVersion
/// <summary>
/// Updates a documentation version.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateDocumentationVersion service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateDocumentationVersion service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateDocumentationVersion">REST API Reference for UpdateDocumentationVersion Operation</seealso>
Task<UpdateDocumentationVersionResponse> UpdateDocumentationVersionAsync(UpdateDocumentationVersionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateDomainName
/// <summary>
/// Changes information about the DomainName resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateDomainName service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateDomainName service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateDomainName">REST API Reference for UpdateDomainName Operation</seealso>
Task<UpdateDomainNameResponse> UpdateDomainNameAsync(UpdateDomainNameRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateGatewayResponse
/// <summary>
/// Updates a GatewayResponse of a specified response type on the given RestApi.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateGatewayResponse service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateGatewayResponse service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateGatewayResponse">REST API Reference for UpdateGatewayResponse Operation</seealso>
Task<UpdateGatewayResponseResponse> UpdateGatewayResponseAsync(UpdateGatewayResponseRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateIntegration
/// <summary>
/// Represents an update integration.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateIntegration service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateIntegration service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateIntegration">REST API Reference for UpdateIntegration Operation</seealso>
Task<UpdateIntegrationResponse> UpdateIntegrationAsync(UpdateIntegrationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateIntegrationResponse
/// <summary>
/// Represents an update integration response.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateIntegrationResponse service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateIntegrationResponse service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateIntegrationResponse">REST API Reference for UpdateIntegrationResponse Operation</seealso>
Task<UpdateIntegrationResponseResponse> UpdateIntegrationResponseAsync(UpdateIntegrationResponseRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateMethod
/// <summary>
/// Updates an existing Method resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateMethod service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateMethod service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateMethod">REST API Reference for UpdateMethod Operation</seealso>
Task<UpdateMethodResponse> UpdateMethodAsync(UpdateMethodRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateMethodResponse
/// <summary>
/// Updates an existing MethodResponse resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateMethodResponse service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateMethodResponse service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateMethodResponse">REST API Reference for UpdateMethodResponse Operation</seealso>
Task<UpdateMethodResponseResponse> UpdateMethodResponseAsync(UpdateMethodResponseRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateModel
/// <summary>
/// Changes information about a model.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateModel service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateModel service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateModel">REST API Reference for UpdateModel Operation</seealso>
Task<UpdateModelResponse> UpdateModelAsync(UpdateModelRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateRequestValidator
/// <summary>
/// Updates a RequestValidator of a given RestApi.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateRequestValidator service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateRequestValidator service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateRequestValidator">REST API Reference for UpdateRequestValidator Operation</seealso>
Task<UpdateRequestValidatorResponse> UpdateRequestValidatorAsync(UpdateRequestValidatorRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateResource
/// <summary>
/// Changes information about a Resource resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateResource service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateResource service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateResource">REST API Reference for UpdateResource Operation</seealso>
Task<UpdateResourceResponse> UpdateResourceAsync(UpdateResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateRestApi
/// <summary>
/// Changes information about the specified API.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateRestApi service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateRestApi service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateRestApi">REST API Reference for UpdateRestApi Operation</seealso>
Task<UpdateRestApiResponse> UpdateRestApiAsync(UpdateRestApiRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateStage
/// <summary>
/// Changes information about a Stage resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateStage service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateStage service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateStage">REST API Reference for UpdateStage Operation</seealso>
Task<UpdateStageResponse> UpdateStageAsync(UpdateStageRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateUsage
/// <summary>
/// Grants a temporary extension to the remaining quota of a usage plan associated with
/// a specified API key.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateUsage service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateUsage service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateUsage">REST API Reference for UpdateUsage Operation</seealso>
Task<UpdateUsageResponse> UpdateUsageAsync(UpdateUsageRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateUsagePlan
/// <summary>
/// Updates a usage plan of a given plan Id.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateUsagePlan service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateUsagePlan service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateUsagePlan">REST API Reference for UpdateUsagePlan Operation</seealso>
Task<UpdateUsagePlanResponse> UpdateUsagePlanAsync(UpdateUsagePlanRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateVpcLink
/// <summary>
/// Updates an existing VpcLink of a specified identifier.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateVpcLink service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateVpcLink service method, as returned by APIGateway.</returns>
/// <exception cref="Amazon.APIGateway.Model.BadRequestException">
/// The submitted request is not valid, for example, the input is incomplete or incorrect.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.ConflictException">
/// The request configuration has conflicts. For details, see the accompanying error message.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.LimitExceededException">
/// The request exceeded the rate limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.NotFoundException">
/// The requested resource is not found. Make sure that the request URI is correct.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.TooManyRequestsException">
/// The request has reached its throttling limit. Retry after the specified time period.
/// </exception>
/// <exception cref="Amazon.APIGateway.Model.UnauthorizedException">
/// The request is denied because the caller has insufficient permissions.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/UpdateVpcLink">REST API Reference for UpdateVpcLink Operation</seealso>
Task<UpdateVpcLinkResponse> UpdateVpcLinkAsync(UpdateVpcLinkRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
}
} | 4,167 |
aws-sdk-net | aws | C# | using System;
using System.Reflection;
using System.Runtime.InteropServices;
using System.Runtime.CompilerServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("AWSSDK.APIGateway")]
#if BCL35
[assembly: AssemblyDescription("The Amazon Web Services SDK for .NET (3.5) - Amazon API Gateway. Amazon API Gateway helps developers deliver robust, secure and scalable mobile and web application backends. Amazon API Gateway allows developers to securely connect mobile and web applications to APIs that run on AWS Lambda, Amazon EC2, or other publicly addressable web services that are hosted outside of AWS.")]
#elif BCL45
[assembly: AssemblyDescription("The Amazon Web Services SDK for .NET (4.5) - Amazon API Gateway. Amazon API Gateway helps developers deliver robust, secure and scalable mobile and web application backends. Amazon API Gateway allows developers to securely connect mobile and web applications to APIs that run on AWS Lambda, Amazon EC2, or other publicly addressable web services that are hosted outside of AWS.")]
#elif NETSTANDARD20
[assembly: AssemblyDescription("The Amazon Web Services SDK for .NET (NetStandard 2.0) - Amazon API Gateway. Amazon API Gateway helps developers deliver robust, secure and scalable mobile and web application backends. Amazon API Gateway allows developers to securely connect mobile and web applications to APIs that run on AWS Lambda, Amazon EC2, or other publicly addressable web services that are hosted outside of AWS.")]
#elif NETCOREAPP3_1
[assembly: AssemblyDescription("The Amazon Web Services SDK for .NET (.NET Core 3.1) - Amazon API Gateway. Amazon API Gateway helps developers deliver robust, secure and scalable mobile and web application backends. Amazon API Gateway allows developers to securely connect mobile and web applications to APIs that run on AWS Lambda, Amazon EC2, or other publicly addressable web services that are hosted outside of AWS.")]
#else
#error Unknown platform constant - unable to set correct AssemblyDescription
#endif
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyProduct("Amazon Web Services SDK for .NET")]
[assembly: AssemblyCompany("Amazon.com, Inc")]
[assembly: AssemblyCopyright("Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("3.3")]
[assembly: AssemblyFileVersion("3.7.100.147")]
[assembly: System.CLSCompliant(true)]
#if BCL
[assembly: System.Security.AllowPartiallyTrustedCallers]
#endif | 51 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apigatewaymanagementapi-2018-11-29.normal.json service model.
*/
using System;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Util.Internal;
using Amazon.ApiGatewayManagementApi.Internal;
namespace Amazon.ApiGatewayManagementApi
{
/// <summary>
/// Configuration for accessing Amazon ApiGatewayManagementApi service
/// </summary>
[AWSSignerType("v4")]
public partial class AmazonApiGatewayManagementApiConfig : ClientConfig
{
private static readonly string UserAgentString =
InternalSDKUtils.BuildUserAgentString("3.7.100.147");
private string _userAgent = UserAgentString;
/// <summary>
/// Default constructor
/// </summary>
public AmazonApiGatewayManagementApiConfig()
: base(new Amazon.Runtime.Internal.DefaultConfigurationProvider(AmazonApiGatewayManagementApiDefaultConfiguration.GetAllConfigurations()))
{
this.AuthenticationServiceName = "execute-api";
this.EndpointProvider = new AmazonApiGatewayManagementApiEndpointProvider();
}
/// <summary>
/// The constant used to lookup in the region hash the endpoint.
/// </summary>
public override string RegionEndpointServiceName
{
get
{
return "execute-api";
}
}
/// <summary>
/// Gets the ServiceVersion property.
/// </summary>
public override string ServiceVersion
{
get
{
return "2018-11-29";
}
}
/// <summary>
/// Gets the value of UserAgent property.
/// </summary>
public override string UserAgent
{
get
{
return _userAgent;
}
}
}
} | 83 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apigatewaymanagementapi-2018-11-29.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using Amazon.Runtime;
namespace Amazon.ApiGatewayManagementApi
{
/// <summary>
/// Configuration for accessing Amazon ApiGatewayManagementApi service
/// </summary>
public static class AmazonApiGatewayManagementApiDefaultConfiguration
{
/// <summary>
/// Collection of all <see cref="DefaultConfiguration"/>s supported by
/// ApiGatewayManagementApi
/// </summary>
public static ReadOnlyCollection<IDefaultConfiguration> GetAllConfigurations()
{
return new ReadOnlyCollection<IDefaultConfiguration>(new List<IDefaultConfiguration>
{
Standard,
InRegion,
CrossRegion,
Mobile,
Auto,
Legacy
});
}
/// <summary>
/// <p>The STANDARD mode provides the latest recommended default values that should be safe to run in most scenarios</p><p>Note that the default values vended from this mode might change as best practices may evolve. As a result, it is encouraged to perform tests when upgrading the SDK</p>
/// </summary>
public static IDefaultConfiguration Standard {get;} = new DefaultConfiguration
{
Name = DefaultConfigurationMode.Standard,
RetryMode = RequestRetryMode.Standard,
StsRegionalEndpoints = StsRegionalEndpointsValue.Regional,
S3UsEast1RegionalEndpoint = S3UsEast1RegionalEndpointValue.Regional,
// 0:00:03.1
ConnectTimeout = TimeSpan.FromMilliseconds(3100L),
// 0:00:03.1
TlsNegotiationTimeout = TimeSpan.FromMilliseconds(3100L),
TimeToFirstByteTimeout = null,
HttpRequestTimeout = null
};
/// <summary>
/// <p>The IN_REGION mode builds on the standard mode and includes optimization tailored for applications which call AWS services from within the same AWS region</p><p>Note that the default values vended from this mode might change as best practices may evolve. As a result, it is encouraged to perform tests when upgrading the SDK</p>
/// </summary>
public static IDefaultConfiguration InRegion {get;} = new DefaultConfiguration
{
Name = DefaultConfigurationMode.InRegion,
RetryMode = RequestRetryMode.Standard,
StsRegionalEndpoints = StsRegionalEndpointsValue.Regional,
S3UsEast1RegionalEndpoint = S3UsEast1RegionalEndpointValue.Regional,
// 0:00:01.1
ConnectTimeout = TimeSpan.FromMilliseconds(1100L),
// 0:00:01.1
TlsNegotiationTimeout = TimeSpan.FromMilliseconds(1100L),
TimeToFirstByteTimeout = null,
HttpRequestTimeout = null
};
/// <summary>
/// <p>The CROSS_REGION mode builds on the standard mode and includes optimization tailored for applications which call AWS services in a different region</p><p>Note that the default values vended from this mode might change as best practices may evolve. As a result, it is encouraged to perform tests when upgrading the SDK</p>
/// </summary>
public static IDefaultConfiguration CrossRegion {get;} = new DefaultConfiguration
{
Name = DefaultConfigurationMode.CrossRegion,
RetryMode = RequestRetryMode.Standard,
StsRegionalEndpoints = StsRegionalEndpointsValue.Regional,
S3UsEast1RegionalEndpoint = S3UsEast1RegionalEndpointValue.Regional,
// 0:00:03.1
ConnectTimeout = TimeSpan.FromMilliseconds(3100L),
// 0:00:03.1
TlsNegotiationTimeout = TimeSpan.FromMilliseconds(3100L),
TimeToFirstByteTimeout = null,
HttpRequestTimeout = null
};
/// <summary>
/// <p>The MOBILE mode builds on the standard mode and includes optimization tailored for mobile applications</p><p>Note that the default values vended from this mode might change as best practices may evolve. As a result, it is encouraged to perform tests when upgrading the SDK</p>
/// </summary>
public static IDefaultConfiguration Mobile {get;} = new DefaultConfiguration
{
Name = DefaultConfigurationMode.Mobile,
RetryMode = RequestRetryMode.Standard,
StsRegionalEndpoints = StsRegionalEndpointsValue.Regional,
S3UsEast1RegionalEndpoint = S3UsEast1RegionalEndpointValue.Regional,
// 0:00:30
ConnectTimeout = TimeSpan.FromMilliseconds(30000L),
// 0:00:30
TlsNegotiationTimeout = TimeSpan.FromMilliseconds(30000L),
TimeToFirstByteTimeout = null,
HttpRequestTimeout = null
};
/// <summary>
/// <p>The AUTO mode is an experimental mode that builds on the standard mode. The SDK will attempt to discover the execution environment to determine the appropriate settings automatically.</p><p>Note that the auto detection is heuristics-based and does not guarantee 100% accuracy. STANDARD mode will be used if the execution environment cannot be determined. The auto detection might query <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html">EC2 Instance Metadata service</a>, which might introduce latency. Therefore we recommend choosing an explicit defaults_mode instead if startup latency is critical to your application</p>
/// </summary>
public static IDefaultConfiguration Auto {get;} = new DefaultConfiguration
{
Name = DefaultConfigurationMode.Auto,
RetryMode = RequestRetryMode.Standard,
StsRegionalEndpoints = StsRegionalEndpointsValue.Regional,
S3UsEast1RegionalEndpoint = S3UsEast1RegionalEndpointValue.Regional,
// 0:00:01.1
ConnectTimeout = TimeSpan.FromMilliseconds(1100L),
// 0:00:01.1
TlsNegotiationTimeout = TimeSpan.FromMilliseconds(1100L),
TimeToFirstByteTimeout = null,
HttpRequestTimeout = null
};
/// <summary>
/// <p>The LEGACY mode provides default settings that vary per SDK and were used prior to establishment of defaults_mode</p>
/// </summary>
public static IDefaultConfiguration Legacy {get;} = new DefaultConfiguration
{
Name = DefaultConfigurationMode.Legacy,
RetryMode = RequestRetryMode.Legacy,
StsRegionalEndpoints = StsRegionalEndpointsValue.Legacy,
S3UsEast1RegionalEndpoint = S3UsEast1RegionalEndpointValue.Legacy,
ConnectTimeout = null,
TlsNegotiationTimeout = null,
TimeToFirstByteTimeout = null,
HttpRequestTimeout = null
};
}
} | 146 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apigatewaymanagementapi-2018-11-29.normal.json service model.
*/
using Amazon.Runtime;
using Amazon.Runtime.Endpoints;
namespace Amazon.ApiGatewayManagementApi.Endpoints
{
/// <summary>
/// Contains parameters used for resolving ApiGatewayManagementApi endpoints
/// Parameters can be sourced from client config and service operations
/// Used by internal ApiGatewayManagementApiEndpointProvider and ApiGatewayManagementApiEndpointResolver
/// Can be used by custom EndpointProvider, see ClientConfig.EndpointProvider
/// </summary>
public class ApiGatewayManagementApiEndpointParameters : EndpointParameters
{
/// <summary>
/// ApiGatewayManagementApiEndpointParameters constructor
/// </summary>
public ApiGatewayManagementApiEndpointParameters()
{
UseDualStack = false;
UseFIPS = false;
}
/// <summary>
/// Region parameter
/// </summary>
public string Region
{
get { return (string)this["Region"]; }
set { this["Region"] = value; }
}
/// <summary>
/// UseDualStack parameter
/// </summary>
public bool? UseDualStack
{
get { return (bool?)this["UseDualStack"]; }
set { this["UseDualStack"] = value; }
}
/// <summary>
/// UseFIPS parameter
/// </summary>
public bool? UseFIPS
{
get { return (bool?)this["UseFIPS"]; }
set { this["UseFIPS"] = value; }
}
/// <summary>
/// Endpoint parameter
/// </summary>
public string Endpoint
{
get { return (string)this["Endpoint"]; }
set { this["Endpoint"] = value; }
}
}
} | 78 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apigatewaymanagementapi-2018-11-29.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Net;
using System.Text;
using Amazon.Runtime;
namespace Amazon.ApiGatewayManagementApi
{
///<summary>
/// Common exception for the ApiGatewayManagementApi service.
/// </summary>
#if !NETSTANDARD
[Serializable]
#endif
public partial class AmazonApiGatewayManagementApiException : AmazonServiceException
{
/// <summary>
/// Construct instance of AmazonApiGatewayManagementApiException
/// </summary>
/// <param name="message"></param>
public AmazonApiGatewayManagementApiException(string message)
: base(message)
{
}
/// <summary>
/// Construct instance of AmazonApiGatewayManagementApiException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
public AmazonApiGatewayManagementApiException(string message, Exception innerException)
: base(message, innerException)
{
}
/// <summary>
/// Construct instance of AmazonApiGatewayManagementApiException
/// </summary>
/// <param name="innerException"></param>
public AmazonApiGatewayManagementApiException(Exception innerException)
: base(innerException.Message, innerException)
{
}
/// <summary>
/// Construct instance of AmazonApiGatewayManagementApiException
/// </summary>
/// <param name="message"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public AmazonApiGatewayManagementApiException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, errorType, errorCode, requestId, statusCode)
{
}
/// <summary>
/// Construct instance of AmazonApiGatewayManagementApiException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public AmazonApiGatewayManagementApiException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, innerException, errorType, errorCode, requestId, statusCode)
{
}
#if !NETSTANDARD
/// <summary>
/// Constructs a new instance of the AmazonApiGatewayManagementApiException class with serialized data.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is null. </exception>
/// <exception cref="T:System.Runtime.Serialization.SerializationException">The class name is null or <see cref="P:System.Exception.HResult" /> is zero (0). </exception>
protected AmazonApiGatewayManagementApiException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
: base(info, context)
{
}
#endif
}
} | 105 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apigatewaymanagementapi-2018-11-29.normal.json service model.
*/
using System;
using Amazon.Runtime;
namespace Amazon.ApiGatewayManagementApi
{
} | 26 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apigatewaymanagementapi-2018-11-29.normal.json service model.
*/
using System;
using System.Collections.Generic;
using Amazon.Runtime;
using Amazon.Runtime.Endpoints;
using static Amazon.Runtime.Internal.Endpoints.StandardLibrary.Fn;
namespace Amazon.ApiGatewayManagementApi.Internal
{
/// <summary>
/// Amazon ApiGatewayManagementApi endpoint provider.
/// Resolves endpoint for given set of ApiGatewayManagementApiEndpointParameters.
/// Can throw AmazonClientException if endpoint resolution is unsuccessful.
/// </summary>
public class AmazonApiGatewayManagementApiEndpointProvider : IEndpointProvider
{
/// <summary>
/// Resolve endpoint for ApiGatewayManagementApiEndpointParameters
/// </summary>
public Endpoint ResolveEndpoint(EndpointParameters parameters)
{
if (parameters == null)
throw new ArgumentNullException("parameters");
if (parameters["UseDualStack"] == null)
throw new AmazonClientException("UseDualStack parameter must be set for endpoint resolution");
if (parameters["UseFIPS"] == null)
throw new AmazonClientException("UseFIPS parameter must be set for endpoint resolution");
var refs = new Dictionary<string, object>()
{
["Region"] = parameters["Region"],
["UseDualStack"] = parameters["UseDualStack"],
["UseFIPS"] = parameters["UseFIPS"],
["Endpoint"] = parameters["Endpoint"],
};
if ((refs["PartitionResult"] = Partition((string)refs["Region"])) != null)
{
if (IsSet(refs["Endpoint"]) && (refs["url"] = ParseURL((string)refs["Endpoint"])) != null)
{
if (Equals(refs["UseFIPS"], true))
{
throw new AmazonClientException("Invalid Configuration: FIPS and custom endpoint are not supported");
}
if (Equals(refs["UseDualStack"], true))
{
throw new AmazonClientException("Invalid Configuration: Dualstack and custom endpoint are not supported");
}
return new Endpoint((string)refs["Endpoint"], InterpolateJson(@"", refs), InterpolateJson(@"", refs));
}
if (Equals(refs["UseFIPS"], true) && Equals(refs["UseDualStack"], true))
{
if (Equals(true, GetAttr(refs["PartitionResult"], "supportsFIPS")) && Equals(true, GetAttr(refs["PartitionResult"], "supportsDualStack")))
{
return new Endpoint(Interpolate(@"https://execute-api-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", refs), InterpolateJson(@"", refs), InterpolateJson(@"", refs));
}
throw new AmazonClientException("FIPS and DualStack are enabled, but this partition does not support one or both");
}
if (Equals(refs["UseFIPS"], true))
{
if (Equals(true, GetAttr(refs["PartitionResult"], "supportsFIPS")))
{
return new Endpoint(Interpolate(@"https://execute-api-fips.{Region}.{PartitionResult#dnsSuffix}", refs), InterpolateJson(@"", refs), InterpolateJson(@"", refs));
}
throw new AmazonClientException("FIPS is enabled but this partition does not support FIPS");
}
if (Equals(refs["UseDualStack"], true))
{
if (Equals(true, GetAttr(refs["PartitionResult"], "supportsDualStack")))
{
return new Endpoint(Interpolate(@"https://execute-api.{Region}.{PartitionResult#dualStackDnsSuffix}", refs), InterpolateJson(@"", refs), InterpolateJson(@"", refs));
}
throw new AmazonClientException("DualStack is enabled but this partition does not support DualStack");
}
return new Endpoint(Interpolate(@"https://execute-api.{Region}.{PartitionResult#dnsSuffix}", refs), InterpolateJson(@"", refs), InterpolateJson(@"", refs));
}
throw new AmazonClientException("Cannot resolve endpoint");
}
}
} | 99 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apigatewaymanagementapi-2018-11-29.normal.json service model.
*/
using System;
using Amazon.ApiGatewayManagementApi.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Endpoints;
using Amazon.Util;
using Amazon.ApiGatewayManagementApi.Endpoints;
#pragma warning disable 1591
namespace Amazon.ApiGatewayManagementApi.Internal
{
/// <summary>
/// Amazon ApiGatewayManagementApi endpoint resolver.
/// Custom PipelineHandler responsible for resolving endpoint and setting authentication parameters for ApiGatewayManagementApi service requests.
/// Collects values for ApiGatewayManagementApiEndpointParameters and then tries to resolve endpoint by calling
/// ResolveEndpoint method on GlobalEndpoints.Provider if present, otherwise uses ApiGatewayManagementApiEndpointProvider.
/// Responsible for setting authentication and http headers provided by resolved endpoint.
/// </summary>
public class AmazonApiGatewayManagementApiEndpointResolver : BaseEndpointResolver
{
protected override void ServiceSpecificHandler(IExecutionContext executionContext, EndpointParameters parameters)
{
InjectHostPrefix(executionContext.RequestContext);
}
protected override EndpointParameters MapEndpointsParameters(IRequestContext requestContext)
{
var config = (AmazonApiGatewayManagementApiConfig)requestContext.ClientConfig;
var result = new ApiGatewayManagementApiEndpointParameters();
result.Region = config.RegionEndpoint?.SystemName;
result.UseDualStack = config.UseDualstackEndpoint;
result.UseFIPS = config.UseFIPSEndpoint;
result.Endpoint = config.ServiceURL;
// The region needs to be determined from the ServiceURL if not set.
var regionEndpoint = config.RegionEndpoint;
if (regionEndpoint == null && !string.IsNullOrEmpty(config.ServiceURL))
{
var regionName = AWSSDKUtils.DetermineRegion(config.ServiceURL);
result.Region = RegionEndpoint.GetBySystemName(regionName).SystemName;
}
// To support legacy endpoint overridding rules in the endpoints.json
if (result.Region == "us-east-1-regional")
{
result.Region = "us-east-1";
}
// Use AlternateEndpoint region override if set
if (requestContext.Request.AlternateEndpoint != null)
{
result.Region = requestContext.Request.AlternateEndpoint.SystemName;
}
// Assign staticContextParams and contextParam per operation
return result;
}
}
} | 83 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apigatewaymanagementapi-2018-11-29.normal.json service model.
*/
using Amazon.Runtime.Internal;
namespace Amazon.ApiGatewayManagementApi.Internal
{
/// <summary>
/// Service metadata for Amazon ApiGatewayManagementApi service
/// </summary>
public partial class AmazonApiGatewayManagementApiMetadata : IServiceMetadata
{
/// <summary>
/// Gets the value of the Service Id.
/// </summary>
public string ServiceId
{
get
{
return "ApiGatewayManagementApi";
}
}
/// <summary>
/// Gets the dictionary that gives mapping of renamed operations
/// </summary>
public System.Collections.Generic.IDictionary<string, string> OperationNameMapping
{
get
{
return new System.Collections.Generic.Dictionary<string, string>(0)
{
};
}
}
}
} | 55 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apigatewaymanagementapi-2018-11-29.normal.json service model.
*/
using Amazon.Runtime;
namespace Amazon.ApiGatewayManagementApi
{
/// <summary>
/// Base class for ApiGatewayManagementApi operation requests.
/// </summary>
public partial class AmazonApiGatewayManagementApiRequest : AmazonWebServiceRequest
{
}
} | 30 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apigatewaymanagementapi-2018-11-29.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.ApiGatewayManagementApi.Model
{
/// <summary>
/// Container for the parameters to the DeleteConnection operation.
/// Delete the connection with the provided id.
/// </summary>
public partial class DeleteConnectionRequest : AmazonApiGatewayManagementApiRequest
{
private string _connectionId;
/// <summary>
/// Gets and sets the property ConnectionId.
/// </summary>
[AWSProperty(Required=true)]
public string ConnectionId
{
get { return this._connectionId; }
set { this._connectionId = value; }
}
// Check to see if ConnectionId property is set
internal bool IsSetConnectionId()
{
return this._connectionId != null;
}
}
} | 56 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apigatewaymanagementapi-2018-11-29.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.ApiGatewayManagementApi.Model
{
/// <summary>
/// This is the response object from the DeleteConnection operation.
/// </summary>
public partial class DeleteConnectionResponse : AmazonWebServiceResponse
{
}
} | 38 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apigatewaymanagementapi-2018-11-29.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.ApiGatewayManagementApi.Model
{
/// <summary>
/// The caller is not authorized to invoke this operation.
/// </summary>
#if !NETSTANDARD
[Serializable]
#endif
public partial class ForbiddenException : AmazonApiGatewayManagementApiException
{
/// <summary>
/// Constructs a new ForbiddenException with the specified error
/// message.
/// </summary>
/// <param name="message">
/// Describes the error encountered.
/// </param>
public ForbiddenException(string message)
: base(message) {}
/// <summary>
/// Construct instance of ForbiddenException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
public ForbiddenException(string message, Exception innerException)
: base(message, innerException) {}
/// <summary>
/// Construct instance of ForbiddenException
/// </summary>
/// <param name="innerException"></param>
public ForbiddenException(Exception innerException)
: base(innerException) {}
/// <summary>
/// Construct instance of ForbiddenException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public ForbiddenException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, innerException, errorType, errorCode, requestId, statusCode) {}
/// <summary>
/// Construct instance of ForbiddenException
/// </summary>
/// <param name="message"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public ForbiddenException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, errorType, errorCode, requestId, statusCode) {}
#if !NETSTANDARD
/// <summary>
/// Constructs a new instance of the ForbiddenException class with serialized data.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is null. </exception>
/// <exception cref="T:System.Runtime.Serialization.SerializationException">The class name is null or <see cref="P:System.Exception.HResult" /> is zero (0). </exception>
protected ForbiddenException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
: base(info, context)
{
}
/// <summary>
/// Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with information about the exception.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is a null reference (Nothing in Visual Basic). </exception>
#if BCL35
[System.Security.Permissions.SecurityPermission(
System.Security.Permissions.SecurityAction.LinkDemand,
Flags = System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)]
#endif
[System.Security.SecurityCritical]
// These FxCop rules are giving false-positives for this method
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2134:MethodsMustOverrideWithConsistentTransparencyFxCopRule")]
public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
{
base.GetObjectData(info, context);
}
#endif
}
} | 124 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apigatewaymanagementapi-2018-11-29.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.ApiGatewayManagementApi.Model
{
/// <summary>
/// Container for the parameters to the GetConnection operation.
/// Get information about the connection with the provided id.
/// </summary>
public partial class GetConnectionRequest : AmazonApiGatewayManagementApiRequest
{
private string _connectionId;
/// <summary>
/// Gets and sets the property ConnectionId.
/// </summary>
[AWSProperty(Required=true)]
public string ConnectionId
{
get { return this._connectionId; }
set { this._connectionId = value; }
}
// Check to see if ConnectionId property is set
internal bool IsSetConnectionId()
{
return this._connectionId != null;
}
}
} | 56 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apigatewaymanagementapi-2018-11-29.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.ApiGatewayManagementApi.Model
{
/// <summary>
/// This is the response object from the GetConnection operation.
/// </summary>
public partial class GetConnectionResponse : AmazonWebServiceResponse
{
private DateTime? _connectedAt;
private Identity _identity;
private DateTime? _lastActiveAt;
/// <summary>
/// Gets and sets the property ConnectedAt.
/// <para>
/// The time in ISO 8601 format for when the connection was established.
/// </para>
/// </summary>
public DateTime ConnectedAt
{
get { return this._connectedAt.GetValueOrDefault(); }
set { this._connectedAt = value; }
}
// Check to see if ConnectedAt property is set
internal bool IsSetConnectedAt()
{
return this._connectedAt.HasValue;
}
/// <summary>
/// Gets and sets the property Identity.
/// </summary>
public Identity Identity
{
get { return this._identity; }
set { this._identity = value; }
}
// Check to see if Identity property is set
internal bool IsSetIdentity()
{
return this._identity != null;
}
/// <summary>
/// Gets and sets the property LastActiveAt.
/// <para>
/// The time in ISO 8601 format for when the connection was last active.
/// </para>
/// </summary>
public DateTime LastActiveAt
{
get { return this._lastActiveAt.GetValueOrDefault(); }
set { this._lastActiveAt = value; }
}
// Check to see if LastActiveAt property is set
internal bool IsSetLastActiveAt()
{
return this._lastActiveAt.HasValue;
}
}
} | 92 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apigatewaymanagementapi-2018-11-29.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.ApiGatewayManagementApi.Model
{
/// <summary>
/// The connection with the provided id no longer exists.
/// </summary>
#if !NETSTANDARD
[Serializable]
#endif
public partial class GoneException : AmazonApiGatewayManagementApiException
{
/// <summary>
/// Constructs a new GoneException with the specified error
/// message.
/// </summary>
/// <param name="message">
/// Describes the error encountered.
/// </param>
public GoneException(string message)
: base(message) {}
/// <summary>
/// Construct instance of GoneException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
public GoneException(string message, Exception innerException)
: base(message, innerException) {}
/// <summary>
/// Construct instance of GoneException
/// </summary>
/// <param name="innerException"></param>
public GoneException(Exception innerException)
: base(innerException) {}
/// <summary>
/// Construct instance of GoneException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public GoneException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, innerException, errorType, errorCode, requestId, statusCode) {}
/// <summary>
/// Construct instance of GoneException
/// </summary>
/// <param name="message"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public GoneException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, errorType, errorCode, requestId, statusCode) {}
#if !NETSTANDARD
/// <summary>
/// Constructs a new instance of the GoneException class with serialized data.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is null. </exception>
/// <exception cref="T:System.Runtime.Serialization.SerializationException">The class name is null or <see cref="P:System.Exception.HResult" /> is zero (0). </exception>
protected GoneException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
: base(info, context)
{
}
/// <summary>
/// Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with information about the exception.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is a null reference (Nothing in Visual Basic). </exception>
#if BCL35
[System.Security.Permissions.SecurityPermission(
System.Security.Permissions.SecurityAction.LinkDemand,
Flags = System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)]
#endif
[System.Security.SecurityCritical]
// These FxCop rules are giving false-positives for this method
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2134:MethodsMustOverrideWithConsistentTransparencyFxCopRule")]
public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
{
base.GetObjectData(info, context);
}
#endif
}
} | 124 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apigatewaymanagementapi-2018-11-29.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.ApiGatewayManagementApi.Model
{
/// <summary>
///
/// </summary>
public partial class Identity
{
private string _sourceIp;
private string _userAgent;
/// <summary>
/// Gets and sets the property SourceIp.
/// <para>
/// The source IP address of the TCP connection making the request to API Gateway.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string SourceIp
{
get { return this._sourceIp; }
set { this._sourceIp = value; }
}
// Check to see if SourceIp property is set
internal bool IsSetSourceIp()
{
return this._sourceIp != null;
}
/// <summary>
/// Gets and sets the property UserAgent.
/// <para>
/// The User Agent of the API caller.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string UserAgent
{
get { return this._userAgent; }
set { this._userAgent = value; }
}
// Check to see if UserAgent property is set
internal bool IsSetUserAgent()
{
return this._userAgent != null;
}
}
} | 78 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apigatewaymanagementapi-2018-11-29.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.ApiGatewayManagementApi.Model
{
/// <summary>
/// The client is sending more than the allowed number of requests per unit of time or
/// the WebSocket client side buffer is full.
/// </summary>
#if !NETSTANDARD
[Serializable]
#endif
public partial class LimitExceededException : AmazonApiGatewayManagementApiException
{
/// <summary>
/// Constructs a new LimitExceededException with the specified error
/// message.
/// </summary>
/// <param name="message">
/// Describes the error encountered.
/// </param>
public LimitExceededException(string message)
: base(message) {}
/// <summary>
/// Construct instance of LimitExceededException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
public LimitExceededException(string message, Exception innerException)
: base(message, innerException) {}
/// <summary>
/// Construct instance of LimitExceededException
/// </summary>
/// <param name="innerException"></param>
public LimitExceededException(Exception innerException)
: base(innerException) {}
/// <summary>
/// Construct instance of LimitExceededException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public LimitExceededException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, innerException, errorType, errorCode, requestId, statusCode) {}
/// <summary>
/// Construct instance of LimitExceededException
/// </summary>
/// <param name="message"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public LimitExceededException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, errorType, errorCode, requestId, statusCode) {}
#if !NETSTANDARD
/// <summary>
/// Constructs a new instance of the LimitExceededException class with serialized data.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is null. </exception>
/// <exception cref="T:System.Runtime.Serialization.SerializationException">The class name is null or <see cref="P:System.Exception.HResult" /> is zero (0). </exception>
protected LimitExceededException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
: base(info, context)
{
}
/// <summary>
/// Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with information about the exception.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is a null reference (Nothing in Visual Basic). </exception>
#if BCL35
[System.Security.Permissions.SecurityPermission(
System.Security.Permissions.SecurityAction.LinkDemand,
Flags = System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)]
#endif
[System.Security.SecurityCritical]
// These FxCop rules are giving false-positives for this method
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2134:MethodsMustOverrideWithConsistentTransparencyFxCopRule")]
public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
{
base.GetObjectData(info, context);
}
#endif
}
} | 125 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apigatewaymanagementapi-2018-11-29.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.ApiGatewayManagementApi.Model
{
/// <summary>
/// The data has exceeded the maximum size allowed.
/// </summary>
#if !NETSTANDARD
[Serializable]
#endif
public partial class PayloadTooLargeException : AmazonApiGatewayManagementApiException
{
/// <summary>
/// Constructs a new PayloadTooLargeException with the specified error
/// message.
/// </summary>
/// <param name="message">
/// Describes the error encountered.
/// </param>
public PayloadTooLargeException(string message)
: base(message) {}
/// <summary>
/// Construct instance of PayloadTooLargeException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
public PayloadTooLargeException(string message, Exception innerException)
: base(message, innerException) {}
/// <summary>
/// Construct instance of PayloadTooLargeException
/// </summary>
/// <param name="innerException"></param>
public PayloadTooLargeException(Exception innerException)
: base(innerException) {}
/// <summary>
/// Construct instance of PayloadTooLargeException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public PayloadTooLargeException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, innerException, errorType, errorCode, requestId, statusCode) {}
/// <summary>
/// Construct instance of PayloadTooLargeException
/// </summary>
/// <param name="message"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public PayloadTooLargeException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, errorType, errorCode, requestId, statusCode) {}
#if !NETSTANDARD
/// <summary>
/// Constructs a new instance of the PayloadTooLargeException class with serialized data.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is null. </exception>
/// <exception cref="T:System.Runtime.Serialization.SerializationException">The class name is null or <see cref="P:System.Exception.HResult" /> is zero (0). </exception>
protected PayloadTooLargeException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
: base(info, context)
{
}
/// <summary>
/// Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with information about the exception.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is a null reference (Nothing in Visual Basic). </exception>
#if BCL35
[System.Security.Permissions.SecurityPermission(
System.Security.Permissions.SecurityAction.LinkDemand,
Flags = System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)]
#endif
[System.Security.SecurityCritical]
// These FxCop rules are giving false-positives for this method
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2134:MethodsMustOverrideWithConsistentTransparencyFxCopRule")]
public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
{
base.GetObjectData(info, context);
}
#endif
}
} | 124 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apigatewaymanagementapi-2018-11-29.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.ApiGatewayManagementApi.Model
{
/// <summary>
/// Container for the parameters to the PostToConnection operation.
/// Sends the provided data to the specified connection.
/// </summary>
public partial class PostToConnectionRequest : AmazonApiGatewayManagementApiRequest
{
private string _connectionId;
private MemoryStream _data;
/// <summary>
/// Gets and sets the property ConnectionId.
/// <para>
/// The identifier of the connection that a specific client is using.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string ConnectionId
{
get { return this._connectionId; }
set { this._connectionId = value; }
}
// Check to see if ConnectionId property is set
internal bool IsSetConnectionId()
{
return this._connectionId != null;
}
/// <summary>
/// Gets and sets the property Data.
/// <para>
/// The data to be sent to the client specified by its connection id.
/// </para>
/// </summary>
[AWSProperty(Required=true, Max=131072)]
public MemoryStream Data
{
get { return this._data; }
set { this._data = value; }
}
// Check to see if Data property is set
internal bool IsSetData()
{
return this._data != null;
}
}
} | 79 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apigatewaymanagementapi-2018-11-29.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.ApiGatewayManagementApi.Model
{
/// <summary>
/// This is the response object from the PostToConnection operation.
/// </summary>
public partial class PostToConnectionResponse : AmazonWebServiceResponse
{
}
} | 38 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apigatewaymanagementapi-2018-11-29.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Text;
using System.Xml.Serialization;
using Amazon.ApiGatewayManagementApi.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.ApiGatewayManagementApi.Model.Internal.MarshallTransformations
{
/// <summary>
/// DeleteConnection Request Marshaller
/// </summary>
public class DeleteConnectionRequestMarshaller : IMarshaller<IRequest, DeleteConnectionRequest> , IMarshaller<IRequest,AmazonWebServiceRequest>
{
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="input"></param>
/// <returns></returns>
public IRequest Marshall(AmazonWebServiceRequest input)
{
return this.Marshall((DeleteConnectionRequest)input);
}
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="publicRequest"></param>
/// <returns></returns>
public IRequest Marshall(DeleteConnectionRequest publicRequest)
{
IRequest request = new DefaultRequest(publicRequest, "Amazon.ApiGatewayManagementApi");
request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2018-11-29";
request.HttpMethod = "DELETE";
if (!publicRequest.IsSetConnectionId())
throw new AmazonApiGatewayManagementApiException("Request object does not have required field ConnectionId set");
request.AddPathResource("{connectionId}", StringUtils.FromString(publicRequest.ConnectionId));
request.ResourcePath = "/@connections/{connectionId}";
return request;
}
private static DeleteConnectionRequestMarshaller _instance = new DeleteConnectionRequestMarshaller();
internal static DeleteConnectionRequestMarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static DeleteConnectionRequestMarshaller Instance
{
get
{
return _instance;
}
}
}
} | 87 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apigatewaymanagementapi-2018-11-29.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Net;
using System.Text;
using System.Xml.Serialization;
using Amazon.ApiGatewayManagementApi.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.ApiGatewayManagementApi.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for DeleteConnection operation
/// </summary>
public class DeleteConnectionResponseUnmarshaller : JsonResponseUnmarshaller
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context)
{
DeleteConnectionResponse response = new DeleteConnectionResponse();
return response;
}
/// <summary>
/// Unmarshaller error response to exception.
/// </summary>
/// <param name="context"></param>
/// <param name="innerException"></param>
/// <param name="statusCode"></param>
/// <returns></returns>
public override AmazonServiceException UnmarshallException(JsonUnmarshallerContext context, Exception innerException, HttpStatusCode statusCode)
{
var errorResponse = JsonErrorResponseUnmarshaller.GetInstance().Unmarshall(context);
errorResponse.InnerException = innerException;
errorResponse.StatusCode = statusCode;
var responseBodyBytes = context.GetResponseBodyBytes();
using (var streamCopy = new MemoryStream(responseBodyBytes))
using (var contextCopy = new JsonUnmarshallerContext(streamCopy, false, null))
{
if (errorResponse.Code != null && errorResponse.Code.Equals("ForbiddenException"))
{
return ForbiddenExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("GoneException"))
{
return GoneExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("LimitExceededException"))
{
return LimitExceededExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
}
return new AmazonApiGatewayManagementApiException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode);
}
private static DeleteConnectionResponseUnmarshaller _instance = new DeleteConnectionResponseUnmarshaller();
internal static DeleteConnectionResponseUnmarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static DeleteConnectionResponseUnmarshaller Instance
{
get
{
return _instance;
}
}
}
} | 107 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apigatewaymanagementapi-2018-11-29.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Net;
using System.Text;
using System.Xml.Serialization;
using Amazon.ApiGatewayManagementApi.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.ApiGatewayManagementApi.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for ForbiddenException Object
/// </summary>
public class ForbiddenExceptionUnmarshaller : IErrorResponseUnmarshaller<ForbiddenException, JsonUnmarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
public ForbiddenException Unmarshall(JsonUnmarshallerContext context)
{
return this.Unmarshall(context, new Amazon.Runtime.Internal.ErrorResponse());
}
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <param name="errorResponse"></param>
/// <returns></returns>
public ForbiddenException Unmarshall(JsonUnmarshallerContext context, Amazon.Runtime.Internal.ErrorResponse errorResponse)
{
context.Read();
ForbiddenException unmarshalledObject = new ForbiddenException(errorResponse.Message, errorResponse.InnerException,
errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode);
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
}
return unmarshalledObject;
}
private static ForbiddenExceptionUnmarshaller _instance = new ForbiddenExceptionUnmarshaller();
/// <summary>
/// Gets the singleton.
/// </summary>
public static ForbiddenExceptionUnmarshaller Instance
{
get
{
return _instance;
}
}
}
} | 85 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apigatewaymanagementapi-2018-11-29.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Text;
using System.Xml.Serialization;
using Amazon.ApiGatewayManagementApi.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.ApiGatewayManagementApi.Model.Internal.MarshallTransformations
{
/// <summary>
/// GetConnection Request Marshaller
/// </summary>
public class GetConnectionRequestMarshaller : IMarshaller<IRequest, GetConnectionRequest> , IMarshaller<IRequest,AmazonWebServiceRequest>
{
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="input"></param>
/// <returns></returns>
public IRequest Marshall(AmazonWebServiceRequest input)
{
return this.Marshall((GetConnectionRequest)input);
}
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="publicRequest"></param>
/// <returns></returns>
public IRequest Marshall(GetConnectionRequest publicRequest)
{
IRequest request = new DefaultRequest(publicRequest, "Amazon.ApiGatewayManagementApi");
request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2018-11-29";
request.HttpMethod = "GET";
if (!publicRequest.IsSetConnectionId())
throw new AmazonApiGatewayManagementApiException("Request object does not have required field ConnectionId set");
request.AddPathResource("{connectionId}", StringUtils.FromString(publicRequest.ConnectionId));
request.ResourcePath = "/@connections/{connectionId}";
return request;
}
private static GetConnectionRequestMarshaller _instance = new GetConnectionRequestMarshaller();
internal static GetConnectionRequestMarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static GetConnectionRequestMarshaller Instance
{
get
{
return _instance;
}
}
}
} | 87 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.