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 apigatewayv2-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.ApiGatewayV2.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.ApiGatewayV2.Model.Internal.MarshallTransformations
{
/// <summary>
/// GetRoute Request Marshaller
/// </summary>
public class GetRouteRequestMarshaller : IMarshaller<IRequest, GetRouteRequest> , 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((GetRouteRequest)input);
}
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="publicRequest"></param>
/// <returns></returns>
public IRequest Marshall(GetRouteRequest publicRequest)
{
IRequest request = new DefaultRequest(publicRequest, "Amazon.ApiGatewayV2");
request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2018-11-29";
request.HttpMethod = "GET";
if (!publicRequest.IsSetApiId())
throw new AmazonApiGatewayV2Exception("Request object does not have required field ApiId set");
request.AddPathResource("{apiId}", StringUtils.FromString(publicRequest.ApiId));
if (!publicRequest.IsSetRouteId())
throw new AmazonApiGatewayV2Exception("Request object does not have required field RouteId set");
request.AddPathResource("{routeId}", StringUtils.FromString(publicRequest.RouteId));
request.ResourcePath = "/v2/apis/{apiId}/routes/{routeId}";
return request;
}
private static GetRouteRequestMarshaller _instance = new GetRouteRequestMarshaller();
internal static GetRouteRequestMarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static GetRouteRequestMarshaller Instance
{
get
{
return _instance;
}
}
}
} | 90 |
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 apigatewayv2-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.ApiGatewayV2.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.ApiGatewayV2.Model.Internal.MarshallTransformations
{
/// <summary>
/// GetRouteResponse Request Marshaller
/// </summary>
public class GetRouteResponseRequestMarshaller : IMarshaller<IRequest, GetRouteResponseRequest> , 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((GetRouteResponseRequest)input);
}
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="publicRequest"></param>
/// <returns></returns>
public IRequest Marshall(GetRouteResponseRequest publicRequest)
{
IRequest request = new DefaultRequest(publicRequest, "Amazon.ApiGatewayV2");
request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2018-11-29";
request.HttpMethod = "GET";
if (!publicRequest.IsSetApiId())
throw new AmazonApiGatewayV2Exception("Request object does not have required field ApiId set");
request.AddPathResource("{apiId}", StringUtils.FromString(publicRequest.ApiId));
if (!publicRequest.IsSetRouteId())
throw new AmazonApiGatewayV2Exception("Request object does not have required field RouteId set");
request.AddPathResource("{routeId}", StringUtils.FromString(publicRequest.RouteId));
if (!publicRequest.IsSetRouteResponseId())
throw new AmazonApiGatewayV2Exception("Request object does not have required field RouteResponseId set");
request.AddPathResource("{routeResponseId}", StringUtils.FromString(publicRequest.RouteResponseId));
request.ResourcePath = "/v2/apis/{apiId}/routes/{routeId}/routeresponses/{routeResponseId}";
return request;
}
private static GetRouteResponseRequestMarshaller _instance = new GetRouteResponseRequestMarshaller();
internal static GetRouteResponseRequestMarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static GetRouteResponseRequestMarshaller Instance
{
get
{
return _instance;
}
}
}
} | 93 |
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 apigatewayv2-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.ApiGatewayV2.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.ApiGatewayV2.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for GetRouteResponse operation
/// </summary>
public class GetRouteResponseResponseUnmarshaller : 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)
{
GetRouteResponseResponse response = new GetRouteResponseResponse();
context.Read();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("modelSelectionExpression", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.ModelSelectionExpression = unmarshaller.Unmarshall(context);
continue;
}
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, ParameterConstraints, StringUnmarshaller, ParameterConstraintsUnmarshaller>(StringUnmarshaller.Instance, ParameterConstraintsUnmarshaller.Instance);
response.ResponseParameters = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("routeResponseId", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.RouteResponseId = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("routeResponseKey", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.RouteResponseKey = 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("NotFoundException"))
{
return NotFoundExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("TooManyRequestsException"))
{
return TooManyRequestsExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
}
return new AmazonApiGatewayV2Exception(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode);
}
private static GetRouteResponseResponseUnmarshaller _instance = new GetRouteResponseResponseUnmarshaller();
internal static GetRouteResponseResponseUnmarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static GetRouteResponseResponseUnmarshaller Instance
{
get
{
return _instance;
}
}
}
} | 138 |
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 apigatewayv2-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.ApiGatewayV2.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.ApiGatewayV2.Model.Internal.MarshallTransformations
{
/// <summary>
/// GetRouteResponses Request Marshaller
/// </summary>
public class GetRouteResponsesRequestMarshaller : IMarshaller<IRequest, GetRouteResponsesRequest> , 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((GetRouteResponsesRequest)input);
}
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="publicRequest"></param>
/// <returns></returns>
public IRequest Marshall(GetRouteResponsesRequest publicRequest)
{
IRequest request = new DefaultRequest(publicRequest, "Amazon.ApiGatewayV2");
request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2018-11-29";
request.HttpMethod = "GET";
if (!publicRequest.IsSetApiId())
throw new AmazonApiGatewayV2Exception("Request object does not have required field ApiId set");
request.AddPathResource("{apiId}", StringUtils.FromString(publicRequest.ApiId));
if (!publicRequest.IsSetRouteId())
throw new AmazonApiGatewayV2Exception("Request object does not have required field RouteId set");
request.AddPathResource("{routeId}", StringUtils.FromString(publicRequest.RouteId));
if (publicRequest.IsSetMaxResults())
request.Parameters.Add("maxResults", StringUtils.FromString(publicRequest.MaxResults));
if (publicRequest.IsSetNextToken())
request.Parameters.Add("nextToken", StringUtils.FromString(publicRequest.NextToken));
request.ResourcePath = "/v2/apis/{apiId}/routes/{routeId}/routeresponses";
request.UseQueryString = true;
return request;
}
private static GetRouteResponsesRequestMarshaller _instance = new GetRouteResponsesRequestMarshaller();
internal static GetRouteResponsesRequestMarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static GetRouteResponsesRequestMarshaller Instance
{
get
{
return _instance;
}
}
}
} | 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 apigatewayv2-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.ApiGatewayV2.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.ApiGatewayV2.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for GetRouteResponses operation
/// </summary>
public class GetRouteResponsesResponseUnmarshaller : 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)
{
GetRouteResponsesResponse response = new GetRouteResponsesResponse();
context.Read();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("items", targetDepth))
{
var unmarshaller = new ListUnmarshaller<RouteResponse, RouteResponseUnmarshaller>(RouteResponseUnmarshaller.Instance);
response.Items = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("nextToken", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.NextToken = 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("NotFoundException"))
{
return NotFoundExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("TooManyRequestsException"))
{
return TooManyRequestsExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
}
return new AmazonApiGatewayV2Exception(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode);
}
private static GetRouteResponsesResponseUnmarshaller _instance = new GetRouteResponsesResponseUnmarshaller();
internal static GetRouteResponsesResponseUnmarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static GetRouteResponsesResponseUnmarshaller Instance
{
get
{
return _instance;
}
}
}
} | 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 apigatewayv2-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.ApiGatewayV2.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.ApiGatewayV2.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for GetRoute operation
/// </summary>
public class GetRouteResponseUnmarshaller : 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)
{
GetRouteResponse response = new GetRouteResponse();
context.Read();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("apiGatewayManaged", targetDepth))
{
var unmarshaller = BoolUnmarshaller.Instance;
response.ApiGatewayManaged = unmarshaller.Unmarshall(context);
continue;
}
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("modelSelectionExpression", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.ModelSelectionExpression = 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, ParameterConstraints, StringUnmarshaller, ParameterConstraintsUnmarshaller>(StringUnmarshaller.Instance, ParameterConstraintsUnmarshaller.Instance);
response.RequestParameters = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("routeId", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.RouteId = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("routeKey", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.RouteKey = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("routeResponseSelectionExpression", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.RouteResponseSelectionExpression = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("target", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.Target = 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("NotFoundException"))
{
return NotFoundExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("TooManyRequestsException"))
{
return TooManyRequestsExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
}
return new AmazonApiGatewayV2Exception(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode);
}
private static GetRouteResponseUnmarshaller _instance = new GetRouteResponseUnmarshaller();
internal static GetRouteResponseUnmarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static GetRouteResponseUnmarshaller 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 apigatewayv2-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.ApiGatewayV2.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.ApiGatewayV2.Model.Internal.MarshallTransformations
{
/// <summary>
/// GetRoutes Request Marshaller
/// </summary>
public class GetRoutesRequestMarshaller : IMarshaller<IRequest, GetRoutesRequest> , 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((GetRoutesRequest)input);
}
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="publicRequest"></param>
/// <returns></returns>
public IRequest Marshall(GetRoutesRequest publicRequest)
{
IRequest request = new DefaultRequest(publicRequest, "Amazon.ApiGatewayV2");
request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2018-11-29";
request.HttpMethod = "GET";
if (!publicRequest.IsSetApiId())
throw new AmazonApiGatewayV2Exception("Request object does not have required field ApiId set");
request.AddPathResource("{apiId}", StringUtils.FromString(publicRequest.ApiId));
if (publicRequest.IsSetMaxResults())
request.Parameters.Add("maxResults", StringUtils.FromString(publicRequest.MaxResults));
if (publicRequest.IsSetNextToken())
request.Parameters.Add("nextToken", StringUtils.FromString(publicRequest.NextToken));
request.ResourcePath = "/v2/apis/{apiId}/routes";
request.UseQueryString = true;
return request;
}
private static GetRoutesRequestMarshaller _instance = new GetRoutesRequestMarshaller();
internal static GetRoutesRequestMarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static GetRoutesRequestMarshaller Instance
{
get
{
return _instance;
}
}
}
} | 94 |
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 apigatewayv2-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.ApiGatewayV2.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.ApiGatewayV2.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for GetRoutes operation
/// </summary>
public class GetRoutesResponseUnmarshaller : 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)
{
GetRoutesResponse response = new GetRoutesResponse();
context.Read();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("items", targetDepth))
{
var unmarshaller = new ListUnmarshaller<Route, RouteUnmarshaller>(RouteUnmarshaller.Instance);
response.Items = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("nextToken", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.NextToken = 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("NotFoundException"))
{
return NotFoundExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("TooManyRequestsException"))
{
return TooManyRequestsExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
}
return new AmazonApiGatewayV2Exception(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode);
}
private static GetRoutesResponseUnmarshaller _instance = new GetRoutesResponseUnmarshaller();
internal static GetRoutesResponseUnmarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static GetRoutesResponseUnmarshaller Instance
{
get
{
return _instance;
}
}
}
} | 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 apigatewayv2-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.ApiGatewayV2.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.ApiGatewayV2.Model.Internal.MarshallTransformations
{
/// <summary>
/// GetStage Request Marshaller
/// </summary>
public class GetStageRequestMarshaller : IMarshaller<IRequest, GetStageRequest> , 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((GetStageRequest)input);
}
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="publicRequest"></param>
/// <returns></returns>
public IRequest Marshall(GetStageRequest publicRequest)
{
IRequest request = new DefaultRequest(publicRequest, "Amazon.ApiGatewayV2");
request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2018-11-29";
request.HttpMethod = "GET";
if (!publicRequest.IsSetApiId())
throw new AmazonApiGatewayV2Exception("Request object does not have required field ApiId set");
request.AddPathResource("{apiId}", StringUtils.FromString(publicRequest.ApiId));
if (!publicRequest.IsSetStageName())
throw new AmazonApiGatewayV2Exception("Request object does not have required field StageName set");
request.AddPathResource("{stageName}", StringUtils.FromString(publicRequest.StageName));
request.ResourcePath = "/v2/apis/{apiId}/stages/{stageName}";
return request;
}
private static GetStageRequestMarshaller _instance = new GetStageRequestMarshaller();
internal static GetStageRequestMarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static GetStageRequestMarshaller Instance
{
get
{
return _instance;
}
}
}
} | 90 |
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 apigatewayv2-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.ApiGatewayV2.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.ApiGatewayV2.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for GetStage operation
/// </summary>
public class GetStageResponseUnmarshaller : 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)
{
GetStageResponse response = new GetStageResponse();
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("apiGatewayManaged", targetDepth))
{
var unmarshaller = BoolUnmarshaller.Instance;
response.ApiGatewayManaged = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("autoDeploy", targetDepth))
{
var unmarshaller = BoolUnmarshaller.Instance;
response.AutoDeploy = 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("defaultRouteSettings", targetDepth))
{
var unmarshaller = RouteSettingsUnmarshaller.Instance;
response.DefaultRouteSettings = 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("lastDeploymentStatusMessage", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.LastDeploymentStatusMessage = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("lastUpdatedDate", targetDepth))
{
var unmarshaller = DateTimeUnmarshaller.Instance;
response.LastUpdatedDate = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("routeSettings", targetDepth))
{
var unmarshaller = new DictionaryUnmarshaller<string, RouteSettings, StringUnmarshaller, RouteSettingsUnmarshaller>(StringUnmarshaller.Instance, RouteSettingsUnmarshaller.Instance);
response.RouteSettings = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("stageName", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.StageName = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("stageVariables", targetDepth))
{
var unmarshaller = new DictionaryUnmarshaller<string, string, StringUnmarshaller, StringUnmarshaller>(StringUnmarshaller.Instance, StringUnmarshaller.Instance);
response.StageVariables = 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("NotFoundException"))
{
return NotFoundExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("TooManyRequestsException"))
{
return TooManyRequestsExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
}
return new AmazonApiGatewayV2Exception(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode);
}
private static GetStageResponseUnmarshaller _instance = new GetStageResponseUnmarshaller();
internal static GetStageResponseUnmarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static GetStageResponseUnmarshaller Instance
{
get
{
return _instance;
}
}
}
} | 192 |
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 apigatewayv2-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.ApiGatewayV2.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.ApiGatewayV2.Model.Internal.MarshallTransformations
{
/// <summary>
/// GetStages Request Marshaller
/// </summary>
public class GetStagesRequestMarshaller : IMarshaller<IRequest, GetStagesRequest> , 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((GetStagesRequest)input);
}
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="publicRequest"></param>
/// <returns></returns>
public IRequest Marshall(GetStagesRequest publicRequest)
{
IRequest request = new DefaultRequest(publicRequest, "Amazon.ApiGatewayV2");
request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2018-11-29";
request.HttpMethod = "GET";
if (!publicRequest.IsSetApiId())
throw new AmazonApiGatewayV2Exception("Request object does not have required field ApiId set");
request.AddPathResource("{apiId}", StringUtils.FromString(publicRequest.ApiId));
if (publicRequest.IsSetMaxResults())
request.Parameters.Add("maxResults", StringUtils.FromString(publicRequest.MaxResults));
if (publicRequest.IsSetNextToken())
request.Parameters.Add("nextToken", StringUtils.FromString(publicRequest.NextToken));
request.ResourcePath = "/v2/apis/{apiId}/stages";
request.UseQueryString = true;
return request;
}
private static GetStagesRequestMarshaller _instance = new GetStagesRequestMarshaller();
internal static GetStagesRequestMarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static GetStagesRequestMarshaller Instance
{
get
{
return _instance;
}
}
}
} | 94 |
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 apigatewayv2-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.ApiGatewayV2.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.ApiGatewayV2.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for GetStages operation
/// </summary>
public class GetStagesResponseUnmarshaller : 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)
{
GetStagesResponse response = new GetStagesResponse();
context.Read();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("items", targetDepth))
{
var unmarshaller = new ListUnmarshaller<Stage, StageUnmarshaller>(StageUnmarshaller.Instance);
response.Items = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("nextToken", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.NextToken = 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("NotFoundException"))
{
return NotFoundExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("TooManyRequestsException"))
{
return TooManyRequestsExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
}
return new AmazonApiGatewayV2Exception(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode);
}
private static GetStagesResponseUnmarshaller _instance = new GetStagesResponseUnmarshaller();
internal static GetStagesResponseUnmarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static GetStagesResponseUnmarshaller Instance
{
get
{
return _instance;
}
}
}
} | 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 apigatewayv2-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.ApiGatewayV2.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.ApiGatewayV2.Model.Internal.MarshallTransformations
{
/// <summary>
/// GetTags Request Marshaller
/// </summary>
public class GetTagsRequestMarshaller : IMarshaller<IRequest, GetTagsRequest> , 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((GetTagsRequest)input);
}
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="publicRequest"></param>
/// <returns></returns>
public IRequest Marshall(GetTagsRequest publicRequest)
{
IRequest request = new DefaultRequest(publicRequest, "Amazon.ApiGatewayV2");
request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2018-11-29";
request.HttpMethod = "GET";
if (!publicRequest.IsSetResourceArn())
throw new AmazonApiGatewayV2Exception("Request object does not have required field ResourceArn set");
request.AddPathResource("{resource-arn}", StringUtils.FromString(publicRequest.ResourceArn));
request.ResourcePath = "/v2/tags/{resource-arn}";
return request;
}
private static GetTagsRequestMarshaller _instance = new GetTagsRequestMarshaller();
internal static GetTagsRequestMarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static GetTagsRequestMarshaller 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 apigatewayv2-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.ApiGatewayV2.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.ApiGatewayV2.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for GetTags operation
/// </summary>
public class GetTagsResponseUnmarshaller : 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)
{
GetTagsResponse response = new GetTagsResponse();
context.Read();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
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("NotFoundException"))
{
return NotFoundExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("TooManyRequestsException"))
{
return TooManyRequestsExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
}
return new AmazonApiGatewayV2Exception(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode);
}
private static GetTagsResponseUnmarshaller _instance = new GetTagsResponseUnmarshaller();
internal static GetTagsResponseUnmarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static GetTagsResponseUnmarshaller Instance
{
get
{
return _instance;
}
}
}
} | 122 |
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 apigatewayv2-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.ApiGatewayV2.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.ApiGatewayV2.Model.Internal.MarshallTransformations
{
/// <summary>
/// GetVpcLink Request Marshaller
/// </summary>
public class GetVpcLinkRequestMarshaller : IMarshaller<IRequest, GetVpcLinkRequest> , 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((GetVpcLinkRequest)input);
}
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="publicRequest"></param>
/// <returns></returns>
public IRequest Marshall(GetVpcLinkRequest publicRequest)
{
IRequest request = new DefaultRequest(publicRequest, "Amazon.ApiGatewayV2");
request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2018-11-29";
request.HttpMethod = "GET";
if (!publicRequest.IsSetVpcLinkId())
throw new AmazonApiGatewayV2Exception("Request object does not have required field VpcLinkId set");
request.AddPathResource("{vpcLinkId}", StringUtils.FromString(publicRequest.VpcLinkId));
request.ResourcePath = "/v2/vpclinks/{vpcLinkId}";
return request;
}
private static GetVpcLinkRequestMarshaller _instance = new GetVpcLinkRequestMarshaller();
internal static GetVpcLinkRequestMarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static GetVpcLinkRequestMarshaller 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 apigatewayv2-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.ApiGatewayV2.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.ApiGatewayV2.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for GetVpcLink operation
/// </summary>
public class GetVpcLinkResponseUnmarshaller : 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)
{
GetVpcLinkResponse response = new GetVpcLinkResponse();
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("name", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.Name = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("securityGroupIds", targetDepth))
{
var unmarshaller = new ListUnmarshaller<string, StringUnmarshaller>(StringUnmarshaller.Instance);
response.SecurityGroupIds = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("subnetIds", targetDepth))
{
var unmarshaller = new ListUnmarshaller<string, StringUnmarshaller>(StringUnmarshaller.Instance);
response.SubnetIds = 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("vpcLinkId", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.VpcLinkId = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("vpcLinkStatus", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.VpcLinkStatus = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("vpcLinkStatusMessage", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.VpcLinkStatusMessage = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("vpcLinkVersion", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.VpcLinkVersion = 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("NotFoundException"))
{
return NotFoundExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("TooManyRequestsException"))
{
return TooManyRequestsExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
}
return new AmazonApiGatewayV2Exception(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode);
}
private static GetVpcLinkResponseUnmarshaller _instance = new GetVpcLinkResponseUnmarshaller();
internal static GetVpcLinkResponseUnmarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static GetVpcLinkResponseUnmarshaller Instance
{
get
{
return _instance;
}
}
}
} | 162 |
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 apigatewayv2-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.ApiGatewayV2.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.ApiGatewayV2.Model.Internal.MarshallTransformations
{
/// <summary>
/// GetVpcLinks Request Marshaller
/// </summary>
public class GetVpcLinksRequestMarshaller : IMarshaller<IRequest, GetVpcLinksRequest> , 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((GetVpcLinksRequest)input);
}
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="publicRequest"></param>
/// <returns></returns>
public IRequest Marshall(GetVpcLinksRequest publicRequest)
{
IRequest request = new DefaultRequest(publicRequest, "Amazon.ApiGatewayV2");
request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2018-11-29";
request.HttpMethod = "GET";
if (publicRequest.IsSetMaxResults())
request.Parameters.Add("maxResults", StringUtils.FromString(publicRequest.MaxResults));
if (publicRequest.IsSetNextToken())
request.Parameters.Add("nextToken", StringUtils.FromString(publicRequest.NextToken));
request.ResourcePath = "/v2/vpclinks";
request.UseQueryString = true;
return request;
}
private static GetVpcLinksRequestMarshaller _instance = new GetVpcLinksRequestMarshaller();
internal static GetVpcLinksRequestMarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static GetVpcLinksRequestMarshaller Instance
{
get
{
return _instance;
}
}
}
} | 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 apigatewayv2-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.ApiGatewayV2.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.ApiGatewayV2.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for GetVpcLinks operation
/// </summary>
public class GetVpcLinksResponseUnmarshaller : 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)
{
GetVpcLinksResponse response = new GetVpcLinksResponse();
context.Read();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("items", targetDepth))
{
var unmarshaller = new ListUnmarshaller<VpcLink, VpcLinkUnmarshaller>(VpcLinkUnmarshaller.Instance);
response.Items = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("nextToken", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.NextToken = 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("TooManyRequestsException"))
{
return TooManyRequestsExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
}
return new AmazonApiGatewayV2Exception(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode);
}
private static GetVpcLinksResponseUnmarshaller _instance = new GetVpcLinksResponseUnmarshaller();
internal static GetVpcLinksResponseUnmarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static GetVpcLinksResponseUnmarshaller 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 apigatewayv2-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.ApiGatewayV2.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.ApiGatewayV2.Model.Internal.MarshallTransformations
{
/// <summary>
/// ImportApi Request Marshaller
/// </summary>
public class ImportApiRequestMarshaller : IMarshaller<IRequest, ImportApiRequest> , 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((ImportApiRequest)input);
}
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="publicRequest"></param>
/// <returns></returns>
public IRequest Marshall(ImportApiRequest publicRequest)
{
IRequest request = new DefaultRequest(publicRequest, "Amazon.ApiGatewayV2");
request.Headers["Content-Type"] = "application/json";
request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2018-11-29";
request.HttpMethod = "PUT";
if (publicRequest.IsSetBasepath())
request.Parameters.Add("basepath", StringUtils.FromString(publicRequest.Basepath));
if (publicRequest.IsSetFailOnWarnings())
request.Parameters.Add("failOnWarnings", StringUtils.FromBool(publicRequest.FailOnWarnings));
request.ResourcePath = "/v2/apis";
using (StringWriter stringWriter = new StringWriter(CultureInfo.InvariantCulture))
{
JsonWriter writer = new JsonWriter(stringWriter);
writer.WriteObjectStart();
var context = new JsonMarshallerContext(request, writer);
if(publicRequest.IsSetBody())
{
context.Writer.WritePropertyName("body");
context.Writer.Write(publicRequest.Body);
}
writer.WriteObjectEnd();
string snippet = stringWriter.ToString();
request.Content = System.Text.Encoding.UTF8.GetBytes(snippet);
}
request.UseQueryString = true;
return request;
}
private static ImportApiRequestMarshaller _instance = new ImportApiRequestMarshaller();
internal static ImportApiRequestMarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static ImportApiRequestMarshaller Instance
{
get
{
return _instance;
}
}
}
} | 108 |
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 apigatewayv2-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.ApiGatewayV2.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.ApiGatewayV2.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for ImportApi operation
/// </summary>
public class ImportApiResponseUnmarshaller : 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)
{
ImportApiResponse response = new ImportApiResponse();
context.Read();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("apiEndpoint", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.ApiEndpoint = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("apiGatewayManaged", targetDepth))
{
var unmarshaller = BoolUnmarshaller.Instance;
response.ApiGatewayManaged = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("apiId", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.ApiId = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("apiKeySelectionExpression", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.ApiKeySelectionExpression = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("corsConfiguration", targetDepth))
{
var unmarshaller = CorsUnmarshaller.Instance;
response.CorsConfiguration = 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("disableSchemaValidation", targetDepth))
{
var unmarshaller = BoolUnmarshaller.Instance;
response.DisableSchemaValidation = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("importInfo", targetDepth))
{
var unmarshaller = new ListUnmarshaller<string, StringUnmarshaller>(StringUnmarshaller.Instance);
response.ImportInfo = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("name", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.Name = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("protocolType", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.ProtocolType = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("routeSelectionExpression", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.RouteSelectionExpression = 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("NotFoundException"))
{
return NotFoundExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("TooManyRequestsException"))
{
return TooManyRequestsExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
}
return new AmazonApiGatewayV2Exception(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode);
}
private static ImportApiResponseUnmarshaller _instance = new ImportApiResponseUnmarshaller();
internal static ImportApiResponseUnmarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static ImportApiResponseUnmarshaller Instance
{
get
{
return _instance;
}
}
}
} | 212 |
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 apigatewayv2-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.ApiGatewayV2.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.ApiGatewayV2.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for IntegrationResponse Object
/// </summary>
public class IntegrationResponseUnmarshaller : IUnmarshaller<IntegrationResponse, XmlUnmarshallerContext>, IUnmarshaller<IntegrationResponse, JsonUnmarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
IntegrationResponse IUnmarshaller<IntegrationResponse, 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 IntegrationResponse Unmarshall(JsonUnmarshallerContext context)
{
context.Read();
if (context.CurrentTokenType == JsonToken.Null)
return null;
IntegrationResponse unmarshalledObject = new IntegrationResponse();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("contentHandlingStrategy", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.ContentHandlingStrategy = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("integrationResponseId", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.IntegrationResponseId = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("integrationResponseKey", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.IntegrationResponseKey = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("responseParameters", targetDepth))
{
var unmarshaller = new DictionaryUnmarshaller<string, string, StringUnmarshaller, StringUnmarshaller>(StringUnmarshaller.Instance, StringUnmarshaller.Instance);
unmarshalledObject.ResponseParameters = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("responseTemplates", targetDepth))
{
var unmarshaller = new DictionaryUnmarshaller<string, string, StringUnmarshaller, StringUnmarshaller>(StringUnmarshaller.Instance, StringUnmarshaller.Instance);
unmarshalledObject.ResponseTemplates = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("templateSelectionExpression", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.TemplateSelectionExpression = unmarshaller.Unmarshall(context);
continue;
}
}
return unmarshalledObject;
}
private static IntegrationResponseUnmarshaller _instance = new IntegrationResponseUnmarshaller();
/// <summary>
/// Gets the singleton.
/// </summary>
public static IntegrationResponseUnmarshaller Instance
{
get
{
return _instance;
}
}
}
} | 122 |
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 apigatewayv2-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.ApiGatewayV2.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.ApiGatewayV2.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for Integration Object
/// </summary>
public class IntegrationUnmarshaller : IUnmarshaller<Integration, XmlUnmarshallerContext>, IUnmarshaller<Integration, JsonUnmarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
Integration IUnmarshaller<Integration, 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 Integration Unmarshall(JsonUnmarshallerContext context)
{
context.Read();
if (context.CurrentTokenType == JsonToken.Null)
return null;
Integration unmarshalledObject = new Integration();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("apiGatewayManaged", targetDepth))
{
var unmarshaller = BoolUnmarshaller.Instance;
unmarshalledObject.ApiGatewayManaged = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("connectionId", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.ConnectionId = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("connectionType", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.ConnectionType = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("contentHandlingStrategy", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.ContentHandlingStrategy = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("credentialsArn", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.CredentialsArn = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("description", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.Description = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("integrationId", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.IntegrationId = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("integrationMethod", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.IntegrationMethod = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("integrationResponseSelectionExpression", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.IntegrationResponseSelectionExpression = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("integrationSubtype", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.IntegrationSubtype = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("integrationType", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.IntegrationType = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("integrationUri", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.IntegrationUri = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("passthroughBehavior", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.PassthroughBehavior = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("payloadFormatVersion", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.PayloadFormatVersion = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("requestParameters", targetDepth))
{
var unmarshaller = new DictionaryUnmarshaller<string, string, StringUnmarshaller, StringUnmarshaller>(StringUnmarshaller.Instance, StringUnmarshaller.Instance);
unmarshalledObject.RequestParameters = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("requestTemplates", targetDepth))
{
var unmarshaller = new DictionaryUnmarshaller<string, string, StringUnmarshaller, StringUnmarshaller>(StringUnmarshaller.Instance, StringUnmarshaller.Instance);
unmarshalledObject.RequestTemplates = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("responseParameters", targetDepth))
{
var unmarshaller = new DictionaryUnmarshaller<string, Dictionary<string, string>, StringUnmarshaller, DictionaryUnmarshaller<string, string, StringUnmarshaller, StringUnmarshaller>>(StringUnmarshaller.Instance, new DictionaryUnmarshaller<string, string, StringUnmarshaller, StringUnmarshaller>(StringUnmarshaller.Instance, StringUnmarshaller.Instance));
unmarshalledObject.ResponseParameters = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("templateSelectionExpression", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.TemplateSelectionExpression = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("timeoutInMillis", targetDepth))
{
var unmarshaller = IntUnmarshaller.Instance;
unmarshalledObject.TimeoutInMillis = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("tlsConfig", targetDepth))
{
var unmarshaller = TlsConfigUnmarshaller.Instance;
unmarshalledObject.TlsConfig = unmarshaller.Unmarshall(context);
continue;
}
}
return unmarshalledObject;
}
private static IntegrationUnmarshaller _instance = new IntegrationUnmarshaller();
/// <summary>
/// Gets the singleton.
/// </summary>
public static IntegrationUnmarshaller Instance
{
get
{
return _instance;
}
}
}
} | 206 |
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 apigatewayv2-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.ApiGatewayV2.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.ApiGatewayV2.Model.Internal.MarshallTransformations
{
/// <summary>
/// JWTConfiguration Marshaller
/// </summary>
public class JWTConfigurationMarshaller : IRequestMarshaller<JWTConfiguration, JsonMarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="requestObject"></param>
/// <param name="context"></param>
/// <returns></returns>
public void Marshall(JWTConfiguration requestObject, JsonMarshallerContext context)
{
if(requestObject.IsSetAudience())
{
context.Writer.WritePropertyName("audience");
context.Writer.WriteArrayStart();
foreach(var requestObjectAudienceListValue in requestObject.Audience)
{
context.Writer.Write(requestObjectAudienceListValue);
}
context.Writer.WriteArrayEnd();
}
if(requestObject.IsSetIssuer())
{
context.Writer.WritePropertyName("issuer");
context.Writer.Write(requestObject.Issuer);
}
}
/// <summary>
/// Singleton Marshaller.
/// </summary>
public readonly static JWTConfigurationMarshaller Instance = new JWTConfigurationMarshaller();
}
} | 73 |
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 apigatewayv2-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.ApiGatewayV2.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.ApiGatewayV2.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for JWTConfiguration Object
/// </summary>
public class JWTConfigurationUnmarshaller : IUnmarshaller<JWTConfiguration, XmlUnmarshallerContext>, IUnmarshaller<JWTConfiguration, JsonUnmarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
JWTConfiguration IUnmarshaller<JWTConfiguration, 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 JWTConfiguration Unmarshall(JsonUnmarshallerContext context)
{
context.Read();
if (context.CurrentTokenType == JsonToken.Null)
return null;
JWTConfiguration unmarshalledObject = new JWTConfiguration();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("audience", targetDepth))
{
var unmarshaller = new ListUnmarshaller<string, StringUnmarshaller>(StringUnmarshaller.Instance);
unmarshalledObject.Audience = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("issuer", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.Issuer = unmarshaller.Unmarshall(context);
continue;
}
}
return unmarshalledObject;
}
private static JWTConfigurationUnmarshaller _instance = new JWTConfigurationUnmarshaller();
/// <summary>
/// Gets the singleton.
/// </summary>
public static JWTConfigurationUnmarshaller Instance
{
get
{
return _instance;
}
}
}
} | 98 |
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 apigatewayv2-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.ApiGatewayV2.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.ApiGatewayV2.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for Model Object
/// </summary>
public class ModelUnmarshaller : IUnmarshaller<Model, XmlUnmarshallerContext>, IUnmarshaller<Model, JsonUnmarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
Model IUnmarshaller<Model, 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 Model Unmarshall(JsonUnmarshallerContext context)
{
context.Read();
if (context.CurrentTokenType == JsonToken.Null)
return null;
Model unmarshalledObject = new Model();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("contentType", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.ContentType = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("description", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.Description = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("modelId", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.ModelId = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("name", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.Name = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("schema", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.Schema = unmarshaller.Unmarshall(context);
continue;
}
}
return unmarshalledObject;
}
private static ModelUnmarshaller _instance = new ModelUnmarshaller();
/// <summary>
/// Gets the singleton.
/// </summary>
public static ModelUnmarshaller Instance
{
get
{
return _instance;
}
}
}
} | 116 |
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 apigatewayv2-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.ApiGatewayV2.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.ApiGatewayV2.Model.Internal.MarshallTransformations
{
/// <summary>
/// MutualTlsAuthenticationInput Marshaller
/// </summary>
public class MutualTlsAuthenticationInputMarshaller : IRequestMarshaller<MutualTlsAuthenticationInput, JsonMarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="requestObject"></param>
/// <param name="context"></param>
/// <returns></returns>
public void Marshall(MutualTlsAuthenticationInput requestObject, JsonMarshallerContext context)
{
if(requestObject.IsSetTruststoreUri())
{
context.Writer.WritePropertyName("truststoreUri");
context.Writer.Write(requestObject.TruststoreUri);
}
if(requestObject.IsSetTruststoreVersion())
{
context.Writer.WritePropertyName("truststoreVersion");
context.Writer.Write(requestObject.TruststoreVersion);
}
}
/// <summary>
/// Singleton Marshaller.
/// </summary>
public readonly static MutualTlsAuthenticationInputMarshaller Instance = new MutualTlsAuthenticationInputMarshaller();
}
} | 68 |
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 apigatewayv2-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.ApiGatewayV2.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.ApiGatewayV2.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for MutualTlsAuthentication Object
/// </summary>
public class MutualTlsAuthenticationUnmarshaller : IUnmarshaller<MutualTlsAuthentication, XmlUnmarshallerContext>, IUnmarshaller<MutualTlsAuthentication, JsonUnmarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
MutualTlsAuthentication IUnmarshaller<MutualTlsAuthentication, 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 MutualTlsAuthentication Unmarshall(JsonUnmarshallerContext context)
{
context.Read();
if (context.CurrentTokenType == JsonToken.Null)
return null;
MutualTlsAuthentication unmarshalledObject = new MutualTlsAuthentication();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("truststoreUri", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.TruststoreUri = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("truststoreVersion", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.TruststoreVersion = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("truststoreWarnings", targetDepth))
{
var unmarshaller = new ListUnmarshaller<string, StringUnmarshaller>(StringUnmarshaller.Instance);
unmarshalledObject.TruststoreWarnings = unmarshaller.Unmarshall(context);
continue;
}
}
return unmarshalledObject;
}
private static MutualTlsAuthenticationUnmarshaller _instance = new MutualTlsAuthenticationUnmarshaller();
/// <summary>
/// Gets the singleton.
/// </summary>
public static MutualTlsAuthenticationUnmarshaller Instance
{
get
{
return _instance;
}
}
}
} | 104 |
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 apigatewayv2-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.ApiGatewayV2.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.ApiGatewayV2.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for NotFoundException Object
/// </summary>
public class NotFoundExceptionUnmarshaller : IErrorResponseUnmarshaller<NotFoundException, JsonUnmarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
public NotFoundException 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 NotFoundException Unmarshall(JsonUnmarshallerContext context, Amazon.Runtime.Internal.ErrorResponse errorResponse)
{
context.Read();
NotFoundException unmarshalledObject = new NotFoundException(errorResponse.Message, errorResponse.InnerException,
errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode);
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("resourceType", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.ResourceType = unmarshaller.Unmarshall(context);
continue;
}
}
return unmarshalledObject;
}
private static NotFoundExceptionUnmarshaller _instance = new NotFoundExceptionUnmarshaller();
/// <summary>
/// Gets the singleton.
/// </summary>
public static NotFoundExceptionUnmarshaller Instance
{
get
{
return _instance;
}
}
}
} | 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 apigatewayv2-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.ApiGatewayV2.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.ApiGatewayV2.Model.Internal.MarshallTransformations
{
/// <summary>
/// ParameterConstraints Marshaller
/// </summary>
public class ParameterConstraintsMarshaller : IRequestMarshaller<ParameterConstraints, JsonMarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="requestObject"></param>
/// <param name="context"></param>
/// <returns></returns>
public void Marshall(ParameterConstraints requestObject, JsonMarshallerContext context)
{
if(requestObject.IsSetRequired())
{
context.Writer.WritePropertyName("required");
context.Writer.Write(requestObject.Required);
}
}
/// <summary>
/// Singleton Marshaller.
/// </summary>
public readonly static ParameterConstraintsMarshaller Instance = new ParameterConstraintsMarshaller();
}
} | 62 |
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 apigatewayv2-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.ApiGatewayV2.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.ApiGatewayV2.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for ParameterConstraints Object
/// </summary>
public class ParameterConstraintsUnmarshaller : IUnmarshaller<ParameterConstraints, XmlUnmarshallerContext>, IUnmarshaller<ParameterConstraints, JsonUnmarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
ParameterConstraints IUnmarshaller<ParameterConstraints, 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 ParameterConstraints Unmarshall(JsonUnmarshallerContext context)
{
context.Read();
if (context.CurrentTokenType == JsonToken.Null)
return null;
ParameterConstraints unmarshalledObject = new ParameterConstraints();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("required", targetDepth))
{
var unmarshaller = BoolUnmarshaller.Instance;
unmarshalledObject.Required = unmarshaller.Unmarshall(context);
continue;
}
}
return unmarshalledObject;
}
private static ParameterConstraintsUnmarshaller _instance = new ParameterConstraintsUnmarshaller();
/// <summary>
/// Gets the singleton.
/// </summary>
public static ParameterConstraintsUnmarshaller Instance
{
get
{
return _instance;
}
}
}
} | 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 apigatewayv2-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.ApiGatewayV2.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.ApiGatewayV2.Model.Internal.MarshallTransformations
{
/// <summary>
/// ReimportApi Request Marshaller
/// </summary>
public class ReimportApiRequestMarshaller : IMarshaller<IRequest, ReimportApiRequest> , 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((ReimportApiRequest)input);
}
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="publicRequest"></param>
/// <returns></returns>
public IRequest Marshall(ReimportApiRequest publicRequest)
{
IRequest request = new DefaultRequest(publicRequest, "Amazon.ApiGatewayV2");
request.Headers["Content-Type"] = "application/json";
request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2018-11-29";
request.HttpMethod = "PUT";
if (!publicRequest.IsSetApiId())
throw new AmazonApiGatewayV2Exception("Request object does not have required field ApiId set");
request.AddPathResource("{apiId}", StringUtils.FromString(publicRequest.ApiId));
if (publicRequest.IsSetBasepath())
request.Parameters.Add("basepath", StringUtils.FromString(publicRequest.Basepath));
if (publicRequest.IsSetFailOnWarnings())
request.Parameters.Add("failOnWarnings", StringUtils.FromBool(publicRequest.FailOnWarnings));
request.ResourcePath = "/v2/apis/{apiId}";
using (StringWriter stringWriter = new StringWriter(CultureInfo.InvariantCulture))
{
JsonWriter writer = new JsonWriter(stringWriter);
writer.WriteObjectStart();
var context = new JsonMarshallerContext(request, writer);
if(publicRequest.IsSetBody())
{
context.Writer.WritePropertyName("body");
context.Writer.Write(publicRequest.Body);
}
writer.WriteObjectEnd();
string snippet = stringWriter.ToString();
request.Content = System.Text.Encoding.UTF8.GetBytes(snippet);
}
request.UseQueryString = true;
return request;
}
private static ReimportApiRequestMarshaller _instance = new ReimportApiRequestMarshaller();
internal static ReimportApiRequestMarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static ReimportApiRequestMarshaller Instance
{
get
{
return _instance;
}
}
}
} | 111 |
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 apigatewayv2-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.ApiGatewayV2.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.ApiGatewayV2.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for ReimportApi operation
/// </summary>
public class ReimportApiResponseUnmarshaller : 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)
{
ReimportApiResponse response = new ReimportApiResponse();
context.Read();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("apiEndpoint", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.ApiEndpoint = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("apiGatewayManaged", targetDepth))
{
var unmarshaller = BoolUnmarshaller.Instance;
response.ApiGatewayManaged = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("apiId", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.ApiId = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("apiKeySelectionExpression", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.ApiKeySelectionExpression = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("corsConfiguration", targetDepth))
{
var unmarshaller = CorsUnmarshaller.Instance;
response.CorsConfiguration = 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("disableSchemaValidation", targetDepth))
{
var unmarshaller = BoolUnmarshaller.Instance;
response.DisableSchemaValidation = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("importInfo", targetDepth))
{
var unmarshaller = new ListUnmarshaller<string, StringUnmarshaller>(StringUnmarshaller.Instance);
response.ImportInfo = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("name", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.Name = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("protocolType", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.ProtocolType = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("routeSelectionExpression", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.RouteSelectionExpression = 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("NotFoundException"))
{
return NotFoundExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("TooManyRequestsException"))
{
return TooManyRequestsExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
}
return new AmazonApiGatewayV2Exception(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode);
}
private static ReimportApiResponseUnmarshaller _instance = new ReimportApiResponseUnmarshaller();
internal static ReimportApiResponseUnmarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static ReimportApiResponseUnmarshaller Instance
{
get
{
return _instance;
}
}
}
} | 212 |
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 apigatewayv2-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.ApiGatewayV2.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.ApiGatewayV2.Model.Internal.MarshallTransformations
{
/// <summary>
/// ResetAuthorizersCache Request Marshaller
/// </summary>
public class ResetAuthorizersCacheRequestMarshaller : IMarshaller<IRequest, ResetAuthorizersCacheRequest> , 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((ResetAuthorizersCacheRequest)input);
}
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="publicRequest"></param>
/// <returns></returns>
public IRequest Marshall(ResetAuthorizersCacheRequest publicRequest)
{
IRequest request = new DefaultRequest(publicRequest, "Amazon.ApiGatewayV2");
request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2018-11-29";
request.HttpMethod = "DELETE";
if (!publicRequest.IsSetApiId())
throw new AmazonApiGatewayV2Exception("Request object does not have required field ApiId set");
request.AddPathResource("{apiId}", StringUtils.FromString(publicRequest.ApiId));
if (!publicRequest.IsSetStageName())
throw new AmazonApiGatewayV2Exception("Request object does not have required field StageName set");
request.AddPathResource("{stageName}", StringUtils.FromString(publicRequest.StageName));
request.ResourcePath = "/v2/apis/{apiId}/stages/{stageName}/cache/authorizers";
return request;
}
private static ResetAuthorizersCacheRequestMarshaller _instance = new ResetAuthorizersCacheRequestMarshaller();
internal static ResetAuthorizersCacheRequestMarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static ResetAuthorizersCacheRequestMarshaller Instance
{
get
{
return _instance;
}
}
}
} | 90 |
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 apigatewayv2-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.ApiGatewayV2.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.ApiGatewayV2.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for ResetAuthorizersCache operation
/// </summary>
public class ResetAuthorizersCacheResponseUnmarshaller : 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)
{
ResetAuthorizersCacheResponse response = new ResetAuthorizersCacheResponse();
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("NotFoundException"))
{
return NotFoundExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("TooManyRequestsException"))
{
return TooManyRequestsExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
}
return new AmazonApiGatewayV2Exception(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode);
}
private static ResetAuthorizersCacheResponseUnmarshaller _instance = new ResetAuthorizersCacheResponseUnmarshaller();
internal static ResetAuthorizersCacheResponseUnmarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static ResetAuthorizersCacheResponseUnmarshaller Instance
{
get
{
return _instance;
}
}
}
} | 103 |
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 apigatewayv2-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.ApiGatewayV2.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.ApiGatewayV2.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for RouteResponse Object
/// </summary>
public class RouteResponseUnmarshaller : IUnmarshaller<RouteResponse, XmlUnmarshallerContext>, IUnmarshaller<RouteResponse, JsonUnmarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
RouteResponse IUnmarshaller<RouteResponse, 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 RouteResponse Unmarshall(JsonUnmarshallerContext context)
{
context.Read();
if (context.CurrentTokenType == JsonToken.Null)
return null;
RouteResponse unmarshalledObject = new RouteResponse();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("modelSelectionExpression", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.ModelSelectionExpression = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("responseModels", targetDepth))
{
var unmarshaller = new DictionaryUnmarshaller<string, string, StringUnmarshaller, StringUnmarshaller>(StringUnmarshaller.Instance, StringUnmarshaller.Instance);
unmarshalledObject.ResponseModels = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("responseParameters", targetDepth))
{
var unmarshaller = new DictionaryUnmarshaller<string, ParameterConstraints, StringUnmarshaller, ParameterConstraintsUnmarshaller>(StringUnmarshaller.Instance, ParameterConstraintsUnmarshaller.Instance);
unmarshalledObject.ResponseParameters = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("routeResponseId", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.RouteResponseId = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("routeResponseKey", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.RouteResponseKey = unmarshaller.Unmarshall(context);
continue;
}
}
return unmarshalledObject;
}
private static RouteResponseUnmarshaller _instance = new RouteResponseUnmarshaller();
/// <summary>
/// Gets the singleton.
/// </summary>
public static RouteResponseUnmarshaller Instance
{
get
{
return _instance;
}
}
}
} | 116 |
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 apigatewayv2-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.ApiGatewayV2.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.ApiGatewayV2.Model.Internal.MarshallTransformations
{
/// <summary>
/// RouteSettings Marshaller
/// </summary>
public class RouteSettingsMarshaller : IRequestMarshaller<RouteSettings, JsonMarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="requestObject"></param>
/// <param name="context"></param>
/// <returns></returns>
public void Marshall(RouteSettings requestObject, JsonMarshallerContext context)
{
if(requestObject.IsSetDataTraceEnabled())
{
context.Writer.WritePropertyName("dataTraceEnabled");
context.Writer.Write(requestObject.DataTraceEnabled);
}
if(requestObject.IsSetDetailedMetricsEnabled())
{
context.Writer.WritePropertyName("detailedMetricsEnabled");
context.Writer.Write(requestObject.DetailedMetricsEnabled);
}
if(requestObject.IsSetLoggingLevel())
{
context.Writer.WritePropertyName("loggingLevel");
context.Writer.Write(requestObject.LoggingLevel);
}
if(requestObject.IsSetThrottlingBurstLimit())
{
context.Writer.WritePropertyName("throttlingBurstLimit");
context.Writer.Write(requestObject.ThrottlingBurstLimit);
}
if(requestObject.IsSetThrottlingRateLimit())
{
context.Writer.WritePropertyName("throttlingRateLimit");
context.Writer.Write(requestObject.ThrottlingRateLimit);
}
}
/// <summary>
/// Singleton Marshaller.
/// </summary>
public readonly static RouteSettingsMarshaller Instance = new RouteSettingsMarshaller();
}
} | 86 |
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 apigatewayv2-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.ApiGatewayV2.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.ApiGatewayV2.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for RouteSettings Object
/// </summary>
public class RouteSettingsUnmarshaller : IUnmarshaller<RouteSettings, XmlUnmarshallerContext>, IUnmarshaller<RouteSettings, JsonUnmarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
RouteSettings IUnmarshaller<RouteSettings, 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 RouteSettings Unmarshall(JsonUnmarshallerContext context)
{
context.Read();
if (context.CurrentTokenType == JsonToken.Null)
return null;
RouteSettings unmarshalledObject = new RouteSettings();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("dataTraceEnabled", targetDepth))
{
var unmarshaller = BoolUnmarshaller.Instance;
unmarshalledObject.DataTraceEnabled = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("detailedMetricsEnabled", targetDepth))
{
var unmarshaller = BoolUnmarshaller.Instance;
unmarshalledObject.DetailedMetricsEnabled = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("loggingLevel", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.LoggingLevel = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("throttlingBurstLimit", targetDepth))
{
var unmarshaller = IntUnmarshaller.Instance;
unmarshalledObject.ThrottlingBurstLimit = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("throttlingRateLimit", targetDepth))
{
var unmarshaller = DoubleUnmarshaller.Instance;
unmarshalledObject.ThrottlingRateLimit = unmarshaller.Unmarshall(context);
continue;
}
}
return unmarshalledObject;
}
private static RouteSettingsUnmarshaller _instance = new RouteSettingsUnmarshaller();
/// <summary>
/// Gets the singleton.
/// </summary>
public static RouteSettingsUnmarshaller Instance
{
get
{
return _instance;
}
}
}
} | 116 |
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 apigatewayv2-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.ApiGatewayV2.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.ApiGatewayV2.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for Route Object
/// </summary>
public class RouteUnmarshaller : IUnmarshaller<Route, XmlUnmarshallerContext>, IUnmarshaller<Route, JsonUnmarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
Route IUnmarshaller<Route, 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 Route Unmarshall(JsonUnmarshallerContext context)
{
context.Read();
if (context.CurrentTokenType == JsonToken.Null)
return null;
Route unmarshalledObject = new Route();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("apiGatewayManaged", targetDepth))
{
var unmarshaller = BoolUnmarshaller.Instance;
unmarshalledObject.ApiGatewayManaged = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("apiKeyRequired", targetDepth))
{
var unmarshaller = BoolUnmarshaller.Instance;
unmarshalledObject.ApiKeyRequired = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("authorizationScopes", targetDepth))
{
var unmarshaller = new ListUnmarshaller<string, StringUnmarshaller>(StringUnmarshaller.Instance);
unmarshalledObject.AuthorizationScopes = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("authorizationType", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.AuthorizationType = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("authorizerId", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.AuthorizerId = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("modelSelectionExpression", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.ModelSelectionExpression = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("operationName", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.OperationName = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("requestModels", targetDepth))
{
var unmarshaller = new DictionaryUnmarshaller<string, string, StringUnmarshaller, StringUnmarshaller>(StringUnmarshaller.Instance, StringUnmarshaller.Instance);
unmarshalledObject.RequestModels = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("requestParameters", targetDepth))
{
var unmarshaller = new DictionaryUnmarshaller<string, ParameterConstraints, StringUnmarshaller, ParameterConstraintsUnmarshaller>(StringUnmarshaller.Instance, ParameterConstraintsUnmarshaller.Instance);
unmarshalledObject.RequestParameters = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("routeId", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.RouteId = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("routeKey", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.RouteKey = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("routeResponseSelectionExpression", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.RouteResponseSelectionExpression = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("target", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.Target = unmarshaller.Unmarshall(context);
continue;
}
}
return unmarshalledObject;
}
private static RouteUnmarshaller _instance = new RouteUnmarshaller();
/// <summary>
/// Gets the singleton.
/// </summary>
public static RouteUnmarshaller Instance
{
get
{
return _instance;
}
}
}
} | 164 |
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 apigatewayv2-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.ApiGatewayV2.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.ApiGatewayV2.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for Stage Object
/// </summary>
public class StageUnmarshaller : IUnmarshaller<Stage, XmlUnmarshallerContext>, IUnmarshaller<Stage, JsonUnmarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
Stage IUnmarshaller<Stage, 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 Stage Unmarshall(JsonUnmarshallerContext context)
{
context.Read();
if (context.CurrentTokenType == JsonToken.Null)
return null;
Stage unmarshalledObject = new Stage();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("accessLogSettings", targetDepth))
{
var unmarshaller = AccessLogSettingsUnmarshaller.Instance;
unmarshalledObject.AccessLogSettings = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("apiGatewayManaged", targetDepth))
{
var unmarshaller = BoolUnmarshaller.Instance;
unmarshalledObject.ApiGatewayManaged = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("autoDeploy", targetDepth))
{
var unmarshaller = BoolUnmarshaller.Instance;
unmarshalledObject.AutoDeploy = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("clientCertificateId", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.ClientCertificateId = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("createdDate", targetDepth))
{
var unmarshaller = DateTimeUnmarshaller.Instance;
unmarshalledObject.CreatedDate = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("defaultRouteSettings", targetDepth))
{
var unmarshaller = RouteSettingsUnmarshaller.Instance;
unmarshalledObject.DefaultRouteSettings = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("deploymentId", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.DeploymentId = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("description", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.Description = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("lastDeploymentStatusMessage", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.LastDeploymentStatusMessage = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("lastUpdatedDate", targetDepth))
{
var unmarshaller = DateTimeUnmarshaller.Instance;
unmarshalledObject.LastUpdatedDate = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("routeSettings", targetDepth))
{
var unmarshaller = new DictionaryUnmarshaller<string, RouteSettings, StringUnmarshaller, RouteSettingsUnmarshaller>(StringUnmarshaller.Instance, RouteSettingsUnmarshaller.Instance);
unmarshalledObject.RouteSettings = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("stageName", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.StageName = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("stageVariables", targetDepth))
{
var unmarshaller = new DictionaryUnmarshaller<string, string, StringUnmarshaller, StringUnmarshaller>(StringUnmarshaller.Instance, StringUnmarshaller.Instance);
unmarshalledObject.StageVariables = 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;
}
}
return unmarshalledObject;
}
private static StageUnmarshaller _instance = new StageUnmarshaller();
/// <summary>
/// Gets the singleton.
/// </summary>
public static StageUnmarshaller Instance
{
get
{
return _instance;
}
}
}
} | 170 |
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 apigatewayv2-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.ApiGatewayV2.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.ApiGatewayV2.Model.Internal.MarshallTransformations
{
/// <summary>
/// TagResource Request Marshaller
/// </summary>
public class TagResourceRequestMarshaller : IMarshaller<IRequest, TagResourceRequest> , 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((TagResourceRequest)input);
}
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="publicRequest"></param>
/// <returns></returns>
public IRequest Marshall(TagResourceRequest publicRequest)
{
IRequest request = new DefaultRequest(publicRequest, "Amazon.ApiGatewayV2");
request.Headers["Content-Type"] = "application/json";
request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2018-11-29";
request.HttpMethod = "POST";
if (!publicRequest.IsSetResourceArn())
throw new AmazonApiGatewayV2Exception("Request object does not have required field ResourceArn set");
request.AddPathResource("{resource-arn}", StringUtils.FromString(publicRequest.ResourceArn));
request.ResourcePath = "/v2/tags/{resource-arn}";
using (StringWriter stringWriter = new StringWriter(CultureInfo.InvariantCulture))
{
JsonWriter writer = new JsonWriter(stringWriter);
writer.WriteObjectStart();
var context = new JsonMarshallerContext(request, writer);
if(publicRequest.IsSetTags())
{
context.Writer.WritePropertyName("tags");
context.Writer.WriteObjectStart();
foreach (var publicRequestTagsKvp in publicRequest.Tags)
{
context.Writer.WritePropertyName(publicRequestTagsKvp.Key);
var publicRequestTagsValue = publicRequestTagsKvp.Value;
context.Writer.Write(publicRequestTagsValue);
}
context.Writer.WriteObjectEnd();
}
writer.WriteObjectEnd();
string snippet = stringWriter.ToString();
request.Content = System.Text.Encoding.UTF8.GetBytes(snippet);
}
return request;
}
private static TagResourceRequestMarshaller _instance = new TagResourceRequestMarshaller();
internal static TagResourceRequestMarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static TagResourceRequestMarshaller Instance
{
get
{
return _instance;
}
}
}
} | 112 |
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 apigatewayv2-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.ApiGatewayV2.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.ApiGatewayV2.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for TagResource operation
/// </summary>
public class TagResourceResponseUnmarshaller : 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)
{
TagResourceResponse response = new TagResourceResponse();
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);
}
}
return new AmazonApiGatewayV2Exception(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode);
}
private static TagResourceResponseUnmarshaller _instance = new TagResourceResponseUnmarshaller();
internal static TagResourceResponseUnmarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static TagResourceResponseUnmarshaller Instance
{
get
{
return _instance;
}
}
}
} | 111 |
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 apigatewayv2-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.ApiGatewayV2.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.ApiGatewayV2.Model.Internal.MarshallTransformations
{
/// <summary>
/// TlsConfigInput Marshaller
/// </summary>
public class TlsConfigInputMarshaller : IRequestMarshaller<TlsConfigInput, JsonMarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="requestObject"></param>
/// <param name="context"></param>
/// <returns></returns>
public void Marshall(TlsConfigInput requestObject, JsonMarshallerContext context)
{
if(requestObject.IsSetServerNameToVerify())
{
context.Writer.WritePropertyName("serverNameToVerify");
context.Writer.Write(requestObject.ServerNameToVerify);
}
}
/// <summary>
/// Singleton Marshaller.
/// </summary>
public readonly static TlsConfigInputMarshaller Instance = new TlsConfigInputMarshaller();
}
} | 62 |
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 apigatewayv2-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.ApiGatewayV2.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.ApiGatewayV2.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for TlsConfig Object
/// </summary>
public class TlsConfigUnmarshaller : IUnmarshaller<TlsConfig, XmlUnmarshallerContext>, IUnmarshaller<TlsConfig, JsonUnmarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
TlsConfig IUnmarshaller<TlsConfig, 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 TlsConfig Unmarshall(JsonUnmarshallerContext context)
{
context.Read();
if (context.CurrentTokenType == JsonToken.Null)
return null;
TlsConfig unmarshalledObject = new TlsConfig();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("serverNameToVerify", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.ServerNameToVerify = unmarshaller.Unmarshall(context);
continue;
}
}
return unmarshalledObject;
}
private static TlsConfigUnmarshaller _instance = new TlsConfigUnmarshaller();
/// <summary>
/// Gets the singleton.
/// </summary>
public static TlsConfigUnmarshaller Instance
{
get
{
return _instance;
}
}
}
} | 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 apigatewayv2-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.ApiGatewayV2.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.ApiGatewayV2.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for TooManyRequestsException Object
/// </summary>
public class TooManyRequestsExceptionUnmarshaller : IErrorResponseUnmarshaller<TooManyRequestsException, JsonUnmarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
public TooManyRequestsException 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 TooManyRequestsException Unmarshall(JsonUnmarshallerContext context, Amazon.Runtime.Internal.ErrorResponse errorResponse)
{
context.Read();
TooManyRequestsException unmarshalledObject = new TooManyRequestsException(errorResponse.Message, errorResponse.InnerException,
errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode);
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("limitType", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.LimitType = unmarshaller.Unmarshall(context);
continue;
}
}
return unmarshalledObject;
}
private static TooManyRequestsExceptionUnmarshaller _instance = new TooManyRequestsExceptionUnmarshaller();
/// <summary>
/// Gets the singleton.
/// </summary>
public static TooManyRequestsExceptionUnmarshaller Instance
{
get
{
return _instance;
}
}
}
} | 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 apigatewayv2-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.ApiGatewayV2.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.ApiGatewayV2.Model.Internal.MarshallTransformations
{
/// <summary>
/// UntagResource Request Marshaller
/// </summary>
public class UntagResourceRequestMarshaller : IMarshaller<IRequest, UntagResourceRequest> , 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((UntagResourceRequest)input);
}
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="publicRequest"></param>
/// <returns></returns>
public IRequest Marshall(UntagResourceRequest publicRequest)
{
IRequest request = new DefaultRequest(publicRequest, "Amazon.ApiGatewayV2");
request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2018-11-29";
request.HttpMethod = "DELETE";
if (!publicRequest.IsSetResourceArn())
throw new AmazonApiGatewayV2Exception("Request object does not have required field ResourceArn set");
request.AddPathResource("{resource-arn}", StringUtils.FromString(publicRequest.ResourceArn));
if (publicRequest.IsSetTagKeys())
request.ParameterCollection.Add("tagKeys", publicRequest.TagKeys);
request.ResourcePath = "/v2/tags/{resource-arn}";
request.UseQueryString = true;
return request;
}
private static UntagResourceRequestMarshaller _instance = new UntagResourceRequestMarshaller();
internal static UntagResourceRequestMarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static UntagResourceRequestMarshaller Instance
{
get
{
return _instance;
}
}
}
} | 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 apigatewayv2-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.ApiGatewayV2.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.ApiGatewayV2.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for UntagResource operation
/// </summary>
public class UntagResourceResponseUnmarshaller : 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)
{
UntagResourceResponse response = new UntagResourceResponse();
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);
}
}
return new AmazonApiGatewayV2Exception(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode);
}
private static UntagResourceResponseUnmarshaller _instance = new UntagResourceResponseUnmarshaller();
internal static UntagResourceResponseUnmarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static UntagResourceResponseUnmarshaller Instance
{
get
{
return _instance;
}
}
}
} | 111 |
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 apigatewayv2-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.ApiGatewayV2.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.ApiGatewayV2.Model.Internal.MarshallTransformations
{
/// <summary>
/// UpdateApiMapping Request Marshaller
/// </summary>
public class UpdateApiMappingRequestMarshaller : IMarshaller<IRequest, UpdateApiMappingRequest> , 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((UpdateApiMappingRequest)input);
}
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="publicRequest"></param>
/// <returns></returns>
public IRequest Marshall(UpdateApiMappingRequest publicRequest)
{
IRequest request = new DefaultRequest(publicRequest, "Amazon.ApiGatewayV2");
request.Headers["Content-Type"] = "application/json";
request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2018-11-29";
request.HttpMethod = "PATCH";
if (!publicRequest.IsSetApiMappingId())
throw new AmazonApiGatewayV2Exception("Request object does not have required field ApiMappingId set");
request.AddPathResource("{apiMappingId}", StringUtils.FromString(publicRequest.ApiMappingId));
if (!publicRequest.IsSetDomainName())
throw new AmazonApiGatewayV2Exception("Request object does not have required field DomainName set");
request.AddPathResource("{domainName}", StringUtils.FromString(publicRequest.DomainName));
request.ResourcePath = "/v2/domainnames/{domainName}/apimappings/{apiMappingId}";
using (StringWriter stringWriter = new StringWriter(CultureInfo.InvariantCulture))
{
JsonWriter writer = new JsonWriter(stringWriter);
writer.WriteObjectStart();
var context = new JsonMarshallerContext(request, writer);
if(publicRequest.IsSetApiId())
{
context.Writer.WritePropertyName("apiId");
context.Writer.Write(publicRequest.ApiId);
}
if(publicRequest.IsSetApiMappingKey())
{
context.Writer.WritePropertyName("apiMappingKey");
context.Writer.Write(publicRequest.ApiMappingKey);
}
if(publicRequest.IsSetStage())
{
context.Writer.WritePropertyName("stage");
context.Writer.Write(publicRequest.Stage);
}
writer.WriteObjectEnd();
string snippet = stringWriter.ToString();
request.Content = System.Text.Encoding.UTF8.GetBytes(snippet);
}
return request;
}
private static UpdateApiMappingRequestMarshaller _instance = new UpdateApiMappingRequestMarshaller();
internal static UpdateApiMappingRequestMarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static UpdateApiMappingRequestMarshaller Instance
{
get
{
return _instance;
}
}
}
} | 119 |
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 apigatewayv2-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.ApiGatewayV2.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.ApiGatewayV2.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for UpdateApiMapping operation
/// </summary>
public class UpdateApiMappingResponseUnmarshaller : 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)
{
UpdateApiMappingResponse response = new UpdateApiMappingResponse();
context.Read();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("apiId", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.ApiId = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("apiMappingId", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.ApiMappingId = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("apiMappingKey", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.ApiMappingKey = 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("NotFoundException"))
{
return NotFoundExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("TooManyRequestsException"))
{
return TooManyRequestsExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
}
return new AmazonApiGatewayV2Exception(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode);
}
private static UpdateApiMappingResponseUnmarshaller _instance = new UpdateApiMappingResponseUnmarshaller();
internal static UpdateApiMappingResponseUnmarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static UpdateApiMappingResponseUnmarshaller Instance
{
get
{
return _instance;
}
}
}
} | 140 |
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 apigatewayv2-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.ApiGatewayV2.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.ApiGatewayV2.Model.Internal.MarshallTransformations
{
/// <summary>
/// UpdateApi Request Marshaller
/// </summary>
public class UpdateApiRequestMarshaller : IMarshaller<IRequest, UpdateApiRequest> , 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((UpdateApiRequest)input);
}
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="publicRequest"></param>
/// <returns></returns>
public IRequest Marshall(UpdateApiRequest publicRequest)
{
IRequest request = new DefaultRequest(publicRequest, "Amazon.ApiGatewayV2");
request.Headers["Content-Type"] = "application/json";
request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2018-11-29";
request.HttpMethod = "PATCH";
if (!publicRequest.IsSetApiId())
throw new AmazonApiGatewayV2Exception("Request object does not have required field ApiId set");
request.AddPathResource("{apiId}", StringUtils.FromString(publicRequest.ApiId));
request.ResourcePath = "/v2/apis/{apiId}";
using (StringWriter stringWriter = new StringWriter(CultureInfo.InvariantCulture))
{
JsonWriter writer = new JsonWriter(stringWriter);
writer.WriteObjectStart();
var context = new JsonMarshallerContext(request, writer);
if(publicRequest.IsSetApiKeySelectionExpression())
{
context.Writer.WritePropertyName("apiKeySelectionExpression");
context.Writer.Write(publicRequest.ApiKeySelectionExpression);
}
if(publicRequest.IsSetCorsConfiguration())
{
context.Writer.WritePropertyName("corsConfiguration");
context.Writer.WriteObjectStart();
var marshaller = CorsMarshaller.Instance;
marshaller.Marshall(publicRequest.CorsConfiguration, context);
context.Writer.WriteObjectEnd();
}
if(publicRequest.IsSetCredentialsArn())
{
context.Writer.WritePropertyName("credentialsArn");
context.Writer.Write(publicRequest.CredentialsArn);
}
if(publicRequest.IsSetDescription())
{
context.Writer.WritePropertyName("description");
context.Writer.Write(publicRequest.Description);
}
if(publicRequest.IsSetDisableExecuteApiEndpoint())
{
context.Writer.WritePropertyName("disableExecuteApiEndpoint");
context.Writer.Write(publicRequest.DisableExecuteApiEndpoint);
}
if(publicRequest.IsSetDisableSchemaValidation())
{
context.Writer.WritePropertyName("disableSchemaValidation");
context.Writer.Write(publicRequest.DisableSchemaValidation);
}
if(publicRequest.IsSetName())
{
context.Writer.WritePropertyName("name");
context.Writer.Write(publicRequest.Name);
}
if(publicRequest.IsSetRouteKey())
{
context.Writer.WritePropertyName("routeKey");
context.Writer.Write(publicRequest.RouteKey);
}
if(publicRequest.IsSetRouteSelectionExpression())
{
context.Writer.WritePropertyName("routeSelectionExpression");
context.Writer.Write(publicRequest.RouteSelectionExpression);
}
if(publicRequest.IsSetTarget())
{
context.Writer.WritePropertyName("target");
context.Writer.Write(publicRequest.Target);
}
if(publicRequest.IsSetVersion())
{
context.Writer.WritePropertyName("version");
context.Writer.Write(publicRequest.Version);
}
writer.WriteObjectEnd();
string snippet = stringWriter.ToString();
request.Content = System.Text.Encoding.UTF8.GetBytes(snippet);
}
return request;
}
private static UpdateApiRequestMarshaller _instance = new UpdateApiRequestMarshaller();
internal static UpdateApiRequestMarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static UpdateApiRequestMarshaller Instance
{
get
{
return _instance;
}
}
}
} | 169 |
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 apigatewayv2-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.ApiGatewayV2.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.ApiGatewayV2.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for UpdateApi operation
/// </summary>
public class UpdateApiResponseUnmarshaller : 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)
{
UpdateApiResponse response = new UpdateApiResponse();
context.Read();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("apiEndpoint", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.ApiEndpoint = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("apiGatewayManaged", targetDepth))
{
var unmarshaller = BoolUnmarshaller.Instance;
response.ApiGatewayManaged = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("apiId", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.ApiId = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("apiKeySelectionExpression", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.ApiKeySelectionExpression = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("corsConfiguration", targetDepth))
{
var unmarshaller = CorsUnmarshaller.Instance;
response.CorsConfiguration = 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("disableSchemaValidation", targetDepth))
{
var unmarshaller = BoolUnmarshaller.Instance;
response.DisableSchemaValidation = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("importInfo", targetDepth))
{
var unmarshaller = new ListUnmarshaller<string, StringUnmarshaller>(StringUnmarshaller.Instance);
response.ImportInfo = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("name", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.Name = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("protocolType", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.ProtocolType = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("routeSelectionExpression", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.RouteSelectionExpression = 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("NotFoundException"))
{
return NotFoundExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("TooManyRequestsException"))
{
return TooManyRequestsExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
}
return new AmazonApiGatewayV2Exception(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode);
}
private static UpdateApiResponseUnmarshaller _instance = new UpdateApiResponseUnmarshaller();
internal static UpdateApiResponseUnmarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static UpdateApiResponseUnmarshaller Instance
{
get
{
return _instance;
}
}
}
} | 212 |
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 apigatewayv2-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.ApiGatewayV2.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.ApiGatewayV2.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.ApiGatewayV2");
request.Headers["Content-Type"] = "application/json";
request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2018-11-29";
request.HttpMethod = "PATCH";
if (!publicRequest.IsSetApiId())
throw new AmazonApiGatewayV2Exception("Request object does not have required field ApiId set");
request.AddPathResource("{apiId}", StringUtils.FromString(publicRequest.ApiId));
if (!publicRequest.IsSetAuthorizerId())
throw new AmazonApiGatewayV2Exception("Request object does not have required field AuthorizerId set");
request.AddPathResource("{authorizerId}", StringUtils.FromString(publicRequest.AuthorizerId));
request.ResourcePath = "/v2/apis/{apiId}/authorizers/{authorizerId}";
using (StringWriter stringWriter = new StringWriter(CultureInfo.InvariantCulture))
{
JsonWriter writer = new JsonWriter(stringWriter);
writer.WriteObjectStart();
var context = new JsonMarshallerContext(request, writer);
if(publicRequest.IsSetAuthorizerCredentialsArn())
{
context.Writer.WritePropertyName("authorizerCredentialsArn");
context.Writer.Write(publicRequest.AuthorizerCredentialsArn);
}
if(publicRequest.IsSetAuthorizerPayloadFormatVersion())
{
context.Writer.WritePropertyName("authorizerPayloadFormatVersion");
context.Writer.Write(publicRequest.AuthorizerPayloadFormatVersion);
}
if(publicRequest.IsSetAuthorizerResultTtlInSeconds())
{
context.Writer.WritePropertyName("authorizerResultTtlInSeconds");
context.Writer.Write(publicRequest.AuthorizerResultTtlInSeconds);
}
if(publicRequest.IsSetAuthorizerType())
{
context.Writer.WritePropertyName("authorizerType");
context.Writer.Write(publicRequest.AuthorizerType);
}
if(publicRequest.IsSetAuthorizerUri())
{
context.Writer.WritePropertyName("authorizerUri");
context.Writer.Write(publicRequest.AuthorizerUri);
}
if(publicRequest.IsSetEnableSimpleResponses())
{
context.Writer.WritePropertyName("enableSimpleResponses");
context.Writer.Write(publicRequest.EnableSimpleResponses);
}
if(publicRequest.IsSetIdentitySource())
{
context.Writer.WritePropertyName("identitySource");
context.Writer.WriteArrayStart();
foreach(var publicRequestIdentitySourceListValue in publicRequest.IdentitySource)
{
context.Writer.Write(publicRequestIdentitySourceListValue);
}
context.Writer.WriteArrayEnd();
}
if(publicRequest.IsSetIdentityValidationExpression())
{
context.Writer.WritePropertyName("identityValidationExpression");
context.Writer.Write(publicRequest.IdentityValidationExpression);
}
if(publicRequest.IsSetJwtConfiguration())
{
context.Writer.WritePropertyName("jwtConfiguration");
context.Writer.WriteObjectStart();
var marshaller = JWTConfigurationMarshaller.Instance;
marshaller.Marshall(publicRequest.JwtConfiguration, context);
context.Writer.WriteObjectEnd();
}
if(publicRequest.IsSetName())
{
context.Writer.WritePropertyName("name");
context.Writer.Write(publicRequest.Name);
}
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;
}
}
}
} | 171 |
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 apigatewayv2-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.ApiGatewayV2.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.ApiGatewayV2.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("authorizerCredentialsArn", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.AuthorizerCredentialsArn = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("authorizerId", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.AuthorizerId = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("authorizerPayloadFormatVersion", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.AuthorizerPayloadFormatVersion = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("authorizerResultTtlInSeconds", targetDepth))
{
var unmarshaller = IntUnmarshaller.Instance;
response.AuthorizerResultTtlInSeconds = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("authorizerType", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.AuthorizerType = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("authorizerUri", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.AuthorizerUri = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("enableSimpleResponses", targetDepth))
{
var unmarshaller = BoolUnmarshaller.Instance;
response.EnableSimpleResponses = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("identitySource", targetDepth))
{
var unmarshaller = new ListUnmarshaller<string, StringUnmarshaller>(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("jwtConfiguration", targetDepth))
{
var unmarshaller = JWTConfigurationUnmarshaller.Instance;
response.JwtConfiguration = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("name", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.Name = 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);
}
}
return new AmazonApiGatewayV2Exception(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;
}
}
}
} | 182 |
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 apigatewayv2-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.ApiGatewayV2.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.ApiGatewayV2.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.ApiGatewayV2");
request.Headers["Content-Type"] = "application/json";
request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2018-11-29";
request.HttpMethod = "PATCH";
if (!publicRequest.IsSetApiId())
throw new AmazonApiGatewayV2Exception("Request object does not have required field ApiId set");
request.AddPathResource("{apiId}", StringUtils.FromString(publicRequest.ApiId));
if (!publicRequest.IsSetDeploymentId())
throw new AmazonApiGatewayV2Exception("Request object does not have required field DeploymentId set");
request.AddPathResource("{deploymentId}", StringUtils.FromString(publicRequest.DeploymentId));
request.ResourcePath = "/v2/apis/{apiId}/deployments/{deploymentId}";
using (StringWriter stringWriter = new StringWriter(CultureInfo.InvariantCulture))
{
JsonWriter writer = new JsonWriter(stringWriter);
writer.WriteObjectStart();
var context = new JsonMarshallerContext(request, writer);
if(publicRequest.IsSetDescription())
{
context.Writer.WritePropertyName("description");
context.Writer.Write(publicRequest.Description);
}
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;
}
}
}
} | 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 apigatewayv2-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.ApiGatewayV2.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.ApiGatewayV2.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("autoDeployed", targetDepth))
{
var unmarshaller = BoolUnmarshaller.Instance;
response.AutoDeployed = 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("deploymentStatus", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.DeploymentStatus = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("deploymentStatusMessage", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.DeploymentStatusMessage = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("description", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.Description = 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);
}
}
return new AmazonApiGatewayV2Exception(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 apigatewayv2-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.ApiGatewayV2.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.ApiGatewayV2.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.ApiGatewayV2");
request.Headers["Content-Type"] = "application/json";
request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2018-11-29";
request.HttpMethod = "PATCH";
if (!publicRequest.IsSetDomainName())
throw new AmazonApiGatewayV2Exception("Request object does not have required field DomainName set");
request.AddPathResource("{domainName}", StringUtils.FromString(publicRequest.DomainName));
request.ResourcePath = "/v2/domainnames/{domainName}";
using (StringWriter stringWriter = new StringWriter(CultureInfo.InvariantCulture))
{
JsonWriter writer = new JsonWriter(stringWriter);
writer.WriteObjectStart();
var context = new JsonMarshallerContext(request, writer);
if(publicRequest.IsSetDomainNameConfigurations())
{
context.Writer.WritePropertyName("domainNameConfigurations");
context.Writer.WriteArrayStart();
foreach(var publicRequestDomainNameConfigurationsListValue in publicRequest.DomainNameConfigurations)
{
context.Writer.WriteObjectStart();
var marshaller = DomainNameConfigurationMarshaller.Instance;
marshaller.Marshall(publicRequestDomainNameConfigurationsListValue, context);
context.Writer.WriteObjectEnd();
}
context.Writer.WriteArrayEnd();
}
if(publicRequest.IsSetMutualTlsAuthentication())
{
context.Writer.WritePropertyName("mutualTlsAuthentication");
context.Writer.WriteObjectStart();
var marshaller = MutualTlsAuthenticationInputMarshaller.Instance;
marshaller.Marshall(publicRequest.MutualTlsAuthentication, context);
context.Writer.WriteObjectEnd();
}
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;
}
}
}
} | 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 apigatewayv2-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.ApiGatewayV2.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.ApiGatewayV2.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("apiMappingSelectionExpression", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.ApiMappingSelectionExpression = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("domainName", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.DomainName = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("domainNameConfigurations", targetDepth))
{
var unmarshaller = new ListUnmarshaller<DomainNameConfiguration, DomainNameConfigurationUnmarshaller>(DomainNameConfigurationUnmarshaller.Instance);
response.DomainNameConfigurations = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("mutualTlsAuthentication", targetDepth))
{
var unmarshaller = MutualTlsAuthenticationUnmarshaller.Instance;
response.MutualTlsAuthentication = 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("NotFoundException"))
{
return NotFoundExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("TooManyRequestsException"))
{
return TooManyRequestsExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
}
return new AmazonApiGatewayV2Exception(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;
}
}
}
} | 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 apigatewayv2-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.ApiGatewayV2.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.ApiGatewayV2.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.ApiGatewayV2");
request.Headers["Content-Type"] = "application/json";
request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2018-11-29";
request.HttpMethod = "PATCH";
if (!publicRequest.IsSetApiId())
throw new AmazonApiGatewayV2Exception("Request object does not have required field ApiId set");
request.AddPathResource("{apiId}", StringUtils.FromString(publicRequest.ApiId));
if (!publicRequest.IsSetIntegrationId())
throw new AmazonApiGatewayV2Exception("Request object does not have required field IntegrationId set");
request.AddPathResource("{integrationId}", StringUtils.FromString(publicRequest.IntegrationId));
request.ResourcePath = "/v2/apis/{apiId}/integrations/{integrationId}";
using (StringWriter stringWriter = new StringWriter(CultureInfo.InvariantCulture))
{
JsonWriter writer = new JsonWriter(stringWriter);
writer.WriteObjectStart();
var context = new JsonMarshallerContext(request, writer);
if(publicRequest.IsSetConnectionId())
{
context.Writer.WritePropertyName("connectionId");
context.Writer.Write(publicRequest.ConnectionId);
}
if(publicRequest.IsSetConnectionType())
{
context.Writer.WritePropertyName("connectionType");
context.Writer.Write(publicRequest.ConnectionType);
}
if(publicRequest.IsSetContentHandlingStrategy())
{
context.Writer.WritePropertyName("contentHandlingStrategy");
context.Writer.Write(publicRequest.ContentHandlingStrategy);
}
if(publicRequest.IsSetCredentialsArn())
{
context.Writer.WritePropertyName("credentialsArn");
context.Writer.Write(publicRequest.CredentialsArn);
}
if(publicRequest.IsSetDescription())
{
context.Writer.WritePropertyName("description");
context.Writer.Write(publicRequest.Description);
}
if(publicRequest.IsSetIntegrationMethod())
{
context.Writer.WritePropertyName("integrationMethod");
context.Writer.Write(publicRequest.IntegrationMethod);
}
if(publicRequest.IsSetIntegrationSubtype())
{
context.Writer.WritePropertyName("integrationSubtype");
context.Writer.Write(publicRequest.IntegrationSubtype);
}
if(publicRequest.IsSetIntegrationType())
{
context.Writer.WritePropertyName("integrationType");
context.Writer.Write(publicRequest.IntegrationType);
}
if(publicRequest.IsSetIntegrationUri())
{
context.Writer.WritePropertyName("integrationUri");
context.Writer.Write(publicRequest.IntegrationUri);
}
if(publicRequest.IsSetPassthroughBehavior())
{
context.Writer.WritePropertyName("passthroughBehavior");
context.Writer.Write(publicRequest.PassthroughBehavior);
}
if(publicRequest.IsSetPayloadFormatVersion())
{
context.Writer.WritePropertyName("payloadFormatVersion");
context.Writer.Write(publicRequest.PayloadFormatVersion);
}
if(publicRequest.IsSetRequestParameters())
{
context.Writer.WritePropertyName("requestParameters");
context.Writer.WriteObjectStart();
foreach (var publicRequestRequestParametersKvp in publicRequest.RequestParameters)
{
context.Writer.WritePropertyName(publicRequestRequestParametersKvp.Key);
var publicRequestRequestParametersValue = publicRequestRequestParametersKvp.Value;
context.Writer.Write(publicRequestRequestParametersValue);
}
context.Writer.WriteObjectEnd();
}
if(publicRequest.IsSetRequestTemplates())
{
context.Writer.WritePropertyName("requestTemplates");
context.Writer.WriteObjectStart();
foreach (var publicRequestRequestTemplatesKvp in publicRequest.RequestTemplates)
{
context.Writer.WritePropertyName(publicRequestRequestTemplatesKvp.Key);
var publicRequestRequestTemplatesValue = publicRequestRequestTemplatesKvp.Value;
context.Writer.Write(publicRequestRequestTemplatesValue);
}
context.Writer.WriteObjectEnd();
}
if(publicRequest.IsSetResponseParameters())
{
context.Writer.WritePropertyName("responseParameters");
context.Writer.WriteObjectStart();
foreach (var publicRequestResponseParametersKvp in publicRequest.ResponseParameters)
{
context.Writer.WritePropertyName(publicRequestResponseParametersKvp.Key);
var publicRequestResponseParametersValue = publicRequestResponseParametersKvp.Value;
context.Writer.WriteObjectStart();
foreach (var publicRequestResponseParametersValueKvp in publicRequestResponseParametersValue)
{
context.Writer.WritePropertyName(publicRequestResponseParametersValueKvp.Key);
var publicRequestResponseParametersValueValue = publicRequestResponseParametersValueKvp.Value;
context.Writer.Write(publicRequestResponseParametersValueValue);
}
context.Writer.WriteObjectEnd();
}
context.Writer.WriteObjectEnd();
}
if(publicRequest.IsSetTemplateSelectionExpression())
{
context.Writer.WritePropertyName("templateSelectionExpression");
context.Writer.Write(publicRequest.TemplateSelectionExpression);
}
if(publicRequest.IsSetTimeoutInMillis())
{
context.Writer.WritePropertyName("timeoutInMillis");
context.Writer.Write(publicRequest.TimeoutInMillis);
}
if(publicRequest.IsSetTlsConfig())
{
context.Writer.WritePropertyName("tlsConfig");
context.Writer.WriteObjectStart();
var marshaller = TlsConfigInputMarshaller.Instance;
marshaller.Marshall(publicRequest.TlsConfig, context);
context.Writer.WriteObjectEnd();
}
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;
}
}
}
} | 240 |
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 apigatewayv2-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.ApiGatewayV2.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.ApiGatewayV2.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.ApiGatewayV2");
request.Headers["Content-Type"] = "application/json";
request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2018-11-29";
request.HttpMethod = "PATCH";
if (!publicRequest.IsSetApiId())
throw new AmazonApiGatewayV2Exception("Request object does not have required field ApiId set");
request.AddPathResource("{apiId}", StringUtils.FromString(publicRequest.ApiId));
if (!publicRequest.IsSetIntegrationId())
throw new AmazonApiGatewayV2Exception("Request object does not have required field IntegrationId set");
request.AddPathResource("{integrationId}", StringUtils.FromString(publicRequest.IntegrationId));
if (!publicRequest.IsSetIntegrationResponseId())
throw new AmazonApiGatewayV2Exception("Request object does not have required field IntegrationResponseId set");
request.AddPathResource("{integrationResponseId}", StringUtils.FromString(publicRequest.IntegrationResponseId));
request.ResourcePath = "/v2/apis/{apiId}/integrations/{integrationId}/integrationresponses/{integrationResponseId}";
using (StringWriter stringWriter = new StringWriter(CultureInfo.InvariantCulture))
{
JsonWriter writer = new JsonWriter(stringWriter);
writer.WriteObjectStart();
var context = new JsonMarshallerContext(request, writer);
if(publicRequest.IsSetContentHandlingStrategy())
{
context.Writer.WritePropertyName("contentHandlingStrategy");
context.Writer.Write(publicRequest.ContentHandlingStrategy);
}
if(publicRequest.IsSetIntegrationResponseKey())
{
context.Writer.WritePropertyName("integrationResponseKey");
context.Writer.Write(publicRequest.IntegrationResponseKey);
}
if(publicRequest.IsSetResponseParameters())
{
context.Writer.WritePropertyName("responseParameters");
context.Writer.WriteObjectStart();
foreach (var publicRequestResponseParametersKvp in publicRequest.ResponseParameters)
{
context.Writer.WritePropertyName(publicRequestResponseParametersKvp.Key);
var publicRequestResponseParametersValue = publicRequestResponseParametersKvp.Value;
context.Writer.Write(publicRequestResponseParametersValue);
}
context.Writer.WriteObjectEnd();
}
if(publicRequest.IsSetResponseTemplates())
{
context.Writer.WritePropertyName("responseTemplates");
context.Writer.WriteObjectStart();
foreach (var publicRequestResponseTemplatesKvp in publicRequest.ResponseTemplates)
{
context.Writer.WritePropertyName(publicRequestResponseTemplatesKvp.Key);
var publicRequestResponseTemplatesValue = publicRequestResponseTemplatesKvp.Value;
context.Writer.Write(publicRequestResponseTemplatesValue);
}
context.Writer.WriteObjectEnd();
}
if(publicRequest.IsSetTemplateSelectionExpression())
{
context.Writer.WritePropertyName("templateSelectionExpression");
context.Writer.Write(publicRequest.TemplateSelectionExpression);
}
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;
}
}
}
} | 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 apigatewayv2-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.ApiGatewayV2.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.ApiGatewayV2.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("contentHandlingStrategy", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.ContentHandlingStrategy = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("integrationResponseId", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.IntegrationResponseId = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("integrationResponseKey", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.IntegrationResponseKey = 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("templateSelectionExpression", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.TemplateSelectionExpression = 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);
}
}
return new AmazonApiGatewayV2Exception(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;
}
}
}
} | 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 apigatewayv2-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.ApiGatewayV2.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.ApiGatewayV2.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("apiGatewayManaged", targetDepth))
{
var unmarshaller = BoolUnmarshaller.Instance;
response.ApiGatewayManaged = 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("contentHandlingStrategy", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.ContentHandlingStrategy = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("credentialsArn", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.CredentialsArn = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("description", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.Description = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("integrationId", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.IntegrationId = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("integrationMethod", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.IntegrationMethod = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("integrationResponseSelectionExpression", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.IntegrationResponseSelectionExpression = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("integrationSubtype", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.IntegrationSubtype = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("integrationType", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.IntegrationType = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("integrationUri", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.IntegrationUri = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("passthroughBehavior", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.PassthroughBehavior = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("payloadFormatVersion", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.PayloadFormatVersion = 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("responseParameters", targetDepth))
{
var unmarshaller = new DictionaryUnmarshaller<string, Dictionary<string, string>, StringUnmarshaller, DictionaryUnmarshaller<string, string, StringUnmarshaller, StringUnmarshaller>>(StringUnmarshaller.Instance, new DictionaryUnmarshaller<string, string, StringUnmarshaller, StringUnmarshaller>(StringUnmarshaller.Instance, StringUnmarshaller.Instance));
response.ResponseParameters = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("templateSelectionExpression", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.TemplateSelectionExpression = 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;
}
}
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);
}
}
return new AmazonApiGatewayV2Exception(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;
}
}
}
} | 236 |
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 apigatewayv2-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.ApiGatewayV2.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.ApiGatewayV2.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.ApiGatewayV2");
request.Headers["Content-Type"] = "application/json";
request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2018-11-29";
request.HttpMethod = "PATCH";
if (!publicRequest.IsSetApiId())
throw new AmazonApiGatewayV2Exception("Request object does not have required field ApiId set");
request.AddPathResource("{apiId}", StringUtils.FromString(publicRequest.ApiId));
if (!publicRequest.IsSetModelId())
throw new AmazonApiGatewayV2Exception("Request object does not have required field ModelId set");
request.AddPathResource("{modelId}", StringUtils.FromString(publicRequest.ModelId));
request.ResourcePath = "/v2/apis/{apiId}/models/{modelId}";
using (StringWriter stringWriter = new StringWriter(CultureInfo.InvariantCulture))
{
JsonWriter writer = new JsonWriter(stringWriter);
writer.WriteObjectStart();
var context = new JsonMarshallerContext(request, writer);
if(publicRequest.IsSetContentType())
{
context.Writer.WritePropertyName("contentType");
context.Writer.Write(publicRequest.ContentType);
}
if(publicRequest.IsSetDescription())
{
context.Writer.WritePropertyName("description");
context.Writer.Write(publicRequest.Description);
}
if(publicRequest.IsSetName())
{
context.Writer.WritePropertyName("name");
context.Writer.Write(publicRequest.Name);
}
if(publicRequest.IsSetSchema())
{
context.Writer.WritePropertyName("schema");
context.Writer.Write(publicRequest.Schema);
}
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;
}
}
}
} | 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 apigatewayv2-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.ApiGatewayV2.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.ApiGatewayV2.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("modelId", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.ModelId = 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("NotFoundException"))
{
return NotFoundExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("TooManyRequestsException"))
{
return TooManyRequestsExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
}
return new AmazonApiGatewayV2Exception(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;
}
}
}
} | 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 apigatewayv2-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.ApiGatewayV2.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.ApiGatewayV2.Model.Internal.MarshallTransformations
{
/// <summary>
/// UpdateRoute Request Marshaller
/// </summary>
public class UpdateRouteRequestMarshaller : IMarshaller<IRequest, UpdateRouteRequest> , 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((UpdateRouteRequest)input);
}
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="publicRequest"></param>
/// <returns></returns>
public IRequest Marshall(UpdateRouteRequest publicRequest)
{
IRequest request = new DefaultRequest(publicRequest, "Amazon.ApiGatewayV2");
request.Headers["Content-Type"] = "application/json";
request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2018-11-29";
request.HttpMethod = "PATCH";
if (!publicRequest.IsSetApiId())
throw new AmazonApiGatewayV2Exception("Request object does not have required field ApiId set");
request.AddPathResource("{apiId}", StringUtils.FromString(publicRequest.ApiId));
if (!publicRequest.IsSetRouteId())
throw new AmazonApiGatewayV2Exception("Request object does not have required field RouteId set");
request.AddPathResource("{routeId}", StringUtils.FromString(publicRequest.RouteId));
request.ResourcePath = "/v2/apis/{apiId}/routes/{routeId}";
using (StringWriter stringWriter = new StringWriter(CultureInfo.InvariantCulture))
{
JsonWriter writer = new JsonWriter(stringWriter);
writer.WriteObjectStart();
var context = new JsonMarshallerContext(request, writer);
if(publicRequest.IsSetApiKeyRequired())
{
context.Writer.WritePropertyName("apiKeyRequired");
context.Writer.Write(publicRequest.ApiKeyRequired);
}
if(publicRequest.IsSetAuthorizationScopes())
{
context.Writer.WritePropertyName("authorizationScopes");
context.Writer.WriteArrayStart();
foreach(var publicRequestAuthorizationScopesListValue in publicRequest.AuthorizationScopes)
{
context.Writer.Write(publicRequestAuthorizationScopesListValue);
}
context.Writer.WriteArrayEnd();
}
if(publicRequest.IsSetAuthorizationType())
{
context.Writer.WritePropertyName("authorizationType");
context.Writer.Write(publicRequest.AuthorizationType);
}
if(publicRequest.IsSetAuthorizerId())
{
context.Writer.WritePropertyName("authorizerId");
context.Writer.Write(publicRequest.AuthorizerId);
}
if(publicRequest.IsSetModelSelectionExpression())
{
context.Writer.WritePropertyName("modelSelectionExpression");
context.Writer.Write(publicRequest.ModelSelectionExpression);
}
if(publicRequest.IsSetOperationName())
{
context.Writer.WritePropertyName("operationName");
context.Writer.Write(publicRequest.OperationName);
}
if(publicRequest.IsSetRequestModels())
{
context.Writer.WritePropertyName("requestModels");
context.Writer.WriteObjectStart();
foreach (var publicRequestRequestModelsKvp in publicRequest.RequestModels)
{
context.Writer.WritePropertyName(publicRequestRequestModelsKvp.Key);
var publicRequestRequestModelsValue = publicRequestRequestModelsKvp.Value;
context.Writer.Write(publicRequestRequestModelsValue);
}
context.Writer.WriteObjectEnd();
}
if(publicRequest.IsSetRequestParameters())
{
context.Writer.WritePropertyName("requestParameters");
context.Writer.WriteObjectStart();
foreach (var publicRequestRequestParametersKvp in publicRequest.RequestParameters)
{
context.Writer.WritePropertyName(publicRequestRequestParametersKvp.Key);
var publicRequestRequestParametersValue = publicRequestRequestParametersKvp.Value;
context.Writer.WriteObjectStart();
var marshaller = ParameterConstraintsMarshaller.Instance;
marshaller.Marshall(publicRequestRequestParametersValue, context);
context.Writer.WriteObjectEnd();
}
context.Writer.WriteObjectEnd();
}
if(publicRequest.IsSetRouteKey())
{
context.Writer.WritePropertyName("routeKey");
context.Writer.Write(publicRequest.RouteKey);
}
if(publicRequest.IsSetRouteResponseSelectionExpression())
{
context.Writer.WritePropertyName("routeResponseSelectionExpression");
context.Writer.Write(publicRequest.RouteResponseSelectionExpression);
}
if(publicRequest.IsSetTarget())
{
context.Writer.WritePropertyName("target");
context.Writer.Write(publicRequest.Target);
}
writer.WriteObjectEnd();
string snippet = stringWriter.ToString();
request.Content = System.Text.Encoding.UTF8.GetBytes(snippet);
}
return request;
}
private static UpdateRouteRequestMarshaller _instance = new UpdateRouteRequestMarshaller();
internal static UpdateRouteRequestMarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static UpdateRouteRequestMarshaller Instance
{
get
{
return _instance;
}
}
}
} | 193 |
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 apigatewayv2-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.ApiGatewayV2.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.ApiGatewayV2.Model.Internal.MarshallTransformations
{
/// <summary>
/// UpdateRouteResponse Request Marshaller
/// </summary>
public class UpdateRouteResponseRequestMarshaller : IMarshaller<IRequest, UpdateRouteResponseRequest> , 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((UpdateRouteResponseRequest)input);
}
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="publicRequest"></param>
/// <returns></returns>
public IRequest Marshall(UpdateRouteResponseRequest publicRequest)
{
IRequest request = new DefaultRequest(publicRequest, "Amazon.ApiGatewayV2");
request.Headers["Content-Type"] = "application/json";
request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2018-11-29";
request.HttpMethod = "PATCH";
if (!publicRequest.IsSetApiId())
throw new AmazonApiGatewayV2Exception("Request object does not have required field ApiId set");
request.AddPathResource("{apiId}", StringUtils.FromString(publicRequest.ApiId));
if (!publicRequest.IsSetRouteId())
throw new AmazonApiGatewayV2Exception("Request object does not have required field RouteId set");
request.AddPathResource("{routeId}", StringUtils.FromString(publicRequest.RouteId));
if (!publicRequest.IsSetRouteResponseId())
throw new AmazonApiGatewayV2Exception("Request object does not have required field RouteResponseId set");
request.AddPathResource("{routeResponseId}", StringUtils.FromString(publicRequest.RouteResponseId));
request.ResourcePath = "/v2/apis/{apiId}/routes/{routeId}/routeresponses/{routeResponseId}";
using (StringWriter stringWriter = new StringWriter(CultureInfo.InvariantCulture))
{
JsonWriter writer = new JsonWriter(stringWriter);
writer.WriteObjectStart();
var context = new JsonMarshallerContext(request, writer);
if(publicRequest.IsSetModelSelectionExpression())
{
context.Writer.WritePropertyName("modelSelectionExpression");
context.Writer.Write(publicRequest.ModelSelectionExpression);
}
if(publicRequest.IsSetResponseModels())
{
context.Writer.WritePropertyName("responseModels");
context.Writer.WriteObjectStart();
foreach (var publicRequestResponseModelsKvp in publicRequest.ResponseModels)
{
context.Writer.WritePropertyName(publicRequestResponseModelsKvp.Key);
var publicRequestResponseModelsValue = publicRequestResponseModelsKvp.Value;
context.Writer.Write(publicRequestResponseModelsValue);
}
context.Writer.WriteObjectEnd();
}
if(publicRequest.IsSetResponseParameters())
{
context.Writer.WritePropertyName("responseParameters");
context.Writer.WriteObjectStart();
foreach (var publicRequestResponseParametersKvp in publicRequest.ResponseParameters)
{
context.Writer.WritePropertyName(publicRequestResponseParametersKvp.Key);
var publicRequestResponseParametersValue = publicRequestResponseParametersKvp.Value;
context.Writer.WriteObjectStart();
var marshaller = ParameterConstraintsMarshaller.Instance;
marshaller.Marshall(publicRequestResponseParametersValue, context);
context.Writer.WriteObjectEnd();
}
context.Writer.WriteObjectEnd();
}
if(publicRequest.IsSetRouteResponseKey())
{
context.Writer.WritePropertyName("routeResponseKey");
context.Writer.Write(publicRequest.RouteResponseKey);
}
writer.WriteObjectEnd();
string snippet = stringWriter.ToString();
request.Content = System.Text.Encoding.UTF8.GetBytes(snippet);
}
return request;
}
private static UpdateRouteResponseRequestMarshaller _instance = new UpdateRouteResponseRequestMarshaller();
internal static UpdateRouteResponseRequestMarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static UpdateRouteResponseRequestMarshaller Instance
{
get
{
return _instance;
}
}
}
} | 149 |
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 apigatewayv2-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.ApiGatewayV2.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.ApiGatewayV2.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for UpdateRouteResponse operation
/// </summary>
public class UpdateRouteResponseResponseUnmarshaller : 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)
{
UpdateRouteResponseResponse response = new UpdateRouteResponseResponse();
context.Read();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("modelSelectionExpression", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.ModelSelectionExpression = unmarshaller.Unmarshall(context);
continue;
}
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, ParameterConstraints, StringUnmarshaller, ParameterConstraintsUnmarshaller>(StringUnmarshaller.Instance, ParameterConstraintsUnmarshaller.Instance);
response.ResponseParameters = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("routeResponseId", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.RouteResponseId = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("routeResponseKey", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.RouteResponseKey = 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);
}
}
return new AmazonApiGatewayV2Exception(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode);
}
private static UpdateRouteResponseResponseUnmarshaller _instance = new UpdateRouteResponseResponseUnmarshaller();
internal static UpdateRouteResponseResponseUnmarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static UpdateRouteResponseResponseUnmarshaller Instance
{
get
{
return _instance;
}
}
}
} | 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 apigatewayv2-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.ApiGatewayV2.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.ApiGatewayV2.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for UpdateRoute operation
/// </summary>
public class UpdateRouteResponseUnmarshaller : 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)
{
UpdateRouteResponse response = new UpdateRouteResponse();
context.Read();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("apiGatewayManaged", targetDepth))
{
var unmarshaller = BoolUnmarshaller.Instance;
response.ApiGatewayManaged = unmarshaller.Unmarshall(context);
continue;
}
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("modelSelectionExpression", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.ModelSelectionExpression = 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, ParameterConstraints, StringUnmarshaller, ParameterConstraintsUnmarshaller>(StringUnmarshaller.Instance, ParameterConstraintsUnmarshaller.Instance);
response.RequestParameters = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("routeId", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.RouteId = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("routeKey", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.RouteKey = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("routeResponseSelectionExpression", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.RouteResponseSelectionExpression = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("target", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.Target = 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);
}
}
return new AmazonApiGatewayV2Exception(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode);
}
private static UpdateRouteResponseUnmarshaller _instance = new UpdateRouteResponseUnmarshaller();
internal static UpdateRouteResponseUnmarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static UpdateRouteResponseUnmarshaller Instance
{
get
{
return _instance;
}
}
}
} | 194 |
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 apigatewayv2-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.ApiGatewayV2.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.ApiGatewayV2.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.ApiGatewayV2");
request.Headers["Content-Type"] = "application/json";
request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2018-11-29";
request.HttpMethod = "PATCH";
if (!publicRequest.IsSetApiId())
throw new AmazonApiGatewayV2Exception("Request object does not have required field ApiId set");
request.AddPathResource("{apiId}", StringUtils.FromString(publicRequest.ApiId));
if (!publicRequest.IsSetStageName())
throw new AmazonApiGatewayV2Exception("Request object does not have required field StageName set");
request.AddPathResource("{stageName}", StringUtils.FromString(publicRequest.StageName));
request.ResourcePath = "/v2/apis/{apiId}/stages/{stageName}";
using (StringWriter stringWriter = new StringWriter(CultureInfo.InvariantCulture))
{
JsonWriter writer = new JsonWriter(stringWriter);
writer.WriteObjectStart();
var context = new JsonMarshallerContext(request, writer);
if(publicRequest.IsSetAccessLogSettings())
{
context.Writer.WritePropertyName("accessLogSettings");
context.Writer.WriteObjectStart();
var marshaller = AccessLogSettingsMarshaller.Instance;
marshaller.Marshall(publicRequest.AccessLogSettings, context);
context.Writer.WriteObjectEnd();
}
if(publicRequest.IsSetAutoDeploy())
{
context.Writer.WritePropertyName("autoDeploy");
context.Writer.Write(publicRequest.AutoDeploy);
}
if(publicRequest.IsSetClientCertificateId())
{
context.Writer.WritePropertyName("clientCertificateId");
context.Writer.Write(publicRequest.ClientCertificateId);
}
if(publicRequest.IsSetDefaultRouteSettings())
{
context.Writer.WritePropertyName("defaultRouteSettings");
context.Writer.WriteObjectStart();
var marshaller = RouteSettingsMarshaller.Instance;
marshaller.Marshall(publicRequest.DefaultRouteSettings, context);
context.Writer.WriteObjectEnd();
}
if(publicRequest.IsSetDeploymentId())
{
context.Writer.WritePropertyName("deploymentId");
context.Writer.Write(publicRequest.DeploymentId);
}
if(publicRequest.IsSetDescription())
{
context.Writer.WritePropertyName("description");
context.Writer.Write(publicRequest.Description);
}
if(publicRequest.IsSetRouteSettings())
{
context.Writer.WritePropertyName("routeSettings");
context.Writer.WriteObjectStart();
foreach (var publicRequestRouteSettingsKvp in publicRequest.RouteSettings)
{
context.Writer.WritePropertyName(publicRequestRouteSettingsKvp.Key);
var publicRequestRouteSettingsValue = publicRequestRouteSettingsKvp.Value;
context.Writer.WriteObjectStart();
var marshaller = RouteSettingsMarshaller.Instance;
marshaller.Marshall(publicRequestRouteSettingsValue, context);
context.Writer.WriteObjectEnd();
}
context.Writer.WriteObjectEnd();
}
if(publicRequest.IsSetStageVariables())
{
context.Writer.WritePropertyName("stageVariables");
context.Writer.WriteObjectStart();
foreach (var publicRequestStageVariablesKvp in publicRequest.StageVariables)
{
context.Writer.WritePropertyName(publicRequestStageVariablesKvp.Key);
var publicRequestStageVariablesValue = publicRequestStageVariablesKvp.Value;
context.Writer.Write(publicRequestStageVariablesValue);
}
context.Writer.WriteObjectEnd();
}
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;
}
}
}
} | 180 |
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 apigatewayv2-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.ApiGatewayV2.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.ApiGatewayV2.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("apiGatewayManaged", targetDepth))
{
var unmarshaller = BoolUnmarshaller.Instance;
response.ApiGatewayManaged = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("autoDeploy", targetDepth))
{
var unmarshaller = BoolUnmarshaller.Instance;
response.AutoDeploy = 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("defaultRouteSettings", targetDepth))
{
var unmarshaller = RouteSettingsUnmarshaller.Instance;
response.DefaultRouteSettings = 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("lastDeploymentStatusMessage", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.LastDeploymentStatusMessage = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("lastUpdatedDate", targetDepth))
{
var unmarshaller = DateTimeUnmarshaller.Instance;
response.LastUpdatedDate = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("routeSettings", targetDepth))
{
var unmarshaller = new DictionaryUnmarshaller<string, RouteSettings, StringUnmarshaller, RouteSettingsUnmarshaller>(StringUnmarshaller.Instance, RouteSettingsUnmarshaller.Instance);
response.RouteSettings = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("stageName", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.StageName = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("stageVariables", targetDepth))
{
var unmarshaller = new DictionaryUnmarshaller<string, string, StringUnmarshaller, StringUnmarshaller>(StringUnmarshaller.Instance, StringUnmarshaller.Instance);
response.StageVariables = 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("NotFoundException"))
{
return NotFoundExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("TooManyRequestsException"))
{
return TooManyRequestsExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
}
return new AmazonApiGatewayV2Exception(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;
}
}
}
} | 200 |
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 apigatewayv2-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.ApiGatewayV2.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.ApiGatewayV2.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.ApiGatewayV2");
request.Headers["Content-Type"] = "application/json";
request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2018-11-29";
request.HttpMethod = "PATCH";
if (!publicRequest.IsSetVpcLinkId())
throw new AmazonApiGatewayV2Exception("Request object does not have required field VpcLinkId set");
request.AddPathResource("{vpcLinkId}", StringUtils.FromString(publicRequest.VpcLinkId));
request.ResourcePath = "/v2/vpclinks/{vpcLinkId}";
using (StringWriter stringWriter = new StringWriter(CultureInfo.InvariantCulture))
{
JsonWriter writer = new JsonWriter(stringWriter);
writer.WriteObjectStart();
var context = new JsonMarshallerContext(request, writer);
if(publicRequest.IsSetName())
{
context.Writer.WritePropertyName("name");
context.Writer.Write(publicRequest.Name);
}
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;
}
}
}
} | 104 |
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 apigatewayv2-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.ApiGatewayV2.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.ApiGatewayV2.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("createdDate", targetDepth))
{
var unmarshaller = DateTimeUnmarshaller.Instance;
response.CreatedDate = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("name", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.Name = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("securityGroupIds", targetDepth))
{
var unmarshaller = new ListUnmarshaller<string, StringUnmarshaller>(StringUnmarshaller.Instance);
response.SecurityGroupIds = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("subnetIds", targetDepth))
{
var unmarshaller = new ListUnmarshaller<string, StringUnmarshaller>(StringUnmarshaller.Instance);
response.SubnetIds = 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("vpcLinkId", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.VpcLinkId = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("vpcLinkStatus", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.VpcLinkStatus = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("vpcLinkStatusMessage", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.VpcLinkStatusMessage = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("vpcLinkVersion", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.VpcLinkVersion = 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("NotFoundException"))
{
return NotFoundExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("TooManyRequestsException"))
{
return TooManyRequestsExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
}
return new AmazonApiGatewayV2Exception(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 apigatewayv2-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.ApiGatewayV2.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.ApiGatewayV2.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("createdDate", targetDepth))
{
var unmarshaller = DateTimeUnmarshaller.Instance;
unmarshalledObject.CreatedDate = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("name", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.Name = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("securityGroupIds", targetDepth))
{
var unmarshaller = new ListUnmarshaller<string, StringUnmarshaller>(StringUnmarshaller.Instance);
unmarshalledObject.SecurityGroupIds = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("subnetIds", targetDepth))
{
var unmarshaller = new ListUnmarshaller<string, StringUnmarshaller>(StringUnmarshaller.Instance);
unmarshalledObject.SubnetIds = 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("vpcLinkId", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.VpcLinkId = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("vpcLinkStatus", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.VpcLinkStatus = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("vpcLinkStatusMessage", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.VpcLinkStatusMessage = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("vpcLinkVersion", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.VpcLinkVersion = unmarshaller.Unmarshall(context);
continue;
}
}
return unmarshalledObject;
}
private static VpcLinkUnmarshaller _instance = new VpcLinkUnmarshaller();
/// <summary>
/// Gets the singleton.
/// </summary>
public static VpcLinkUnmarshaller Instance
{
get
{
return _instance;
}
}
}
} | 140 |
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 apigatewayv2-2018-11-29.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Net;
using Amazon.ApiGatewayV2.Model;
using Amazon.ApiGatewayV2.Model.Internal.MarshallTransformations;
using Amazon.ApiGatewayV2.Internal;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Auth;
using Amazon.Runtime.Internal.Transform;
namespace Amazon.ApiGatewayV2
{
/// <summary>
/// Implementation for accessing ApiGatewayV2
///
/// Amazon API Gateway V2
/// </summary>
public partial class AmazonApiGatewayV2Client : AmazonServiceClient, IAmazonApiGatewayV2
{
private static IServiceMetadata serviceMetadata = new AmazonApiGatewayV2Metadata();
#region Constructors
/// <summary>
/// Constructs AmazonApiGatewayV2Client 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 AmazonApiGatewayV2Client()
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonApiGatewayV2Config()) { }
/// <summary>
/// Constructs AmazonApiGatewayV2Client 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 AmazonApiGatewayV2Client(RegionEndpoint region)
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonApiGatewayV2Config{RegionEndpoint = region}) { }
/// <summary>
/// Constructs AmazonApiGatewayV2Client 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 AmazonApiGatewayV2Client Configuration Object</param>
public AmazonApiGatewayV2Client(AmazonApiGatewayV2Config config)
: base(FallbackCredentialsFactory.GetCredentials(), config) { }
/// <summary>
/// Constructs AmazonApiGatewayV2Client with AWS Credentials
/// </summary>
/// <param name="credentials">AWS Credentials</param>
public AmazonApiGatewayV2Client(AWSCredentials credentials)
: this(credentials, new AmazonApiGatewayV2Config())
{
}
/// <summary>
/// Constructs AmazonApiGatewayV2Client with AWS Credentials
/// </summary>
/// <param name="credentials">AWS Credentials</param>
/// <param name="region">The region to connect.</param>
public AmazonApiGatewayV2Client(AWSCredentials credentials, RegionEndpoint region)
: this(credentials, new AmazonApiGatewayV2Config{RegionEndpoint = region})
{
}
/// <summary>
/// Constructs AmazonApiGatewayV2Client with AWS Credentials and an
/// AmazonApiGatewayV2Client Configuration object.
/// </summary>
/// <param name="credentials">AWS Credentials</param>
/// <param name="clientConfig">The AmazonApiGatewayV2Client Configuration Object</param>
public AmazonApiGatewayV2Client(AWSCredentials credentials, AmazonApiGatewayV2Config clientConfig)
: base(credentials, clientConfig)
{
}
/// <summary>
/// Constructs AmazonApiGatewayV2Client 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 AmazonApiGatewayV2Client(string awsAccessKeyId, string awsSecretAccessKey)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonApiGatewayV2Config())
{
}
/// <summary>
/// Constructs AmazonApiGatewayV2Client 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 AmazonApiGatewayV2Client(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonApiGatewayV2Config() {RegionEndpoint=region})
{
}
/// <summary>
/// Constructs AmazonApiGatewayV2Client with AWS Access Key ID, AWS Secret Key and an
/// AmazonApiGatewayV2Client Configuration object.
/// </summary>
/// <param name="awsAccessKeyId">AWS Access Key ID</param>
/// <param name="awsSecretAccessKey">AWS Secret Access Key</param>
/// <param name="clientConfig">The AmazonApiGatewayV2Client Configuration Object</param>
public AmazonApiGatewayV2Client(string awsAccessKeyId, string awsSecretAccessKey, AmazonApiGatewayV2Config clientConfig)
: base(awsAccessKeyId, awsSecretAccessKey, clientConfig)
{
}
/// <summary>
/// Constructs AmazonApiGatewayV2Client 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 AmazonApiGatewayV2Client(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonApiGatewayV2Config())
{
}
/// <summary>
/// Constructs AmazonApiGatewayV2Client 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 AmazonApiGatewayV2Client(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonApiGatewayV2Config{RegionEndpoint = region})
{
}
/// <summary>
/// Constructs AmazonApiGatewayV2Client with AWS Access Key ID, AWS Secret Key and an
/// AmazonApiGatewayV2Client 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 AmazonApiGatewayV2Client Configuration Object</param>
public AmazonApiGatewayV2Client(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonApiGatewayV2Config clientConfig)
: base(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, clientConfig)
{
}
#endregion
#region Overrides
/// <summary>
/// Creates the signer for the service.
/// </summary>
protected override AbstractAWSSigner CreateSigner()
{
return new AWS4Signer();
}
/// <summary>
/// Customize the pipeline
/// </summary>
/// <param name="pipeline"></param>
protected override void CustomizeRuntimePipeline(RuntimePipeline pipeline)
{
pipeline.RemoveHandler<Amazon.Runtime.Internal.EndpointResolver>();
pipeline.AddHandlerAfter<Amazon.Runtime.Internal.Marshaller>(new AmazonApiGatewayV2EndpointResolver());
}
/// <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 CreateApi
/// <summary>
/// Creates an Api resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateApi service method.</param>
///
/// <returns>The response from the CreateApi service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateApi">REST API Reference for CreateApi Operation</seealso>
public virtual CreateApiResponse CreateApi(CreateApiRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateApiRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateApiResponseUnmarshaller.Instance;
return Invoke<CreateApiResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the CreateApi operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the CreateApi operation on AmazonApiGatewayV2Client.</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 EndCreateApi
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateApi">REST API Reference for CreateApi Operation</seealso>
public virtual IAsyncResult BeginCreateApi(CreateApiRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateApiRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateApiResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the CreateApi operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateApi.</param>
///
/// <returns>Returns a CreateApiResult from ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateApi">REST API Reference for CreateApi Operation</seealso>
public virtual CreateApiResponse EndCreateApi(IAsyncResult asyncResult)
{
return EndInvoke<CreateApiResponse>(asyncResult);
}
#endregion
#region CreateApiMapping
/// <summary>
/// Creates an API mapping.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateApiMapping service method.</param>
///
/// <returns>The response from the CreateApiMapping service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateApiMapping">REST API Reference for CreateApiMapping Operation</seealso>
public virtual CreateApiMappingResponse CreateApiMapping(CreateApiMappingRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateApiMappingRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateApiMappingResponseUnmarshaller.Instance;
return Invoke<CreateApiMappingResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the CreateApiMapping operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the CreateApiMapping operation on AmazonApiGatewayV2Client.</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 EndCreateApiMapping
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateApiMapping">REST API Reference for CreateApiMapping Operation</seealso>
public virtual IAsyncResult BeginCreateApiMapping(CreateApiMappingRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateApiMappingRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateApiMappingResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the CreateApiMapping operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateApiMapping.</param>
///
/// <returns>Returns a CreateApiMappingResult from ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateApiMapping">REST API Reference for CreateApiMapping Operation</seealso>
public virtual CreateApiMappingResponse EndCreateApiMapping(IAsyncResult asyncResult)
{
return EndInvoke<CreateApiMappingResponse>(asyncResult);
}
#endregion
#region CreateAuthorizer
/// <summary>
/// Creates an Authorizer for an API.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateAuthorizer">REST API Reference for CreateAuthorizer Operation</seealso>
public virtual CreateAuthorizerResponse CreateAuthorizer(CreateAuthorizerRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateAuthorizerRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateAuthorizerResponseUnmarshaller.Instance;
return Invoke<CreateAuthorizerResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the CreateAuthorizer operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the CreateAuthorizer operation on AmazonApiGatewayV2Client.</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/apigatewayv2-2018-11-29/CreateAuthorizer">REST API Reference for CreateAuthorizer Operation</seealso>
public virtual IAsyncResult BeginCreateAuthorizer(CreateAuthorizerRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateAuthorizerRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateAuthorizerResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, 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 ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateAuthorizer">REST API Reference for CreateAuthorizer Operation</seealso>
public virtual CreateAuthorizerResponse EndCreateAuthorizer(IAsyncResult asyncResult)
{
return EndInvoke<CreateAuthorizerResponse>(asyncResult);
}
#endregion
#region CreateDeployment
/// <summary>
/// Creates a Deployment for an API.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateDeployment">REST API Reference for CreateDeployment Operation</seealso>
public virtual CreateDeploymentResponse CreateDeployment(CreateDeploymentRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateDeploymentRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateDeploymentResponseUnmarshaller.Instance;
return Invoke<CreateDeploymentResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the CreateDeployment operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the CreateDeployment operation on AmazonApiGatewayV2Client.</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/apigatewayv2-2018-11-29/CreateDeployment">REST API Reference for CreateDeployment Operation</seealso>
public virtual IAsyncResult BeginCreateDeployment(CreateDeploymentRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateDeploymentRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateDeploymentResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, 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 ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateDeployment">REST API Reference for CreateDeployment Operation</seealso>
public virtual CreateDeploymentResponse EndCreateDeployment(IAsyncResult asyncResult)
{
return EndInvoke<CreateDeploymentResponse>(asyncResult);
}
#endregion
#region CreateDomainName
/// <summary>
/// Creates a 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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.AccessDeniedException">
///
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateDomainName">REST API Reference for CreateDomainName Operation</seealso>
public virtual CreateDomainNameResponse CreateDomainName(CreateDomainNameRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateDomainNameRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateDomainNameResponseUnmarshaller.Instance;
return Invoke<CreateDomainNameResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the CreateDomainName operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the CreateDomainName operation on AmazonApiGatewayV2Client.</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/apigatewayv2-2018-11-29/CreateDomainName">REST API Reference for CreateDomainName Operation</seealso>
public virtual IAsyncResult BeginCreateDomainName(CreateDomainNameRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateDomainNameRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateDomainNameResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, 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 ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateDomainName">REST API Reference for CreateDomainName Operation</seealso>
public virtual CreateDomainNameResponse EndCreateDomainName(IAsyncResult asyncResult)
{
return EndInvoke<CreateDomainNameResponse>(asyncResult);
}
#endregion
#region CreateIntegration
/// <summary>
/// Creates an Integration.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateIntegration service method.</param>
///
/// <returns>The response from the CreateIntegration service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateIntegration">REST API Reference for CreateIntegration Operation</seealso>
public virtual CreateIntegrationResponse CreateIntegration(CreateIntegrationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateIntegrationRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateIntegrationResponseUnmarshaller.Instance;
return Invoke<CreateIntegrationResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the CreateIntegration operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the CreateIntegration operation on AmazonApiGatewayV2Client.</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 EndCreateIntegration
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateIntegration">REST API Reference for CreateIntegration Operation</seealso>
public virtual IAsyncResult BeginCreateIntegration(CreateIntegrationRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateIntegrationRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateIntegrationResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the CreateIntegration operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateIntegration.</param>
///
/// <returns>Returns a CreateIntegrationResult from ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateIntegration">REST API Reference for CreateIntegration Operation</seealso>
public virtual CreateIntegrationResponse EndCreateIntegration(IAsyncResult asyncResult)
{
return EndInvoke<CreateIntegrationResponse>(asyncResult);
}
#endregion
#region CreateIntegrationResponse
/// <summary>
/// Creates an IntegrationResponses.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateIntegrationResponse service method.</param>
///
/// <returns>The response from the CreateIntegrationResponse service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateIntegrationResponse">REST API Reference for CreateIntegrationResponse Operation</seealso>
public virtual CreateIntegrationResponseResponse CreateIntegrationResponse(CreateIntegrationResponseRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateIntegrationResponseRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateIntegrationResponseResponseUnmarshaller.Instance;
return Invoke<CreateIntegrationResponseResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the CreateIntegrationResponse operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the CreateIntegrationResponse operation on AmazonApiGatewayV2Client.</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 EndCreateIntegrationResponse
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateIntegrationResponse">REST API Reference for CreateIntegrationResponse Operation</seealso>
public virtual IAsyncResult BeginCreateIntegrationResponse(CreateIntegrationResponseRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateIntegrationResponseRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateIntegrationResponseResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the CreateIntegrationResponse operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateIntegrationResponse.</param>
///
/// <returns>Returns a CreateIntegrationResponseResult from ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateIntegrationResponse">REST API Reference for CreateIntegrationResponse Operation</seealso>
public virtual CreateIntegrationResponseResponse EndCreateIntegrationResponse(IAsyncResult asyncResult)
{
return EndInvoke<CreateIntegrationResponseResponse>(asyncResult);
}
#endregion
#region CreateModel
/// <summary>
/// Creates a Model for an API.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateModel">REST API Reference for CreateModel Operation</seealso>
public virtual CreateModelResponse CreateModel(CreateModelRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateModelRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateModelResponseUnmarshaller.Instance;
return Invoke<CreateModelResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the CreateModel operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the CreateModel operation on AmazonApiGatewayV2Client.</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/apigatewayv2-2018-11-29/CreateModel">REST API Reference for CreateModel Operation</seealso>
public virtual IAsyncResult BeginCreateModel(CreateModelRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateModelRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateModelResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, 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 ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateModel">REST API Reference for CreateModel Operation</seealso>
public virtual CreateModelResponse EndCreateModel(IAsyncResult asyncResult)
{
return EndInvoke<CreateModelResponse>(asyncResult);
}
#endregion
#region CreateRoute
/// <summary>
/// Creates a Route for an API.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateRoute service method.</param>
///
/// <returns>The response from the CreateRoute service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateRoute">REST API Reference for CreateRoute Operation</seealso>
public virtual CreateRouteResponse CreateRoute(CreateRouteRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateRouteRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateRouteResponseUnmarshaller.Instance;
return Invoke<CreateRouteResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the CreateRoute operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the CreateRoute operation on AmazonApiGatewayV2Client.</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 EndCreateRoute
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateRoute">REST API Reference for CreateRoute Operation</seealso>
public virtual IAsyncResult BeginCreateRoute(CreateRouteRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateRouteRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateRouteResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the CreateRoute operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateRoute.</param>
///
/// <returns>Returns a CreateRouteResult from ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateRoute">REST API Reference for CreateRoute Operation</seealso>
public virtual CreateRouteResponse EndCreateRoute(IAsyncResult asyncResult)
{
return EndInvoke<CreateRouteResponse>(asyncResult);
}
#endregion
#region CreateRouteResponse
/// <summary>
/// Creates a RouteResponse for a Route.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateRouteResponse service method.</param>
///
/// <returns>The response from the CreateRouteResponse service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateRouteResponse">REST API Reference for CreateRouteResponse Operation</seealso>
public virtual CreateRouteResponseResponse CreateRouteResponse(CreateRouteResponseRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateRouteResponseRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateRouteResponseResponseUnmarshaller.Instance;
return Invoke<CreateRouteResponseResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the CreateRouteResponse operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the CreateRouteResponse operation on AmazonApiGatewayV2Client.</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 EndCreateRouteResponse
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateRouteResponse">REST API Reference for CreateRouteResponse Operation</seealso>
public virtual IAsyncResult BeginCreateRouteResponse(CreateRouteResponseRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateRouteResponseRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateRouteResponseResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the CreateRouteResponse operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateRouteResponse.</param>
///
/// <returns>Returns a CreateRouteResponseResult from ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateRouteResponse">REST API Reference for CreateRouteResponse Operation</seealso>
public virtual CreateRouteResponseResponse EndCreateRouteResponse(IAsyncResult asyncResult)
{
return EndInvoke<CreateRouteResponseResponse>(asyncResult);
}
#endregion
#region CreateStage
/// <summary>
/// Creates a Stage for an 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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateStage">REST API Reference for CreateStage Operation</seealso>
public virtual CreateStageResponse CreateStage(CreateStageRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateStageRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateStageResponseUnmarshaller.Instance;
return Invoke<CreateStageResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the CreateStage operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the CreateStage operation on AmazonApiGatewayV2Client.</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/apigatewayv2-2018-11-29/CreateStage">REST API Reference for CreateStage Operation</seealso>
public virtual IAsyncResult BeginCreateStage(CreateStageRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateStageRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateStageResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, 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 ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateStage">REST API Reference for CreateStage Operation</seealso>
public virtual CreateStageResponse EndCreateStage(IAsyncResult asyncResult)
{
return EndInvoke<CreateStageResponse>(asyncResult);
}
#endregion
#region CreateVpcLink
/// <summary>
/// Creates a VPC link.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateVpcLink">REST API Reference for CreateVpcLink Operation</seealso>
public virtual CreateVpcLinkResponse CreateVpcLink(CreateVpcLinkRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateVpcLinkRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateVpcLinkResponseUnmarshaller.Instance;
return Invoke<CreateVpcLinkResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the CreateVpcLink operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the CreateVpcLink operation on AmazonApiGatewayV2Client.</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/apigatewayv2-2018-11-29/CreateVpcLink">REST API Reference for CreateVpcLink Operation</seealso>
public virtual IAsyncResult BeginCreateVpcLink(CreateVpcLinkRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateVpcLinkRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateVpcLinkResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, 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 ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateVpcLink">REST API Reference for CreateVpcLink Operation</seealso>
public virtual CreateVpcLinkResponse EndCreateVpcLink(IAsyncResult asyncResult)
{
return EndInvoke<CreateVpcLinkResponse>(asyncResult);
}
#endregion
#region DeleteAccessLogSettings
/// <summary>
/// Deletes the AccessLogSettings for a Stage. To disable access logging for a Stage,
/// delete its AccessLogSettings.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteAccessLogSettings service method.</param>
///
/// <returns>The response from the DeleteAccessLogSettings service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteAccessLogSettings">REST API Reference for DeleteAccessLogSettings Operation</seealso>
public virtual DeleteAccessLogSettingsResponse DeleteAccessLogSettings(DeleteAccessLogSettingsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteAccessLogSettingsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteAccessLogSettingsResponseUnmarshaller.Instance;
return Invoke<DeleteAccessLogSettingsResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the DeleteAccessLogSettings operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the DeleteAccessLogSettings operation on AmazonApiGatewayV2Client.</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 EndDeleteAccessLogSettings
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteAccessLogSettings">REST API Reference for DeleteAccessLogSettings Operation</seealso>
public virtual IAsyncResult BeginDeleteAccessLogSettings(DeleteAccessLogSettingsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteAccessLogSettingsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteAccessLogSettingsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the DeleteAccessLogSettings operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteAccessLogSettings.</param>
///
/// <returns>Returns a DeleteAccessLogSettingsResult from ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteAccessLogSettings">REST API Reference for DeleteAccessLogSettings Operation</seealso>
public virtual DeleteAccessLogSettingsResponse EndDeleteAccessLogSettings(IAsyncResult asyncResult)
{
return EndInvoke<DeleteAccessLogSettingsResponse>(asyncResult);
}
#endregion
#region DeleteApi
/// <summary>
/// Deletes an Api resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteApi service method.</param>
///
/// <returns>The response from the DeleteApi service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteApi">REST API Reference for DeleteApi Operation</seealso>
public virtual DeleteApiResponse DeleteApi(DeleteApiRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteApiRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteApiResponseUnmarshaller.Instance;
return Invoke<DeleteApiResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the DeleteApi operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the DeleteApi operation on AmazonApiGatewayV2Client.</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 EndDeleteApi
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteApi">REST API Reference for DeleteApi Operation</seealso>
public virtual IAsyncResult BeginDeleteApi(DeleteApiRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteApiRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteApiResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the DeleteApi operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteApi.</param>
///
/// <returns>Returns a DeleteApiResult from ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteApi">REST API Reference for DeleteApi Operation</seealso>
public virtual DeleteApiResponse EndDeleteApi(IAsyncResult asyncResult)
{
return EndInvoke<DeleteApiResponse>(asyncResult);
}
#endregion
#region DeleteApiMapping
/// <summary>
/// Deletes an API mapping.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteApiMapping service method.</param>
///
/// <returns>The response from the DeleteApiMapping service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteApiMapping">REST API Reference for DeleteApiMapping Operation</seealso>
public virtual DeleteApiMappingResponse DeleteApiMapping(DeleteApiMappingRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteApiMappingRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteApiMappingResponseUnmarshaller.Instance;
return Invoke<DeleteApiMappingResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the DeleteApiMapping operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the DeleteApiMapping operation on AmazonApiGatewayV2Client.</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 EndDeleteApiMapping
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteApiMapping">REST API Reference for DeleteApiMapping Operation</seealso>
public virtual IAsyncResult BeginDeleteApiMapping(DeleteApiMappingRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteApiMappingRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteApiMappingResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the DeleteApiMapping operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteApiMapping.</param>
///
/// <returns>Returns a DeleteApiMappingResult from ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteApiMapping">REST API Reference for DeleteApiMapping Operation</seealso>
public virtual DeleteApiMappingResponse EndDeleteApiMapping(IAsyncResult asyncResult)
{
return EndInvoke<DeleteApiMappingResponse>(asyncResult);
}
#endregion
#region DeleteAuthorizer
/// <summary>
/// Deletes an Authorizer.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteAuthorizer">REST API Reference for DeleteAuthorizer Operation</seealso>
public virtual DeleteAuthorizerResponse DeleteAuthorizer(DeleteAuthorizerRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteAuthorizerRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteAuthorizerResponseUnmarshaller.Instance;
return Invoke<DeleteAuthorizerResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the DeleteAuthorizer operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the DeleteAuthorizer operation on AmazonApiGatewayV2Client.</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/apigatewayv2-2018-11-29/DeleteAuthorizer">REST API Reference for DeleteAuthorizer Operation</seealso>
public virtual IAsyncResult BeginDeleteAuthorizer(DeleteAuthorizerRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteAuthorizerRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteAuthorizerResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, 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 ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteAuthorizer">REST API Reference for DeleteAuthorizer Operation</seealso>
public virtual DeleteAuthorizerResponse EndDeleteAuthorizer(IAsyncResult asyncResult)
{
return EndInvoke<DeleteAuthorizerResponse>(asyncResult);
}
#endregion
#region DeleteCorsConfiguration
/// <summary>
/// Deletes a CORS configuration.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteCorsConfiguration service method.</param>
///
/// <returns>The response from the DeleteCorsConfiguration service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteCorsConfiguration">REST API Reference for DeleteCorsConfiguration Operation</seealso>
public virtual DeleteCorsConfigurationResponse DeleteCorsConfiguration(DeleteCorsConfigurationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteCorsConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteCorsConfigurationResponseUnmarshaller.Instance;
return Invoke<DeleteCorsConfigurationResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the DeleteCorsConfiguration operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the DeleteCorsConfiguration operation on AmazonApiGatewayV2Client.</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 EndDeleteCorsConfiguration
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteCorsConfiguration">REST API Reference for DeleteCorsConfiguration Operation</seealso>
public virtual IAsyncResult BeginDeleteCorsConfiguration(DeleteCorsConfigurationRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteCorsConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteCorsConfigurationResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the DeleteCorsConfiguration operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteCorsConfiguration.</param>
///
/// <returns>Returns a DeleteCorsConfigurationResult from ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteCorsConfiguration">REST API Reference for DeleteCorsConfiguration Operation</seealso>
public virtual DeleteCorsConfigurationResponse EndDeleteCorsConfiguration(IAsyncResult asyncResult)
{
return EndInvoke<DeleteCorsConfigurationResponse>(asyncResult);
}
#endregion
#region DeleteDeployment
/// <summary>
/// Deletes a Deployment.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteDeployment">REST API Reference for DeleteDeployment Operation</seealso>
public virtual DeleteDeploymentResponse DeleteDeployment(DeleteDeploymentRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteDeploymentRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteDeploymentResponseUnmarshaller.Instance;
return Invoke<DeleteDeploymentResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the DeleteDeployment operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the DeleteDeployment operation on AmazonApiGatewayV2Client.</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/apigatewayv2-2018-11-29/DeleteDeployment">REST API Reference for DeleteDeployment Operation</seealso>
public virtual IAsyncResult BeginDeleteDeployment(DeleteDeploymentRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteDeploymentRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteDeploymentResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, 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 ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteDeployment">REST API Reference for DeleteDeployment Operation</seealso>
public virtual DeleteDeploymentResponse EndDeleteDeployment(IAsyncResult asyncResult)
{
return EndInvoke<DeleteDeploymentResponse>(asyncResult);
}
#endregion
#region DeleteDomainName
/// <summary>
/// Deletes a domain name.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteDomainName">REST API Reference for DeleteDomainName Operation</seealso>
public virtual DeleteDomainNameResponse DeleteDomainName(DeleteDomainNameRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteDomainNameRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteDomainNameResponseUnmarshaller.Instance;
return Invoke<DeleteDomainNameResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the DeleteDomainName operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the DeleteDomainName operation on AmazonApiGatewayV2Client.</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/apigatewayv2-2018-11-29/DeleteDomainName">REST API Reference for DeleteDomainName Operation</seealso>
public virtual IAsyncResult BeginDeleteDomainName(DeleteDomainNameRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteDomainNameRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteDomainNameResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, 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 ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteDomainName">REST API Reference for DeleteDomainName Operation</seealso>
public virtual DeleteDomainNameResponse EndDeleteDomainName(IAsyncResult asyncResult)
{
return EndInvoke<DeleteDomainNameResponse>(asyncResult);
}
#endregion
#region DeleteIntegration
/// <summary>
/// Deletes an 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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteIntegration">REST API Reference for DeleteIntegration Operation</seealso>
public virtual DeleteIntegrationResponse DeleteIntegration(DeleteIntegrationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteIntegrationRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteIntegrationResponseUnmarshaller.Instance;
return Invoke<DeleteIntegrationResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the DeleteIntegration operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the DeleteIntegration operation on AmazonApiGatewayV2Client.</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/apigatewayv2-2018-11-29/DeleteIntegration">REST API Reference for DeleteIntegration Operation</seealso>
public virtual IAsyncResult BeginDeleteIntegration(DeleteIntegrationRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteIntegrationRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteIntegrationResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, 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 ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteIntegration">REST API Reference for DeleteIntegration Operation</seealso>
public virtual DeleteIntegrationResponse EndDeleteIntegration(IAsyncResult asyncResult)
{
return EndInvoke<DeleteIntegrationResponse>(asyncResult);
}
#endregion
#region DeleteIntegrationResponse
/// <summary>
/// Deletes an IntegrationResponses.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteIntegrationResponse">REST API Reference for DeleteIntegrationResponse Operation</seealso>
public virtual DeleteIntegrationResponseResponse DeleteIntegrationResponse(DeleteIntegrationResponseRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteIntegrationResponseRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteIntegrationResponseResponseUnmarshaller.Instance;
return Invoke<DeleteIntegrationResponseResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the DeleteIntegrationResponse operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the DeleteIntegrationResponse operation on AmazonApiGatewayV2Client.</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/apigatewayv2-2018-11-29/DeleteIntegrationResponse">REST API Reference for DeleteIntegrationResponse Operation</seealso>
public virtual IAsyncResult BeginDeleteIntegrationResponse(DeleteIntegrationResponseRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteIntegrationResponseRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteIntegrationResponseResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, 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 ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteIntegrationResponse">REST API Reference for DeleteIntegrationResponse Operation</seealso>
public virtual DeleteIntegrationResponseResponse EndDeleteIntegrationResponse(IAsyncResult asyncResult)
{
return EndInvoke<DeleteIntegrationResponseResponse>(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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteModel">REST API Reference for DeleteModel Operation</seealso>
public virtual DeleteModelResponse DeleteModel(DeleteModelRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteModelRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteModelResponseUnmarshaller.Instance;
return Invoke<DeleteModelResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the DeleteModel operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the DeleteModel operation on AmazonApiGatewayV2Client.</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/apigatewayv2-2018-11-29/DeleteModel">REST API Reference for DeleteModel Operation</seealso>
public virtual IAsyncResult BeginDeleteModel(DeleteModelRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteModelRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteModelResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, 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 ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteModel">REST API Reference for DeleteModel Operation</seealso>
public virtual DeleteModelResponse EndDeleteModel(IAsyncResult asyncResult)
{
return EndInvoke<DeleteModelResponse>(asyncResult);
}
#endregion
#region DeleteRoute
/// <summary>
/// Deletes a Route.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteRoute service method.</param>
///
/// <returns>The response from the DeleteRoute service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteRoute">REST API Reference for DeleteRoute Operation</seealso>
public virtual DeleteRouteResponse DeleteRoute(DeleteRouteRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteRouteRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteRouteResponseUnmarshaller.Instance;
return Invoke<DeleteRouteResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the DeleteRoute operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the DeleteRoute operation on AmazonApiGatewayV2Client.</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 EndDeleteRoute
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteRoute">REST API Reference for DeleteRoute Operation</seealso>
public virtual IAsyncResult BeginDeleteRoute(DeleteRouteRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteRouteRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteRouteResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the DeleteRoute operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteRoute.</param>
///
/// <returns>Returns a DeleteRouteResult from ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteRoute">REST API Reference for DeleteRoute Operation</seealso>
public virtual DeleteRouteResponse EndDeleteRoute(IAsyncResult asyncResult)
{
return EndInvoke<DeleteRouteResponse>(asyncResult);
}
#endregion
#region DeleteRouteRequestParameter
/// <summary>
/// Deletes a route request parameter.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteRouteRequestParameter service method.</param>
///
/// <returns>The response from the DeleteRouteRequestParameter service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteRouteRequestParameter">REST API Reference for DeleteRouteRequestParameter Operation</seealso>
public virtual DeleteRouteRequestParameterResponse DeleteRouteRequestParameter(DeleteRouteRequestParameterRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteRouteRequestParameterRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteRouteRequestParameterResponseUnmarshaller.Instance;
return Invoke<DeleteRouteRequestParameterResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the DeleteRouteRequestParameter operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the DeleteRouteRequestParameter operation on AmazonApiGatewayV2Client.</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 EndDeleteRouteRequestParameter
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteRouteRequestParameter">REST API Reference for DeleteRouteRequestParameter Operation</seealso>
public virtual IAsyncResult BeginDeleteRouteRequestParameter(DeleteRouteRequestParameterRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteRouteRequestParameterRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteRouteRequestParameterResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the DeleteRouteRequestParameter operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteRouteRequestParameter.</param>
///
/// <returns>Returns a DeleteRouteRequestParameterResult from ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteRouteRequestParameter">REST API Reference for DeleteRouteRequestParameter Operation</seealso>
public virtual DeleteRouteRequestParameterResponse EndDeleteRouteRequestParameter(IAsyncResult asyncResult)
{
return EndInvoke<DeleteRouteRequestParameterResponse>(asyncResult);
}
#endregion
#region DeleteRouteResponse
/// <summary>
/// Deletes a RouteResponse.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteRouteResponse service method.</param>
///
/// <returns>The response from the DeleteRouteResponse service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteRouteResponse">REST API Reference for DeleteRouteResponse Operation</seealso>
public virtual DeleteRouteResponseResponse DeleteRouteResponse(DeleteRouteResponseRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteRouteResponseRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteRouteResponseResponseUnmarshaller.Instance;
return Invoke<DeleteRouteResponseResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the DeleteRouteResponse operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the DeleteRouteResponse operation on AmazonApiGatewayV2Client.</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 EndDeleteRouteResponse
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteRouteResponse">REST API Reference for DeleteRouteResponse Operation</seealso>
public virtual IAsyncResult BeginDeleteRouteResponse(DeleteRouteResponseRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteRouteResponseRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteRouteResponseResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the DeleteRouteResponse operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteRouteResponse.</param>
///
/// <returns>Returns a DeleteRouteResponseResult from ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteRouteResponse">REST API Reference for DeleteRouteResponse Operation</seealso>
public virtual DeleteRouteResponseResponse EndDeleteRouteResponse(IAsyncResult asyncResult)
{
return EndInvoke<DeleteRouteResponseResponse>(asyncResult);
}
#endregion
#region DeleteRouteSettings
/// <summary>
/// Deletes the RouteSettings for a stage.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteRouteSettings service method.</param>
///
/// <returns>The response from the DeleteRouteSettings service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteRouteSettings">REST API Reference for DeleteRouteSettings Operation</seealso>
public virtual DeleteRouteSettingsResponse DeleteRouteSettings(DeleteRouteSettingsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteRouteSettingsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteRouteSettingsResponseUnmarshaller.Instance;
return Invoke<DeleteRouteSettingsResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the DeleteRouteSettings operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the DeleteRouteSettings operation on AmazonApiGatewayV2Client.</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 EndDeleteRouteSettings
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteRouteSettings">REST API Reference for DeleteRouteSettings Operation</seealso>
public virtual IAsyncResult BeginDeleteRouteSettings(DeleteRouteSettingsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteRouteSettingsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteRouteSettingsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the DeleteRouteSettings operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteRouteSettings.</param>
///
/// <returns>Returns a DeleteRouteSettingsResult from ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteRouteSettings">REST API Reference for DeleteRouteSettings Operation</seealso>
public virtual DeleteRouteSettingsResponse EndDeleteRouteSettings(IAsyncResult asyncResult)
{
return EndInvoke<DeleteRouteSettingsResponse>(asyncResult);
}
#endregion
#region DeleteStage
/// <summary>
/// Deletes a Stage.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteStage">REST API Reference for DeleteStage Operation</seealso>
public virtual DeleteStageResponse DeleteStage(DeleteStageRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteStageRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteStageResponseUnmarshaller.Instance;
return Invoke<DeleteStageResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the DeleteStage operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the DeleteStage operation on AmazonApiGatewayV2Client.</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/apigatewayv2-2018-11-29/DeleteStage">REST API Reference for DeleteStage Operation</seealso>
public virtual IAsyncResult BeginDeleteStage(DeleteStageRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteStageRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteStageResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, 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 ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteStage">REST API Reference for DeleteStage Operation</seealso>
public virtual DeleteStageResponse EndDeleteStage(IAsyncResult asyncResult)
{
return EndInvoke<DeleteStageResponse>(asyncResult);
}
#endregion
#region DeleteVpcLink
/// <summary>
/// Deletes a VPC link.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteVpcLink">REST API Reference for DeleteVpcLink Operation</seealso>
public virtual DeleteVpcLinkResponse DeleteVpcLink(DeleteVpcLinkRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteVpcLinkRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteVpcLinkResponseUnmarshaller.Instance;
return Invoke<DeleteVpcLinkResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the DeleteVpcLink operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the DeleteVpcLink operation on AmazonApiGatewayV2Client.</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/apigatewayv2-2018-11-29/DeleteVpcLink">REST API Reference for DeleteVpcLink Operation</seealso>
public virtual IAsyncResult BeginDeleteVpcLink(DeleteVpcLinkRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteVpcLinkRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteVpcLinkResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, 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 ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteVpcLink">REST API Reference for DeleteVpcLink Operation</seealso>
public virtual DeleteVpcLinkResponse EndDeleteVpcLink(IAsyncResult asyncResult)
{
return EndInvoke<DeleteVpcLinkResponse>(asyncResult);
}
#endregion
#region ExportApi
/// <summary>
///
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ExportApi service method.</param>
///
/// <returns>The response from the ExportApi service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/ExportApi">REST API Reference for ExportApi Operation</seealso>
public virtual ExportApiResponse ExportApi(ExportApiRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ExportApiRequestMarshaller.Instance;
options.ResponseUnmarshaller = ExportApiResponseUnmarshaller.Instance;
return Invoke<ExportApiResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the ExportApi operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the ExportApi operation on AmazonApiGatewayV2Client.</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 EndExportApi
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/ExportApi">REST API Reference for ExportApi Operation</seealso>
public virtual IAsyncResult BeginExportApi(ExportApiRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ExportApiRequestMarshaller.Instance;
options.ResponseUnmarshaller = ExportApiResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the ExportApi operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginExportApi.</param>
///
/// <returns>Returns a ExportApiResult from ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/ExportApi">REST API Reference for ExportApi Operation</seealso>
public virtual ExportApiResponse EndExportApi(IAsyncResult asyncResult)
{
return EndInvoke<ExportApiResponse>(asyncResult);
}
#endregion
#region GetApi
/// <summary>
/// Gets an Api resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetApi service method.</param>
///
/// <returns>The response from the GetApi service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetApi">REST API Reference for GetApi Operation</seealso>
public virtual GetApiResponse GetApi(GetApiRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetApiRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetApiResponseUnmarshaller.Instance;
return Invoke<GetApiResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the GetApi operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetApi operation on AmazonApiGatewayV2Client.</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 EndGetApi
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetApi">REST API Reference for GetApi Operation</seealso>
public virtual IAsyncResult BeginGetApi(GetApiRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetApiRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetApiResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the GetApi operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetApi.</param>
///
/// <returns>Returns a GetApiResult from ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetApi">REST API Reference for GetApi Operation</seealso>
public virtual GetApiResponse EndGetApi(IAsyncResult asyncResult)
{
return EndInvoke<GetApiResponse>(asyncResult);
}
#endregion
#region GetApiMapping
/// <summary>
/// Gets an API mapping.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetApiMapping service method.</param>
///
/// <returns>The response from the GetApiMapping service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetApiMapping">REST API Reference for GetApiMapping Operation</seealso>
public virtual GetApiMappingResponse GetApiMapping(GetApiMappingRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetApiMappingRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetApiMappingResponseUnmarshaller.Instance;
return Invoke<GetApiMappingResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the GetApiMapping operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetApiMapping operation on AmazonApiGatewayV2Client.</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 EndGetApiMapping
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetApiMapping">REST API Reference for GetApiMapping Operation</seealso>
public virtual IAsyncResult BeginGetApiMapping(GetApiMappingRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetApiMappingRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetApiMappingResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the GetApiMapping operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetApiMapping.</param>
///
/// <returns>Returns a GetApiMappingResult from ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetApiMapping">REST API Reference for GetApiMapping Operation</seealso>
public virtual GetApiMappingResponse EndGetApiMapping(IAsyncResult asyncResult)
{
return EndInvoke<GetApiMappingResponse>(asyncResult);
}
#endregion
#region GetApiMappings
/// <summary>
/// Gets API mappings.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetApiMappings service method.</param>
///
/// <returns>The response from the GetApiMappings service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetApiMappings">REST API Reference for GetApiMappings Operation</seealso>
public virtual GetApiMappingsResponse GetApiMappings(GetApiMappingsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetApiMappingsRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetApiMappingsResponseUnmarshaller.Instance;
return Invoke<GetApiMappingsResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the GetApiMappings operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetApiMappings operation on AmazonApiGatewayV2Client.</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 EndGetApiMappings
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetApiMappings">REST API Reference for GetApiMappings Operation</seealso>
public virtual IAsyncResult BeginGetApiMappings(GetApiMappingsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetApiMappingsRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetApiMappingsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the GetApiMappings operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetApiMappings.</param>
///
/// <returns>Returns a GetApiMappingsResult from ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetApiMappings">REST API Reference for GetApiMappings Operation</seealso>
public virtual GetApiMappingsResponse EndGetApiMappings(IAsyncResult asyncResult)
{
return EndInvoke<GetApiMappingsResponse>(asyncResult);
}
#endregion
#region GetApis
/// <summary>
/// Gets a collection of Api resources.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetApis service method.</param>
///
/// <returns>The response from the GetApis service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetApis">REST API Reference for GetApis Operation</seealso>
public virtual GetApisResponse GetApis(GetApisRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetApisRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetApisResponseUnmarshaller.Instance;
return Invoke<GetApisResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the GetApis operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetApis operation on AmazonApiGatewayV2Client.</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 EndGetApis
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetApis">REST API Reference for GetApis Operation</seealso>
public virtual IAsyncResult BeginGetApis(GetApisRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetApisRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetApisResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the GetApis operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetApis.</param>
///
/// <returns>Returns a GetApisResult from ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetApis">REST API Reference for GetApis Operation</seealso>
public virtual GetApisResponse EndGetApis(IAsyncResult asyncResult)
{
return EndInvoke<GetApisResponse>(asyncResult);
}
#endregion
#region GetAuthorizer
/// <summary>
/// Gets an Authorizer.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetAuthorizer">REST API Reference for GetAuthorizer Operation</seealso>
public virtual GetAuthorizerResponse GetAuthorizer(GetAuthorizerRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetAuthorizerRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetAuthorizerResponseUnmarshaller.Instance;
return Invoke<GetAuthorizerResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the GetAuthorizer operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetAuthorizer operation on AmazonApiGatewayV2Client.</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/apigatewayv2-2018-11-29/GetAuthorizer">REST API Reference for GetAuthorizer Operation</seealso>
public virtual IAsyncResult BeginGetAuthorizer(GetAuthorizerRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetAuthorizerRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetAuthorizerResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, 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 ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetAuthorizer">REST API Reference for GetAuthorizer Operation</seealso>
public virtual GetAuthorizerResponse EndGetAuthorizer(IAsyncResult asyncResult)
{
return EndInvoke<GetAuthorizerResponse>(asyncResult);
}
#endregion
#region GetAuthorizers
/// <summary>
/// Gets the Authorizers for an API.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetAuthorizers">REST API Reference for GetAuthorizers Operation</seealso>
public virtual GetAuthorizersResponse GetAuthorizers(GetAuthorizersRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetAuthorizersRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetAuthorizersResponseUnmarshaller.Instance;
return Invoke<GetAuthorizersResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the GetAuthorizers operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetAuthorizers operation on AmazonApiGatewayV2Client.</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/apigatewayv2-2018-11-29/GetAuthorizers">REST API Reference for GetAuthorizers Operation</seealso>
public virtual IAsyncResult BeginGetAuthorizers(GetAuthorizersRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetAuthorizersRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetAuthorizersResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, 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 ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetAuthorizers">REST API Reference for GetAuthorizers Operation</seealso>
public virtual GetAuthorizersResponse EndGetAuthorizers(IAsyncResult asyncResult)
{
return EndInvoke<GetAuthorizersResponse>(asyncResult);
}
#endregion
#region GetDeployment
/// <summary>
/// Gets a Deployment.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetDeployment">REST API Reference for GetDeployment Operation</seealso>
public virtual GetDeploymentResponse GetDeployment(GetDeploymentRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetDeploymentRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetDeploymentResponseUnmarshaller.Instance;
return Invoke<GetDeploymentResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the GetDeployment operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetDeployment operation on AmazonApiGatewayV2Client.</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/apigatewayv2-2018-11-29/GetDeployment">REST API Reference for GetDeployment Operation</seealso>
public virtual IAsyncResult BeginGetDeployment(GetDeploymentRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetDeploymentRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetDeploymentResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, 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 ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetDeployment">REST API Reference for GetDeployment Operation</seealso>
public virtual GetDeploymentResponse EndGetDeployment(IAsyncResult asyncResult)
{
return EndInvoke<GetDeploymentResponse>(asyncResult);
}
#endregion
#region GetDeployments
/// <summary>
/// Gets the Deployments for an API.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetDeployments">REST API Reference for GetDeployments Operation</seealso>
public virtual GetDeploymentsResponse GetDeployments(GetDeploymentsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetDeploymentsRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetDeploymentsResponseUnmarshaller.Instance;
return Invoke<GetDeploymentsResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the GetDeployments operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetDeployments operation on AmazonApiGatewayV2Client.</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/apigatewayv2-2018-11-29/GetDeployments">REST API Reference for GetDeployments Operation</seealso>
public virtual IAsyncResult BeginGetDeployments(GetDeploymentsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetDeploymentsRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetDeploymentsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, 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 ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetDeployments">REST API Reference for GetDeployments Operation</seealso>
public virtual GetDeploymentsResponse EndGetDeployments(IAsyncResult asyncResult)
{
return EndInvoke<GetDeploymentsResponse>(asyncResult);
}
#endregion
#region GetDomainName
/// <summary>
/// Gets a domain name.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetDomainName">REST API Reference for GetDomainName Operation</seealso>
public virtual GetDomainNameResponse GetDomainName(GetDomainNameRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetDomainNameRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetDomainNameResponseUnmarshaller.Instance;
return Invoke<GetDomainNameResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the GetDomainName operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetDomainName operation on AmazonApiGatewayV2Client.</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/apigatewayv2-2018-11-29/GetDomainName">REST API Reference for GetDomainName Operation</seealso>
public virtual IAsyncResult BeginGetDomainName(GetDomainNameRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetDomainNameRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetDomainNameResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, 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 ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetDomainName">REST API Reference for GetDomainName Operation</seealso>
public virtual GetDomainNameResponse EndGetDomainName(IAsyncResult asyncResult)
{
return EndInvoke<GetDomainNameResponse>(asyncResult);
}
#endregion
#region GetDomainNames
/// <summary>
/// Gets the domain names for an AWS account.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetDomainNames">REST API Reference for GetDomainNames Operation</seealso>
public virtual GetDomainNamesResponse GetDomainNames(GetDomainNamesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetDomainNamesRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetDomainNamesResponseUnmarshaller.Instance;
return Invoke<GetDomainNamesResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the GetDomainNames operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetDomainNames operation on AmazonApiGatewayV2Client.</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/apigatewayv2-2018-11-29/GetDomainNames">REST API Reference for GetDomainNames Operation</seealso>
public virtual IAsyncResult BeginGetDomainNames(GetDomainNamesRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetDomainNamesRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetDomainNamesResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, 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 ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetDomainNames">REST API Reference for GetDomainNames Operation</seealso>
public virtual GetDomainNamesResponse EndGetDomainNames(IAsyncResult asyncResult)
{
return EndInvoke<GetDomainNamesResponse>(asyncResult);
}
#endregion
#region GetIntegration
/// <summary>
/// Gets an Integration.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetIntegration">REST API Reference for GetIntegration Operation</seealso>
public virtual GetIntegrationResponse GetIntegration(GetIntegrationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetIntegrationRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetIntegrationResponseUnmarshaller.Instance;
return Invoke<GetIntegrationResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the GetIntegration operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetIntegration operation on AmazonApiGatewayV2Client.</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/apigatewayv2-2018-11-29/GetIntegration">REST API Reference for GetIntegration Operation</seealso>
public virtual IAsyncResult BeginGetIntegration(GetIntegrationRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetIntegrationRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetIntegrationResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, 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 ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetIntegration">REST API Reference for GetIntegration Operation</seealso>
public virtual GetIntegrationResponse EndGetIntegration(IAsyncResult asyncResult)
{
return EndInvoke<GetIntegrationResponse>(asyncResult);
}
#endregion
#region GetIntegrationResponse
/// <summary>
/// Gets an IntegrationResponses.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetIntegrationResponse">REST API Reference for GetIntegrationResponse Operation</seealso>
public virtual GetIntegrationResponseResponse GetIntegrationResponse(GetIntegrationResponseRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetIntegrationResponseRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetIntegrationResponseResponseUnmarshaller.Instance;
return Invoke<GetIntegrationResponseResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the GetIntegrationResponse operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetIntegrationResponse operation on AmazonApiGatewayV2Client.</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/apigatewayv2-2018-11-29/GetIntegrationResponse">REST API Reference for GetIntegrationResponse Operation</seealso>
public virtual IAsyncResult BeginGetIntegrationResponse(GetIntegrationResponseRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetIntegrationResponseRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetIntegrationResponseResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, 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 ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetIntegrationResponse">REST API Reference for GetIntegrationResponse Operation</seealso>
public virtual GetIntegrationResponseResponse EndGetIntegrationResponse(IAsyncResult asyncResult)
{
return EndInvoke<GetIntegrationResponseResponse>(asyncResult);
}
#endregion
#region GetIntegrationResponses
/// <summary>
/// Gets the IntegrationResponses for an Integration.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetIntegrationResponses service method.</param>
///
/// <returns>The response from the GetIntegrationResponses service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetIntegrationResponses">REST API Reference for GetIntegrationResponses Operation</seealso>
public virtual GetIntegrationResponsesResponse GetIntegrationResponses(GetIntegrationResponsesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetIntegrationResponsesRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetIntegrationResponsesResponseUnmarshaller.Instance;
return Invoke<GetIntegrationResponsesResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the GetIntegrationResponses operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetIntegrationResponses operation on AmazonApiGatewayV2Client.</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 EndGetIntegrationResponses
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetIntegrationResponses">REST API Reference for GetIntegrationResponses Operation</seealso>
public virtual IAsyncResult BeginGetIntegrationResponses(GetIntegrationResponsesRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetIntegrationResponsesRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetIntegrationResponsesResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the GetIntegrationResponses operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetIntegrationResponses.</param>
///
/// <returns>Returns a GetIntegrationResponsesResult from ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetIntegrationResponses">REST API Reference for GetIntegrationResponses Operation</seealso>
public virtual GetIntegrationResponsesResponse EndGetIntegrationResponses(IAsyncResult asyncResult)
{
return EndInvoke<GetIntegrationResponsesResponse>(asyncResult);
}
#endregion
#region GetIntegrations
/// <summary>
/// Gets the Integrations for an API.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetIntegrations service method.</param>
///
/// <returns>The response from the GetIntegrations service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetIntegrations">REST API Reference for GetIntegrations Operation</seealso>
public virtual GetIntegrationsResponse GetIntegrations(GetIntegrationsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetIntegrationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetIntegrationsResponseUnmarshaller.Instance;
return Invoke<GetIntegrationsResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the GetIntegrations operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetIntegrations operation on AmazonApiGatewayV2Client.</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 EndGetIntegrations
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetIntegrations">REST API Reference for GetIntegrations Operation</seealso>
public virtual IAsyncResult BeginGetIntegrations(GetIntegrationsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetIntegrationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetIntegrationsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the GetIntegrations operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetIntegrations.</param>
///
/// <returns>Returns a GetIntegrationsResult from ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetIntegrations">REST API Reference for GetIntegrations Operation</seealso>
public virtual GetIntegrationsResponse EndGetIntegrations(IAsyncResult asyncResult)
{
return EndInvoke<GetIntegrationsResponse>(asyncResult);
}
#endregion
#region GetModel
/// <summary>
/// Gets a Model.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetModel">REST API Reference for GetModel Operation</seealso>
public virtual GetModelResponse GetModel(GetModelRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetModelRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetModelResponseUnmarshaller.Instance;
return Invoke<GetModelResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the GetModel operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetModel operation on AmazonApiGatewayV2Client.</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/apigatewayv2-2018-11-29/GetModel">REST API Reference for GetModel Operation</seealso>
public virtual IAsyncResult BeginGetModel(GetModelRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetModelRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetModelResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, 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 ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetModel">REST API Reference for GetModel Operation</seealso>
public virtual GetModelResponse EndGetModel(IAsyncResult asyncResult)
{
return EndInvoke<GetModelResponse>(asyncResult);
}
#endregion
#region GetModels
/// <summary>
/// Gets the Models for an API.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetModels">REST API Reference for GetModels Operation</seealso>
public virtual GetModelsResponse GetModels(GetModelsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetModelsRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetModelsResponseUnmarshaller.Instance;
return Invoke<GetModelsResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the GetModels operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetModels operation on AmazonApiGatewayV2Client.</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/apigatewayv2-2018-11-29/GetModels">REST API Reference for GetModels Operation</seealso>
public virtual IAsyncResult BeginGetModels(GetModelsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetModelsRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetModelsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, 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 ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetModels">REST API Reference for GetModels Operation</seealso>
public virtual GetModelsResponse EndGetModels(IAsyncResult asyncResult)
{
return EndInvoke<GetModelsResponse>(asyncResult);
}
#endregion
#region GetModelTemplate
/// <summary>
/// Gets a model template.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetModelTemplate">REST API Reference for GetModelTemplate Operation</seealso>
public virtual GetModelTemplateResponse GetModelTemplate(GetModelTemplateRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetModelTemplateRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetModelTemplateResponseUnmarshaller.Instance;
return Invoke<GetModelTemplateResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the GetModelTemplate operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetModelTemplate operation on AmazonApiGatewayV2Client.</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/apigatewayv2-2018-11-29/GetModelTemplate">REST API Reference for GetModelTemplate Operation</seealso>
public virtual IAsyncResult BeginGetModelTemplate(GetModelTemplateRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetModelTemplateRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetModelTemplateResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, 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 ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetModelTemplate">REST API Reference for GetModelTemplate Operation</seealso>
public virtual GetModelTemplateResponse EndGetModelTemplate(IAsyncResult asyncResult)
{
return EndInvoke<GetModelTemplateResponse>(asyncResult);
}
#endregion
#region GetRoute
/// <summary>
/// Gets a Route.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetRoute service method.</param>
///
/// <returns>The response from the GetRoute service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetRoute">REST API Reference for GetRoute Operation</seealso>
public virtual GetRouteResponse GetRoute(GetRouteRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetRouteRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetRouteResponseUnmarshaller.Instance;
return Invoke<GetRouteResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the GetRoute operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetRoute operation on AmazonApiGatewayV2Client.</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 EndGetRoute
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetRoute">REST API Reference for GetRoute Operation</seealso>
public virtual IAsyncResult BeginGetRoute(GetRouteRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetRouteRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetRouteResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the GetRoute operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetRoute.</param>
///
/// <returns>Returns a GetRouteResult from ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetRoute">REST API Reference for GetRoute Operation</seealso>
public virtual GetRouteResponse EndGetRoute(IAsyncResult asyncResult)
{
return EndInvoke<GetRouteResponse>(asyncResult);
}
#endregion
#region GetRouteResponse
/// <summary>
/// Gets a RouteResponse.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetRouteResponse service method.</param>
///
/// <returns>The response from the GetRouteResponse service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetRouteResponse">REST API Reference for GetRouteResponse Operation</seealso>
public virtual GetRouteResponseResponse GetRouteResponse(GetRouteResponseRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetRouteResponseRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetRouteResponseResponseUnmarshaller.Instance;
return Invoke<GetRouteResponseResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the GetRouteResponse operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetRouteResponse operation on AmazonApiGatewayV2Client.</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 EndGetRouteResponse
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetRouteResponse">REST API Reference for GetRouteResponse Operation</seealso>
public virtual IAsyncResult BeginGetRouteResponse(GetRouteResponseRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetRouteResponseRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetRouteResponseResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the GetRouteResponse operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetRouteResponse.</param>
///
/// <returns>Returns a GetRouteResponseResult from ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetRouteResponse">REST API Reference for GetRouteResponse Operation</seealso>
public virtual GetRouteResponseResponse EndGetRouteResponse(IAsyncResult asyncResult)
{
return EndInvoke<GetRouteResponseResponse>(asyncResult);
}
#endregion
#region GetRouteResponses
/// <summary>
/// Gets the RouteResponses for a Route.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetRouteResponses service method.</param>
///
/// <returns>The response from the GetRouteResponses service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetRouteResponses">REST API Reference for GetRouteResponses Operation</seealso>
public virtual GetRouteResponsesResponse GetRouteResponses(GetRouteResponsesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetRouteResponsesRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetRouteResponsesResponseUnmarshaller.Instance;
return Invoke<GetRouteResponsesResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the GetRouteResponses operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetRouteResponses operation on AmazonApiGatewayV2Client.</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 EndGetRouteResponses
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetRouteResponses">REST API Reference for GetRouteResponses Operation</seealso>
public virtual IAsyncResult BeginGetRouteResponses(GetRouteResponsesRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetRouteResponsesRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetRouteResponsesResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the GetRouteResponses operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetRouteResponses.</param>
///
/// <returns>Returns a GetRouteResponsesResult from ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetRouteResponses">REST API Reference for GetRouteResponses Operation</seealso>
public virtual GetRouteResponsesResponse EndGetRouteResponses(IAsyncResult asyncResult)
{
return EndInvoke<GetRouteResponsesResponse>(asyncResult);
}
#endregion
#region GetRoutes
/// <summary>
/// Gets the Routes for an API.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetRoutes service method.</param>
///
/// <returns>The response from the GetRoutes service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetRoutes">REST API Reference for GetRoutes Operation</seealso>
public virtual GetRoutesResponse GetRoutes(GetRoutesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetRoutesRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetRoutesResponseUnmarshaller.Instance;
return Invoke<GetRoutesResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the GetRoutes operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetRoutes operation on AmazonApiGatewayV2Client.</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 EndGetRoutes
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetRoutes">REST API Reference for GetRoutes Operation</seealso>
public virtual IAsyncResult BeginGetRoutes(GetRoutesRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetRoutesRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetRoutesResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the GetRoutes operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetRoutes.</param>
///
/// <returns>Returns a GetRoutesResult from ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetRoutes">REST API Reference for GetRoutes Operation</seealso>
public virtual GetRoutesResponse EndGetRoutes(IAsyncResult asyncResult)
{
return EndInvoke<GetRoutesResponse>(asyncResult);
}
#endregion
#region GetStage
/// <summary>
/// Gets a Stage.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetStage">REST API Reference for GetStage Operation</seealso>
public virtual GetStageResponse GetStage(GetStageRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetStageRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetStageResponseUnmarshaller.Instance;
return Invoke<GetStageResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the GetStage operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetStage operation on AmazonApiGatewayV2Client.</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/apigatewayv2-2018-11-29/GetStage">REST API Reference for GetStage Operation</seealso>
public virtual IAsyncResult BeginGetStage(GetStageRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetStageRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetStageResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, 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 ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetStage">REST API Reference for GetStage Operation</seealso>
public virtual GetStageResponse EndGetStage(IAsyncResult asyncResult)
{
return EndInvoke<GetStageResponse>(asyncResult);
}
#endregion
#region GetStages
/// <summary>
/// Gets the Stages for an API.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetStages">REST API Reference for GetStages Operation</seealso>
public virtual GetStagesResponse GetStages(GetStagesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetStagesRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetStagesResponseUnmarshaller.Instance;
return Invoke<GetStagesResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the GetStages operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetStages operation on AmazonApiGatewayV2Client.</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/apigatewayv2-2018-11-29/GetStages">REST API Reference for GetStages Operation</seealso>
public virtual IAsyncResult BeginGetStages(GetStagesRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetStagesRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetStagesResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, 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 ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetStages">REST API Reference for GetStages Operation</seealso>
public virtual GetStagesResponse EndGetStages(IAsyncResult asyncResult)
{
return EndInvoke<GetStagesResponse>(asyncResult);
}
#endregion
#region GetTags
/// <summary>
/// Gets a collection of Tag resources.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetTags">REST API Reference for GetTags Operation</seealso>
public virtual GetTagsResponse GetTags(GetTagsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetTagsRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetTagsResponseUnmarshaller.Instance;
return Invoke<GetTagsResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the GetTags operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetTags operation on AmazonApiGatewayV2Client.</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/apigatewayv2-2018-11-29/GetTags">REST API Reference for GetTags Operation</seealso>
public virtual IAsyncResult BeginGetTags(GetTagsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetTagsRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetTagsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, 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 ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetTags">REST API Reference for GetTags Operation</seealso>
public virtual GetTagsResponse EndGetTags(IAsyncResult asyncResult)
{
return EndInvoke<GetTagsResponse>(asyncResult);
}
#endregion
#region GetVpcLink
/// <summary>
/// Gets a VPC link.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetVpcLink">REST API Reference for GetVpcLink Operation</seealso>
public virtual GetVpcLinkResponse GetVpcLink(GetVpcLinkRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetVpcLinkRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetVpcLinkResponseUnmarshaller.Instance;
return Invoke<GetVpcLinkResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the GetVpcLink operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetVpcLink operation on AmazonApiGatewayV2Client.</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/apigatewayv2-2018-11-29/GetVpcLink">REST API Reference for GetVpcLink Operation</seealso>
public virtual IAsyncResult BeginGetVpcLink(GetVpcLinkRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetVpcLinkRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetVpcLinkResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, 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 ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetVpcLink">REST API Reference for GetVpcLink Operation</seealso>
public virtual GetVpcLinkResponse EndGetVpcLink(IAsyncResult asyncResult)
{
return EndInvoke<GetVpcLinkResponse>(asyncResult);
}
#endregion
#region GetVpcLinks
/// <summary>
/// Gets a collection of VPC links.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetVpcLinks">REST API Reference for GetVpcLinks Operation</seealso>
public virtual GetVpcLinksResponse GetVpcLinks(GetVpcLinksRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetVpcLinksRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetVpcLinksResponseUnmarshaller.Instance;
return Invoke<GetVpcLinksResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the GetVpcLinks operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetVpcLinks operation on AmazonApiGatewayV2Client.</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/apigatewayv2-2018-11-29/GetVpcLinks">REST API Reference for GetVpcLinks Operation</seealso>
public virtual IAsyncResult BeginGetVpcLinks(GetVpcLinksRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetVpcLinksRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetVpcLinksResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, 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 ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetVpcLinks">REST API Reference for GetVpcLinks Operation</seealso>
public virtual GetVpcLinksResponse EndGetVpcLinks(IAsyncResult asyncResult)
{
return EndInvoke<GetVpcLinksResponse>(asyncResult);
}
#endregion
#region ImportApi
/// <summary>
/// Imports an API.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ImportApi service method.</param>
///
/// <returns>The response from the ImportApi service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/ImportApi">REST API Reference for ImportApi Operation</seealso>
public virtual ImportApiResponse ImportApi(ImportApiRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ImportApiRequestMarshaller.Instance;
options.ResponseUnmarshaller = ImportApiResponseUnmarshaller.Instance;
return Invoke<ImportApiResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the ImportApi operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the ImportApi operation on AmazonApiGatewayV2Client.</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 EndImportApi
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/ImportApi">REST API Reference for ImportApi Operation</seealso>
public virtual IAsyncResult BeginImportApi(ImportApiRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ImportApiRequestMarshaller.Instance;
options.ResponseUnmarshaller = ImportApiResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the ImportApi operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginImportApi.</param>
///
/// <returns>Returns a ImportApiResult from ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/ImportApi">REST API Reference for ImportApi Operation</seealso>
public virtual ImportApiResponse EndImportApi(IAsyncResult asyncResult)
{
return EndInvoke<ImportApiResponse>(asyncResult);
}
#endregion
#region ReimportApi
/// <summary>
/// Puts an Api resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ReimportApi service method.</param>
///
/// <returns>The response from the ReimportApi service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/ReimportApi">REST API Reference for ReimportApi Operation</seealso>
public virtual ReimportApiResponse ReimportApi(ReimportApiRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ReimportApiRequestMarshaller.Instance;
options.ResponseUnmarshaller = ReimportApiResponseUnmarshaller.Instance;
return Invoke<ReimportApiResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the ReimportApi operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the ReimportApi operation on AmazonApiGatewayV2Client.</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 EndReimportApi
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/ReimportApi">REST API Reference for ReimportApi Operation</seealso>
public virtual IAsyncResult BeginReimportApi(ReimportApiRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ReimportApiRequestMarshaller.Instance;
options.ResponseUnmarshaller = ReimportApiResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the ReimportApi operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginReimportApi.</param>
///
/// <returns>Returns a ReimportApiResult from ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/ReimportApi">REST API Reference for ReimportApi Operation</seealso>
public virtual ReimportApiResponse EndReimportApi(IAsyncResult asyncResult)
{
return EndInvoke<ReimportApiResponse>(asyncResult);
}
#endregion
#region ResetAuthorizersCache
/// <summary>
/// Resets all authorizer cache entries on a stage. Supported only for HTTP APIs.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ResetAuthorizersCache service method.</param>
///
/// <returns>The response from the ResetAuthorizersCache service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/ResetAuthorizersCache">REST API Reference for ResetAuthorizersCache Operation</seealso>
public virtual ResetAuthorizersCacheResponse ResetAuthorizersCache(ResetAuthorizersCacheRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ResetAuthorizersCacheRequestMarshaller.Instance;
options.ResponseUnmarshaller = ResetAuthorizersCacheResponseUnmarshaller.Instance;
return Invoke<ResetAuthorizersCacheResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the ResetAuthorizersCache operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the ResetAuthorizersCache operation on AmazonApiGatewayV2Client.</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 EndResetAuthorizersCache
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/ResetAuthorizersCache">REST API Reference for ResetAuthorizersCache Operation</seealso>
public virtual IAsyncResult BeginResetAuthorizersCache(ResetAuthorizersCacheRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ResetAuthorizersCacheRequestMarshaller.Instance;
options.ResponseUnmarshaller = ResetAuthorizersCacheResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the ResetAuthorizersCache operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginResetAuthorizersCache.</param>
///
/// <returns>Returns a ResetAuthorizersCacheResult from ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/ResetAuthorizersCache">REST API Reference for ResetAuthorizersCache Operation</seealso>
public virtual ResetAuthorizersCacheResponse EndResetAuthorizersCache(IAsyncResult asyncResult)
{
return EndInvoke<ResetAuthorizersCacheResponse>(asyncResult);
}
#endregion
#region TagResource
/// <summary>
/// Creates a new Tag resource to represent a tag.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/TagResource">REST API Reference for TagResource Operation</seealso>
public virtual TagResourceResponse TagResource(TagResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = TagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance;
return Invoke<TagResourceResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the TagResource operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the TagResource operation on AmazonApiGatewayV2Client.</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/apigatewayv2-2018-11-29/TagResource">REST API Reference for TagResource Operation</seealso>
public virtual IAsyncResult BeginTagResource(TagResourceRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = TagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, 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 ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/TagResource">REST API Reference for TagResource Operation</seealso>
public virtual TagResourceResponse EndTagResource(IAsyncResult asyncResult)
{
return EndInvoke<TagResourceResponse>(asyncResult);
}
#endregion
#region UntagResource
/// <summary>
/// Deletes a Tag.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UntagResource">REST API Reference for UntagResource Operation</seealso>
public virtual UntagResourceResponse UntagResource(UntagResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UntagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance;
return Invoke<UntagResourceResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the UntagResource operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the UntagResource operation on AmazonApiGatewayV2Client.</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/apigatewayv2-2018-11-29/UntagResource">REST API Reference for UntagResource Operation</seealso>
public virtual IAsyncResult BeginUntagResource(UntagResourceRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UntagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, 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 ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UntagResource">REST API Reference for UntagResource Operation</seealso>
public virtual UntagResourceResponse EndUntagResource(IAsyncResult asyncResult)
{
return EndInvoke<UntagResourceResponse>(asyncResult);
}
#endregion
#region UpdateApi
/// <summary>
/// Updates an Api resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateApi service method.</param>
///
/// <returns>The response from the UpdateApi service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateApi">REST API Reference for UpdateApi Operation</seealso>
public virtual UpdateApiResponse UpdateApi(UpdateApiRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateApiRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateApiResponseUnmarshaller.Instance;
return Invoke<UpdateApiResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the UpdateApi operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the UpdateApi operation on AmazonApiGatewayV2Client.</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 EndUpdateApi
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateApi">REST API Reference for UpdateApi Operation</seealso>
public virtual IAsyncResult BeginUpdateApi(UpdateApiRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateApiRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateApiResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the UpdateApi operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateApi.</param>
///
/// <returns>Returns a UpdateApiResult from ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateApi">REST API Reference for UpdateApi Operation</seealso>
public virtual UpdateApiResponse EndUpdateApi(IAsyncResult asyncResult)
{
return EndInvoke<UpdateApiResponse>(asyncResult);
}
#endregion
#region UpdateApiMapping
/// <summary>
/// The API mapping.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateApiMapping service method.</param>
///
/// <returns>The response from the UpdateApiMapping service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateApiMapping">REST API Reference for UpdateApiMapping Operation</seealso>
public virtual UpdateApiMappingResponse UpdateApiMapping(UpdateApiMappingRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateApiMappingRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateApiMappingResponseUnmarshaller.Instance;
return Invoke<UpdateApiMappingResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the UpdateApiMapping operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the UpdateApiMapping operation on AmazonApiGatewayV2Client.</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 EndUpdateApiMapping
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateApiMapping">REST API Reference for UpdateApiMapping Operation</seealso>
public virtual IAsyncResult BeginUpdateApiMapping(UpdateApiMappingRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateApiMappingRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateApiMappingResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the UpdateApiMapping operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateApiMapping.</param>
///
/// <returns>Returns a UpdateApiMappingResult from ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateApiMapping">REST API Reference for UpdateApiMapping Operation</seealso>
public virtual UpdateApiMappingResponse EndUpdateApiMapping(IAsyncResult asyncResult)
{
return EndInvoke<UpdateApiMappingResponse>(asyncResult);
}
#endregion
#region UpdateAuthorizer
/// <summary>
/// Updates an Authorizer.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateAuthorizer">REST API Reference for UpdateAuthorizer Operation</seealso>
public virtual UpdateAuthorizerResponse UpdateAuthorizer(UpdateAuthorizerRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateAuthorizerRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateAuthorizerResponseUnmarshaller.Instance;
return Invoke<UpdateAuthorizerResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the UpdateAuthorizer operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the UpdateAuthorizer operation on AmazonApiGatewayV2Client.</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/apigatewayv2-2018-11-29/UpdateAuthorizer">REST API Reference for UpdateAuthorizer Operation</seealso>
public virtual IAsyncResult BeginUpdateAuthorizer(UpdateAuthorizerRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateAuthorizerRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateAuthorizerResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, 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 ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateAuthorizer">REST API Reference for UpdateAuthorizer Operation</seealso>
public virtual UpdateAuthorizerResponse EndUpdateAuthorizer(IAsyncResult asyncResult)
{
return EndInvoke<UpdateAuthorizerResponse>(asyncResult);
}
#endregion
#region UpdateDeployment
/// <summary>
/// Updates a Deployment.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateDeployment">REST API Reference for UpdateDeployment Operation</seealso>
public virtual UpdateDeploymentResponse UpdateDeployment(UpdateDeploymentRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateDeploymentRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateDeploymentResponseUnmarshaller.Instance;
return Invoke<UpdateDeploymentResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the UpdateDeployment operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the UpdateDeployment operation on AmazonApiGatewayV2Client.</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/apigatewayv2-2018-11-29/UpdateDeployment">REST API Reference for UpdateDeployment Operation</seealso>
public virtual IAsyncResult BeginUpdateDeployment(UpdateDeploymentRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateDeploymentRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateDeploymentResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, 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 ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateDeployment">REST API Reference for UpdateDeployment Operation</seealso>
public virtual UpdateDeploymentResponse EndUpdateDeployment(IAsyncResult asyncResult)
{
return EndInvoke<UpdateDeploymentResponse>(asyncResult);
}
#endregion
#region UpdateDomainName
/// <summary>
/// Updates a domain name.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateDomainName">REST API Reference for UpdateDomainName Operation</seealso>
public virtual UpdateDomainNameResponse UpdateDomainName(UpdateDomainNameRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateDomainNameRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateDomainNameResponseUnmarshaller.Instance;
return Invoke<UpdateDomainNameResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the UpdateDomainName operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the UpdateDomainName operation on AmazonApiGatewayV2Client.</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/apigatewayv2-2018-11-29/UpdateDomainName">REST API Reference for UpdateDomainName Operation</seealso>
public virtual IAsyncResult BeginUpdateDomainName(UpdateDomainNameRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateDomainNameRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateDomainNameResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, 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 ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateDomainName">REST API Reference for UpdateDomainName Operation</seealso>
public virtual UpdateDomainNameResponse EndUpdateDomainName(IAsyncResult asyncResult)
{
return EndInvoke<UpdateDomainNameResponse>(asyncResult);
}
#endregion
#region UpdateIntegration
/// <summary>
/// Updates an 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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateIntegration">REST API Reference for UpdateIntegration Operation</seealso>
public virtual UpdateIntegrationResponse UpdateIntegration(UpdateIntegrationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateIntegrationRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateIntegrationResponseUnmarshaller.Instance;
return Invoke<UpdateIntegrationResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the UpdateIntegration operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the UpdateIntegration operation on AmazonApiGatewayV2Client.</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/apigatewayv2-2018-11-29/UpdateIntegration">REST API Reference for UpdateIntegration Operation</seealso>
public virtual IAsyncResult BeginUpdateIntegration(UpdateIntegrationRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateIntegrationRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateIntegrationResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, 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 ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateIntegration">REST API Reference for UpdateIntegration Operation</seealso>
public virtual UpdateIntegrationResponse EndUpdateIntegration(IAsyncResult asyncResult)
{
return EndInvoke<UpdateIntegrationResponse>(asyncResult);
}
#endregion
#region UpdateIntegrationResponse
/// <summary>
/// Updates an IntegrationResponses.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateIntegrationResponse">REST API Reference for UpdateIntegrationResponse Operation</seealso>
public virtual UpdateIntegrationResponseResponse UpdateIntegrationResponse(UpdateIntegrationResponseRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateIntegrationResponseRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateIntegrationResponseResponseUnmarshaller.Instance;
return Invoke<UpdateIntegrationResponseResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the UpdateIntegrationResponse operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the UpdateIntegrationResponse operation on AmazonApiGatewayV2Client.</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/apigatewayv2-2018-11-29/UpdateIntegrationResponse">REST API Reference for UpdateIntegrationResponse Operation</seealso>
public virtual IAsyncResult BeginUpdateIntegrationResponse(UpdateIntegrationResponseRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateIntegrationResponseRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateIntegrationResponseResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, 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 ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateIntegrationResponse">REST API Reference for UpdateIntegrationResponse Operation</seealso>
public virtual UpdateIntegrationResponseResponse EndUpdateIntegrationResponse(IAsyncResult asyncResult)
{
return EndInvoke<UpdateIntegrationResponseResponse>(asyncResult);
}
#endregion
#region UpdateModel
/// <summary>
/// Updates 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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateModel">REST API Reference for UpdateModel Operation</seealso>
public virtual UpdateModelResponse UpdateModel(UpdateModelRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateModelRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateModelResponseUnmarshaller.Instance;
return Invoke<UpdateModelResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the UpdateModel operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the UpdateModel operation on AmazonApiGatewayV2Client.</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/apigatewayv2-2018-11-29/UpdateModel">REST API Reference for UpdateModel Operation</seealso>
public virtual IAsyncResult BeginUpdateModel(UpdateModelRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateModelRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateModelResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, 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 ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateModel">REST API Reference for UpdateModel Operation</seealso>
public virtual UpdateModelResponse EndUpdateModel(IAsyncResult asyncResult)
{
return EndInvoke<UpdateModelResponse>(asyncResult);
}
#endregion
#region UpdateRoute
/// <summary>
/// Updates a Route.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateRoute service method.</param>
///
/// <returns>The response from the UpdateRoute service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateRoute">REST API Reference for UpdateRoute Operation</seealso>
public virtual UpdateRouteResponse UpdateRoute(UpdateRouteRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateRouteRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateRouteResponseUnmarshaller.Instance;
return Invoke<UpdateRouteResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the UpdateRoute operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the UpdateRoute operation on AmazonApiGatewayV2Client.</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 EndUpdateRoute
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateRoute">REST API Reference for UpdateRoute Operation</seealso>
public virtual IAsyncResult BeginUpdateRoute(UpdateRouteRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateRouteRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateRouteResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the UpdateRoute operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateRoute.</param>
///
/// <returns>Returns a UpdateRouteResult from ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateRoute">REST API Reference for UpdateRoute Operation</seealso>
public virtual UpdateRouteResponse EndUpdateRoute(IAsyncResult asyncResult)
{
return EndInvoke<UpdateRouteResponse>(asyncResult);
}
#endregion
#region UpdateRouteResponse
/// <summary>
/// Updates a RouteResponse.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateRouteResponse service method.</param>
///
/// <returns>The response from the UpdateRouteResponse service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateRouteResponse">REST API Reference for UpdateRouteResponse Operation</seealso>
public virtual UpdateRouteResponseResponse UpdateRouteResponse(UpdateRouteResponseRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateRouteResponseRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateRouteResponseResponseUnmarshaller.Instance;
return Invoke<UpdateRouteResponseResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the UpdateRouteResponse operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the UpdateRouteResponse operation on AmazonApiGatewayV2Client.</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 EndUpdateRouteResponse
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateRouteResponse">REST API Reference for UpdateRouteResponse Operation</seealso>
public virtual IAsyncResult BeginUpdateRouteResponse(UpdateRouteResponseRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateRouteResponseRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateRouteResponseResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the UpdateRouteResponse operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateRouteResponse.</param>
///
/// <returns>Returns a UpdateRouteResponseResult from ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateRouteResponse">REST API Reference for UpdateRouteResponse Operation</seealso>
public virtual UpdateRouteResponseResponse EndUpdateRouteResponse(IAsyncResult asyncResult)
{
return EndInvoke<UpdateRouteResponseResponse>(asyncResult);
}
#endregion
#region UpdateStage
/// <summary>
/// Updates a Stage.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateStage">REST API Reference for UpdateStage Operation</seealso>
public virtual UpdateStageResponse UpdateStage(UpdateStageRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateStageRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateStageResponseUnmarshaller.Instance;
return Invoke<UpdateStageResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the UpdateStage operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the UpdateStage operation on AmazonApiGatewayV2Client.</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/apigatewayv2-2018-11-29/UpdateStage">REST API Reference for UpdateStage Operation</seealso>
public virtual IAsyncResult BeginUpdateStage(UpdateStageRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateStageRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateStageResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, 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 ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateStage">REST API Reference for UpdateStage Operation</seealso>
public virtual UpdateStageResponse EndUpdateStage(IAsyncResult asyncResult)
{
return EndInvoke<UpdateStageResponse>(asyncResult);
}
#endregion
#region UpdateVpcLink
/// <summary>
/// Updates a VPC link.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateVpcLink">REST API Reference for UpdateVpcLink Operation</seealso>
public virtual UpdateVpcLinkResponse UpdateVpcLink(UpdateVpcLinkRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateVpcLinkRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateVpcLinkResponseUnmarshaller.Instance;
return Invoke<UpdateVpcLinkResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the UpdateVpcLink operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the UpdateVpcLink operation on AmazonApiGatewayV2Client.</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/apigatewayv2-2018-11-29/UpdateVpcLink">REST API Reference for UpdateVpcLink Operation</seealso>
public virtual IAsyncResult BeginUpdateVpcLink(UpdateVpcLinkRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateVpcLinkRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateVpcLinkResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, 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 ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateVpcLink">REST API Reference for UpdateVpcLink Operation</seealso>
public virtual UpdateVpcLinkResponse EndUpdateVpcLink(IAsyncResult asyncResult)
{
return EndInvoke<UpdateVpcLinkResponse>(asyncResult);
}
#endregion
}
} | 4,949 |
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 apigatewayv2-2018-11-29.normal.json service model.
*/
using System;
using System.Collections.Generic;
using Amazon.Runtime;
using Amazon.ApiGatewayV2.Model;
namespace Amazon.ApiGatewayV2
{
/// <summary>
/// Interface for accessing ApiGatewayV2
///
/// Amazon API Gateway V2
/// </summary>
public partial interface IAmazonApiGatewayV2 : IAmazonService, IDisposable
{
#region CreateApi
/// <summary>
/// Creates an Api resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateApi service method.</param>
///
/// <returns>The response from the CreateApi service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateApi">REST API Reference for CreateApi Operation</seealso>
CreateApiResponse CreateApi(CreateApiRequest request);
/// <summary>
/// Initiates the asynchronous execution of the CreateApi operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the CreateApi operation on AmazonApiGatewayV2Client.</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 EndCreateApi
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateApi">REST API Reference for CreateApi Operation</seealso>
IAsyncResult BeginCreateApi(CreateApiRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the CreateApi operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateApi.</param>
///
/// <returns>Returns a CreateApiResult from ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateApi">REST API Reference for CreateApi Operation</seealso>
CreateApiResponse EndCreateApi(IAsyncResult asyncResult);
#endregion
#region CreateApiMapping
/// <summary>
/// Creates an API mapping.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateApiMapping service method.</param>
///
/// <returns>The response from the CreateApiMapping service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateApiMapping">REST API Reference for CreateApiMapping Operation</seealso>
CreateApiMappingResponse CreateApiMapping(CreateApiMappingRequest request);
/// <summary>
/// Initiates the asynchronous execution of the CreateApiMapping operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the CreateApiMapping operation on AmazonApiGatewayV2Client.</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 EndCreateApiMapping
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateApiMapping">REST API Reference for CreateApiMapping Operation</seealso>
IAsyncResult BeginCreateApiMapping(CreateApiMappingRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the CreateApiMapping operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateApiMapping.</param>
///
/// <returns>Returns a CreateApiMappingResult from ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateApiMapping">REST API Reference for CreateApiMapping Operation</seealso>
CreateApiMappingResponse EndCreateApiMapping(IAsyncResult asyncResult);
#endregion
#region CreateAuthorizer
/// <summary>
/// Creates an Authorizer for an API.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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 AmazonApiGatewayV2Client.</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/apigatewayv2-2018-11-29/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 ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateAuthorizer">REST API Reference for CreateAuthorizer Operation</seealso>
CreateAuthorizerResponse EndCreateAuthorizer(IAsyncResult asyncResult);
#endregion
#region CreateDeployment
/// <summary>
/// Creates a Deployment for an API.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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 AmazonApiGatewayV2Client.</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/apigatewayv2-2018-11-29/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 ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateDeployment">REST API Reference for CreateDeployment Operation</seealso>
CreateDeploymentResponse EndCreateDeployment(IAsyncResult asyncResult);
#endregion
#region CreateDomainName
/// <summary>
/// Creates a 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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.AccessDeniedException">
///
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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 AmazonApiGatewayV2Client.</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/apigatewayv2-2018-11-29/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 ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateDomainName">REST API Reference for CreateDomainName Operation</seealso>
CreateDomainNameResponse EndCreateDomainName(IAsyncResult asyncResult);
#endregion
#region CreateIntegration
/// <summary>
/// Creates an Integration.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateIntegration service method.</param>
///
/// <returns>The response from the CreateIntegration service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateIntegration">REST API Reference for CreateIntegration Operation</seealso>
CreateIntegrationResponse CreateIntegration(CreateIntegrationRequest request);
/// <summary>
/// Initiates the asynchronous execution of the CreateIntegration operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the CreateIntegration operation on AmazonApiGatewayV2Client.</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 EndCreateIntegration
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateIntegration">REST API Reference for CreateIntegration Operation</seealso>
IAsyncResult BeginCreateIntegration(CreateIntegrationRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the CreateIntegration operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateIntegration.</param>
///
/// <returns>Returns a CreateIntegrationResult from ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateIntegration">REST API Reference for CreateIntegration Operation</seealso>
CreateIntegrationResponse EndCreateIntegration(IAsyncResult asyncResult);
#endregion
#region CreateIntegrationResponse
/// <summary>
/// Creates an IntegrationResponses.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateIntegrationResponse service method.</param>
///
/// <returns>The response from the CreateIntegrationResponse service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateIntegrationResponse">REST API Reference for CreateIntegrationResponse Operation</seealso>
CreateIntegrationResponseResponse CreateIntegrationResponse(CreateIntegrationResponseRequest request);
/// <summary>
/// Initiates the asynchronous execution of the CreateIntegrationResponse operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the CreateIntegrationResponse operation on AmazonApiGatewayV2Client.</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 EndCreateIntegrationResponse
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateIntegrationResponse">REST API Reference for CreateIntegrationResponse Operation</seealso>
IAsyncResult BeginCreateIntegrationResponse(CreateIntegrationResponseRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the CreateIntegrationResponse operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateIntegrationResponse.</param>
///
/// <returns>Returns a CreateIntegrationResponseResult from ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateIntegrationResponse">REST API Reference for CreateIntegrationResponse Operation</seealso>
CreateIntegrationResponseResponse EndCreateIntegrationResponse(IAsyncResult asyncResult);
#endregion
#region CreateModel
/// <summary>
/// Creates a Model for an API.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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 AmazonApiGatewayV2Client.</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/apigatewayv2-2018-11-29/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 ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateModel">REST API Reference for CreateModel Operation</seealso>
CreateModelResponse EndCreateModel(IAsyncResult asyncResult);
#endregion
#region CreateRoute
/// <summary>
/// Creates a Route for an API.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateRoute service method.</param>
///
/// <returns>The response from the CreateRoute service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateRoute">REST API Reference for CreateRoute Operation</seealso>
CreateRouteResponse CreateRoute(CreateRouteRequest request);
/// <summary>
/// Initiates the asynchronous execution of the CreateRoute operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the CreateRoute operation on AmazonApiGatewayV2Client.</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 EndCreateRoute
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateRoute">REST API Reference for CreateRoute Operation</seealso>
IAsyncResult BeginCreateRoute(CreateRouteRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the CreateRoute operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateRoute.</param>
///
/// <returns>Returns a CreateRouteResult from ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateRoute">REST API Reference for CreateRoute Operation</seealso>
CreateRouteResponse EndCreateRoute(IAsyncResult asyncResult);
#endregion
#region CreateRouteResponse
/// <summary>
/// Creates a RouteResponse for a Route.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateRouteResponse service method.</param>
///
/// <returns>The response from the CreateRouteResponse service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateRouteResponse">REST API Reference for CreateRouteResponse Operation</seealso>
CreateRouteResponseResponse CreateRouteResponse(CreateRouteResponseRequest request);
/// <summary>
/// Initiates the asynchronous execution of the CreateRouteResponse operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the CreateRouteResponse operation on AmazonApiGatewayV2Client.</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 EndCreateRouteResponse
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateRouteResponse">REST API Reference for CreateRouteResponse Operation</seealso>
IAsyncResult BeginCreateRouteResponse(CreateRouteResponseRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the CreateRouteResponse operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateRouteResponse.</param>
///
/// <returns>Returns a CreateRouteResponseResult from ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateRouteResponse">REST API Reference for CreateRouteResponse Operation</seealso>
CreateRouteResponseResponse EndCreateRouteResponse(IAsyncResult asyncResult);
#endregion
#region CreateStage
/// <summary>
/// Creates a Stage for an 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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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 AmazonApiGatewayV2Client.</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/apigatewayv2-2018-11-29/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 ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateStage">REST API Reference for CreateStage Operation</seealso>
CreateStageResponse EndCreateStage(IAsyncResult asyncResult);
#endregion
#region CreateVpcLink
/// <summary>
/// Creates a VPC link.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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 AmazonApiGatewayV2Client.</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/apigatewayv2-2018-11-29/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 ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateVpcLink">REST API Reference for CreateVpcLink Operation</seealso>
CreateVpcLinkResponse EndCreateVpcLink(IAsyncResult asyncResult);
#endregion
#region DeleteAccessLogSettings
/// <summary>
/// Deletes the AccessLogSettings for a Stage. To disable access logging for a Stage,
/// delete its AccessLogSettings.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteAccessLogSettings service method.</param>
///
/// <returns>The response from the DeleteAccessLogSettings service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteAccessLogSettings">REST API Reference for DeleteAccessLogSettings Operation</seealso>
DeleteAccessLogSettingsResponse DeleteAccessLogSettings(DeleteAccessLogSettingsRequest request);
/// <summary>
/// Initiates the asynchronous execution of the DeleteAccessLogSettings operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the DeleteAccessLogSettings operation on AmazonApiGatewayV2Client.</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 EndDeleteAccessLogSettings
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteAccessLogSettings">REST API Reference for DeleteAccessLogSettings Operation</seealso>
IAsyncResult BeginDeleteAccessLogSettings(DeleteAccessLogSettingsRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the DeleteAccessLogSettings operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteAccessLogSettings.</param>
///
/// <returns>Returns a DeleteAccessLogSettingsResult from ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteAccessLogSettings">REST API Reference for DeleteAccessLogSettings Operation</seealso>
DeleteAccessLogSettingsResponse EndDeleteAccessLogSettings(IAsyncResult asyncResult);
#endregion
#region DeleteApi
/// <summary>
/// Deletes an Api resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteApi service method.</param>
///
/// <returns>The response from the DeleteApi service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteApi">REST API Reference for DeleteApi Operation</seealso>
DeleteApiResponse DeleteApi(DeleteApiRequest request);
/// <summary>
/// Initiates the asynchronous execution of the DeleteApi operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the DeleteApi operation on AmazonApiGatewayV2Client.</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 EndDeleteApi
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteApi">REST API Reference for DeleteApi Operation</seealso>
IAsyncResult BeginDeleteApi(DeleteApiRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the DeleteApi operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteApi.</param>
///
/// <returns>Returns a DeleteApiResult from ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteApi">REST API Reference for DeleteApi Operation</seealso>
DeleteApiResponse EndDeleteApi(IAsyncResult asyncResult);
#endregion
#region DeleteApiMapping
/// <summary>
/// Deletes an API mapping.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteApiMapping service method.</param>
///
/// <returns>The response from the DeleteApiMapping service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteApiMapping">REST API Reference for DeleteApiMapping Operation</seealso>
DeleteApiMappingResponse DeleteApiMapping(DeleteApiMappingRequest request);
/// <summary>
/// Initiates the asynchronous execution of the DeleteApiMapping operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the DeleteApiMapping operation on AmazonApiGatewayV2Client.</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 EndDeleteApiMapping
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteApiMapping">REST API Reference for DeleteApiMapping Operation</seealso>
IAsyncResult BeginDeleteApiMapping(DeleteApiMappingRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the DeleteApiMapping operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteApiMapping.</param>
///
/// <returns>Returns a DeleteApiMappingResult from ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteApiMapping">REST API Reference for DeleteApiMapping Operation</seealso>
DeleteApiMappingResponse EndDeleteApiMapping(IAsyncResult asyncResult);
#endregion
#region DeleteAuthorizer
/// <summary>
/// Deletes an Authorizer.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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 AmazonApiGatewayV2Client.</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/apigatewayv2-2018-11-29/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 ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteAuthorizer">REST API Reference for DeleteAuthorizer Operation</seealso>
DeleteAuthorizerResponse EndDeleteAuthorizer(IAsyncResult asyncResult);
#endregion
#region DeleteCorsConfiguration
/// <summary>
/// Deletes a CORS configuration.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteCorsConfiguration service method.</param>
///
/// <returns>The response from the DeleteCorsConfiguration service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteCorsConfiguration">REST API Reference for DeleteCorsConfiguration Operation</seealso>
DeleteCorsConfigurationResponse DeleteCorsConfiguration(DeleteCorsConfigurationRequest request);
/// <summary>
/// Initiates the asynchronous execution of the DeleteCorsConfiguration operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the DeleteCorsConfiguration operation on AmazonApiGatewayV2Client.</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 EndDeleteCorsConfiguration
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteCorsConfiguration">REST API Reference for DeleteCorsConfiguration Operation</seealso>
IAsyncResult BeginDeleteCorsConfiguration(DeleteCorsConfigurationRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the DeleteCorsConfiguration operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteCorsConfiguration.</param>
///
/// <returns>Returns a DeleteCorsConfigurationResult from ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteCorsConfiguration">REST API Reference for DeleteCorsConfiguration Operation</seealso>
DeleteCorsConfigurationResponse EndDeleteCorsConfiguration(IAsyncResult asyncResult);
#endregion
#region DeleteDeployment
/// <summary>
/// Deletes a Deployment.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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 AmazonApiGatewayV2Client.</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/apigatewayv2-2018-11-29/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 ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteDeployment">REST API Reference for DeleteDeployment Operation</seealso>
DeleteDeploymentResponse EndDeleteDeployment(IAsyncResult asyncResult);
#endregion
#region DeleteDomainName
/// <summary>
/// Deletes a domain name.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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 AmazonApiGatewayV2Client.</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/apigatewayv2-2018-11-29/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 ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteDomainName">REST API Reference for DeleteDomainName Operation</seealso>
DeleteDomainNameResponse EndDeleteDomainName(IAsyncResult asyncResult);
#endregion
#region DeleteIntegration
/// <summary>
/// Deletes an 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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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 AmazonApiGatewayV2Client.</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/apigatewayv2-2018-11-29/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 ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteIntegration">REST API Reference for DeleteIntegration Operation</seealso>
DeleteIntegrationResponse EndDeleteIntegration(IAsyncResult asyncResult);
#endregion
#region DeleteIntegrationResponse
/// <summary>
/// Deletes an IntegrationResponses.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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 AmazonApiGatewayV2Client.</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/apigatewayv2-2018-11-29/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 ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteIntegrationResponse">REST API Reference for DeleteIntegrationResponse Operation</seealso>
DeleteIntegrationResponseResponse EndDeleteIntegrationResponse(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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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 AmazonApiGatewayV2Client.</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/apigatewayv2-2018-11-29/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 ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteModel">REST API Reference for DeleteModel Operation</seealso>
DeleteModelResponse EndDeleteModel(IAsyncResult asyncResult);
#endregion
#region DeleteRoute
/// <summary>
/// Deletes a Route.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteRoute service method.</param>
///
/// <returns>The response from the DeleteRoute service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteRoute">REST API Reference for DeleteRoute Operation</seealso>
DeleteRouteResponse DeleteRoute(DeleteRouteRequest request);
/// <summary>
/// Initiates the asynchronous execution of the DeleteRoute operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the DeleteRoute operation on AmazonApiGatewayV2Client.</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 EndDeleteRoute
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteRoute">REST API Reference for DeleteRoute Operation</seealso>
IAsyncResult BeginDeleteRoute(DeleteRouteRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the DeleteRoute operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteRoute.</param>
///
/// <returns>Returns a DeleteRouteResult from ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteRoute">REST API Reference for DeleteRoute Operation</seealso>
DeleteRouteResponse EndDeleteRoute(IAsyncResult asyncResult);
#endregion
#region DeleteRouteRequestParameter
/// <summary>
/// Deletes a route request parameter.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteRouteRequestParameter service method.</param>
///
/// <returns>The response from the DeleteRouteRequestParameter service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteRouteRequestParameter">REST API Reference for DeleteRouteRequestParameter Operation</seealso>
DeleteRouteRequestParameterResponse DeleteRouteRequestParameter(DeleteRouteRequestParameterRequest request);
/// <summary>
/// Initiates the asynchronous execution of the DeleteRouteRequestParameter operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the DeleteRouteRequestParameter operation on AmazonApiGatewayV2Client.</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 EndDeleteRouteRequestParameter
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteRouteRequestParameter">REST API Reference for DeleteRouteRequestParameter Operation</seealso>
IAsyncResult BeginDeleteRouteRequestParameter(DeleteRouteRequestParameterRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the DeleteRouteRequestParameter operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteRouteRequestParameter.</param>
///
/// <returns>Returns a DeleteRouteRequestParameterResult from ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteRouteRequestParameter">REST API Reference for DeleteRouteRequestParameter Operation</seealso>
DeleteRouteRequestParameterResponse EndDeleteRouteRequestParameter(IAsyncResult asyncResult);
#endregion
#region DeleteRouteResponse
/// <summary>
/// Deletes a RouteResponse.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteRouteResponse service method.</param>
///
/// <returns>The response from the DeleteRouteResponse service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteRouteResponse">REST API Reference for DeleteRouteResponse Operation</seealso>
DeleteRouteResponseResponse DeleteRouteResponse(DeleteRouteResponseRequest request);
/// <summary>
/// Initiates the asynchronous execution of the DeleteRouteResponse operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the DeleteRouteResponse operation on AmazonApiGatewayV2Client.</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 EndDeleteRouteResponse
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteRouteResponse">REST API Reference for DeleteRouteResponse Operation</seealso>
IAsyncResult BeginDeleteRouteResponse(DeleteRouteResponseRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the DeleteRouteResponse operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteRouteResponse.</param>
///
/// <returns>Returns a DeleteRouteResponseResult from ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteRouteResponse">REST API Reference for DeleteRouteResponse Operation</seealso>
DeleteRouteResponseResponse EndDeleteRouteResponse(IAsyncResult asyncResult);
#endregion
#region DeleteRouteSettings
/// <summary>
/// Deletes the RouteSettings for a stage.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteRouteSettings service method.</param>
///
/// <returns>The response from the DeleteRouteSettings service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteRouteSettings">REST API Reference for DeleteRouteSettings Operation</seealso>
DeleteRouteSettingsResponse DeleteRouteSettings(DeleteRouteSettingsRequest request);
/// <summary>
/// Initiates the asynchronous execution of the DeleteRouteSettings operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the DeleteRouteSettings operation on AmazonApiGatewayV2Client.</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 EndDeleteRouteSettings
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteRouteSettings">REST API Reference for DeleteRouteSettings Operation</seealso>
IAsyncResult BeginDeleteRouteSettings(DeleteRouteSettingsRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the DeleteRouteSettings operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteRouteSettings.</param>
///
/// <returns>Returns a DeleteRouteSettingsResult from ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteRouteSettings">REST API Reference for DeleteRouteSettings Operation</seealso>
DeleteRouteSettingsResponse EndDeleteRouteSettings(IAsyncResult asyncResult);
#endregion
#region DeleteStage
/// <summary>
/// Deletes a Stage.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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 AmazonApiGatewayV2Client.</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/apigatewayv2-2018-11-29/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 ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteStage">REST API Reference for DeleteStage Operation</seealso>
DeleteStageResponse EndDeleteStage(IAsyncResult asyncResult);
#endregion
#region DeleteVpcLink
/// <summary>
/// Deletes a VPC link.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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 AmazonApiGatewayV2Client.</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/apigatewayv2-2018-11-29/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 ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteVpcLink">REST API Reference for DeleteVpcLink Operation</seealso>
DeleteVpcLinkResponse EndDeleteVpcLink(IAsyncResult asyncResult);
#endregion
#region ExportApi
/// <summary>
///
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ExportApi service method.</param>
///
/// <returns>The response from the ExportApi service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/ExportApi">REST API Reference for ExportApi Operation</seealso>
ExportApiResponse ExportApi(ExportApiRequest request);
/// <summary>
/// Initiates the asynchronous execution of the ExportApi operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the ExportApi operation on AmazonApiGatewayV2Client.</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 EndExportApi
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/ExportApi">REST API Reference for ExportApi Operation</seealso>
IAsyncResult BeginExportApi(ExportApiRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the ExportApi operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginExportApi.</param>
///
/// <returns>Returns a ExportApiResult from ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/ExportApi">REST API Reference for ExportApi Operation</seealso>
ExportApiResponse EndExportApi(IAsyncResult asyncResult);
#endregion
#region GetApi
/// <summary>
/// Gets an Api resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetApi service method.</param>
///
/// <returns>The response from the GetApi service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetApi">REST API Reference for GetApi Operation</seealso>
GetApiResponse GetApi(GetApiRequest request);
/// <summary>
/// Initiates the asynchronous execution of the GetApi operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetApi operation on AmazonApiGatewayV2Client.</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 EndGetApi
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetApi">REST API Reference for GetApi Operation</seealso>
IAsyncResult BeginGetApi(GetApiRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the GetApi operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetApi.</param>
///
/// <returns>Returns a GetApiResult from ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetApi">REST API Reference for GetApi Operation</seealso>
GetApiResponse EndGetApi(IAsyncResult asyncResult);
#endregion
#region GetApiMapping
/// <summary>
/// Gets an API mapping.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetApiMapping service method.</param>
///
/// <returns>The response from the GetApiMapping service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetApiMapping">REST API Reference for GetApiMapping Operation</seealso>
GetApiMappingResponse GetApiMapping(GetApiMappingRequest request);
/// <summary>
/// Initiates the asynchronous execution of the GetApiMapping operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetApiMapping operation on AmazonApiGatewayV2Client.</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 EndGetApiMapping
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetApiMapping">REST API Reference for GetApiMapping Operation</seealso>
IAsyncResult BeginGetApiMapping(GetApiMappingRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the GetApiMapping operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetApiMapping.</param>
///
/// <returns>Returns a GetApiMappingResult from ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetApiMapping">REST API Reference for GetApiMapping Operation</seealso>
GetApiMappingResponse EndGetApiMapping(IAsyncResult asyncResult);
#endregion
#region GetApiMappings
/// <summary>
/// Gets API mappings.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetApiMappings service method.</param>
///
/// <returns>The response from the GetApiMappings service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetApiMappings">REST API Reference for GetApiMappings Operation</seealso>
GetApiMappingsResponse GetApiMappings(GetApiMappingsRequest request);
/// <summary>
/// Initiates the asynchronous execution of the GetApiMappings operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetApiMappings operation on AmazonApiGatewayV2Client.</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 EndGetApiMappings
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetApiMappings">REST API Reference for GetApiMappings Operation</seealso>
IAsyncResult BeginGetApiMappings(GetApiMappingsRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the GetApiMappings operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetApiMappings.</param>
///
/// <returns>Returns a GetApiMappingsResult from ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetApiMappings">REST API Reference for GetApiMappings Operation</seealso>
GetApiMappingsResponse EndGetApiMappings(IAsyncResult asyncResult);
#endregion
#region GetApis
/// <summary>
/// Gets a collection of Api resources.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetApis service method.</param>
///
/// <returns>The response from the GetApis service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetApis">REST API Reference for GetApis Operation</seealso>
GetApisResponse GetApis(GetApisRequest request);
/// <summary>
/// Initiates the asynchronous execution of the GetApis operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetApis operation on AmazonApiGatewayV2Client.</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 EndGetApis
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetApis">REST API Reference for GetApis Operation</seealso>
IAsyncResult BeginGetApis(GetApisRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the GetApis operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetApis.</param>
///
/// <returns>Returns a GetApisResult from ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetApis">REST API Reference for GetApis Operation</seealso>
GetApisResponse EndGetApis(IAsyncResult asyncResult);
#endregion
#region GetAuthorizer
/// <summary>
/// Gets an Authorizer.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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 AmazonApiGatewayV2Client.</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/apigatewayv2-2018-11-29/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 ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetAuthorizer">REST API Reference for GetAuthorizer Operation</seealso>
GetAuthorizerResponse EndGetAuthorizer(IAsyncResult asyncResult);
#endregion
#region GetAuthorizers
/// <summary>
/// Gets the Authorizers for an API.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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 AmazonApiGatewayV2Client.</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/apigatewayv2-2018-11-29/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 ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetAuthorizers">REST API Reference for GetAuthorizers Operation</seealso>
GetAuthorizersResponse EndGetAuthorizers(IAsyncResult asyncResult);
#endregion
#region GetDeployment
/// <summary>
/// Gets a Deployment.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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 AmazonApiGatewayV2Client.</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/apigatewayv2-2018-11-29/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 ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetDeployment">REST API Reference for GetDeployment Operation</seealso>
GetDeploymentResponse EndGetDeployment(IAsyncResult asyncResult);
#endregion
#region GetDeployments
/// <summary>
/// Gets the Deployments for an API.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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 AmazonApiGatewayV2Client.</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/apigatewayv2-2018-11-29/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 ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetDeployments">REST API Reference for GetDeployments Operation</seealso>
GetDeploymentsResponse EndGetDeployments(IAsyncResult asyncResult);
#endregion
#region GetDomainName
/// <summary>
/// Gets a domain name.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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 AmazonApiGatewayV2Client.</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/apigatewayv2-2018-11-29/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 ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetDomainName">REST API Reference for GetDomainName Operation</seealso>
GetDomainNameResponse EndGetDomainName(IAsyncResult asyncResult);
#endregion
#region GetDomainNames
/// <summary>
/// Gets the domain names for an AWS account.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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 AmazonApiGatewayV2Client.</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/apigatewayv2-2018-11-29/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 ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetDomainNames">REST API Reference for GetDomainNames Operation</seealso>
GetDomainNamesResponse EndGetDomainNames(IAsyncResult asyncResult);
#endregion
#region GetIntegration
/// <summary>
/// Gets an Integration.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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 AmazonApiGatewayV2Client.</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/apigatewayv2-2018-11-29/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 ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetIntegration">REST API Reference for GetIntegration Operation</seealso>
GetIntegrationResponse EndGetIntegration(IAsyncResult asyncResult);
#endregion
#region GetIntegrationResponse
/// <summary>
/// Gets an IntegrationResponses.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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 AmazonApiGatewayV2Client.</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/apigatewayv2-2018-11-29/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 ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetIntegrationResponse">REST API Reference for GetIntegrationResponse Operation</seealso>
GetIntegrationResponseResponse EndGetIntegrationResponse(IAsyncResult asyncResult);
#endregion
#region GetIntegrationResponses
/// <summary>
/// Gets the IntegrationResponses for an Integration.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetIntegrationResponses service method.</param>
///
/// <returns>The response from the GetIntegrationResponses service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetIntegrationResponses">REST API Reference for GetIntegrationResponses Operation</seealso>
GetIntegrationResponsesResponse GetIntegrationResponses(GetIntegrationResponsesRequest request);
/// <summary>
/// Initiates the asynchronous execution of the GetIntegrationResponses operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetIntegrationResponses operation on AmazonApiGatewayV2Client.</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 EndGetIntegrationResponses
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetIntegrationResponses">REST API Reference for GetIntegrationResponses Operation</seealso>
IAsyncResult BeginGetIntegrationResponses(GetIntegrationResponsesRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the GetIntegrationResponses operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetIntegrationResponses.</param>
///
/// <returns>Returns a GetIntegrationResponsesResult from ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetIntegrationResponses">REST API Reference for GetIntegrationResponses Operation</seealso>
GetIntegrationResponsesResponse EndGetIntegrationResponses(IAsyncResult asyncResult);
#endregion
#region GetIntegrations
/// <summary>
/// Gets the Integrations for an API.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetIntegrations service method.</param>
///
/// <returns>The response from the GetIntegrations service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetIntegrations">REST API Reference for GetIntegrations Operation</seealso>
GetIntegrationsResponse GetIntegrations(GetIntegrationsRequest request);
/// <summary>
/// Initiates the asynchronous execution of the GetIntegrations operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetIntegrations operation on AmazonApiGatewayV2Client.</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 EndGetIntegrations
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetIntegrations">REST API Reference for GetIntegrations Operation</seealso>
IAsyncResult BeginGetIntegrations(GetIntegrationsRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the GetIntegrations operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetIntegrations.</param>
///
/// <returns>Returns a GetIntegrationsResult from ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetIntegrations">REST API Reference for GetIntegrations Operation</seealso>
GetIntegrationsResponse EndGetIntegrations(IAsyncResult asyncResult);
#endregion
#region GetModel
/// <summary>
/// Gets a Model.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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 AmazonApiGatewayV2Client.</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/apigatewayv2-2018-11-29/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 ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetModel">REST API Reference for GetModel Operation</seealso>
GetModelResponse EndGetModel(IAsyncResult asyncResult);
#endregion
#region GetModels
/// <summary>
/// Gets the Models for an API.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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 AmazonApiGatewayV2Client.</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/apigatewayv2-2018-11-29/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 ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetModels">REST API Reference for GetModels Operation</seealso>
GetModelsResponse EndGetModels(IAsyncResult asyncResult);
#endregion
#region GetModelTemplate
/// <summary>
/// Gets a model template.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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 AmazonApiGatewayV2Client.</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/apigatewayv2-2018-11-29/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 ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetModelTemplate">REST API Reference for GetModelTemplate Operation</seealso>
GetModelTemplateResponse EndGetModelTemplate(IAsyncResult asyncResult);
#endregion
#region GetRoute
/// <summary>
/// Gets a Route.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetRoute service method.</param>
///
/// <returns>The response from the GetRoute service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetRoute">REST API Reference for GetRoute Operation</seealso>
GetRouteResponse GetRoute(GetRouteRequest request);
/// <summary>
/// Initiates the asynchronous execution of the GetRoute operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetRoute operation on AmazonApiGatewayV2Client.</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 EndGetRoute
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetRoute">REST API Reference for GetRoute Operation</seealso>
IAsyncResult BeginGetRoute(GetRouteRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the GetRoute operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetRoute.</param>
///
/// <returns>Returns a GetRouteResult from ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetRoute">REST API Reference for GetRoute Operation</seealso>
GetRouteResponse EndGetRoute(IAsyncResult asyncResult);
#endregion
#region GetRouteResponse
/// <summary>
/// Gets a RouteResponse.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetRouteResponse service method.</param>
///
/// <returns>The response from the GetRouteResponse service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetRouteResponse">REST API Reference for GetRouteResponse Operation</seealso>
GetRouteResponseResponse GetRouteResponse(GetRouteResponseRequest request);
/// <summary>
/// Initiates the asynchronous execution of the GetRouteResponse operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetRouteResponse operation on AmazonApiGatewayV2Client.</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 EndGetRouteResponse
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetRouteResponse">REST API Reference for GetRouteResponse Operation</seealso>
IAsyncResult BeginGetRouteResponse(GetRouteResponseRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the GetRouteResponse operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetRouteResponse.</param>
///
/// <returns>Returns a GetRouteResponseResult from ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetRouteResponse">REST API Reference for GetRouteResponse Operation</seealso>
GetRouteResponseResponse EndGetRouteResponse(IAsyncResult asyncResult);
#endregion
#region GetRouteResponses
/// <summary>
/// Gets the RouteResponses for a Route.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetRouteResponses service method.</param>
///
/// <returns>The response from the GetRouteResponses service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetRouteResponses">REST API Reference for GetRouteResponses Operation</seealso>
GetRouteResponsesResponse GetRouteResponses(GetRouteResponsesRequest request);
/// <summary>
/// Initiates the asynchronous execution of the GetRouteResponses operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetRouteResponses operation on AmazonApiGatewayV2Client.</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 EndGetRouteResponses
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetRouteResponses">REST API Reference for GetRouteResponses Operation</seealso>
IAsyncResult BeginGetRouteResponses(GetRouteResponsesRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the GetRouteResponses operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetRouteResponses.</param>
///
/// <returns>Returns a GetRouteResponsesResult from ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetRouteResponses">REST API Reference for GetRouteResponses Operation</seealso>
GetRouteResponsesResponse EndGetRouteResponses(IAsyncResult asyncResult);
#endregion
#region GetRoutes
/// <summary>
/// Gets the Routes for an API.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetRoutes service method.</param>
///
/// <returns>The response from the GetRoutes service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetRoutes">REST API Reference for GetRoutes Operation</seealso>
GetRoutesResponse GetRoutes(GetRoutesRequest request);
/// <summary>
/// Initiates the asynchronous execution of the GetRoutes operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetRoutes operation on AmazonApiGatewayV2Client.</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 EndGetRoutes
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetRoutes">REST API Reference for GetRoutes Operation</seealso>
IAsyncResult BeginGetRoutes(GetRoutesRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the GetRoutes operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetRoutes.</param>
///
/// <returns>Returns a GetRoutesResult from ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetRoutes">REST API Reference for GetRoutes Operation</seealso>
GetRoutesResponse EndGetRoutes(IAsyncResult asyncResult);
#endregion
#region GetStage
/// <summary>
/// Gets a Stage.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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 AmazonApiGatewayV2Client.</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/apigatewayv2-2018-11-29/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 ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetStage">REST API Reference for GetStage Operation</seealso>
GetStageResponse EndGetStage(IAsyncResult asyncResult);
#endregion
#region GetStages
/// <summary>
/// Gets the Stages for an API.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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 AmazonApiGatewayV2Client.</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/apigatewayv2-2018-11-29/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 ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetStages">REST API Reference for GetStages Operation</seealso>
GetStagesResponse EndGetStages(IAsyncResult asyncResult);
#endregion
#region GetTags
/// <summary>
/// Gets a collection of Tag resources.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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 AmazonApiGatewayV2Client.</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/apigatewayv2-2018-11-29/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 ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetTags">REST API Reference for GetTags Operation</seealso>
GetTagsResponse EndGetTags(IAsyncResult asyncResult);
#endregion
#region GetVpcLink
/// <summary>
/// Gets a VPC link.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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 AmazonApiGatewayV2Client.</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/apigatewayv2-2018-11-29/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 ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetVpcLink">REST API Reference for GetVpcLink Operation</seealso>
GetVpcLinkResponse EndGetVpcLink(IAsyncResult asyncResult);
#endregion
#region GetVpcLinks
/// <summary>
/// Gets a collection of VPC links.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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 AmazonApiGatewayV2Client.</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/apigatewayv2-2018-11-29/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 ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetVpcLinks">REST API Reference for GetVpcLinks Operation</seealso>
GetVpcLinksResponse EndGetVpcLinks(IAsyncResult asyncResult);
#endregion
#region ImportApi
/// <summary>
/// Imports an API.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ImportApi service method.</param>
///
/// <returns>The response from the ImportApi service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/ImportApi">REST API Reference for ImportApi Operation</seealso>
ImportApiResponse ImportApi(ImportApiRequest request);
/// <summary>
/// Initiates the asynchronous execution of the ImportApi operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the ImportApi operation on AmazonApiGatewayV2Client.</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 EndImportApi
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/ImportApi">REST API Reference for ImportApi Operation</seealso>
IAsyncResult BeginImportApi(ImportApiRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the ImportApi operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginImportApi.</param>
///
/// <returns>Returns a ImportApiResult from ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/ImportApi">REST API Reference for ImportApi Operation</seealso>
ImportApiResponse EndImportApi(IAsyncResult asyncResult);
#endregion
#region ReimportApi
/// <summary>
/// Puts an Api resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ReimportApi service method.</param>
///
/// <returns>The response from the ReimportApi service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/ReimportApi">REST API Reference for ReimportApi Operation</seealso>
ReimportApiResponse ReimportApi(ReimportApiRequest request);
/// <summary>
/// Initiates the asynchronous execution of the ReimportApi operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the ReimportApi operation on AmazonApiGatewayV2Client.</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 EndReimportApi
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/ReimportApi">REST API Reference for ReimportApi Operation</seealso>
IAsyncResult BeginReimportApi(ReimportApiRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the ReimportApi operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginReimportApi.</param>
///
/// <returns>Returns a ReimportApiResult from ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/ReimportApi">REST API Reference for ReimportApi Operation</seealso>
ReimportApiResponse EndReimportApi(IAsyncResult asyncResult);
#endregion
#region ResetAuthorizersCache
/// <summary>
/// Resets all authorizer cache entries on a stage. Supported only for HTTP APIs.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ResetAuthorizersCache service method.</param>
///
/// <returns>The response from the ResetAuthorizersCache service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/ResetAuthorizersCache">REST API Reference for ResetAuthorizersCache Operation</seealso>
ResetAuthorizersCacheResponse ResetAuthorizersCache(ResetAuthorizersCacheRequest request);
/// <summary>
/// Initiates the asynchronous execution of the ResetAuthorizersCache operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the ResetAuthorizersCache operation on AmazonApiGatewayV2Client.</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 EndResetAuthorizersCache
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/ResetAuthorizersCache">REST API Reference for ResetAuthorizersCache Operation</seealso>
IAsyncResult BeginResetAuthorizersCache(ResetAuthorizersCacheRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the ResetAuthorizersCache operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginResetAuthorizersCache.</param>
///
/// <returns>Returns a ResetAuthorizersCacheResult from ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/ResetAuthorizersCache">REST API Reference for ResetAuthorizersCache Operation</seealso>
ResetAuthorizersCacheResponse EndResetAuthorizersCache(IAsyncResult asyncResult);
#endregion
#region TagResource
/// <summary>
/// Creates a new Tag resource to represent a tag.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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 AmazonApiGatewayV2Client.</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/apigatewayv2-2018-11-29/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 ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/TagResource">REST API Reference for TagResource Operation</seealso>
TagResourceResponse EndTagResource(IAsyncResult asyncResult);
#endregion
#region UntagResource
/// <summary>
/// Deletes a Tag.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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 AmazonApiGatewayV2Client.</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/apigatewayv2-2018-11-29/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 ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UntagResource">REST API Reference for UntagResource Operation</seealso>
UntagResourceResponse EndUntagResource(IAsyncResult asyncResult);
#endregion
#region UpdateApi
/// <summary>
/// Updates an Api resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateApi service method.</param>
///
/// <returns>The response from the UpdateApi service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateApi">REST API Reference for UpdateApi Operation</seealso>
UpdateApiResponse UpdateApi(UpdateApiRequest request);
/// <summary>
/// Initiates the asynchronous execution of the UpdateApi operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the UpdateApi operation on AmazonApiGatewayV2Client.</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 EndUpdateApi
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateApi">REST API Reference for UpdateApi Operation</seealso>
IAsyncResult BeginUpdateApi(UpdateApiRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the UpdateApi operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateApi.</param>
///
/// <returns>Returns a UpdateApiResult from ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateApi">REST API Reference for UpdateApi Operation</seealso>
UpdateApiResponse EndUpdateApi(IAsyncResult asyncResult);
#endregion
#region UpdateApiMapping
/// <summary>
/// The API mapping.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateApiMapping service method.</param>
///
/// <returns>The response from the UpdateApiMapping service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateApiMapping">REST API Reference for UpdateApiMapping Operation</seealso>
UpdateApiMappingResponse UpdateApiMapping(UpdateApiMappingRequest request);
/// <summary>
/// Initiates the asynchronous execution of the UpdateApiMapping operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the UpdateApiMapping operation on AmazonApiGatewayV2Client.</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 EndUpdateApiMapping
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateApiMapping">REST API Reference for UpdateApiMapping Operation</seealso>
IAsyncResult BeginUpdateApiMapping(UpdateApiMappingRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the UpdateApiMapping operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateApiMapping.</param>
///
/// <returns>Returns a UpdateApiMappingResult from ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateApiMapping">REST API Reference for UpdateApiMapping Operation</seealso>
UpdateApiMappingResponse EndUpdateApiMapping(IAsyncResult asyncResult);
#endregion
#region UpdateAuthorizer
/// <summary>
/// Updates an Authorizer.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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 AmazonApiGatewayV2Client.</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/apigatewayv2-2018-11-29/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 ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateAuthorizer">REST API Reference for UpdateAuthorizer Operation</seealso>
UpdateAuthorizerResponse EndUpdateAuthorizer(IAsyncResult asyncResult);
#endregion
#region UpdateDeployment
/// <summary>
/// Updates a Deployment.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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 AmazonApiGatewayV2Client.</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/apigatewayv2-2018-11-29/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 ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateDeployment">REST API Reference for UpdateDeployment Operation</seealso>
UpdateDeploymentResponse EndUpdateDeployment(IAsyncResult asyncResult);
#endregion
#region UpdateDomainName
/// <summary>
/// Updates a domain name.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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 AmazonApiGatewayV2Client.</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/apigatewayv2-2018-11-29/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 ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateDomainName">REST API Reference for UpdateDomainName Operation</seealso>
UpdateDomainNameResponse EndUpdateDomainName(IAsyncResult asyncResult);
#endregion
#region UpdateIntegration
/// <summary>
/// Updates an 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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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 AmazonApiGatewayV2Client.</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/apigatewayv2-2018-11-29/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 ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateIntegration">REST API Reference for UpdateIntegration Operation</seealso>
UpdateIntegrationResponse EndUpdateIntegration(IAsyncResult asyncResult);
#endregion
#region UpdateIntegrationResponse
/// <summary>
/// Updates an IntegrationResponses.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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 AmazonApiGatewayV2Client.</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/apigatewayv2-2018-11-29/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 ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateIntegrationResponse">REST API Reference for UpdateIntegrationResponse Operation</seealso>
UpdateIntegrationResponseResponse EndUpdateIntegrationResponse(IAsyncResult asyncResult);
#endregion
#region UpdateModel
/// <summary>
/// Updates 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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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 AmazonApiGatewayV2Client.</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/apigatewayv2-2018-11-29/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 ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateModel">REST API Reference for UpdateModel Operation</seealso>
UpdateModelResponse EndUpdateModel(IAsyncResult asyncResult);
#endregion
#region UpdateRoute
/// <summary>
/// Updates a Route.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateRoute service method.</param>
///
/// <returns>The response from the UpdateRoute service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateRoute">REST API Reference for UpdateRoute Operation</seealso>
UpdateRouteResponse UpdateRoute(UpdateRouteRequest request);
/// <summary>
/// Initiates the asynchronous execution of the UpdateRoute operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the UpdateRoute operation on AmazonApiGatewayV2Client.</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 EndUpdateRoute
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateRoute">REST API Reference for UpdateRoute Operation</seealso>
IAsyncResult BeginUpdateRoute(UpdateRouteRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the UpdateRoute operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateRoute.</param>
///
/// <returns>Returns a UpdateRouteResult from ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateRoute">REST API Reference for UpdateRoute Operation</seealso>
UpdateRouteResponse EndUpdateRoute(IAsyncResult asyncResult);
#endregion
#region UpdateRouteResponse
/// <summary>
/// Updates a RouteResponse.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateRouteResponse service method.</param>
///
/// <returns>The response from the UpdateRouteResponse service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateRouteResponse">REST API Reference for UpdateRouteResponse Operation</seealso>
UpdateRouteResponseResponse UpdateRouteResponse(UpdateRouteResponseRequest request);
/// <summary>
/// Initiates the asynchronous execution of the UpdateRouteResponse operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the UpdateRouteResponse operation on AmazonApiGatewayV2Client.</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 EndUpdateRouteResponse
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateRouteResponse">REST API Reference for UpdateRouteResponse Operation</seealso>
IAsyncResult BeginUpdateRouteResponse(UpdateRouteResponseRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the UpdateRouteResponse operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateRouteResponse.</param>
///
/// <returns>Returns a UpdateRouteResponseResult from ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateRouteResponse">REST API Reference for UpdateRouteResponse Operation</seealso>
UpdateRouteResponseResponse EndUpdateRouteResponse(IAsyncResult asyncResult);
#endregion
#region UpdateStage
/// <summary>
/// Updates a Stage.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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 AmazonApiGatewayV2Client.</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/apigatewayv2-2018-11-29/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 ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateStage">REST API Reference for UpdateStage Operation</seealso>
UpdateStageResponse EndUpdateStage(IAsyncResult asyncResult);
#endregion
#region UpdateVpcLink
/// <summary>
/// Updates a VPC link.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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 AmazonApiGatewayV2Client.</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/apigatewayv2-2018-11-29/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 ApiGatewayV2.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateVpcLink">REST API Reference for UpdateVpcLink Operation</seealso>
UpdateVpcLinkResponse EndUpdateVpcLink(IAsyncResult asyncResult);
#endregion
}
} | 3,733 |
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 apigatewayv2-2018-11-29.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.ApiGatewayV2.Model;
using Amazon.ApiGatewayV2.Model.Internal.MarshallTransformations;
using Amazon.ApiGatewayV2.Internal;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Auth;
using Amazon.Runtime.Internal.Transform;
namespace Amazon.ApiGatewayV2
{
/// <summary>
/// Implementation for accessing ApiGatewayV2
///
/// Amazon API Gateway V2
/// </summary>
public partial class AmazonApiGatewayV2Client : AmazonServiceClient, IAmazonApiGatewayV2
{
private static IServiceMetadata serviceMetadata = new AmazonApiGatewayV2Metadata();
#region Constructors
/// <summary>
/// Constructs AmazonApiGatewayV2Client 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 AmazonApiGatewayV2Client()
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonApiGatewayV2Config()) { }
/// <summary>
/// Constructs AmazonApiGatewayV2Client 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 AmazonApiGatewayV2Client(RegionEndpoint region)
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonApiGatewayV2Config{RegionEndpoint = region}) { }
/// <summary>
/// Constructs AmazonApiGatewayV2Client 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 AmazonApiGatewayV2Client Configuration Object</param>
public AmazonApiGatewayV2Client(AmazonApiGatewayV2Config config)
: base(FallbackCredentialsFactory.GetCredentials(), config) { }
/// <summary>
/// Constructs AmazonApiGatewayV2Client with AWS Credentials
/// </summary>
/// <param name="credentials">AWS Credentials</param>
public AmazonApiGatewayV2Client(AWSCredentials credentials)
: this(credentials, new AmazonApiGatewayV2Config())
{
}
/// <summary>
/// Constructs AmazonApiGatewayV2Client with AWS Credentials
/// </summary>
/// <param name="credentials">AWS Credentials</param>
/// <param name="region">The region to connect.</param>
public AmazonApiGatewayV2Client(AWSCredentials credentials, RegionEndpoint region)
: this(credentials, new AmazonApiGatewayV2Config{RegionEndpoint = region})
{
}
/// <summary>
/// Constructs AmazonApiGatewayV2Client with AWS Credentials and an
/// AmazonApiGatewayV2Client Configuration object.
/// </summary>
/// <param name="credentials">AWS Credentials</param>
/// <param name="clientConfig">The AmazonApiGatewayV2Client Configuration Object</param>
public AmazonApiGatewayV2Client(AWSCredentials credentials, AmazonApiGatewayV2Config clientConfig)
: base(credentials, clientConfig)
{
}
/// <summary>
/// Constructs AmazonApiGatewayV2Client 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 AmazonApiGatewayV2Client(string awsAccessKeyId, string awsSecretAccessKey)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonApiGatewayV2Config())
{
}
/// <summary>
/// Constructs AmazonApiGatewayV2Client 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 AmazonApiGatewayV2Client(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonApiGatewayV2Config() {RegionEndpoint=region})
{
}
/// <summary>
/// Constructs AmazonApiGatewayV2Client with AWS Access Key ID, AWS Secret Key and an
/// AmazonApiGatewayV2Client Configuration object.
/// </summary>
/// <param name="awsAccessKeyId">AWS Access Key ID</param>
/// <param name="awsSecretAccessKey">AWS Secret Access Key</param>
/// <param name="clientConfig">The AmazonApiGatewayV2Client Configuration Object</param>
public AmazonApiGatewayV2Client(string awsAccessKeyId, string awsSecretAccessKey, AmazonApiGatewayV2Config clientConfig)
: base(awsAccessKeyId, awsSecretAccessKey, clientConfig)
{
}
/// <summary>
/// Constructs AmazonApiGatewayV2Client 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 AmazonApiGatewayV2Client(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonApiGatewayV2Config())
{
}
/// <summary>
/// Constructs AmazonApiGatewayV2Client 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 AmazonApiGatewayV2Client(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonApiGatewayV2Config{RegionEndpoint = region})
{
}
/// <summary>
/// Constructs AmazonApiGatewayV2Client with AWS Access Key ID, AWS Secret Key and an
/// AmazonApiGatewayV2Client 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 AmazonApiGatewayV2Client Configuration Object</param>
public AmazonApiGatewayV2Client(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonApiGatewayV2Config clientConfig)
: base(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, clientConfig)
{
}
#endregion
#region Overrides
/// <summary>
/// Creates the signer for the service.
/// </summary>
protected override AbstractAWSSigner CreateSigner()
{
return new AWS4Signer();
}
/// <summary>
/// Customize the pipeline
/// </summary>
/// <param name="pipeline"></param>
protected override void CustomizeRuntimePipeline(RuntimePipeline pipeline)
{
pipeline.RemoveHandler<Amazon.Runtime.Internal.EndpointResolver>();
pipeline.AddHandlerAfter<Amazon.Runtime.Internal.Marshaller>(new AmazonApiGatewayV2EndpointResolver());
}
/// <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 CreateApi
/// <summary>
/// Creates an Api resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateApi service method.</param>
///
/// <returns>The response from the CreateApi service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateApi">REST API Reference for CreateApi Operation</seealso>
public virtual CreateApiResponse CreateApi(CreateApiRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateApiRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateApiResponseUnmarshaller.Instance;
return Invoke<CreateApiResponse>(request, options);
}
/// <summary>
/// Creates an Api resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateApi service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateApi service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateApi">REST API Reference for CreateApi Operation</seealso>
public virtual Task<CreateApiResponse> CreateApiAsync(CreateApiRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateApiRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateApiResponseUnmarshaller.Instance;
return InvokeAsync<CreateApiResponse>(request, options, cancellationToken);
}
#endregion
#region CreateApiMapping
/// <summary>
/// Creates an API mapping.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateApiMapping service method.</param>
///
/// <returns>The response from the CreateApiMapping service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateApiMapping">REST API Reference for CreateApiMapping Operation</seealso>
public virtual CreateApiMappingResponse CreateApiMapping(CreateApiMappingRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateApiMappingRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateApiMappingResponseUnmarshaller.Instance;
return Invoke<CreateApiMappingResponse>(request, options);
}
/// <summary>
/// Creates an API mapping.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateApiMapping service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateApiMapping service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateApiMapping">REST API Reference for CreateApiMapping Operation</seealso>
public virtual Task<CreateApiMappingResponse> CreateApiMappingAsync(CreateApiMappingRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateApiMappingRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateApiMappingResponseUnmarshaller.Instance;
return InvokeAsync<CreateApiMappingResponse>(request, options, cancellationToken);
}
#endregion
#region CreateAuthorizer
/// <summary>
/// Creates an Authorizer for an API.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateAuthorizer">REST API Reference for CreateAuthorizer Operation</seealso>
public virtual CreateAuthorizerResponse CreateAuthorizer(CreateAuthorizerRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateAuthorizerRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateAuthorizerResponseUnmarshaller.Instance;
return Invoke<CreateAuthorizerResponse>(request, options);
}
/// <summary>
/// Creates an Authorizer for an API.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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 CreateDeployment
/// <summary>
/// Creates a Deployment for an API.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateDeployment">REST API Reference for CreateDeployment Operation</seealso>
public 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 for an API.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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 CreateDomainName
/// <summary>
/// Creates a 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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.AccessDeniedException">
///
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateDomainName">REST API Reference for CreateDomainName Operation</seealso>
public 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 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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.AccessDeniedException">
///
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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 CreateIntegration
/// <summary>
/// Creates an Integration.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateIntegration service method.</param>
///
/// <returns>The response from the CreateIntegration service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateIntegration">REST API Reference for CreateIntegration Operation</seealso>
public virtual CreateIntegrationResponse CreateIntegration(CreateIntegrationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateIntegrationRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateIntegrationResponseUnmarshaller.Instance;
return Invoke<CreateIntegrationResponse>(request, options);
}
/// <summary>
/// Creates an Integration.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateIntegration service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateIntegration service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateIntegration">REST API Reference for CreateIntegration Operation</seealso>
public virtual Task<CreateIntegrationResponse> CreateIntegrationAsync(CreateIntegrationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateIntegrationRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateIntegrationResponseUnmarshaller.Instance;
return InvokeAsync<CreateIntegrationResponse>(request, options, cancellationToken);
}
#endregion
#region CreateIntegrationResponse
/// <summary>
/// Creates an IntegrationResponses.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateIntegrationResponse service method.</param>
///
/// <returns>The response from the CreateIntegrationResponse service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateIntegrationResponse">REST API Reference for CreateIntegrationResponse Operation</seealso>
public virtual CreateIntegrationResponseResponse CreateIntegrationResponse(CreateIntegrationResponseRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateIntegrationResponseRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateIntegrationResponseResponseUnmarshaller.Instance;
return Invoke<CreateIntegrationResponseResponse>(request, options);
}
/// <summary>
/// Creates an IntegrationResponses.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateIntegrationResponse service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateIntegrationResponse service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateIntegrationResponse">REST API Reference for CreateIntegrationResponse Operation</seealso>
public virtual Task<CreateIntegrationResponseResponse> CreateIntegrationResponseAsync(CreateIntegrationResponseRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateIntegrationResponseRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateIntegrationResponseResponseUnmarshaller.Instance;
return InvokeAsync<CreateIntegrationResponseResponse>(request, options, cancellationToken);
}
#endregion
#region CreateModel
/// <summary>
/// Creates a Model for an API.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateModel">REST API Reference for CreateModel Operation</seealso>
public virtual CreateModelResponse CreateModel(CreateModelRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateModelRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateModelResponseUnmarshaller.Instance;
return Invoke<CreateModelResponse>(request, options);
}
/// <summary>
/// Creates a Model for an API.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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 CreateRoute
/// <summary>
/// Creates a Route for an API.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateRoute service method.</param>
///
/// <returns>The response from the CreateRoute service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateRoute">REST API Reference for CreateRoute Operation</seealso>
public virtual CreateRouteResponse CreateRoute(CreateRouteRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateRouteRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateRouteResponseUnmarshaller.Instance;
return Invoke<CreateRouteResponse>(request, options);
}
/// <summary>
/// Creates a Route for an API.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateRoute service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateRoute service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateRoute">REST API Reference for CreateRoute Operation</seealso>
public virtual Task<CreateRouteResponse> CreateRouteAsync(CreateRouteRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateRouteRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateRouteResponseUnmarshaller.Instance;
return InvokeAsync<CreateRouteResponse>(request, options, cancellationToken);
}
#endregion
#region CreateRouteResponse
/// <summary>
/// Creates a RouteResponse for a Route.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateRouteResponse service method.</param>
///
/// <returns>The response from the CreateRouteResponse service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateRouteResponse">REST API Reference for CreateRouteResponse Operation</seealso>
public virtual CreateRouteResponseResponse CreateRouteResponse(CreateRouteResponseRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateRouteResponseRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateRouteResponseResponseUnmarshaller.Instance;
return Invoke<CreateRouteResponseResponse>(request, options);
}
/// <summary>
/// Creates a RouteResponse for a Route.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateRouteResponse service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateRouteResponse service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateRouteResponse">REST API Reference for CreateRouteResponse Operation</seealso>
public virtual Task<CreateRouteResponseResponse> CreateRouteResponseAsync(CreateRouteResponseRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateRouteResponseRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateRouteResponseResponseUnmarshaller.Instance;
return InvokeAsync<CreateRouteResponseResponse>(request, options, cancellationToken);
}
#endregion
#region CreateStage
/// <summary>
/// Creates a Stage for an 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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateStage">REST API Reference for CreateStage Operation</seealso>
public 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 Stage for an 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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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 CreateVpcLink
/// <summary>
/// Creates a VPC link.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateVpcLink">REST API Reference for CreateVpcLink Operation</seealso>
public 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.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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 DeleteAccessLogSettings
/// <summary>
/// Deletes the AccessLogSettings for a Stage. To disable access logging for a Stage,
/// delete its AccessLogSettings.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteAccessLogSettings service method.</param>
///
/// <returns>The response from the DeleteAccessLogSettings service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteAccessLogSettings">REST API Reference for DeleteAccessLogSettings Operation</seealso>
public virtual DeleteAccessLogSettingsResponse DeleteAccessLogSettings(DeleteAccessLogSettingsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteAccessLogSettingsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteAccessLogSettingsResponseUnmarshaller.Instance;
return Invoke<DeleteAccessLogSettingsResponse>(request, options);
}
/// <summary>
/// Deletes the AccessLogSettings for a Stage. To disable access logging for a Stage,
/// delete its AccessLogSettings.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteAccessLogSettings service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteAccessLogSettings service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteAccessLogSettings">REST API Reference for DeleteAccessLogSettings Operation</seealso>
public virtual Task<DeleteAccessLogSettingsResponse> DeleteAccessLogSettingsAsync(DeleteAccessLogSettingsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteAccessLogSettingsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteAccessLogSettingsResponseUnmarshaller.Instance;
return InvokeAsync<DeleteAccessLogSettingsResponse>(request, options, cancellationToken);
}
#endregion
#region DeleteApi
/// <summary>
/// Deletes an Api resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteApi service method.</param>
///
/// <returns>The response from the DeleteApi service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteApi">REST API Reference for DeleteApi Operation</seealso>
public virtual DeleteApiResponse DeleteApi(DeleteApiRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteApiRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteApiResponseUnmarshaller.Instance;
return Invoke<DeleteApiResponse>(request, options);
}
/// <summary>
/// Deletes an Api resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteApi service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteApi service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteApi">REST API Reference for DeleteApi Operation</seealso>
public virtual Task<DeleteApiResponse> DeleteApiAsync(DeleteApiRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteApiRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteApiResponseUnmarshaller.Instance;
return InvokeAsync<DeleteApiResponse>(request, options, cancellationToken);
}
#endregion
#region DeleteApiMapping
/// <summary>
/// Deletes an API mapping.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteApiMapping service method.</param>
///
/// <returns>The response from the DeleteApiMapping service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteApiMapping">REST API Reference for DeleteApiMapping Operation</seealso>
public virtual DeleteApiMappingResponse DeleteApiMapping(DeleteApiMappingRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteApiMappingRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteApiMappingResponseUnmarshaller.Instance;
return Invoke<DeleteApiMappingResponse>(request, options);
}
/// <summary>
/// Deletes an API mapping.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteApiMapping service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteApiMapping service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteApiMapping">REST API Reference for DeleteApiMapping Operation</seealso>
public virtual Task<DeleteApiMappingResponse> DeleteApiMappingAsync(DeleteApiMappingRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteApiMappingRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteApiMappingResponseUnmarshaller.Instance;
return InvokeAsync<DeleteApiMappingResponse>(request, options, cancellationToken);
}
#endregion
#region DeleteAuthorizer
/// <summary>
/// Deletes an Authorizer.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteAuthorizer">REST API Reference for DeleteAuthorizer Operation</seealso>
public 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 Authorizer.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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 DeleteCorsConfiguration
/// <summary>
/// Deletes a CORS configuration.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteCorsConfiguration service method.</param>
///
/// <returns>The response from the DeleteCorsConfiguration service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteCorsConfiguration">REST API Reference for DeleteCorsConfiguration Operation</seealso>
public virtual DeleteCorsConfigurationResponse DeleteCorsConfiguration(DeleteCorsConfigurationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteCorsConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteCorsConfigurationResponseUnmarshaller.Instance;
return Invoke<DeleteCorsConfigurationResponse>(request, options);
}
/// <summary>
/// Deletes a CORS configuration.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteCorsConfiguration service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteCorsConfiguration service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteCorsConfiguration">REST API Reference for DeleteCorsConfiguration Operation</seealso>
public virtual Task<DeleteCorsConfigurationResponse> DeleteCorsConfigurationAsync(DeleteCorsConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteCorsConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteCorsConfigurationResponseUnmarshaller.Instance;
return InvokeAsync<DeleteCorsConfigurationResponse>(request, options, cancellationToken);
}
#endregion
#region DeleteDeployment
/// <summary>
/// Deletes a Deployment.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteDeployment">REST API Reference for DeleteDeployment Operation</seealso>
public 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.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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 DeleteDomainName
/// <summary>
/// Deletes a domain name.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteDomainName">REST API Reference for DeleteDomainName Operation</seealso>
public virtual DeleteDomainNameResponse DeleteDomainName(DeleteDomainNameRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteDomainNameRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteDomainNameResponseUnmarshaller.Instance;
return Invoke<DeleteDomainNameResponse>(request, options);
}
/// <summary>
/// Deletes a domain name.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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 DeleteIntegration
/// <summary>
/// Deletes an 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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteIntegration">REST API Reference for DeleteIntegration Operation</seealso>
public virtual DeleteIntegrationResponse DeleteIntegration(DeleteIntegrationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteIntegrationRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteIntegrationResponseUnmarshaller.Instance;
return Invoke<DeleteIntegrationResponse>(request, options);
}
/// <summary>
/// Deletes an 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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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
/// <summary>
/// Deletes an IntegrationResponses.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteIntegrationResponse">REST API Reference for DeleteIntegrationResponse Operation</seealso>
public virtual DeleteIntegrationResponseResponse DeleteIntegrationResponse(DeleteIntegrationResponseRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteIntegrationResponseRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteIntegrationResponseResponseUnmarshaller.Instance;
return Invoke<DeleteIntegrationResponseResponse>(request, options);
}
/// <summary>
/// Deletes an IntegrationResponses.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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 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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteModel">REST API Reference for DeleteModel Operation</seealso>
public 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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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 DeleteRoute
/// <summary>
/// Deletes a Route.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteRoute service method.</param>
///
/// <returns>The response from the DeleteRoute service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteRoute">REST API Reference for DeleteRoute Operation</seealso>
public virtual DeleteRouteResponse DeleteRoute(DeleteRouteRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteRouteRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteRouteResponseUnmarshaller.Instance;
return Invoke<DeleteRouteResponse>(request, options);
}
/// <summary>
/// Deletes a Route.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteRoute service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteRoute service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteRoute">REST API Reference for DeleteRoute Operation</seealso>
public virtual Task<DeleteRouteResponse> DeleteRouteAsync(DeleteRouteRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteRouteRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteRouteResponseUnmarshaller.Instance;
return InvokeAsync<DeleteRouteResponse>(request, options, cancellationToken);
}
#endregion
#region DeleteRouteRequestParameter
/// <summary>
/// Deletes a route request parameter.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteRouteRequestParameter service method.</param>
///
/// <returns>The response from the DeleteRouteRequestParameter service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteRouteRequestParameter">REST API Reference for DeleteRouteRequestParameter Operation</seealso>
public virtual DeleteRouteRequestParameterResponse DeleteRouteRequestParameter(DeleteRouteRequestParameterRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteRouteRequestParameterRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteRouteRequestParameterResponseUnmarshaller.Instance;
return Invoke<DeleteRouteRequestParameterResponse>(request, options);
}
/// <summary>
/// Deletes a route request parameter.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteRouteRequestParameter service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteRouteRequestParameter service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteRouteRequestParameter">REST API Reference for DeleteRouteRequestParameter Operation</seealso>
public virtual Task<DeleteRouteRequestParameterResponse> DeleteRouteRequestParameterAsync(DeleteRouteRequestParameterRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteRouteRequestParameterRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteRouteRequestParameterResponseUnmarshaller.Instance;
return InvokeAsync<DeleteRouteRequestParameterResponse>(request, options, cancellationToken);
}
#endregion
#region DeleteRouteResponse
/// <summary>
/// Deletes a RouteResponse.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteRouteResponse service method.</param>
///
/// <returns>The response from the DeleteRouteResponse service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteRouteResponse">REST API Reference for DeleteRouteResponse Operation</seealso>
public virtual DeleteRouteResponseResponse DeleteRouteResponse(DeleteRouteResponseRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteRouteResponseRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteRouteResponseResponseUnmarshaller.Instance;
return Invoke<DeleteRouteResponseResponse>(request, options);
}
/// <summary>
/// Deletes a RouteResponse.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteRouteResponse service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteRouteResponse service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteRouteResponse">REST API Reference for DeleteRouteResponse Operation</seealso>
public virtual Task<DeleteRouteResponseResponse> DeleteRouteResponseAsync(DeleteRouteResponseRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteRouteResponseRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteRouteResponseResponseUnmarshaller.Instance;
return InvokeAsync<DeleteRouteResponseResponse>(request, options, cancellationToken);
}
#endregion
#region DeleteRouteSettings
/// <summary>
/// Deletes the RouteSettings for a stage.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteRouteSettings service method.</param>
///
/// <returns>The response from the DeleteRouteSettings service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteRouteSettings">REST API Reference for DeleteRouteSettings Operation</seealso>
public virtual DeleteRouteSettingsResponse DeleteRouteSettings(DeleteRouteSettingsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteRouteSettingsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteRouteSettingsResponseUnmarshaller.Instance;
return Invoke<DeleteRouteSettingsResponse>(request, options);
}
/// <summary>
/// Deletes the RouteSettings for a stage.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteRouteSettings service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteRouteSettings service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteRouteSettings">REST API Reference for DeleteRouteSettings Operation</seealso>
public virtual Task<DeleteRouteSettingsResponse> DeleteRouteSettingsAsync(DeleteRouteSettingsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteRouteSettingsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteRouteSettingsResponseUnmarshaller.Instance;
return InvokeAsync<DeleteRouteSettingsResponse>(request, options, cancellationToken);
}
#endregion
#region DeleteStage
/// <summary>
/// Deletes a Stage.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteStage">REST API Reference for DeleteStage Operation</seealso>
public 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.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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 DeleteVpcLink
/// <summary>
/// Deletes a VPC link.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteVpcLink">REST API Reference for DeleteVpcLink Operation</seealso>
public virtual DeleteVpcLinkResponse DeleteVpcLink(DeleteVpcLinkRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteVpcLinkRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteVpcLinkResponseUnmarshaller.Instance;
return Invoke<DeleteVpcLinkResponse>(request, options);
}
/// <summary>
/// Deletes a VPC link.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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 ExportApi
/// <summary>
///
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ExportApi service method.</param>
///
/// <returns>The response from the ExportApi service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/ExportApi">REST API Reference for ExportApi Operation</seealso>
public virtual ExportApiResponse ExportApi(ExportApiRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ExportApiRequestMarshaller.Instance;
options.ResponseUnmarshaller = ExportApiResponseUnmarshaller.Instance;
return Invoke<ExportApiResponse>(request, options);
}
/// <summary>
///
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ExportApi service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ExportApi service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/ExportApi">REST API Reference for ExportApi Operation</seealso>
public virtual Task<ExportApiResponse> ExportApiAsync(ExportApiRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ExportApiRequestMarshaller.Instance;
options.ResponseUnmarshaller = ExportApiResponseUnmarshaller.Instance;
return InvokeAsync<ExportApiResponse>(request, options, cancellationToken);
}
#endregion
#region GetApi
/// <summary>
/// Gets an Api resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetApi service method.</param>
///
/// <returns>The response from the GetApi service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetApi">REST API Reference for GetApi Operation</seealso>
public virtual GetApiResponse GetApi(GetApiRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetApiRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetApiResponseUnmarshaller.Instance;
return Invoke<GetApiResponse>(request, options);
}
/// <summary>
/// Gets an Api resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetApi service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetApi service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetApi">REST API Reference for GetApi Operation</seealso>
public virtual Task<GetApiResponse> GetApiAsync(GetApiRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetApiRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetApiResponseUnmarshaller.Instance;
return InvokeAsync<GetApiResponse>(request, options, cancellationToken);
}
#endregion
#region GetApiMapping
/// <summary>
/// Gets an API mapping.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetApiMapping service method.</param>
///
/// <returns>The response from the GetApiMapping service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetApiMapping">REST API Reference for GetApiMapping Operation</seealso>
public virtual GetApiMappingResponse GetApiMapping(GetApiMappingRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetApiMappingRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetApiMappingResponseUnmarshaller.Instance;
return Invoke<GetApiMappingResponse>(request, options);
}
/// <summary>
/// Gets an API mapping.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetApiMapping service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetApiMapping service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetApiMapping">REST API Reference for GetApiMapping Operation</seealso>
public virtual Task<GetApiMappingResponse> GetApiMappingAsync(GetApiMappingRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetApiMappingRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetApiMappingResponseUnmarshaller.Instance;
return InvokeAsync<GetApiMappingResponse>(request, options, cancellationToken);
}
#endregion
#region GetApiMappings
/// <summary>
/// Gets API mappings.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetApiMappings service method.</param>
///
/// <returns>The response from the GetApiMappings service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetApiMappings">REST API Reference for GetApiMappings Operation</seealso>
public virtual GetApiMappingsResponse GetApiMappings(GetApiMappingsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetApiMappingsRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetApiMappingsResponseUnmarshaller.Instance;
return Invoke<GetApiMappingsResponse>(request, options);
}
/// <summary>
/// Gets API mappings.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetApiMappings service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetApiMappings service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetApiMappings">REST API Reference for GetApiMappings Operation</seealso>
public virtual Task<GetApiMappingsResponse> GetApiMappingsAsync(GetApiMappingsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetApiMappingsRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetApiMappingsResponseUnmarshaller.Instance;
return InvokeAsync<GetApiMappingsResponse>(request, options, cancellationToken);
}
#endregion
#region GetApis
/// <summary>
/// Gets a collection of Api resources.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetApis service method.</param>
///
/// <returns>The response from the GetApis service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetApis">REST API Reference for GetApis Operation</seealso>
public virtual GetApisResponse GetApis(GetApisRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetApisRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetApisResponseUnmarshaller.Instance;
return Invoke<GetApisResponse>(request, options);
}
/// <summary>
/// Gets a collection of Api resources.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetApis service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetApis service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetApis">REST API Reference for GetApis Operation</seealso>
public virtual Task<GetApisResponse> GetApisAsync(GetApisRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetApisRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetApisResponseUnmarshaller.Instance;
return InvokeAsync<GetApisResponse>(request, options, cancellationToken);
}
#endregion
#region GetAuthorizer
/// <summary>
/// Gets an Authorizer.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetAuthorizer">REST API Reference for GetAuthorizer Operation</seealso>
public virtual GetAuthorizerResponse GetAuthorizer(GetAuthorizerRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetAuthorizerRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetAuthorizerResponseUnmarshaller.Instance;
return Invoke<GetAuthorizerResponse>(request, options);
}
/// <summary>
/// Gets an Authorizer.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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
/// <summary>
/// Gets the Authorizers for an API.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetAuthorizers">REST API Reference for GetAuthorizers Operation</seealso>
public virtual GetAuthorizersResponse GetAuthorizers(GetAuthorizersRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetAuthorizersRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetAuthorizersResponseUnmarshaller.Instance;
return Invoke<GetAuthorizersResponse>(request, options);
}
/// <summary>
/// Gets the Authorizers for an API.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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 GetDeployment
/// <summary>
/// Gets a Deployment.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetDeployment">REST API Reference for GetDeployment Operation</seealso>
public virtual GetDeploymentResponse GetDeployment(GetDeploymentRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetDeploymentRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetDeploymentResponseUnmarshaller.Instance;
return Invoke<GetDeploymentResponse>(request, options);
}
/// <summary>
/// Gets a Deployment.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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
/// <summary>
/// Gets the Deployments for an API.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetDeployments">REST API Reference for GetDeployments Operation</seealso>
public virtual GetDeploymentsResponse GetDeployments(GetDeploymentsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetDeploymentsRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetDeploymentsResponseUnmarshaller.Instance;
return Invoke<GetDeploymentsResponse>(request, options);
}
/// <summary>
/// Gets the Deployments for an API.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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 GetDomainName
/// <summary>
/// Gets a domain name.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetDomainName">REST API Reference for GetDomainName Operation</seealso>
public virtual GetDomainNameResponse GetDomainName(GetDomainNameRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetDomainNameRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetDomainNameResponseUnmarshaller.Instance;
return Invoke<GetDomainNameResponse>(request, options);
}
/// <summary>
/// Gets a domain name.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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
/// <summary>
/// Gets the domain names for an AWS account.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetDomainNames">REST API Reference for GetDomainNames Operation</seealso>
public virtual GetDomainNamesResponse GetDomainNames(GetDomainNamesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetDomainNamesRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetDomainNamesResponseUnmarshaller.Instance;
return Invoke<GetDomainNamesResponse>(request, options);
}
/// <summary>
/// Gets the domain names for an AWS account.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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 GetIntegration
/// <summary>
/// Gets an Integration.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetIntegration">REST API Reference for GetIntegration Operation</seealso>
public virtual GetIntegrationResponse GetIntegration(GetIntegrationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetIntegrationRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetIntegrationResponseUnmarshaller.Instance;
return Invoke<GetIntegrationResponse>(request, options);
}
/// <summary>
/// Gets an Integration.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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
/// <summary>
/// Gets an IntegrationResponses.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetIntegrationResponse">REST API Reference for GetIntegrationResponse Operation</seealso>
public virtual GetIntegrationResponseResponse GetIntegrationResponse(GetIntegrationResponseRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetIntegrationResponseRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetIntegrationResponseResponseUnmarshaller.Instance;
return Invoke<GetIntegrationResponseResponse>(request, options);
}
/// <summary>
/// Gets an IntegrationResponses.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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 GetIntegrationResponses
/// <summary>
/// Gets the IntegrationResponses for an Integration.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetIntegrationResponses service method.</param>
///
/// <returns>The response from the GetIntegrationResponses service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetIntegrationResponses">REST API Reference for GetIntegrationResponses Operation</seealso>
public virtual GetIntegrationResponsesResponse GetIntegrationResponses(GetIntegrationResponsesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetIntegrationResponsesRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetIntegrationResponsesResponseUnmarshaller.Instance;
return Invoke<GetIntegrationResponsesResponse>(request, options);
}
/// <summary>
/// Gets the IntegrationResponses for an Integration.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetIntegrationResponses service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetIntegrationResponses service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetIntegrationResponses">REST API Reference for GetIntegrationResponses Operation</seealso>
public virtual Task<GetIntegrationResponsesResponse> GetIntegrationResponsesAsync(GetIntegrationResponsesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetIntegrationResponsesRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetIntegrationResponsesResponseUnmarshaller.Instance;
return InvokeAsync<GetIntegrationResponsesResponse>(request, options, cancellationToken);
}
#endregion
#region GetIntegrations
/// <summary>
/// Gets the Integrations for an API.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetIntegrations service method.</param>
///
/// <returns>The response from the GetIntegrations service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetIntegrations">REST API Reference for GetIntegrations Operation</seealso>
public virtual GetIntegrationsResponse GetIntegrations(GetIntegrationsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetIntegrationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetIntegrationsResponseUnmarshaller.Instance;
return Invoke<GetIntegrationsResponse>(request, options);
}
/// <summary>
/// Gets the Integrations for an API.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetIntegrations service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetIntegrations service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetIntegrations">REST API Reference for GetIntegrations Operation</seealso>
public virtual Task<GetIntegrationsResponse> GetIntegrationsAsync(GetIntegrationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetIntegrationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetIntegrationsResponseUnmarshaller.Instance;
return InvokeAsync<GetIntegrationsResponse>(request, options, cancellationToken);
}
#endregion
#region GetModel
/// <summary>
/// Gets a Model.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetModel">REST API Reference for GetModel Operation</seealso>
public virtual GetModelResponse GetModel(GetModelRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetModelRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetModelResponseUnmarshaller.Instance;
return Invoke<GetModelResponse>(request, options);
}
/// <summary>
/// Gets a Model.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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
/// <summary>
/// Gets the Models for an API.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetModels">REST API Reference for GetModels Operation</seealso>
public virtual GetModelsResponse GetModels(GetModelsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetModelsRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetModelsResponseUnmarshaller.Instance;
return Invoke<GetModelsResponse>(request, options);
}
/// <summary>
/// Gets the Models for an API.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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
/// <summary>
/// Gets a model template.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetModelTemplate">REST API Reference for GetModelTemplate Operation</seealso>
public virtual GetModelTemplateResponse GetModelTemplate(GetModelTemplateRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetModelTemplateRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetModelTemplateResponseUnmarshaller.Instance;
return Invoke<GetModelTemplateResponse>(request, options);
}
/// <summary>
/// Gets a model template.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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 GetRoute
/// <summary>
/// Gets a Route.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetRoute service method.</param>
///
/// <returns>The response from the GetRoute service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetRoute">REST API Reference for GetRoute Operation</seealso>
public virtual GetRouteResponse GetRoute(GetRouteRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetRouteRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetRouteResponseUnmarshaller.Instance;
return Invoke<GetRouteResponse>(request, options);
}
/// <summary>
/// Gets a Route.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetRoute service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetRoute service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetRoute">REST API Reference for GetRoute Operation</seealso>
public virtual Task<GetRouteResponse> GetRouteAsync(GetRouteRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetRouteRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetRouteResponseUnmarshaller.Instance;
return InvokeAsync<GetRouteResponse>(request, options, cancellationToken);
}
#endregion
#region GetRouteResponse
/// <summary>
/// Gets a RouteResponse.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetRouteResponse service method.</param>
///
/// <returns>The response from the GetRouteResponse service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetRouteResponse">REST API Reference for GetRouteResponse Operation</seealso>
public virtual GetRouteResponseResponse GetRouteResponse(GetRouteResponseRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetRouteResponseRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetRouteResponseResponseUnmarshaller.Instance;
return Invoke<GetRouteResponseResponse>(request, options);
}
/// <summary>
/// Gets a RouteResponse.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetRouteResponse service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetRouteResponse service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetRouteResponse">REST API Reference for GetRouteResponse Operation</seealso>
public virtual Task<GetRouteResponseResponse> GetRouteResponseAsync(GetRouteResponseRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetRouteResponseRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetRouteResponseResponseUnmarshaller.Instance;
return InvokeAsync<GetRouteResponseResponse>(request, options, cancellationToken);
}
#endregion
#region GetRouteResponses
/// <summary>
/// Gets the RouteResponses for a Route.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetRouteResponses service method.</param>
///
/// <returns>The response from the GetRouteResponses service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetRouteResponses">REST API Reference for GetRouteResponses Operation</seealso>
public virtual GetRouteResponsesResponse GetRouteResponses(GetRouteResponsesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetRouteResponsesRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetRouteResponsesResponseUnmarshaller.Instance;
return Invoke<GetRouteResponsesResponse>(request, options);
}
/// <summary>
/// Gets the RouteResponses for a Route.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetRouteResponses service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetRouteResponses service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetRouteResponses">REST API Reference for GetRouteResponses Operation</seealso>
public virtual Task<GetRouteResponsesResponse> GetRouteResponsesAsync(GetRouteResponsesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetRouteResponsesRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetRouteResponsesResponseUnmarshaller.Instance;
return InvokeAsync<GetRouteResponsesResponse>(request, options, cancellationToken);
}
#endregion
#region GetRoutes
/// <summary>
/// Gets the Routes for an API.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetRoutes service method.</param>
///
/// <returns>The response from the GetRoutes service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetRoutes">REST API Reference for GetRoutes Operation</seealso>
public virtual GetRoutesResponse GetRoutes(GetRoutesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetRoutesRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetRoutesResponseUnmarshaller.Instance;
return Invoke<GetRoutesResponse>(request, options);
}
/// <summary>
/// Gets the Routes for an API.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetRoutes service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetRoutes service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetRoutes">REST API Reference for GetRoutes Operation</seealso>
public virtual Task<GetRoutesResponse> GetRoutesAsync(GetRoutesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetRoutesRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetRoutesResponseUnmarshaller.Instance;
return InvokeAsync<GetRoutesResponse>(request, options, cancellationToken);
}
#endregion
#region GetStage
/// <summary>
/// Gets a Stage.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetStage">REST API Reference for GetStage Operation</seealso>
public virtual GetStageResponse GetStage(GetStageRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetStageRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetStageResponseUnmarshaller.Instance;
return Invoke<GetStageResponse>(request, options);
}
/// <summary>
/// Gets a Stage.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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
/// <summary>
/// Gets the Stages for an API.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetStages">REST API Reference for GetStages Operation</seealso>
public virtual GetStagesResponse GetStages(GetStagesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetStagesRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetStagesResponseUnmarshaller.Instance;
return Invoke<GetStagesResponse>(request, options);
}
/// <summary>
/// Gets the Stages for an API.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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
/// <summary>
/// Gets a collection of Tag resources.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetTags">REST API Reference for GetTags Operation</seealso>
public virtual GetTagsResponse GetTags(GetTagsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetTagsRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetTagsResponseUnmarshaller.Instance;
return Invoke<GetTagsResponse>(request, options);
}
/// <summary>
/// Gets a collection of Tag resources.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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 GetVpcLink
/// <summary>
/// Gets a VPC link.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetVpcLink">REST API Reference for GetVpcLink Operation</seealso>
public 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 VPC link.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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
/// <summary>
/// Gets a collection of VPC links.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetVpcLinks">REST API Reference for GetVpcLinks Operation</seealso>
public virtual GetVpcLinksResponse GetVpcLinks(GetVpcLinksRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetVpcLinksRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetVpcLinksResponseUnmarshaller.Instance;
return Invoke<GetVpcLinksResponse>(request, options);
}
/// <summary>
/// Gets a collection of VPC links.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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 ImportApi
/// <summary>
/// Imports an API.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ImportApi service method.</param>
///
/// <returns>The response from the ImportApi service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/ImportApi">REST API Reference for ImportApi Operation</seealso>
public virtual ImportApiResponse ImportApi(ImportApiRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ImportApiRequestMarshaller.Instance;
options.ResponseUnmarshaller = ImportApiResponseUnmarshaller.Instance;
return Invoke<ImportApiResponse>(request, options);
}
/// <summary>
/// Imports an API.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ImportApi service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ImportApi service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/ImportApi">REST API Reference for ImportApi Operation</seealso>
public virtual Task<ImportApiResponse> ImportApiAsync(ImportApiRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ImportApiRequestMarshaller.Instance;
options.ResponseUnmarshaller = ImportApiResponseUnmarshaller.Instance;
return InvokeAsync<ImportApiResponse>(request, options, cancellationToken);
}
#endregion
#region ReimportApi
/// <summary>
/// Puts an Api resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ReimportApi service method.</param>
///
/// <returns>The response from the ReimportApi service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/ReimportApi">REST API Reference for ReimportApi Operation</seealso>
public virtual ReimportApiResponse ReimportApi(ReimportApiRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ReimportApiRequestMarshaller.Instance;
options.ResponseUnmarshaller = ReimportApiResponseUnmarshaller.Instance;
return Invoke<ReimportApiResponse>(request, options);
}
/// <summary>
/// Puts an Api resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ReimportApi service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ReimportApi service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/ReimportApi">REST API Reference for ReimportApi Operation</seealso>
public virtual Task<ReimportApiResponse> ReimportApiAsync(ReimportApiRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ReimportApiRequestMarshaller.Instance;
options.ResponseUnmarshaller = ReimportApiResponseUnmarshaller.Instance;
return InvokeAsync<ReimportApiResponse>(request, options, cancellationToken);
}
#endregion
#region ResetAuthorizersCache
/// <summary>
/// Resets all authorizer cache entries on a stage. Supported only for HTTP APIs.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ResetAuthorizersCache service method.</param>
///
/// <returns>The response from the ResetAuthorizersCache service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/ResetAuthorizersCache">REST API Reference for ResetAuthorizersCache Operation</seealso>
public virtual ResetAuthorizersCacheResponse ResetAuthorizersCache(ResetAuthorizersCacheRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ResetAuthorizersCacheRequestMarshaller.Instance;
options.ResponseUnmarshaller = ResetAuthorizersCacheResponseUnmarshaller.Instance;
return Invoke<ResetAuthorizersCacheResponse>(request, options);
}
/// <summary>
/// Resets all authorizer cache entries on a stage. Supported only for HTTP APIs.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ResetAuthorizersCache service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ResetAuthorizersCache service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/ResetAuthorizersCache">REST API Reference for ResetAuthorizersCache Operation</seealso>
public virtual Task<ResetAuthorizersCacheResponse> ResetAuthorizersCacheAsync(ResetAuthorizersCacheRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ResetAuthorizersCacheRequestMarshaller.Instance;
options.ResponseUnmarshaller = ResetAuthorizersCacheResponseUnmarshaller.Instance;
return InvokeAsync<ResetAuthorizersCacheResponse>(request, options, cancellationToken);
}
#endregion
#region TagResource
/// <summary>
/// Creates a new Tag resource to represent a tag.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/TagResource">REST API Reference for TagResource Operation</seealso>
public virtual TagResourceResponse TagResource(TagResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = TagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance;
return Invoke<TagResourceResponse>(request, options);
}
/// <summary>
/// Creates a new Tag resource to represent a tag.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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 UntagResource
/// <summary>
/// Deletes a Tag.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UntagResource">REST API Reference for UntagResource Operation</seealso>
public virtual UntagResourceResponse UntagResource(UntagResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UntagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance;
return Invoke<UntagResourceResponse>(request, options);
}
/// <summary>
/// Deletes a Tag.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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 UpdateApi
/// <summary>
/// Updates an Api resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateApi service method.</param>
///
/// <returns>The response from the UpdateApi service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateApi">REST API Reference for UpdateApi Operation</seealso>
public virtual UpdateApiResponse UpdateApi(UpdateApiRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateApiRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateApiResponseUnmarshaller.Instance;
return Invoke<UpdateApiResponse>(request, options);
}
/// <summary>
/// Updates an Api resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateApi service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateApi service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateApi">REST API Reference for UpdateApi Operation</seealso>
public virtual Task<UpdateApiResponse> UpdateApiAsync(UpdateApiRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateApiRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateApiResponseUnmarshaller.Instance;
return InvokeAsync<UpdateApiResponse>(request, options, cancellationToken);
}
#endregion
#region UpdateApiMapping
/// <summary>
/// The API mapping.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateApiMapping service method.</param>
///
/// <returns>The response from the UpdateApiMapping service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateApiMapping">REST API Reference for UpdateApiMapping Operation</seealso>
public virtual UpdateApiMappingResponse UpdateApiMapping(UpdateApiMappingRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateApiMappingRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateApiMappingResponseUnmarshaller.Instance;
return Invoke<UpdateApiMappingResponse>(request, options);
}
/// <summary>
/// The API mapping.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateApiMapping service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateApiMapping service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateApiMapping">REST API Reference for UpdateApiMapping Operation</seealso>
public virtual Task<UpdateApiMappingResponse> UpdateApiMappingAsync(UpdateApiMappingRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateApiMappingRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateApiMappingResponseUnmarshaller.Instance;
return InvokeAsync<UpdateApiMappingResponse>(request, options, cancellationToken);
}
#endregion
#region UpdateAuthorizer
/// <summary>
/// Updates an Authorizer.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateAuthorizer">REST API Reference for UpdateAuthorizer Operation</seealso>
public 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 Authorizer.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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 UpdateDeployment
/// <summary>
/// Updates a Deployment.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateDeployment">REST API Reference for UpdateDeployment Operation</seealso>
public virtual UpdateDeploymentResponse UpdateDeployment(UpdateDeploymentRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateDeploymentRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateDeploymentResponseUnmarshaller.Instance;
return Invoke<UpdateDeploymentResponse>(request, options);
}
/// <summary>
/// Updates a Deployment.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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 UpdateDomainName
/// <summary>
/// Updates a domain name.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateDomainName">REST API Reference for UpdateDomainName Operation</seealso>
public virtual UpdateDomainNameResponse UpdateDomainName(UpdateDomainNameRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateDomainNameRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateDomainNameResponseUnmarshaller.Instance;
return Invoke<UpdateDomainNameResponse>(request, options);
}
/// <summary>
/// Updates a domain name.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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 UpdateIntegration
/// <summary>
/// Updates an 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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateIntegration">REST API Reference for UpdateIntegration Operation</seealso>
public virtual UpdateIntegrationResponse UpdateIntegration(UpdateIntegrationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateIntegrationRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateIntegrationResponseUnmarshaller.Instance;
return Invoke<UpdateIntegrationResponse>(request, options);
}
/// <summary>
/// Updates an 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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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
/// <summary>
/// Updates an IntegrationResponses.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateIntegrationResponse">REST API Reference for UpdateIntegrationResponse Operation</seealso>
public virtual UpdateIntegrationResponseResponse UpdateIntegrationResponse(UpdateIntegrationResponseRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateIntegrationResponseRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateIntegrationResponseResponseUnmarshaller.Instance;
return Invoke<UpdateIntegrationResponseResponse>(request, options);
}
/// <summary>
/// Updates an IntegrationResponses.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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 UpdateModel
/// <summary>
/// Updates 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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateModel">REST API Reference for UpdateModel Operation</seealso>
public virtual UpdateModelResponse UpdateModel(UpdateModelRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateModelRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateModelResponseUnmarshaller.Instance;
return Invoke<UpdateModelResponse>(request, options);
}
/// <summary>
/// Updates 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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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 UpdateRoute
/// <summary>
/// Updates a Route.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateRoute service method.</param>
///
/// <returns>The response from the UpdateRoute service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateRoute">REST API Reference for UpdateRoute Operation</seealso>
public virtual UpdateRouteResponse UpdateRoute(UpdateRouteRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateRouteRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateRouteResponseUnmarshaller.Instance;
return Invoke<UpdateRouteResponse>(request, options);
}
/// <summary>
/// Updates a Route.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateRoute service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateRoute service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateRoute">REST API Reference for UpdateRoute Operation</seealso>
public virtual Task<UpdateRouteResponse> UpdateRouteAsync(UpdateRouteRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateRouteRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateRouteResponseUnmarshaller.Instance;
return InvokeAsync<UpdateRouteResponse>(request, options, cancellationToken);
}
#endregion
#region UpdateRouteResponse
/// <summary>
/// Updates a RouteResponse.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateRouteResponse service method.</param>
///
/// <returns>The response from the UpdateRouteResponse service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateRouteResponse">REST API Reference for UpdateRouteResponse Operation</seealso>
public virtual UpdateRouteResponseResponse UpdateRouteResponse(UpdateRouteResponseRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateRouteResponseRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateRouteResponseResponseUnmarshaller.Instance;
return Invoke<UpdateRouteResponseResponse>(request, options);
}
/// <summary>
/// Updates a RouteResponse.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateRouteResponse service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateRouteResponse service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateRouteResponse">REST API Reference for UpdateRouteResponse Operation</seealso>
public virtual Task<UpdateRouteResponseResponse> UpdateRouteResponseAsync(UpdateRouteResponseRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateRouteResponseRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateRouteResponseResponseUnmarshaller.Instance;
return InvokeAsync<UpdateRouteResponseResponse>(request, options, cancellationToken);
}
#endregion
#region UpdateStage
/// <summary>
/// Updates a Stage.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateStage">REST API Reference for UpdateStage Operation</seealso>
public virtual UpdateStageResponse UpdateStage(UpdateStageRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateStageRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateStageResponseUnmarshaller.Instance;
return Invoke<UpdateStageResponse>(request, options);
}
/// <summary>
/// Updates a Stage.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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 UpdateVpcLink
/// <summary>
/// Updates a VPC link.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateVpcLink">REST API Reference for UpdateVpcLink Operation</seealso>
public virtual UpdateVpcLinkResponse UpdateVpcLink(UpdateVpcLinkRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateVpcLinkRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateVpcLinkResponseUnmarshaller.Instance;
return Invoke<UpdateVpcLinkResponse>(request, options);
}
/// <summary>
/// Updates a VPC link.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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
}
} | 4,825 |
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 apigatewayv2-2018-11-29.normal.json service model.
*/
using System;
using System.Threading;
using System.Threading.Tasks;
using System.Collections.Generic;
using Amazon.Runtime;
using Amazon.ApiGatewayV2.Model;
namespace Amazon.ApiGatewayV2
{
/// <summary>
/// Interface for accessing ApiGatewayV2
///
/// Amazon API Gateway V2
/// </summary>
public partial interface IAmazonApiGatewayV2 : IAmazonService, IDisposable
{
#region CreateApi
/// <summary>
/// Creates an Api resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateApi service method.</param>
///
/// <returns>The response from the CreateApi service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateApi">REST API Reference for CreateApi Operation</seealso>
CreateApiResponse CreateApi(CreateApiRequest request);
/// <summary>
/// Creates an Api resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateApi service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateApi service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateApi">REST API Reference for CreateApi Operation</seealso>
Task<CreateApiResponse> CreateApiAsync(CreateApiRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateApiMapping
/// <summary>
/// Creates an API mapping.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateApiMapping service method.</param>
///
/// <returns>The response from the CreateApiMapping service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateApiMapping">REST API Reference for CreateApiMapping Operation</seealso>
CreateApiMappingResponse CreateApiMapping(CreateApiMappingRequest request);
/// <summary>
/// Creates an API mapping.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateApiMapping service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateApiMapping service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateApiMapping">REST API Reference for CreateApiMapping Operation</seealso>
Task<CreateApiMappingResponse> CreateApiMappingAsync(CreateApiMappingRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateAuthorizer
/// <summary>
/// Creates an Authorizer for an API.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateAuthorizer">REST API Reference for CreateAuthorizer Operation</seealso>
CreateAuthorizerResponse CreateAuthorizer(CreateAuthorizerRequest request);
/// <summary>
/// Creates an Authorizer for an API.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateAuthorizer">REST API Reference for CreateAuthorizer Operation</seealso>
Task<CreateAuthorizerResponse> CreateAuthorizerAsync(CreateAuthorizerRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateDeployment
/// <summary>
/// Creates a Deployment for an API.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateDeployment">REST API Reference for CreateDeployment Operation</seealso>
CreateDeploymentResponse CreateDeployment(CreateDeploymentRequest request);
/// <summary>
/// Creates a Deployment for an API.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateDeployment">REST API Reference for CreateDeployment Operation</seealso>
Task<CreateDeploymentResponse> CreateDeploymentAsync(CreateDeploymentRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateDomainName
/// <summary>
/// Creates a 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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.AccessDeniedException">
///
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateDomainName">REST API Reference for CreateDomainName Operation</seealso>
CreateDomainNameResponse CreateDomainName(CreateDomainNameRequest request);
/// <summary>
/// Creates a 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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.AccessDeniedException">
///
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateDomainName">REST API Reference for CreateDomainName Operation</seealso>
Task<CreateDomainNameResponse> CreateDomainNameAsync(CreateDomainNameRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateIntegration
/// <summary>
/// Creates an Integration.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateIntegration service method.</param>
///
/// <returns>The response from the CreateIntegration service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateIntegration">REST API Reference for CreateIntegration Operation</seealso>
CreateIntegrationResponse CreateIntegration(CreateIntegrationRequest request);
/// <summary>
/// Creates an Integration.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateIntegration service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateIntegration service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateIntegration">REST API Reference for CreateIntegration Operation</seealso>
Task<CreateIntegrationResponse> CreateIntegrationAsync(CreateIntegrationRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateIntegrationResponse
/// <summary>
/// Creates an IntegrationResponses.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateIntegrationResponse service method.</param>
///
/// <returns>The response from the CreateIntegrationResponse service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateIntegrationResponse">REST API Reference for CreateIntegrationResponse Operation</seealso>
CreateIntegrationResponseResponse CreateIntegrationResponse(CreateIntegrationResponseRequest request);
/// <summary>
/// Creates an IntegrationResponses.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateIntegrationResponse service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateIntegrationResponse service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateIntegrationResponse">REST API Reference for CreateIntegrationResponse Operation</seealso>
Task<CreateIntegrationResponseResponse> CreateIntegrationResponseAsync(CreateIntegrationResponseRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateModel
/// <summary>
/// Creates a Model for an API.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateModel">REST API Reference for CreateModel Operation</seealso>
CreateModelResponse CreateModel(CreateModelRequest request);
/// <summary>
/// Creates a Model for an API.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateModel">REST API Reference for CreateModel Operation</seealso>
Task<CreateModelResponse> CreateModelAsync(CreateModelRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateRoute
/// <summary>
/// Creates a Route for an API.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateRoute service method.</param>
///
/// <returns>The response from the CreateRoute service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateRoute">REST API Reference for CreateRoute Operation</seealso>
CreateRouteResponse CreateRoute(CreateRouteRequest request);
/// <summary>
/// Creates a Route for an API.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateRoute service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateRoute service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateRoute">REST API Reference for CreateRoute Operation</seealso>
Task<CreateRouteResponse> CreateRouteAsync(CreateRouteRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateRouteResponse
/// <summary>
/// Creates a RouteResponse for a Route.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateRouteResponse service method.</param>
///
/// <returns>The response from the CreateRouteResponse service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateRouteResponse">REST API Reference for CreateRouteResponse Operation</seealso>
CreateRouteResponseResponse CreateRouteResponse(CreateRouteResponseRequest request);
/// <summary>
/// Creates a RouteResponse for a Route.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateRouteResponse service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateRouteResponse service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateRouteResponse">REST API Reference for CreateRouteResponse Operation</seealso>
Task<CreateRouteResponseResponse> CreateRouteResponseAsync(CreateRouteResponseRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateStage
/// <summary>
/// Creates a Stage for an 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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateStage">REST API Reference for CreateStage Operation</seealso>
CreateStageResponse CreateStage(CreateStageRequest request);
/// <summary>
/// Creates a Stage for an 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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateStage">REST API Reference for CreateStage Operation</seealso>
Task<CreateStageResponse> CreateStageAsync(CreateStageRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateVpcLink
/// <summary>
/// Creates a VPC link.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateVpcLink">REST API Reference for CreateVpcLink Operation</seealso>
CreateVpcLinkResponse CreateVpcLink(CreateVpcLinkRequest request);
/// <summary>
/// Creates a VPC link.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateVpcLink">REST API Reference for CreateVpcLink Operation</seealso>
Task<CreateVpcLinkResponse> CreateVpcLinkAsync(CreateVpcLinkRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteAccessLogSettings
/// <summary>
/// Deletes the AccessLogSettings for a Stage. To disable access logging for a Stage,
/// delete its AccessLogSettings.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteAccessLogSettings service method.</param>
///
/// <returns>The response from the DeleteAccessLogSettings service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteAccessLogSettings">REST API Reference for DeleteAccessLogSettings Operation</seealso>
DeleteAccessLogSettingsResponse DeleteAccessLogSettings(DeleteAccessLogSettingsRequest request);
/// <summary>
/// Deletes the AccessLogSettings for a Stage. To disable access logging for a Stage,
/// delete its AccessLogSettings.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteAccessLogSettings service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteAccessLogSettings service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteAccessLogSettings">REST API Reference for DeleteAccessLogSettings Operation</seealso>
Task<DeleteAccessLogSettingsResponse> DeleteAccessLogSettingsAsync(DeleteAccessLogSettingsRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteApi
/// <summary>
/// Deletes an Api resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteApi service method.</param>
///
/// <returns>The response from the DeleteApi service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteApi">REST API Reference for DeleteApi Operation</seealso>
DeleteApiResponse DeleteApi(DeleteApiRequest request);
/// <summary>
/// Deletes an Api resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteApi service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteApi service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteApi">REST API Reference for DeleteApi Operation</seealso>
Task<DeleteApiResponse> DeleteApiAsync(DeleteApiRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteApiMapping
/// <summary>
/// Deletes an API mapping.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteApiMapping service method.</param>
///
/// <returns>The response from the DeleteApiMapping service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteApiMapping">REST API Reference for DeleteApiMapping Operation</seealso>
DeleteApiMappingResponse DeleteApiMapping(DeleteApiMappingRequest request);
/// <summary>
/// Deletes an API mapping.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteApiMapping service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteApiMapping service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteApiMapping">REST API Reference for DeleteApiMapping Operation</seealso>
Task<DeleteApiMappingResponse> DeleteApiMappingAsync(DeleteApiMappingRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteAuthorizer
/// <summary>
/// Deletes an Authorizer.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteAuthorizer">REST API Reference for DeleteAuthorizer Operation</seealso>
DeleteAuthorizerResponse DeleteAuthorizer(DeleteAuthorizerRequest request);
/// <summary>
/// Deletes an Authorizer.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteAuthorizer">REST API Reference for DeleteAuthorizer Operation</seealso>
Task<DeleteAuthorizerResponse> DeleteAuthorizerAsync(DeleteAuthorizerRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteCorsConfiguration
/// <summary>
/// Deletes a CORS configuration.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteCorsConfiguration service method.</param>
///
/// <returns>The response from the DeleteCorsConfiguration service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteCorsConfiguration">REST API Reference for DeleteCorsConfiguration Operation</seealso>
DeleteCorsConfigurationResponse DeleteCorsConfiguration(DeleteCorsConfigurationRequest request);
/// <summary>
/// Deletes a CORS configuration.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteCorsConfiguration service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteCorsConfiguration service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteCorsConfiguration">REST API Reference for DeleteCorsConfiguration Operation</seealso>
Task<DeleteCorsConfigurationResponse> DeleteCorsConfigurationAsync(DeleteCorsConfigurationRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteDeployment
/// <summary>
/// Deletes a Deployment.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteDeployment">REST API Reference for DeleteDeployment Operation</seealso>
DeleteDeploymentResponse DeleteDeployment(DeleteDeploymentRequest request);
/// <summary>
/// Deletes a Deployment.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteDeployment">REST API Reference for DeleteDeployment Operation</seealso>
Task<DeleteDeploymentResponse> DeleteDeploymentAsync(DeleteDeploymentRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteDomainName
/// <summary>
/// Deletes a domain name.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteDomainName">REST API Reference for DeleteDomainName Operation</seealso>
DeleteDomainNameResponse DeleteDomainName(DeleteDomainNameRequest request);
/// <summary>
/// Deletes a domain name.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteDomainName">REST API Reference for DeleteDomainName Operation</seealso>
Task<DeleteDomainNameResponse> DeleteDomainNameAsync(DeleteDomainNameRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteIntegration
/// <summary>
/// Deletes an 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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteIntegration">REST API Reference for DeleteIntegration Operation</seealso>
DeleteIntegrationResponse DeleteIntegration(DeleteIntegrationRequest request);
/// <summary>
/// Deletes an 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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteIntegration">REST API Reference for DeleteIntegration Operation</seealso>
Task<DeleteIntegrationResponse> DeleteIntegrationAsync(DeleteIntegrationRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteIntegrationResponse
/// <summary>
/// Deletes an IntegrationResponses.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteIntegrationResponse">REST API Reference for DeleteIntegrationResponse Operation</seealso>
DeleteIntegrationResponseResponse DeleteIntegrationResponse(DeleteIntegrationResponseRequest request);
/// <summary>
/// Deletes an IntegrationResponses.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteIntegrationResponse">REST API Reference for DeleteIntegrationResponse Operation</seealso>
Task<DeleteIntegrationResponseResponse> DeleteIntegrationResponseAsync(DeleteIntegrationResponseRequest 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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteModel">REST API Reference for DeleteModel Operation</seealso>
Task<DeleteModelResponse> DeleteModelAsync(DeleteModelRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteRoute
/// <summary>
/// Deletes a Route.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteRoute service method.</param>
///
/// <returns>The response from the DeleteRoute service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteRoute">REST API Reference for DeleteRoute Operation</seealso>
DeleteRouteResponse DeleteRoute(DeleteRouteRequest request);
/// <summary>
/// Deletes a Route.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteRoute service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteRoute service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteRoute">REST API Reference for DeleteRoute Operation</seealso>
Task<DeleteRouteResponse> DeleteRouteAsync(DeleteRouteRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteRouteRequestParameter
/// <summary>
/// Deletes a route request parameter.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteRouteRequestParameter service method.</param>
///
/// <returns>The response from the DeleteRouteRequestParameter service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteRouteRequestParameter">REST API Reference for DeleteRouteRequestParameter Operation</seealso>
DeleteRouteRequestParameterResponse DeleteRouteRequestParameter(DeleteRouteRequestParameterRequest request);
/// <summary>
/// Deletes a route request parameter.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteRouteRequestParameter service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteRouteRequestParameter service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteRouteRequestParameter">REST API Reference for DeleteRouteRequestParameter Operation</seealso>
Task<DeleteRouteRequestParameterResponse> DeleteRouteRequestParameterAsync(DeleteRouteRequestParameterRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteRouteResponse
/// <summary>
/// Deletes a RouteResponse.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteRouteResponse service method.</param>
///
/// <returns>The response from the DeleteRouteResponse service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteRouteResponse">REST API Reference for DeleteRouteResponse Operation</seealso>
DeleteRouteResponseResponse DeleteRouteResponse(DeleteRouteResponseRequest request);
/// <summary>
/// Deletes a RouteResponse.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteRouteResponse service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteRouteResponse service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteRouteResponse">REST API Reference for DeleteRouteResponse Operation</seealso>
Task<DeleteRouteResponseResponse> DeleteRouteResponseAsync(DeleteRouteResponseRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteRouteSettings
/// <summary>
/// Deletes the RouteSettings for a stage.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteRouteSettings service method.</param>
///
/// <returns>The response from the DeleteRouteSettings service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteRouteSettings">REST API Reference for DeleteRouteSettings Operation</seealso>
DeleteRouteSettingsResponse DeleteRouteSettings(DeleteRouteSettingsRequest request);
/// <summary>
/// Deletes the RouteSettings for a stage.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteRouteSettings service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteRouteSettings service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteRouteSettings">REST API Reference for DeleteRouteSettings Operation</seealso>
Task<DeleteRouteSettingsResponse> DeleteRouteSettingsAsync(DeleteRouteSettingsRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteStage
/// <summary>
/// Deletes a Stage.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteStage">REST API Reference for DeleteStage Operation</seealso>
DeleteStageResponse DeleteStage(DeleteStageRequest request);
/// <summary>
/// Deletes a Stage.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteStage">REST API Reference for DeleteStage Operation</seealso>
Task<DeleteStageResponse> DeleteStageAsync(DeleteStageRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteVpcLink
/// <summary>
/// Deletes a VPC link.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteVpcLink">REST API Reference for DeleteVpcLink Operation</seealso>
DeleteVpcLinkResponse DeleteVpcLink(DeleteVpcLinkRequest request);
/// <summary>
/// Deletes a VPC link.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteVpcLink">REST API Reference for DeleteVpcLink Operation</seealso>
Task<DeleteVpcLinkResponse> DeleteVpcLinkAsync(DeleteVpcLinkRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ExportApi
/// <summary>
///
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ExportApi service method.</param>
///
/// <returns>The response from the ExportApi service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/ExportApi">REST API Reference for ExportApi Operation</seealso>
ExportApiResponse ExportApi(ExportApiRequest request);
/// <summary>
///
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ExportApi service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ExportApi service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/ExportApi">REST API Reference for ExportApi Operation</seealso>
Task<ExportApiResponse> ExportApiAsync(ExportApiRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetApi
/// <summary>
/// Gets an Api resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetApi service method.</param>
///
/// <returns>The response from the GetApi service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetApi">REST API Reference for GetApi Operation</seealso>
GetApiResponse GetApi(GetApiRequest request);
/// <summary>
/// Gets an Api resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetApi service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetApi service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetApi">REST API Reference for GetApi Operation</seealso>
Task<GetApiResponse> GetApiAsync(GetApiRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetApiMapping
/// <summary>
/// Gets an API mapping.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetApiMapping service method.</param>
///
/// <returns>The response from the GetApiMapping service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetApiMapping">REST API Reference for GetApiMapping Operation</seealso>
GetApiMappingResponse GetApiMapping(GetApiMappingRequest request);
/// <summary>
/// Gets an API mapping.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetApiMapping service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetApiMapping service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetApiMapping">REST API Reference for GetApiMapping Operation</seealso>
Task<GetApiMappingResponse> GetApiMappingAsync(GetApiMappingRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetApiMappings
/// <summary>
/// Gets API mappings.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetApiMappings service method.</param>
///
/// <returns>The response from the GetApiMappings service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetApiMappings">REST API Reference for GetApiMappings Operation</seealso>
GetApiMappingsResponse GetApiMappings(GetApiMappingsRequest request);
/// <summary>
/// Gets API mappings.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetApiMappings service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetApiMappings service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetApiMappings">REST API Reference for GetApiMappings Operation</seealso>
Task<GetApiMappingsResponse> GetApiMappingsAsync(GetApiMappingsRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetApis
/// <summary>
/// Gets a collection of Api resources.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetApis service method.</param>
///
/// <returns>The response from the GetApis service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetApis">REST API Reference for GetApis Operation</seealso>
GetApisResponse GetApis(GetApisRequest request);
/// <summary>
/// Gets a collection of Api resources.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetApis service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetApis service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetApis">REST API Reference for GetApis Operation</seealso>
Task<GetApisResponse> GetApisAsync(GetApisRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetAuthorizer
/// <summary>
/// Gets an Authorizer.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetAuthorizer">REST API Reference for GetAuthorizer Operation</seealso>
GetAuthorizerResponse GetAuthorizer(GetAuthorizerRequest request);
/// <summary>
/// Gets an Authorizer.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetAuthorizer">REST API Reference for GetAuthorizer Operation</seealso>
Task<GetAuthorizerResponse> GetAuthorizerAsync(GetAuthorizerRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetAuthorizers
/// <summary>
/// Gets the Authorizers for an API.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetAuthorizers">REST API Reference for GetAuthorizers Operation</seealso>
GetAuthorizersResponse GetAuthorizers(GetAuthorizersRequest request);
/// <summary>
/// Gets the Authorizers for an API.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetAuthorizers">REST API Reference for GetAuthorizers Operation</seealso>
Task<GetAuthorizersResponse> GetAuthorizersAsync(GetAuthorizersRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetDeployment
/// <summary>
/// Gets a Deployment.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetDeployment">REST API Reference for GetDeployment Operation</seealso>
GetDeploymentResponse GetDeployment(GetDeploymentRequest request);
/// <summary>
/// Gets a Deployment.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetDeployment">REST API Reference for GetDeployment Operation</seealso>
Task<GetDeploymentResponse> GetDeploymentAsync(GetDeploymentRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetDeployments
/// <summary>
/// Gets the Deployments for an API.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetDeployments">REST API Reference for GetDeployments Operation</seealso>
GetDeploymentsResponse GetDeployments(GetDeploymentsRequest request);
/// <summary>
/// Gets the Deployments for an API.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetDeployments">REST API Reference for GetDeployments Operation</seealso>
Task<GetDeploymentsResponse> GetDeploymentsAsync(GetDeploymentsRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetDomainName
/// <summary>
/// Gets a domain name.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetDomainName">REST API Reference for GetDomainName Operation</seealso>
GetDomainNameResponse GetDomainName(GetDomainNameRequest request);
/// <summary>
/// Gets a domain name.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetDomainName">REST API Reference for GetDomainName Operation</seealso>
Task<GetDomainNameResponse> GetDomainNameAsync(GetDomainNameRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetDomainNames
/// <summary>
/// Gets the domain names for an AWS account.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetDomainNames">REST API Reference for GetDomainNames Operation</seealso>
GetDomainNamesResponse GetDomainNames(GetDomainNamesRequest request);
/// <summary>
/// Gets the domain names for an AWS account.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetDomainNames">REST API Reference for GetDomainNames Operation</seealso>
Task<GetDomainNamesResponse> GetDomainNamesAsync(GetDomainNamesRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetIntegration
/// <summary>
/// Gets an Integration.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetIntegration">REST API Reference for GetIntegration Operation</seealso>
GetIntegrationResponse GetIntegration(GetIntegrationRequest request);
/// <summary>
/// Gets an Integration.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetIntegration">REST API Reference for GetIntegration Operation</seealso>
Task<GetIntegrationResponse> GetIntegrationAsync(GetIntegrationRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetIntegrationResponse
/// <summary>
/// Gets an IntegrationResponses.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetIntegrationResponse">REST API Reference for GetIntegrationResponse Operation</seealso>
GetIntegrationResponseResponse GetIntegrationResponse(GetIntegrationResponseRequest request);
/// <summary>
/// Gets an IntegrationResponses.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetIntegrationResponse">REST API Reference for GetIntegrationResponse Operation</seealso>
Task<GetIntegrationResponseResponse> GetIntegrationResponseAsync(GetIntegrationResponseRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetIntegrationResponses
/// <summary>
/// Gets the IntegrationResponses for an Integration.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetIntegrationResponses service method.</param>
///
/// <returns>The response from the GetIntegrationResponses service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetIntegrationResponses">REST API Reference for GetIntegrationResponses Operation</seealso>
GetIntegrationResponsesResponse GetIntegrationResponses(GetIntegrationResponsesRequest request);
/// <summary>
/// Gets the IntegrationResponses for an Integration.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetIntegrationResponses service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetIntegrationResponses service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetIntegrationResponses">REST API Reference for GetIntegrationResponses Operation</seealso>
Task<GetIntegrationResponsesResponse> GetIntegrationResponsesAsync(GetIntegrationResponsesRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetIntegrations
/// <summary>
/// Gets the Integrations for an API.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetIntegrations service method.</param>
///
/// <returns>The response from the GetIntegrations service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetIntegrations">REST API Reference for GetIntegrations Operation</seealso>
GetIntegrationsResponse GetIntegrations(GetIntegrationsRequest request);
/// <summary>
/// Gets the Integrations for an API.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetIntegrations service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetIntegrations service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetIntegrations">REST API Reference for GetIntegrations Operation</seealso>
Task<GetIntegrationsResponse> GetIntegrationsAsync(GetIntegrationsRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetModel
/// <summary>
/// Gets a Model.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetModel">REST API Reference for GetModel Operation</seealso>
GetModelResponse GetModel(GetModelRequest request);
/// <summary>
/// Gets a Model.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetModel">REST API Reference for GetModel Operation</seealso>
Task<GetModelResponse> GetModelAsync(GetModelRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetModels
/// <summary>
/// Gets the Models for an API.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetModels">REST API Reference for GetModels Operation</seealso>
GetModelsResponse GetModels(GetModelsRequest request);
/// <summary>
/// Gets the Models for an API.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetModels">REST API Reference for GetModels Operation</seealso>
Task<GetModelsResponse> GetModelsAsync(GetModelsRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetModelTemplate
/// <summary>
/// Gets a model template.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetModelTemplate">REST API Reference for GetModelTemplate Operation</seealso>
GetModelTemplateResponse GetModelTemplate(GetModelTemplateRequest request);
/// <summary>
/// Gets a model template.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetModelTemplate">REST API Reference for GetModelTemplate Operation</seealso>
Task<GetModelTemplateResponse> GetModelTemplateAsync(GetModelTemplateRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetRoute
/// <summary>
/// Gets a Route.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetRoute service method.</param>
///
/// <returns>The response from the GetRoute service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetRoute">REST API Reference for GetRoute Operation</seealso>
GetRouteResponse GetRoute(GetRouteRequest request);
/// <summary>
/// Gets a Route.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetRoute service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetRoute service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetRoute">REST API Reference for GetRoute Operation</seealso>
Task<GetRouteResponse> GetRouteAsync(GetRouteRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetRouteResponse
/// <summary>
/// Gets a RouteResponse.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetRouteResponse service method.</param>
///
/// <returns>The response from the GetRouteResponse service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetRouteResponse">REST API Reference for GetRouteResponse Operation</seealso>
GetRouteResponseResponse GetRouteResponse(GetRouteResponseRequest request);
/// <summary>
/// Gets a RouteResponse.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetRouteResponse service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetRouteResponse service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetRouteResponse">REST API Reference for GetRouteResponse Operation</seealso>
Task<GetRouteResponseResponse> GetRouteResponseAsync(GetRouteResponseRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetRouteResponses
/// <summary>
/// Gets the RouteResponses for a Route.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetRouteResponses service method.</param>
///
/// <returns>The response from the GetRouteResponses service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetRouteResponses">REST API Reference for GetRouteResponses Operation</seealso>
GetRouteResponsesResponse GetRouteResponses(GetRouteResponsesRequest request);
/// <summary>
/// Gets the RouteResponses for a Route.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetRouteResponses service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetRouteResponses service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetRouteResponses">REST API Reference for GetRouteResponses Operation</seealso>
Task<GetRouteResponsesResponse> GetRouteResponsesAsync(GetRouteResponsesRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetRoutes
/// <summary>
/// Gets the Routes for an API.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetRoutes service method.</param>
///
/// <returns>The response from the GetRoutes service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetRoutes">REST API Reference for GetRoutes Operation</seealso>
GetRoutesResponse GetRoutes(GetRoutesRequest request);
/// <summary>
/// Gets the Routes for an API.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetRoutes service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetRoutes service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetRoutes">REST API Reference for GetRoutes Operation</seealso>
Task<GetRoutesResponse> GetRoutesAsync(GetRoutesRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetStage
/// <summary>
/// Gets a Stage.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetStage">REST API Reference for GetStage Operation</seealso>
GetStageResponse GetStage(GetStageRequest request);
/// <summary>
/// Gets a Stage.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetStage">REST API Reference for GetStage Operation</seealso>
Task<GetStageResponse> GetStageAsync(GetStageRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetStages
/// <summary>
/// Gets the Stages for an API.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetStages">REST API Reference for GetStages Operation</seealso>
GetStagesResponse GetStages(GetStagesRequest request);
/// <summary>
/// Gets the Stages for an API.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetStages">REST API Reference for GetStages Operation</seealso>
Task<GetStagesResponse> GetStagesAsync(GetStagesRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetTags
/// <summary>
/// Gets a collection of Tag resources.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetTags">REST API Reference for GetTags Operation</seealso>
GetTagsResponse GetTags(GetTagsRequest request);
/// <summary>
/// Gets a collection of Tag resources.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetTags">REST API Reference for GetTags Operation</seealso>
Task<GetTagsResponse> GetTagsAsync(GetTagsRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetVpcLink
/// <summary>
/// Gets a VPC link.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetVpcLink">REST API Reference for GetVpcLink Operation</seealso>
GetVpcLinkResponse GetVpcLink(GetVpcLinkRequest request);
/// <summary>
/// Gets a VPC link.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetVpcLink">REST API Reference for GetVpcLink Operation</seealso>
Task<GetVpcLinkResponse> GetVpcLinkAsync(GetVpcLinkRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetVpcLinks
/// <summary>
/// Gets a collection of VPC links.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetVpcLinks">REST API Reference for GetVpcLinks Operation</seealso>
GetVpcLinksResponse GetVpcLinks(GetVpcLinksRequest request);
/// <summary>
/// Gets a collection of VPC links.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetVpcLinks">REST API Reference for GetVpcLinks Operation</seealso>
Task<GetVpcLinksResponse> GetVpcLinksAsync(GetVpcLinksRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ImportApi
/// <summary>
/// Imports an API.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ImportApi service method.</param>
///
/// <returns>The response from the ImportApi service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/ImportApi">REST API Reference for ImportApi Operation</seealso>
ImportApiResponse ImportApi(ImportApiRequest request);
/// <summary>
/// Imports an API.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ImportApi service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ImportApi service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/ImportApi">REST API Reference for ImportApi Operation</seealso>
Task<ImportApiResponse> ImportApiAsync(ImportApiRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ReimportApi
/// <summary>
/// Puts an Api resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ReimportApi service method.</param>
///
/// <returns>The response from the ReimportApi service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/ReimportApi">REST API Reference for ReimportApi Operation</seealso>
ReimportApiResponse ReimportApi(ReimportApiRequest request);
/// <summary>
/// Puts an Api resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ReimportApi service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ReimportApi service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/ReimportApi">REST API Reference for ReimportApi Operation</seealso>
Task<ReimportApiResponse> ReimportApiAsync(ReimportApiRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ResetAuthorizersCache
/// <summary>
/// Resets all authorizer cache entries on a stage. Supported only for HTTP APIs.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ResetAuthorizersCache service method.</param>
///
/// <returns>The response from the ResetAuthorizersCache service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/ResetAuthorizersCache">REST API Reference for ResetAuthorizersCache Operation</seealso>
ResetAuthorizersCacheResponse ResetAuthorizersCache(ResetAuthorizersCacheRequest request);
/// <summary>
/// Resets all authorizer cache entries on a stage. Supported only for HTTP APIs.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ResetAuthorizersCache service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ResetAuthorizersCache service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/ResetAuthorizersCache">REST API Reference for ResetAuthorizersCache Operation</seealso>
Task<ResetAuthorizersCacheResponse> ResetAuthorizersCacheAsync(ResetAuthorizersCacheRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region TagResource
/// <summary>
/// Creates a new Tag resource to represent a tag.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/TagResource">REST API Reference for TagResource Operation</seealso>
TagResourceResponse TagResource(TagResourceRequest request);
/// <summary>
/// Creates a new Tag resource to represent a tag.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/TagResource">REST API Reference for TagResource Operation</seealso>
Task<TagResourceResponse> TagResourceAsync(TagResourceRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UntagResource
/// <summary>
/// Deletes a Tag.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UntagResource">REST API Reference for UntagResource Operation</seealso>
UntagResourceResponse UntagResource(UntagResourceRequest request);
/// <summary>
/// Deletes a Tag.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UntagResource">REST API Reference for UntagResource Operation</seealso>
Task<UntagResourceResponse> UntagResourceAsync(UntagResourceRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateApi
/// <summary>
/// Updates an Api resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateApi service method.</param>
///
/// <returns>The response from the UpdateApi service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateApi">REST API Reference for UpdateApi Operation</seealso>
UpdateApiResponse UpdateApi(UpdateApiRequest request);
/// <summary>
/// Updates an Api resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateApi service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateApi service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateApi">REST API Reference for UpdateApi Operation</seealso>
Task<UpdateApiResponse> UpdateApiAsync(UpdateApiRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateApiMapping
/// <summary>
/// The API mapping.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateApiMapping service method.</param>
///
/// <returns>The response from the UpdateApiMapping service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateApiMapping">REST API Reference for UpdateApiMapping Operation</seealso>
UpdateApiMappingResponse UpdateApiMapping(UpdateApiMappingRequest request);
/// <summary>
/// The API mapping.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateApiMapping service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateApiMapping service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateApiMapping">REST API Reference for UpdateApiMapping Operation</seealso>
Task<UpdateApiMappingResponse> UpdateApiMappingAsync(UpdateApiMappingRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateAuthorizer
/// <summary>
/// Updates an Authorizer.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateAuthorizer">REST API Reference for UpdateAuthorizer Operation</seealso>
UpdateAuthorizerResponse UpdateAuthorizer(UpdateAuthorizerRequest request);
/// <summary>
/// Updates an Authorizer.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateAuthorizer">REST API Reference for UpdateAuthorizer Operation</seealso>
Task<UpdateAuthorizerResponse> UpdateAuthorizerAsync(UpdateAuthorizerRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateDeployment
/// <summary>
/// Updates a Deployment.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateDeployment">REST API Reference for UpdateDeployment Operation</seealso>
UpdateDeploymentResponse UpdateDeployment(UpdateDeploymentRequest request);
/// <summary>
/// Updates a Deployment.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateDeployment">REST API Reference for UpdateDeployment Operation</seealso>
Task<UpdateDeploymentResponse> UpdateDeploymentAsync(UpdateDeploymentRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateDomainName
/// <summary>
/// Updates a domain name.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateDomainName">REST API Reference for UpdateDomainName Operation</seealso>
UpdateDomainNameResponse UpdateDomainName(UpdateDomainNameRequest request);
/// <summary>
/// Updates a domain name.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateDomainName">REST API Reference for UpdateDomainName Operation</seealso>
Task<UpdateDomainNameResponse> UpdateDomainNameAsync(UpdateDomainNameRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateIntegration
/// <summary>
/// Updates an 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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateIntegration">REST API Reference for UpdateIntegration Operation</seealso>
UpdateIntegrationResponse UpdateIntegration(UpdateIntegrationRequest request);
/// <summary>
/// Updates an 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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateIntegration">REST API Reference for UpdateIntegration Operation</seealso>
Task<UpdateIntegrationResponse> UpdateIntegrationAsync(UpdateIntegrationRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateIntegrationResponse
/// <summary>
/// Updates an IntegrationResponses.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateIntegrationResponse">REST API Reference for UpdateIntegrationResponse Operation</seealso>
UpdateIntegrationResponseResponse UpdateIntegrationResponse(UpdateIntegrationResponseRequest request);
/// <summary>
/// Updates an IntegrationResponses.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateIntegrationResponse">REST API Reference for UpdateIntegrationResponse Operation</seealso>
Task<UpdateIntegrationResponseResponse> UpdateIntegrationResponseAsync(UpdateIntegrationResponseRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateModel
/// <summary>
/// Updates 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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateModel">REST API Reference for UpdateModel Operation</seealso>
UpdateModelResponse UpdateModel(UpdateModelRequest request);
/// <summary>
/// Updates 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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateModel">REST API Reference for UpdateModel Operation</seealso>
Task<UpdateModelResponse> UpdateModelAsync(UpdateModelRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateRoute
/// <summary>
/// Updates a Route.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateRoute service method.</param>
///
/// <returns>The response from the UpdateRoute service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateRoute">REST API Reference for UpdateRoute Operation</seealso>
UpdateRouteResponse UpdateRoute(UpdateRouteRequest request);
/// <summary>
/// Updates a Route.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateRoute service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateRoute service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateRoute">REST API Reference for UpdateRoute Operation</seealso>
Task<UpdateRouteResponse> UpdateRouteAsync(UpdateRouteRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateRouteResponse
/// <summary>
/// Updates a RouteResponse.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateRouteResponse service method.</param>
///
/// <returns>The response from the UpdateRouteResponse service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateRouteResponse">REST API Reference for UpdateRouteResponse Operation</seealso>
UpdateRouteResponseResponse UpdateRouteResponse(UpdateRouteResponseRequest request);
/// <summary>
/// Updates a RouteResponse.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateRouteResponse service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateRouteResponse service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateRouteResponse">REST API Reference for UpdateRouteResponse Operation</seealso>
Task<UpdateRouteResponseResponse> UpdateRouteResponseAsync(UpdateRouteResponseRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateStage
/// <summary>
/// Updates a Stage.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateStage">REST API Reference for UpdateStage Operation</seealso>
UpdateStageResponse UpdateStage(UpdateStageRequest request);
/// <summary>
/// Updates a Stage.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateStage">REST API Reference for UpdateStage Operation</seealso>
Task<UpdateStageResponse> UpdateStageAsync(UpdateStageRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateVpcLink
/// <summary>
/// Updates a VPC link.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateVpcLink">REST API Reference for UpdateVpcLink Operation</seealso>
UpdateVpcLinkResponse UpdateVpcLink(UpdateVpcLinkRequest request);
/// <summary>
/// Updates a VPC link.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateVpcLink">REST API Reference for UpdateVpcLink Operation</seealso>
Task<UpdateVpcLinkResponse> UpdateVpcLinkAsync(UpdateVpcLinkRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
}
} | 3,680 |
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 apigatewayv2-2018-11-29.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.ApiGatewayV2.Model;
using Amazon.ApiGatewayV2.Model.Internal.MarshallTransformations;
using Amazon.ApiGatewayV2.Internal;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Auth;
using Amazon.Runtime.Internal.Transform;
namespace Amazon.ApiGatewayV2
{
/// <summary>
/// Implementation for accessing ApiGatewayV2
///
/// Amazon API Gateway V2
/// </summary>
public partial class AmazonApiGatewayV2Client : AmazonServiceClient, IAmazonApiGatewayV2
{
private static IServiceMetadata serviceMetadata = new AmazonApiGatewayV2Metadata();
#region Constructors
/// <summary>
/// Constructs AmazonApiGatewayV2Client 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 AmazonApiGatewayV2Client()
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonApiGatewayV2Config()) { }
/// <summary>
/// Constructs AmazonApiGatewayV2Client 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 AmazonApiGatewayV2Client(RegionEndpoint region)
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonApiGatewayV2Config{RegionEndpoint = region}) { }
/// <summary>
/// Constructs AmazonApiGatewayV2Client 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 AmazonApiGatewayV2Client Configuration Object</param>
public AmazonApiGatewayV2Client(AmazonApiGatewayV2Config config)
: base(FallbackCredentialsFactory.GetCredentials(), config) { }
/// <summary>
/// Constructs AmazonApiGatewayV2Client with AWS Credentials
/// </summary>
/// <param name="credentials">AWS Credentials</param>
public AmazonApiGatewayV2Client(AWSCredentials credentials)
: this(credentials, new AmazonApiGatewayV2Config())
{
}
/// <summary>
/// Constructs AmazonApiGatewayV2Client with AWS Credentials
/// </summary>
/// <param name="credentials">AWS Credentials</param>
/// <param name="region">The region to connect.</param>
public AmazonApiGatewayV2Client(AWSCredentials credentials, RegionEndpoint region)
: this(credentials, new AmazonApiGatewayV2Config{RegionEndpoint = region})
{
}
/// <summary>
/// Constructs AmazonApiGatewayV2Client with AWS Credentials and an
/// AmazonApiGatewayV2Client Configuration object.
/// </summary>
/// <param name="credentials">AWS Credentials</param>
/// <param name="clientConfig">The AmazonApiGatewayV2Client Configuration Object</param>
public AmazonApiGatewayV2Client(AWSCredentials credentials, AmazonApiGatewayV2Config clientConfig)
: base(credentials, clientConfig)
{
}
/// <summary>
/// Constructs AmazonApiGatewayV2Client 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 AmazonApiGatewayV2Client(string awsAccessKeyId, string awsSecretAccessKey)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonApiGatewayV2Config())
{
}
/// <summary>
/// Constructs AmazonApiGatewayV2Client 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 AmazonApiGatewayV2Client(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonApiGatewayV2Config() {RegionEndpoint=region})
{
}
/// <summary>
/// Constructs AmazonApiGatewayV2Client with AWS Access Key ID, AWS Secret Key and an
/// AmazonApiGatewayV2Client Configuration object.
/// </summary>
/// <param name="awsAccessKeyId">AWS Access Key ID</param>
/// <param name="awsSecretAccessKey">AWS Secret Access Key</param>
/// <param name="clientConfig">The AmazonApiGatewayV2Client Configuration Object</param>
public AmazonApiGatewayV2Client(string awsAccessKeyId, string awsSecretAccessKey, AmazonApiGatewayV2Config clientConfig)
: base(awsAccessKeyId, awsSecretAccessKey, clientConfig)
{
}
/// <summary>
/// Constructs AmazonApiGatewayV2Client 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 AmazonApiGatewayV2Client(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonApiGatewayV2Config())
{
}
/// <summary>
/// Constructs AmazonApiGatewayV2Client 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 AmazonApiGatewayV2Client(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonApiGatewayV2Config{RegionEndpoint = region})
{
}
/// <summary>
/// Constructs AmazonApiGatewayV2Client with AWS Access Key ID, AWS Secret Key and an
/// AmazonApiGatewayV2Client 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 AmazonApiGatewayV2Client Configuration Object</param>
public AmazonApiGatewayV2Client(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonApiGatewayV2Config clientConfig)
: base(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, clientConfig)
{
}
#endregion
#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.RemoveHandler<Amazon.Runtime.Internal.EndpointResolver>();
pipeline.AddHandlerAfter<Amazon.Runtime.Internal.Marshaller>(new AmazonApiGatewayV2EndpointResolver());
}
/// <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 CreateApi
internal virtual CreateApiResponse CreateApi(CreateApiRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateApiRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateApiResponseUnmarshaller.Instance;
return Invoke<CreateApiResponse>(request, options);
}
/// <summary>
/// Creates an Api resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateApi service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateApi service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateApi">REST API Reference for CreateApi Operation</seealso>
public virtual Task<CreateApiResponse> CreateApiAsync(CreateApiRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateApiRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateApiResponseUnmarshaller.Instance;
return InvokeAsync<CreateApiResponse>(request, options, cancellationToken);
}
#endregion
#region CreateApiMapping
internal virtual CreateApiMappingResponse CreateApiMapping(CreateApiMappingRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateApiMappingRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateApiMappingResponseUnmarshaller.Instance;
return Invoke<CreateApiMappingResponse>(request, options);
}
/// <summary>
/// Creates an API mapping.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateApiMapping service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateApiMapping service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateApiMapping">REST API Reference for CreateApiMapping Operation</seealso>
public virtual Task<CreateApiMappingResponse> CreateApiMappingAsync(CreateApiMappingRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateApiMappingRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateApiMappingResponseUnmarshaller.Instance;
return InvokeAsync<CreateApiMappingResponse>(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>
/// Creates an Authorizer for an API.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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 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 for an API.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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 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 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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.AccessDeniedException">
///
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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 CreateIntegration
internal virtual CreateIntegrationResponse CreateIntegration(CreateIntegrationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateIntegrationRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateIntegrationResponseUnmarshaller.Instance;
return Invoke<CreateIntegrationResponse>(request, options);
}
/// <summary>
/// Creates an Integration.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateIntegration service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateIntegration service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateIntegration">REST API Reference for CreateIntegration Operation</seealso>
public virtual Task<CreateIntegrationResponse> CreateIntegrationAsync(CreateIntegrationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateIntegrationRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateIntegrationResponseUnmarshaller.Instance;
return InvokeAsync<CreateIntegrationResponse>(request, options, cancellationToken);
}
#endregion
#region CreateIntegrationResponse
internal virtual CreateIntegrationResponseResponse CreateIntegrationResponse(CreateIntegrationResponseRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateIntegrationResponseRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateIntegrationResponseResponseUnmarshaller.Instance;
return Invoke<CreateIntegrationResponseResponse>(request, options);
}
/// <summary>
/// Creates an IntegrationResponses.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateIntegrationResponse service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateIntegrationResponse service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateIntegrationResponse">REST API Reference for CreateIntegrationResponse Operation</seealso>
public virtual Task<CreateIntegrationResponseResponse> CreateIntegrationResponseAsync(CreateIntegrationResponseRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateIntegrationResponseRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateIntegrationResponseResponseUnmarshaller.Instance;
return InvokeAsync<CreateIntegrationResponseResponse>(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>
/// Creates a Model for an API.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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 CreateRoute
internal virtual CreateRouteResponse CreateRoute(CreateRouteRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateRouteRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateRouteResponseUnmarshaller.Instance;
return Invoke<CreateRouteResponse>(request, options);
}
/// <summary>
/// Creates a Route for an API.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateRoute service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateRoute service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateRoute">REST API Reference for CreateRoute Operation</seealso>
public virtual Task<CreateRouteResponse> CreateRouteAsync(CreateRouteRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateRouteRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateRouteResponseUnmarshaller.Instance;
return InvokeAsync<CreateRouteResponse>(request, options, cancellationToken);
}
#endregion
#region CreateRouteResponse
internal virtual CreateRouteResponseResponse CreateRouteResponse(CreateRouteResponseRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateRouteResponseRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateRouteResponseResponseUnmarshaller.Instance;
return Invoke<CreateRouteResponseResponse>(request, options);
}
/// <summary>
/// Creates a RouteResponse for a Route.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateRouteResponse service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateRouteResponse service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateRouteResponse">REST API Reference for CreateRouteResponse Operation</seealso>
public virtual Task<CreateRouteResponseResponse> CreateRouteResponseAsync(CreateRouteResponseRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateRouteResponseRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateRouteResponseResponseUnmarshaller.Instance;
return InvokeAsync<CreateRouteResponseResponse>(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 Stage for an 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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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 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.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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 DeleteAccessLogSettings
internal virtual DeleteAccessLogSettingsResponse DeleteAccessLogSettings(DeleteAccessLogSettingsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteAccessLogSettingsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteAccessLogSettingsResponseUnmarshaller.Instance;
return Invoke<DeleteAccessLogSettingsResponse>(request, options);
}
/// <summary>
/// Deletes the AccessLogSettings for a Stage. To disable access logging for a Stage,
/// delete its AccessLogSettings.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteAccessLogSettings service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteAccessLogSettings service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteAccessLogSettings">REST API Reference for DeleteAccessLogSettings Operation</seealso>
public virtual Task<DeleteAccessLogSettingsResponse> DeleteAccessLogSettingsAsync(DeleteAccessLogSettingsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteAccessLogSettingsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteAccessLogSettingsResponseUnmarshaller.Instance;
return InvokeAsync<DeleteAccessLogSettingsResponse>(request, options, cancellationToken);
}
#endregion
#region DeleteApi
internal virtual DeleteApiResponse DeleteApi(DeleteApiRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteApiRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteApiResponseUnmarshaller.Instance;
return Invoke<DeleteApiResponse>(request, options);
}
/// <summary>
/// Deletes an Api resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteApi service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteApi service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteApi">REST API Reference for DeleteApi Operation</seealso>
public virtual Task<DeleteApiResponse> DeleteApiAsync(DeleteApiRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteApiRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteApiResponseUnmarshaller.Instance;
return InvokeAsync<DeleteApiResponse>(request, options, cancellationToken);
}
#endregion
#region DeleteApiMapping
internal virtual DeleteApiMappingResponse DeleteApiMapping(DeleteApiMappingRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteApiMappingRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteApiMappingResponseUnmarshaller.Instance;
return Invoke<DeleteApiMappingResponse>(request, options);
}
/// <summary>
/// Deletes an API mapping.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteApiMapping service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteApiMapping service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteApiMapping">REST API Reference for DeleteApiMapping Operation</seealso>
public virtual Task<DeleteApiMappingResponse> DeleteApiMappingAsync(DeleteApiMappingRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteApiMappingRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteApiMappingResponseUnmarshaller.Instance;
return InvokeAsync<DeleteApiMappingResponse>(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 Authorizer.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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 DeleteCorsConfiguration
internal virtual DeleteCorsConfigurationResponse DeleteCorsConfiguration(DeleteCorsConfigurationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteCorsConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteCorsConfigurationResponseUnmarshaller.Instance;
return Invoke<DeleteCorsConfigurationResponse>(request, options);
}
/// <summary>
/// Deletes a CORS configuration.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteCorsConfiguration service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteCorsConfiguration service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteCorsConfiguration">REST API Reference for DeleteCorsConfiguration Operation</seealso>
public virtual Task<DeleteCorsConfigurationResponse> DeleteCorsConfigurationAsync(DeleteCorsConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteCorsConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteCorsConfigurationResponseUnmarshaller.Instance;
return InvokeAsync<DeleteCorsConfigurationResponse>(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.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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 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 a domain name.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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 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>
/// Deletes an 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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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>
/// Deletes an IntegrationResponses.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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 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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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 DeleteRoute
internal virtual DeleteRouteResponse DeleteRoute(DeleteRouteRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteRouteRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteRouteResponseUnmarshaller.Instance;
return Invoke<DeleteRouteResponse>(request, options);
}
/// <summary>
/// Deletes a Route.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteRoute service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteRoute service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteRoute">REST API Reference for DeleteRoute Operation</seealso>
public virtual Task<DeleteRouteResponse> DeleteRouteAsync(DeleteRouteRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteRouteRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteRouteResponseUnmarshaller.Instance;
return InvokeAsync<DeleteRouteResponse>(request, options, cancellationToken);
}
#endregion
#region DeleteRouteRequestParameter
internal virtual DeleteRouteRequestParameterResponse DeleteRouteRequestParameter(DeleteRouteRequestParameterRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteRouteRequestParameterRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteRouteRequestParameterResponseUnmarshaller.Instance;
return Invoke<DeleteRouteRequestParameterResponse>(request, options);
}
/// <summary>
/// Deletes a route request parameter.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteRouteRequestParameter service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteRouteRequestParameter service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteRouteRequestParameter">REST API Reference for DeleteRouteRequestParameter Operation</seealso>
public virtual Task<DeleteRouteRequestParameterResponse> DeleteRouteRequestParameterAsync(DeleteRouteRequestParameterRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteRouteRequestParameterRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteRouteRequestParameterResponseUnmarshaller.Instance;
return InvokeAsync<DeleteRouteRequestParameterResponse>(request, options, cancellationToken);
}
#endregion
#region DeleteRouteResponse
internal virtual DeleteRouteResponseResponse DeleteRouteResponse(DeleteRouteResponseRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteRouteResponseRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteRouteResponseResponseUnmarshaller.Instance;
return Invoke<DeleteRouteResponseResponse>(request, options);
}
/// <summary>
/// Deletes a RouteResponse.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteRouteResponse service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteRouteResponse service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteRouteResponse">REST API Reference for DeleteRouteResponse Operation</seealso>
public virtual Task<DeleteRouteResponseResponse> DeleteRouteResponseAsync(DeleteRouteResponseRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteRouteResponseRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteRouteResponseResponseUnmarshaller.Instance;
return InvokeAsync<DeleteRouteResponseResponse>(request, options, cancellationToken);
}
#endregion
#region DeleteRouteSettings
internal virtual DeleteRouteSettingsResponse DeleteRouteSettings(DeleteRouteSettingsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteRouteSettingsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteRouteSettingsResponseUnmarshaller.Instance;
return Invoke<DeleteRouteSettingsResponse>(request, options);
}
/// <summary>
/// Deletes the RouteSettings for a stage.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteRouteSettings service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteRouteSettings service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteRouteSettings">REST API Reference for DeleteRouteSettings Operation</seealso>
public virtual Task<DeleteRouteSettingsResponse> DeleteRouteSettingsAsync(DeleteRouteSettingsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteRouteSettingsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteRouteSettingsResponseUnmarshaller.Instance;
return InvokeAsync<DeleteRouteSettingsResponse>(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.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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 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 a VPC link.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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 ExportApi
internal virtual ExportApiResponse ExportApi(ExportApiRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ExportApiRequestMarshaller.Instance;
options.ResponseUnmarshaller = ExportApiResponseUnmarshaller.Instance;
return Invoke<ExportApiResponse>(request, options);
}
/// <summary>
///
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ExportApi service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ExportApi service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/ExportApi">REST API Reference for ExportApi Operation</seealso>
public virtual Task<ExportApiResponse> ExportApiAsync(ExportApiRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ExportApiRequestMarshaller.Instance;
options.ResponseUnmarshaller = ExportApiResponseUnmarshaller.Instance;
return InvokeAsync<ExportApiResponse>(request, options, cancellationToken);
}
#endregion
#region GetApi
internal virtual GetApiResponse GetApi(GetApiRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetApiRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetApiResponseUnmarshaller.Instance;
return Invoke<GetApiResponse>(request, options);
}
/// <summary>
/// Gets an Api resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetApi service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetApi service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetApi">REST API Reference for GetApi Operation</seealso>
public virtual Task<GetApiResponse> GetApiAsync(GetApiRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetApiRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetApiResponseUnmarshaller.Instance;
return InvokeAsync<GetApiResponse>(request, options, cancellationToken);
}
#endregion
#region GetApiMapping
internal virtual GetApiMappingResponse GetApiMapping(GetApiMappingRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetApiMappingRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetApiMappingResponseUnmarshaller.Instance;
return Invoke<GetApiMappingResponse>(request, options);
}
/// <summary>
/// Gets an API mapping.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetApiMapping service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetApiMapping service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetApiMapping">REST API Reference for GetApiMapping Operation</seealso>
public virtual Task<GetApiMappingResponse> GetApiMappingAsync(GetApiMappingRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetApiMappingRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetApiMappingResponseUnmarshaller.Instance;
return InvokeAsync<GetApiMappingResponse>(request, options, cancellationToken);
}
#endregion
#region GetApiMappings
internal virtual GetApiMappingsResponse GetApiMappings(GetApiMappingsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetApiMappingsRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetApiMappingsResponseUnmarshaller.Instance;
return Invoke<GetApiMappingsResponse>(request, options);
}
/// <summary>
/// Gets API mappings.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetApiMappings service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetApiMappings service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetApiMappings">REST API Reference for GetApiMappings Operation</seealso>
public virtual Task<GetApiMappingsResponse> GetApiMappingsAsync(GetApiMappingsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetApiMappingsRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetApiMappingsResponseUnmarshaller.Instance;
return InvokeAsync<GetApiMappingsResponse>(request, options, cancellationToken);
}
#endregion
#region GetApis
internal virtual GetApisResponse GetApis(GetApisRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetApisRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetApisResponseUnmarshaller.Instance;
return Invoke<GetApisResponse>(request, options);
}
/// <summary>
/// Gets a collection of Api resources.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetApis service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetApis service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetApis">REST API Reference for GetApis Operation</seealso>
public virtual Task<GetApisResponse> GetApisAsync(GetApisRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetApisRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetApisResponseUnmarshaller.Instance;
return InvokeAsync<GetApisResponse>(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>
/// Gets an Authorizer.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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>
/// Gets the Authorizers for an API.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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 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 a Deployment.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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 the Deployments for an API.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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 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>
/// Gets a domain name.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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>
/// Gets the domain names for an AWS account.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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 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>
/// Gets an Integration.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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>
/// Gets an IntegrationResponses.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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 GetIntegrationResponses
internal virtual GetIntegrationResponsesResponse GetIntegrationResponses(GetIntegrationResponsesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetIntegrationResponsesRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetIntegrationResponsesResponseUnmarshaller.Instance;
return Invoke<GetIntegrationResponsesResponse>(request, options);
}
/// <summary>
/// Gets the IntegrationResponses for an Integration.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetIntegrationResponses service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetIntegrationResponses service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetIntegrationResponses">REST API Reference for GetIntegrationResponses Operation</seealso>
public virtual Task<GetIntegrationResponsesResponse> GetIntegrationResponsesAsync(GetIntegrationResponsesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetIntegrationResponsesRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetIntegrationResponsesResponseUnmarshaller.Instance;
return InvokeAsync<GetIntegrationResponsesResponse>(request, options, cancellationToken);
}
#endregion
#region GetIntegrations
internal virtual GetIntegrationsResponse GetIntegrations(GetIntegrationsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetIntegrationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetIntegrationsResponseUnmarshaller.Instance;
return Invoke<GetIntegrationsResponse>(request, options);
}
/// <summary>
/// Gets the Integrations for an API.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetIntegrations service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetIntegrations service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetIntegrations">REST API Reference for GetIntegrations Operation</seealso>
public virtual Task<GetIntegrationsResponse> GetIntegrationsAsync(GetIntegrationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetIntegrationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetIntegrationsResponseUnmarshaller.Instance;
return InvokeAsync<GetIntegrationsResponse>(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>
/// Gets a Model.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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>
/// Gets the Models for an API.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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>
/// Gets a model template.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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 GetRoute
internal virtual GetRouteResponse GetRoute(GetRouteRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetRouteRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetRouteResponseUnmarshaller.Instance;
return Invoke<GetRouteResponse>(request, options);
}
/// <summary>
/// Gets a Route.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetRoute service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetRoute service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetRoute">REST API Reference for GetRoute Operation</seealso>
public virtual Task<GetRouteResponse> GetRouteAsync(GetRouteRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetRouteRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetRouteResponseUnmarshaller.Instance;
return InvokeAsync<GetRouteResponse>(request, options, cancellationToken);
}
#endregion
#region GetRouteResponse
internal virtual GetRouteResponseResponse GetRouteResponse(GetRouteResponseRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetRouteResponseRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetRouteResponseResponseUnmarshaller.Instance;
return Invoke<GetRouteResponseResponse>(request, options);
}
/// <summary>
/// Gets a RouteResponse.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetRouteResponse service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetRouteResponse service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetRouteResponse">REST API Reference for GetRouteResponse Operation</seealso>
public virtual Task<GetRouteResponseResponse> GetRouteResponseAsync(GetRouteResponseRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetRouteResponseRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetRouteResponseResponseUnmarshaller.Instance;
return InvokeAsync<GetRouteResponseResponse>(request, options, cancellationToken);
}
#endregion
#region GetRouteResponses
internal virtual GetRouteResponsesResponse GetRouteResponses(GetRouteResponsesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetRouteResponsesRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetRouteResponsesResponseUnmarshaller.Instance;
return Invoke<GetRouteResponsesResponse>(request, options);
}
/// <summary>
/// Gets the RouteResponses for a Route.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetRouteResponses service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetRouteResponses service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetRouteResponses">REST API Reference for GetRouteResponses Operation</seealso>
public virtual Task<GetRouteResponsesResponse> GetRouteResponsesAsync(GetRouteResponsesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetRouteResponsesRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetRouteResponsesResponseUnmarshaller.Instance;
return InvokeAsync<GetRouteResponsesResponse>(request, options, cancellationToken);
}
#endregion
#region GetRoutes
internal virtual GetRoutesResponse GetRoutes(GetRoutesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetRoutesRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetRoutesResponseUnmarshaller.Instance;
return Invoke<GetRoutesResponse>(request, options);
}
/// <summary>
/// Gets the Routes for an API.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetRoutes service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetRoutes service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetRoutes">REST API Reference for GetRoutes Operation</seealso>
public virtual Task<GetRoutesResponse> GetRoutesAsync(GetRoutesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetRoutesRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetRoutesResponseUnmarshaller.Instance;
return InvokeAsync<GetRoutesResponse>(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 a Stage.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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 the Stages for an API.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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 a collection of Tag resources.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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 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 VPC link.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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 a collection of VPC links.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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 ImportApi
internal virtual ImportApiResponse ImportApi(ImportApiRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ImportApiRequestMarshaller.Instance;
options.ResponseUnmarshaller = ImportApiResponseUnmarshaller.Instance;
return Invoke<ImportApiResponse>(request, options);
}
/// <summary>
/// Imports an API.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ImportApi service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ImportApi service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/ImportApi">REST API Reference for ImportApi Operation</seealso>
public virtual Task<ImportApiResponse> ImportApiAsync(ImportApiRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ImportApiRequestMarshaller.Instance;
options.ResponseUnmarshaller = ImportApiResponseUnmarshaller.Instance;
return InvokeAsync<ImportApiResponse>(request, options, cancellationToken);
}
#endregion
#region ReimportApi
internal virtual ReimportApiResponse ReimportApi(ReimportApiRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ReimportApiRequestMarshaller.Instance;
options.ResponseUnmarshaller = ReimportApiResponseUnmarshaller.Instance;
return Invoke<ReimportApiResponse>(request, options);
}
/// <summary>
/// Puts an Api resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ReimportApi service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ReimportApi service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/ReimportApi">REST API Reference for ReimportApi Operation</seealso>
public virtual Task<ReimportApiResponse> ReimportApiAsync(ReimportApiRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ReimportApiRequestMarshaller.Instance;
options.ResponseUnmarshaller = ReimportApiResponseUnmarshaller.Instance;
return InvokeAsync<ReimportApiResponse>(request, options, cancellationToken);
}
#endregion
#region ResetAuthorizersCache
internal virtual ResetAuthorizersCacheResponse ResetAuthorizersCache(ResetAuthorizersCacheRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ResetAuthorizersCacheRequestMarshaller.Instance;
options.ResponseUnmarshaller = ResetAuthorizersCacheResponseUnmarshaller.Instance;
return Invoke<ResetAuthorizersCacheResponse>(request, options);
}
/// <summary>
/// Resets all authorizer cache entries on a stage. Supported only for HTTP APIs.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ResetAuthorizersCache service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ResetAuthorizersCache service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/ResetAuthorizersCache">REST API Reference for ResetAuthorizersCache Operation</seealso>
public virtual Task<ResetAuthorizersCacheResponse> ResetAuthorizersCacheAsync(ResetAuthorizersCacheRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ResetAuthorizersCacheRequestMarshaller.Instance;
options.ResponseUnmarshaller = ResetAuthorizersCacheResponseUnmarshaller.Instance;
return InvokeAsync<ResetAuthorizersCacheResponse>(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>
/// Creates a new Tag resource to represent a tag.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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 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>
/// Deletes a Tag.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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 UpdateApi
internal virtual UpdateApiResponse UpdateApi(UpdateApiRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateApiRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateApiResponseUnmarshaller.Instance;
return Invoke<UpdateApiResponse>(request, options);
}
/// <summary>
/// Updates an Api resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateApi service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateApi service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateApi">REST API Reference for UpdateApi Operation</seealso>
public virtual Task<UpdateApiResponse> UpdateApiAsync(UpdateApiRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateApiRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateApiResponseUnmarshaller.Instance;
return InvokeAsync<UpdateApiResponse>(request, options, cancellationToken);
}
#endregion
#region UpdateApiMapping
internal virtual UpdateApiMappingResponse UpdateApiMapping(UpdateApiMappingRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateApiMappingRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateApiMappingResponseUnmarshaller.Instance;
return Invoke<UpdateApiMappingResponse>(request, options);
}
/// <summary>
/// The API mapping.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateApiMapping service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateApiMapping service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateApiMapping">REST API Reference for UpdateApiMapping Operation</seealso>
public virtual Task<UpdateApiMappingResponse> UpdateApiMappingAsync(UpdateApiMappingRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateApiMappingRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateApiMappingResponseUnmarshaller.Instance;
return InvokeAsync<UpdateApiMappingResponse>(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 Authorizer.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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 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>
/// Updates a Deployment.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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 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>
/// Updates a domain name.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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 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>
/// Updates an 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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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>
/// Updates an IntegrationResponses.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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 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>
/// Updates 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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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 UpdateRoute
internal virtual UpdateRouteResponse UpdateRoute(UpdateRouteRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateRouteRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateRouteResponseUnmarshaller.Instance;
return Invoke<UpdateRouteResponse>(request, options);
}
/// <summary>
/// Updates a Route.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateRoute service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateRoute service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateRoute">REST API Reference for UpdateRoute Operation</seealso>
public virtual Task<UpdateRouteResponse> UpdateRouteAsync(UpdateRouteRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateRouteRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateRouteResponseUnmarshaller.Instance;
return InvokeAsync<UpdateRouteResponse>(request, options, cancellationToken);
}
#endregion
#region UpdateRouteResponse
internal virtual UpdateRouteResponseResponse UpdateRouteResponse(UpdateRouteResponseRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateRouteResponseRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateRouteResponseResponseUnmarshaller.Instance;
return Invoke<UpdateRouteResponseResponse>(request, options);
}
/// <summary>
/// Updates a RouteResponse.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateRouteResponse service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateRouteResponse service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateRouteResponse">REST API Reference for UpdateRouteResponse Operation</seealso>
public virtual Task<UpdateRouteResponseResponse> UpdateRouteResponseAsync(UpdateRouteResponseRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateRouteResponseRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateRouteResponseResponseUnmarshaller.Instance;
return InvokeAsync<UpdateRouteResponseResponse>(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>
/// Updates a Stage.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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 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 a VPC link.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/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
}
} | 3,512 |
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 apigatewayv2-2018-11-29.normal.json service model.
*/
using System;
using System.Threading;
using System.Threading.Tasks;
using System.Collections.Generic;
using Amazon.Runtime;
using Amazon.ApiGatewayV2.Model;
namespace Amazon.ApiGatewayV2
{
/// <summary>
/// Interface for accessing ApiGatewayV2
///
/// Amazon API Gateway V2
/// </summary>
public partial interface IAmazonApiGatewayV2 : IAmazonService, IDisposable
{
#region CreateApi
/// <summary>
/// Creates an Api resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateApi service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateApi service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateApi">REST API Reference for CreateApi Operation</seealso>
Task<CreateApiResponse> CreateApiAsync(CreateApiRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateApiMapping
/// <summary>
/// Creates an API mapping.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateApiMapping service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateApiMapping service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateApiMapping">REST API Reference for CreateApiMapping Operation</seealso>
Task<CreateApiMappingResponse> CreateApiMappingAsync(CreateApiMappingRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateAuthorizer
/// <summary>
/// Creates an Authorizer for an API.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateAuthorizer">REST API Reference for CreateAuthorizer Operation</seealso>
Task<CreateAuthorizerResponse> CreateAuthorizerAsync(CreateAuthorizerRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateDeployment
/// <summary>
/// Creates a Deployment for an API.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateDeployment">REST API Reference for CreateDeployment Operation</seealso>
Task<CreateDeploymentResponse> CreateDeploymentAsync(CreateDeploymentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateDomainName
/// <summary>
/// Creates a 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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.AccessDeniedException">
///
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateDomainName">REST API Reference for CreateDomainName Operation</seealso>
Task<CreateDomainNameResponse> CreateDomainNameAsync(CreateDomainNameRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateIntegration
/// <summary>
/// Creates an Integration.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateIntegration service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateIntegration service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateIntegration">REST API Reference for CreateIntegration Operation</seealso>
Task<CreateIntegrationResponse> CreateIntegrationAsync(CreateIntegrationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateIntegrationResponse
/// <summary>
/// Creates an IntegrationResponses.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateIntegrationResponse service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateIntegrationResponse service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateIntegrationResponse">REST API Reference for CreateIntegrationResponse Operation</seealso>
Task<CreateIntegrationResponseResponse> CreateIntegrationResponseAsync(CreateIntegrationResponseRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateModel
/// <summary>
/// Creates a Model for an API.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateModel">REST API Reference for CreateModel Operation</seealso>
Task<CreateModelResponse> CreateModelAsync(CreateModelRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateRoute
/// <summary>
/// Creates a Route for an API.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateRoute service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateRoute service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateRoute">REST API Reference for CreateRoute Operation</seealso>
Task<CreateRouteResponse> CreateRouteAsync(CreateRouteRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateRouteResponse
/// <summary>
/// Creates a RouteResponse for a Route.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateRouteResponse service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateRouteResponse service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateRouteResponse">REST API Reference for CreateRouteResponse Operation</seealso>
Task<CreateRouteResponseResponse> CreateRouteResponseAsync(CreateRouteResponseRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateStage
/// <summary>
/// Creates a Stage for an 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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateStage">REST API Reference for CreateStage Operation</seealso>
Task<CreateStageResponse> CreateStageAsync(CreateStageRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateVpcLink
/// <summary>
/// Creates a VPC link.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateVpcLink">REST API Reference for CreateVpcLink Operation</seealso>
Task<CreateVpcLinkResponse> CreateVpcLinkAsync(CreateVpcLinkRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteAccessLogSettings
/// <summary>
/// Deletes the AccessLogSettings for a Stage. To disable access logging for a Stage,
/// delete its AccessLogSettings.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteAccessLogSettings service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteAccessLogSettings service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteAccessLogSettings">REST API Reference for DeleteAccessLogSettings Operation</seealso>
Task<DeleteAccessLogSettingsResponse> DeleteAccessLogSettingsAsync(DeleteAccessLogSettingsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteApi
/// <summary>
/// Deletes an Api resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteApi service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteApi service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteApi">REST API Reference for DeleteApi Operation</seealso>
Task<DeleteApiResponse> DeleteApiAsync(DeleteApiRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteApiMapping
/// <summary>
/// Deletes an API mapping.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteApiMapping service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteApiMapping service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteApiMapping">REST API Reference for DeleteApiMapping Operation</seealso>
Task<DeleteApiMappingResponse> DeleteApiMappingAsync(DeleteApiMappingRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteAuthorizer
/// <summary>
/// Deletes an Authorizer.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteAuthorizer">REST API Reference for DeleteAuthorizer Operation</seealso>
Task<DeleteAuthorizerResponse> DeleteAuthorizerAsync(DeleteAuthorizerRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteCorsConfiguration
/// <summary>
/// Deletes a CORS configuration.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteCorsConfiguration service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteCorsConfiguration service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteCorsConfiguration">REST API Reference for DeleteCorsConfiguration Operation</seealso>
Task<DeleteCorsConfigurationResponse> DeleteCorsConfigurationAsync(DeleteCorsConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteDeployment
/// <summary>
/// Deletes a Deployment.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteDeployment">REST API Reference for DeleteDeployment Operation</seealso>
Task<DeleteDeploymentResponse> DeleteDeploymentAsync(DeleteDeploymentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteDomainName
/// <summary>
/// Deletes a domain name.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteDomainName">REST API Reference for DeleteDomainName Operation</seealso>
Task<DeleteDomainNameResponse> DeleteDomainNameAsync(DeleteDomainNameRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteIntegration
/// <summary>
/// Deletes an 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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteIntegration">REST API Reference for DeleteIntegration Operation</seealso>
Task<DeleteIntegrationResponse> DeleteIntegrationAsync(DeleteIntegrationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteIntegrationResponse
/// <summary>
/// Deletes an IntegrationResponses.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteIntegrationResponse">REST API Reference for DeleteIntegrationResponse Operation</seealso>
Task<DeleteIntegrationResponseResponse> DeleteIntegrationResponseAsync(DeleteIntegrationResponseRequest 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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteModel">REST API Reference for DeleteModel Operation</seealso>
Task<DeleteModelResponse> DeleteModelAsync(DeleteModelRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteRoute
/// <summary>
/// Deletes a Route.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteRoute service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteRoute service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteRoute">REST API Reference for DeleteRoute Operation</seealso>
Task<DeleteRouteResponse> DeleteRouteAsync(DeleteRouteRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteRouteRequestParameter
/// <summary>
/// Deletes a route request parameter.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteRouteRequestParameter service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteRouteRequestParameter service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteRouteRequestParameter">REST API Reference for DeleteRouteRequestParameter Operation</seealso>
Task<DeleteRouteRequestParameterResponse> DeleteRouteRequestParameterAsync(DeleteRouteRequestParameterRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteRouteResponse
/// <summary>
/// Deletes a RouteResponse.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteRouteResponse service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteRouteResponse service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteRouteResponse">REST API Reference for DeleteRouteResponse Operation</seealso>
Task<DeleteRouteResponseResponse> DeleteRouteResponseAsync(DeleteRouteResponseRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteRouteSettings
/// <summary>
/// Deletes the RouteSettings for a stage.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteRouteSettings service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteRouteSettings service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteRouteSettings">REST API Reference for DeleteRouteSettings Operation</seealso>
Task<DeleteRouteSettingsResponse> DeleteRouteSettingsAsync(DeleteRouteSettingsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteStage
/// <summary>
/// Deletes a Stage.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteStage">REST API Reference for DeleteStage Operation</seealso>
Task<DeleteStageResponse> DeleteStageAsync(DeleteStageRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteVpcLink
/// <summary>
/// Deletes a VPC link.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteVpcLink">REST API Reference for DeleteVpcLink Operation</seealso>
Task<DeleteVpcLinkResponse> DeleteVpcLinkAsync(DeleteVpcLinkRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ExportApi
/// <summary>
///
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ExportApi service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ExportApi service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/ExportApi">REST API Reference for ExportApi Operation</seealso>
Task<ExportApiResponse> ExportApiAsync(ExportApiRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetApi
/// <summary>
/// Gets an Api resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetApi service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetApi service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetApi">REST API Reference for GetApi Operation</seealso>
Task<GetApiResponse> GetApiAsync(GetApiRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetApiMapping
/// <summary>
/// Gets an API mapping.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetApiMapping service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetApiMapping service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetApiMapping">REST API Reference for GetApiMapping Operation</seealso>
Task<GetApiMappingResponse> GetApiMappingAsync(GetApiMappingRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetApiMappings
/// <summary>
/// Gets API mappings.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetApiMappings service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetApiMappings service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetApiMappings">REST API Reference for GetApiMappings Operation</seealso>
Task<GetApiMappingsResponse> GetApiMappingsAsync(GetApiMappingsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetApis
/// <summary>
/// Gets a collection of Api resources.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetApis service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetApis service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetApis">REST API Reference for GetApis Operation</seealso>
Task<GetApisResponse> GetApisAsync(GetApisRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetAuthorizer
/// <summary>
/// Gets an Authorizer.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetAuthorizer">REST API Reference for GetAuthorizer Operation</seealso>
Task<GetAuthorizerResponse> GetAuthorizerAsync(GetAuthorizerRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetAuthorizers
/// <summary>
/// Gets the Authorizers for an API.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetAuthorizers">REST API Reference for GetAuthorizers Operation</seealso>
Task<GetAuthorizersResponse> GetAuthorizersAsync(GetAuthorizersRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetDeployment
/// <summary>
/// Gets a Deployment.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetDeployment">REST API Reference for GetDeployment Operation</seealso>
Task<GetDeploymentResponse> GetDeploymentAsync(GetDeploymentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetDeployments
/// <summary>
/// Gets the Deployments for an API.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetDeployments">REST API Reference for GetDeployments Operation</seealso>
Task<GetDeploymentsResponse> GetDeploymentsAsync(GetDeploymentsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetDomainName
/// <summary>
/// Gets a domain name.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetDomainName">REST API Reference for GetDomainName Operation</seealso>
Task<GetDomainNameResponse> GetDomainNameAsync(GetDomainNameRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetDomainNames
/// <summary>
/// Gets the domain names for an AWS account.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetDomainNames">REST API Reference for GetDomainNames Operation</seealso>
Task<GetDomainNamesResponse> GetDomainNamesAsync(GetDomainNamesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetIntegration
/// <summary>
/// Gets an Integration.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetIntegration">REST API Reference for GetIntegration Operation</seealso>
Task<GetIntegrationResponse> GetIntegrationAsync(GetIntegrationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetIntegrationResponse
/// <summary>
/// Gets an IntegrationResponses.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetIntegrationResponse">REST API Reference for GetIntegrationResponse Operation</seealso>
Task<GetIntegrationResponseResponse> GetIntegrationResponseAsync(GetIntegrationResponseRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetIntegrationResponses
/// <summary>
/// Gets the IntegrationResponses for an Integration.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetIntegrationResponses service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetIntegrationResponses service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetIntegrationResponses">REST API Reference for GetIntegrationResponses Operation</seealso>
Task<GetIntegrationResponsesResponse> GetIntegrationResponsesAsync(GetIntegrationResponsesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetIntegrations
/// <summary>
/// Gets the Integrations for an API.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetIntegrations service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetIntegrations service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetIntegrations">REST API Reference for GetIntegrations Operation</seealso>
Task<GetIntegrationsResponse> GetIntegrationsAsync(GetIntegrationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetModel
/// <summary>
/// Gets a Model.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetModel">REST API Reference for GetModel Operation</seealso>
Task<GetModelResponse> GetModelAsync(GetModelRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetModels
/// <summary>
/// Gets the Models for an API.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetModels">REST API Reference for GetModels Operation</seealso>
Task<GetModelsResponse> GetModelsAsync(GetModelsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetModelTemplate
/// <summary>
/// Gets a model template.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetModelTemplate">REST API Reference for GetModelTemplate Operation</seealso>
Task<GetModelTemplateResponse> GetModelTemplateAsync(GetModelTemplateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetRoute
/// <summary>
/// Gets a Route.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetRoute service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetRoute service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetRoute">REST API Reference for GetRoute Operation</seealso>
Task<GetRouteResponse> GetRouteAsync(GetRouteRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetRouteResponse
/// <summary>
/// Gets a RouteResponse.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetRouteResponse service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetRouteResponse service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetRouteResponse">REST API Reference for GetRouteResponse Operation</seealso>
Task<GetRouteResponseResponse> GetRouteResponseAsync(GetRouteResponseRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetRouteResponses
/// <summary>
/// Gets the RouteResponses for a Route.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetRouteResponses service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetRouteResponses service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetRouteResponses">REST API Reference for GetRouteResponses Operation</seealso>
Task<GetRouteResponsesResponse> GetRouteResponsesAsync(GetRouteResponsesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetRoutes
/// <summary>
/// Gets the Routes for an API.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetRoutes service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetRoutes service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetRoutes">REST API Reference for GetRoutes Operation</seealso>
Task<GetRoutesResponse> GetRoutesAsync(GetRoutesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetStage
/// <summary>
/// Gets a Stage.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetStage">REST API Reference for GetStage Operation</seealso>
Task<GetStageResponse> GetStageAsync(GetStageRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetStages
/// <summary>
/// Gets the Stages for an API.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetStages">REST API Reference for GetStages Operation</seealso>
Task<GetStagesResponse> GetStagesAsync(GetStagesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetTags
/// <summary>
/// Gets a collection of Tag resources.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetTags">REST API Reference for GetTags Operation</seealso>
Task<GetTagsResponse> GetTagsAsync(GetTagsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetVpcLink
/// <summary>
/// Gets a VPC link.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetVpcLink">REST API Reference for GetVpcLink Operation</seealso>
Task<GetVpcLinkResponse> GetVpcLinkAsync(GetVpcLinkRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetVpcLinks
/// <summary>
/// Gets a collection of VPC links.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetVpcLinks">REST API Reference for GetVpcLinks Operation</seealso>
Task<GetVpcLinksResponse> GetVpcLinksAsync(GetVpcLinksRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ImportApi
/// <summary>
/// Imports an API.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ImportApi service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ImportApi service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/ImportApi">REST API Reference for ImportApi Operation</seealso>
Task<ImportApiResponse> ImportApiAsync(ImportApiRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ReimportApi
/// <summary>
/// Puts an Api resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ReimportApi service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ReimportApi service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/ReimportApi">REST API Reference for ReimportApi Operation</seealso>
Task<ReimportApiResponse> ReimportApiAsync(ReimportApiRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ResetAuthorizersCache
/// <summary>
/// Resets all authorizer cache entries on a stage. Supported only for HTTP APIs.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ResetAuthorizersCache service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ResetAuthorizersCache service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/ResetAuthorizersCache">REST API Reference for ResetAuthorizersCache Operation</seealso>
Task<ResetAuthorizersCacheResponse> ResetAuthorizersCacheAsync(ResetAuthorizersCacheRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region TagResource
/// <summary>
/// Creates a new Tag resource to represent a tag.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/TagResource">REST API Reference for TagResource Operation</seealso>
Task<TagResourceResponse> TagResourceAsync(TagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UntagResource
/// <summary>
/// Deletes a Tag.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UntagResource">REST API Reference for UntagResource Operation</seealso>
Task<UntagResourceResponse> UntagResourceAsync(UntagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateApi
/// <summary>
/// Updates an Api resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateApi service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateApi service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateApi">REST API Reference for UpdateApi Operation</seealso>
Task<UpdateApiResponse> UpdateApiAsync(UpdateApiRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateApiMapping
/// <summary>
/// The API mapping.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateApiMapping service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateApiMapping service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateApiMapping">REST API Reference for UpdateApiMapping Operation</seealso>
Task<UpdateApiMappingResponse> UpdateApiMappingAsync(UpdateApiMappingRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateAuthorizer
/// <summary>
/// Updates an Authorizer.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateAuthorizer">REST API Reference for UpdateAuthorizer Operation</seealso>
Task<UpdateAuthorizerResponse> UpdateAuthorizerAsync(UpdateAuthorizerRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateDeployment
/// <summary>
/// Updates a Deployment.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateDeployment">REST API Reference for UpdateDeployment Operation</seealso>
Task<UpdateDeploymentResponse> UpdateDeploymentAsync(UpdateDeploymentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateDomainName
/// <summary>
/// Updates a domain name.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateDomainName">REST API Reference for UpdateDomainName Operation</seealso>
Task<UpdateDomainNameResponse> UpdateDomainNameAsync(UpdateDomainNameRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateIntegration
/// <summary>
/// Updates an 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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateIntegration">REST API Reference for UpdateIntegration Operation</seealso>
Task<UpdateIntegrationResponse> UpdateIntegrationAsync(UpdateIntegrationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateIntegrationResponse
/// <summary>
/// Updates an IntegrationResponses.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateIntegrationResponse">REST API Reference for UpdateIntegrationResponse Operation</seealso>
Task<UpdateIntegrationResponseResponse> UpdateIntegrationResponseAsync(UpdateIntegrationResponseRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateModel
/// <summary>
/// Updates 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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateModel">REST API Reference for UpdateModel Operation</seealso>
Task<UpdateModelResponse> UpdateModelAsync(UpdateModelRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateRoute
/// <summary>
/// Updates a Route.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateRoute service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateRoute service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateRoute">REST API Reference for UpdateRoute Operation</seealso>
Task<UpdateRouteResponse> UpdateRouteAsync(UpdateRouteRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateRouteResponse
/// <summary>
/// Updates a RouteResponse.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateRouteResponse service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateRouteResponse service method, as returned by ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateRouteResponse">REST API Reference for UpdateRouteResponse Operation</seealso>
Task<UpdateRouteResponseResponse> UpdateRouteResponseAsync(UpdateRouteResponseRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateStage
/// <summary>
/// Updates a Stage.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.ConflictException">
/// The requested operation would cause a conflict with the current state of a service
/// resource associated with the request. Resolve the conflict before retrying this request.
/// See the accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateStage">REST API Reference for UpdateStage Operation</seealso>
Task<UpdateStageResponse> UpdateStageAsync(UpdateStageRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateVpcLink
/// <summary>
/// Updates a VPC link.
/// </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 ApiGatewayV2.</returns>
/// <exception cref="Amazon.ApiGatewayV2.Model.BadRequestException">
/// The request is not valid, for example, the input is incomplete or incorrect. See the
/// accompanying error message for details.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.NotFoundException">
/// The resource specified in the request was not found. See the message field for more
/// information.
/// </exception>
/// <exception cref="Amazon.ApiGatewayV2.Model.TooManyRequestsException">
/// A limit has been exceeded. See the accompanying error message for details.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateVpcLink">REST API Reference for UpdateVpcLink Operation</seealso>
Task<UpdateVpcLinkResponse> UpdateVpcLinkAsync(UpdateVpcLinkRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
}
} | 2,147 |
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.ApiGatewayV2")]
#if BCL35
[assembly: AssemblyDescription("The Amazon Web Services SDK for .NET (3.5) - AmazonApiGatewayV2. This is the initial SDK release for the Amazon API Gateway v2 APIs. This SDK will allow you to manage and configure APIs in Amazon API Gateway; this first release provides the capabilities that allow you to programmatically setup and manage WebSocket APIs end to end.")]
#elif BCL45
[assembly: AssemblyDescription("The Amazon Web Services SDK for .NET (4.5) - AmazonApiGatewayV2. This is the initial SDK release for the Amazon API Gateway v2 APIs. This SDK will allow you to manage and configure APIs in Amazon API Gateway; this first release provides the capabilities that allow you to programmatically setup and manage WebSocket APIs end to end.")]
#elif NETSTANDARD20
[assembly: AssemblyDescription("The Amazon Web Services SDK for .NET (NetStandard 2.0) - AmazonApiGatewayV2. This is the initial SDK release for the Amazon API Gateway v2 APIs. This SDK will allow you to manage and configure APIs in Amazon API Gateway; this first release provides the capabilities that allow you to programmatically setup and manage WebSocket APIs end to end.")]
#elif NETCOREAPP3_1
[assembly: AssemblyDescription("The Amazon Web Services SDK for .NET (.NET Core 3.1) - AmazonApiGatewayV2. This is the initial SDK release for the Amazon API Gateway v2 APIs. This SDK will allow you to manage and configure APIs in Amazon API Gateway; this first release provides the capabilities that allow you to programmatically setup and manage WebSocket APIs end to end.")]
#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 appconfig-2019-10-09.normal.json service model.
*/
using System;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Util.Internal;
using Amazon.AppConfig.Internal;
namespace Amazon.AppConfig
{
/// <summary>
/// Configuration for accessing Amazon AppConfig service
/// </summary>
[AWSSignerType("v4")]
public partial class AmazonAppConfigConfig : ClientConfig
{
private static readonly string UserAgentString =
InternalSDKUtils.BuildUserAgentString("3.7.102.74");
private string _userAgent = UserAgentString;
/// <summary>
/// Default constructor
/// </summary>
public AmazonAppConfigConfig()
: base(new Amazon.Runtime.Internal.DefaultConfigurationProvider(AmazonAppConfigDefaultConfiguration.GetAllConfigurations()))
{
this.AuthenticationServiceName = "appconfig";
this.EndpointProvider = new AmazonAppConfigEndpointProvider();
}
/// <summary>
/// The constant used to lookup in the region hash the endpoint.
/// </summary>
public override string RegionEndpointServiceName
{
get
{
return "appconfig";
}
}
/// <summary>
/// Gets the ServiceVersion property.
/// </summary>
public override string ServiceVersion
{
get
{
return "2019-10-09";
}
}
/// <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 appconfig-2019-10-09.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using Amazon.Runtime;
namespace Amazon.AppConfig
{
/// <summary>
/// Configuration for accessing Amazon AppConfig service
/// </summary>
public static class AmazonAppConfigDefaultConfiguration
{
/// <summary>
/// Collection of all <see cref="DefaultConfiguration"/>s supported by
/// AppConfig
/// </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 appconfig-2019-10-09.normal.json service model.
*/
using Amazon.Runtime;
using Amazon.Runtime.Endpoints;
namespace Amazon.AppConfig.Endpoints
{
/// <summary>
/// Contains parameters used for resolving AppConfig endpoints
/// Parameters can be sourced from client config and service operations
/// Used by internal AppConfigEndpointProvider and AppConfigEndpointResolver
/// Can be used by custom EndpointProvider, see ClientConfig.EndpointProvider
/// </summary>
public class AppConfigEndpointParameters : EndpointParameters
{
/// <summary>
/// AppConfigEndpointParameters constructor
/// </summary>
public AppConfigEndpointParameters()
{
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 appconfig-2019-10-09.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Net;
using System.Text;
using Amazon.Runtime;
namespace Amazon.AppConfig
{
///<summary>
/// Common exception for the AppConfig service.
/// </summary>
#if !NETSTANDARD
[Serializable]
#endif
public partial class AmazonAppConfigException : AmazonServiceException
{
/// <summary>
/// Construct instance of AmazonAppConfigException
/// </summary>
/// <param name="message"></param>
public AmazonAppConfigException(string message)
: base(message)
{
}
/// <summary>
/// Construct instance of AmazonAppConfigException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
public AmazonAppConfigException(string message, Exception innerException)
: base(message, innerException)
{
}
/// <summary>
/// Construct instance of AmazonAppConfigException
/// </summary>
/// <param name="innerException"></param>
public AmazonAppConfigException(Exception innerException)
: base(innerException.Message, innerException)
{
}
/// <summary>
/// Construct instance of AmazonAppConfigException
/// </summary>
/// <param name="message"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public AmazonAppConfigException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, errorType, errorCode, requestId, statusCode)
{
}
/// <summary>
/// Construct instance of AmazonAppConfigException
/// </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 AmazonAppConfigException(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 AmazonAppConfigException 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 AmazonAppConfigException(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 appconfig-2019-10-09.normal.json service model.
*/
using System;
using Amazon.Runtime;
namespace Amazon.AppConfig
{
/// <summary>
/// Constants used for properties of type ActionPoint.
/// </summary>
public class ActionPoint : ConstantClass
{
/// <summary>
/// Constant ON_DEPLOYMENT_BAKING for ActionPoint
/// </summary>
public static readonly ActionPoint ON_DEPLOYMENT_BAKING = new ActionPoint("ON_DEPLOYMENT_BAKING");
/// <summary>
/// Constant ON_DEPLOYMENT_COMPLETE for ActionPoint
/// </summary>
public static readonly ActionPoint ON_DEPLOYMENT_COMPLETE = new ActionPoint("ON_DEPLOYMENT_COMPLETE");
/// <summary>
/// Constant ON_DEPLOYMENT_ROLLED_BACK for ActionPoint
/// </summary>
public static readonly ActionPoint ON_DEPLOYMENT_ROLLED_BACK = new ActionPoint("ON_DEPLOYMENT_ROLLED_BACK");
/// <summary>
/// Constant ON_DEPLOYMENT_START for ActionPoint
/// </summary>
public static readonly ActionPoint ON_DEPLOYMENT_START = new ActionPoint("ON_DEPLOYMENT_START");
/// <summary>
/// Constant ON_DEPLOYMENT_STEP for ActionPoint
/// </summary>
public static readonly ActionPoint ON_DEPLOYMENT_STEP = new ActionPoint("ON_DEPLOYMENT_STEP");
/// <summary>
/// Constant PRE_CREATE_HOSTED_CONFIGURATION_VERSION for ActionPoint
/// </summary>
public static readonly ActionPoint PRE_CREATE_HOSTED_CONFIGURATION_VERSION = new ActionPoint("PRE_CREATE_HOSTED_CONFIGURATION_VERSION");
/// <summary>
/// Constant PRE_START_DEPLOYMENT for ActionPoint
/// </summary>
public static readonly ActionPoint PRE_START_DEPLOYMENT = new ActionPoint("PRE_START_DEPLOYMENT");
/// <summary>
/// This constant constructor does not need to be called if the constant
/// you are attempting to use is already defined as a static instance of
/// this class.
/// This constructor should be used to construct constants that are not
/// defined as statics, for instance if attempting to use a feature that is
/// newer than the current version of the SDK.
/// </summary>
public ActionPoint(string value)
: base(value)
{
}
/// <summary>
/// Finds the constant for the unique value.
/// </summary>
/// <param name="value">The unique value for the constant</param>
/// <returns>The constant for the unique value</returns>
public static ActionPoint FindValue(string value)
{
return FindValue<ActionPoint>(value);
}
/// <summary>
/// Utility method to convert strings to the constant class.
/// </summary>
/// <param name="value">The string value to convert to the constant class.</param>
/// <returns></returns>
public static implicit operator ActionPoint(string value)
{
return FindValue(value);
}
}
/// <summary>
/// Constants used for properties of type BadRequestReason.
/// </summary>
public class BadRequestReason : ConstantClass
{
/// <summary>
/// Constant InvalidConfiguration for BadRequestReason
/// </summary>
public static readonly BadRequestReason InvalidConfiguration = new BadRequestReason("InvalidConfiguration");
/// <summary>
/// This constant constructor does not need to be called if the constant
/// you are attempting to use is already defined as a static instance of
/// this class.
/// This constructor should be used to construct constants that are not
/// defined as statics, for instance if attempting to use a feature that is
/// newer than the current version of the SDK.
/// </summary>
public BadRequestReason(string value)
: base(value)
{
}
/// <summary>
/// Finds the constant for the unique value.
/// </summary>
/// <param name="value">The unique value for the constant</param>
/// <returns>The constant for the unique value</returns>
public static BadRequestReason FindValue(string value)
{
return FindValue<BadRequestReason>(value);
}
/// <summary>
/// Utility method to convert strings to the constant class.
/// </summary>
/// <param name="value">The string value to convert to the constant class.</param>
/// <returns></returns>
public static implicit operator BadRequestReason(string value)
{
return FindValue(value);
}
}
/// <summary>
/// Constants used for properties of type BytesMeasure.
/// </summary>
public class BytesMeasure : ConstantClass
{
/// <summary>
/// Constant KILOBYTES for BytesMeasure
/// </summary>
public static readonly BytesMeasure KILOBYTES = new BytesMeasure("KILOBYTES");
/// <summary>
/// This constant constructor does not need to be called if the constant
/// you are attempting to use is already defined as a static instance of
/// this class.
/// This constructor should be used to construct constants that are not
/// defined as statics, for instance if attempting to use a feature that is
/// newer than the current version of the SDK.
/// </summary>
public BytesMeasure(string value)
: base(value)
{
}
/// <summary>
/// Finds the constant for the unique value.
/// </summary>
/// <param name="value">The unique value for the constant</param>
/// <returns>The constant for the unique value</returns>
public static BytesMeasure FindValue(string value)
{
return FindValue<BytesMeasure>(value);
}
/// <summary>
/// Utility method to convert strings to the constant class.
/// </summary>
/// <param name="value">The string value to convert to the constant class.</param>
/// <returns></returns>
public static implicit operator BytesMeasure(string value)
{
return FindValue(value);
}
}
/// <summary>
/// Constants used for properties of type DeploymentEventType.
/// </summary>
public class DeploymentEventType : ConstantClass
{
/// <summary>
/// Constant BAKE_TIME_STARTED for DeploymentEventType
/// </summary>
public static readonly DeploymentEventType BAKE_TIME_STARTED = new DeploymentEventType("BAKE_TIME_STARTED");
/// <summary>
/// Constant DEPLOYMENT_COMPLETED for DeploymentEventType
/// </summary>
public static readonly DeploymentEventType DEPLOYMENT_COMPLETED = new DeploymentEventType("DEPLOYMENT_COMPLETED");
/// <summary>
/// Constant DEPLOYMENT_STARTED for DeploymentEventType
/// </summary>
public static readonly DeploymentEventType DEPLOYMENT_STARTED = new DeploymentEventType("DEPLOYMENT_STARTED");
/// <summary>
/// Constant PERCENTAGE_UPDATED for DeploymentEventType
/// </summary>
public static readonly DeploymentEventType PERCENTAGE_UPDATED = new DeploymentEventType("PERCENTAGE_UPDATED");
/// <summary>
/// Constant ROLLBACK_COMPLETED for DeploymentEventType
/// </summary>
public static readonly DeploymentEventType ROLLBACK_COMPLETED = new DeploymentEventType("ROLLBACK_COMPLETED");
/// <summary>
/// Constant ROLLBACK_STARTED for DeploymentEventType
/// </summary>
public static readonly DeploymentEventType ROLLBACK_STARTED = new DeploymentEventType("ROLLBACK_STARTED");
/// <summary>
/// This constant constructor does not need to be called if the constant
/// you are attempting to use is already defined as a static instance of
/// this class.
/// This constructor should be used to construct constants that are not
/// defined as statics, for instance if attempting to use a feature that is
/// newer than the current version of the SDK.
/// </summary>
public DeploymentEventType(string value)
: base(value)
{
}
/// <summary>
/// Finds the constant for the unique value.
/// </summary>
/// <param name="value">The unique value for the constant</param>
/// <returns>The constant for the unique value</returns>
public static DeploymentEventType FindValue(string value)
{
return FindValue<DeploymentEventType>(value);
}
/// <summary>
/// Utility method to convert strings to the constant class.
/// </summary>
/// <param name="value">The string value to convert to the constant class.</param>
/// <returns></returns>
public static implicit operator DeploymentEventType(string value)
{
return FindValue(value);
}
}
/// <summary>
/// Constants used for properties of type DeploymentState.
/// </summary>
public class DeploymentState : ConstantClass
{
/// <summary>
/// Constant BAKING for DeploymentState
/// </summary>
public static readonly DeploymentState BAKING = new DeploymentState("BAKING");
/// <summary>
/// Constant COMPLETE for DeploymentState
/// </summary>
public static readonly DeploymentState COMPLETE = new DeploymentState("COMPLETE");
/// <summary>
/// Constant DEPLOYING for DeploymentState
/// </summary>
public static readonly DeploymentState DEPLOYING = new DeploymentState("DEPLOYING");
/// <summary>
/// Constant ROLLED_BACK for DeploymentState
/// </summary>
public static readonly DeploymentState ROLLED_BACK = new DeploymentState("ROLLED_BACK");
/// <summary>
/// Constant ROLLING_BACK for DeploymentState
/// </summary>
public static readonly DeploymentState ROLLING_BACK = new DeploymentState("ROLLING_BACK");
/// <summary>
/// Constant VALIDATING for DeploymentState
/// </summary>
public static readonly DeploymentState VALIDATING = new DeploymentState("VALIDATING");
/// <summary>
/// This constant constructor does not need to be called if the constant
/// you are attempting to use is already defined as a static instance of
/// this class.
/// This constructor should be used to construct constants that are not
/// defined as statics, for instance if attempting to use a feature that is
/// newer than the current version of the SDK.
/// </summary>
public DeploymentState(string value)
: base(value)
{
}
/// <summary>
/// Finds the constant for the unique value.
/// </summary>
/// <param name="value">The unique value for the constant</param>
/// <returns>The constant for the unique value</returns>
public static DeploymentState FindValue(string value)
{
return FindValue<DeploymentState>(value);
}
/// <summary>
/// Utility method to convert strings to the constant class.
/// </summary>
/// <param name="value">The string value to convert to the constant class.</param>
/// <returns></returns>
public static implicit operator DeploymentState(string value)
{
return FindValue(value);
}
}
/// <summary>
/// Constants used for properties of type EnvironmentState.
/// </summary>
public class EnvironmentState : ConstantClass
{
/// <summary>
/// Constant DEPLOYING for EnvironmentState
/// </summary>
public static readonly EnvironmentState DEPLOYING = new EnvironmentState("DEPLOYING");
/// <summary>
/// Constant READY_FOR_DEPLOYMENT for EnvironmentState
/// </summary>
public static readonly EnvironmentState READY_FOR_DEPLOYMENT = new EnvironmentState("READY_FOR_DEPLOYMENT");
/// <summary>
/// Constant ROLLED_BACK for EnvironmentState
/// </summary>
public static readonly EnvironmentState ROLLED_BACK = new EnvironmentState("ROLLED_BACK");
/// <summary>
/// Constant ROLLING_BACK for EnvironmentState
/// </summary>
public static readonly EnvironmentState ROLLING_BACK = new EnvironmentState("ROLLING_BACK");
/// <summary>
/// This constant constructor does not need to be called if the constant
/// you are attempting to use is already defined as a static instance of
/// this class.
/// This constructor should be used to construct constants that are not
/// defined as statics, for instance if attempting to use a feature that is
/// newer than the current version of the SDK.
/// </summary>
public EnvironmentState(string value)
: base(value)
{
}
/// <summary>
/// Finds the constant for the unique value.
/// </summary>
/// <param name="value">The unique value for the constant</param>
/// <returns>The constant for the unique value</returns>
public static EnvironmentState FindValue(string value)
{
return FindValue<EnvironmentState>(value);
}
/// <summary>
/// Utility method to convert strings to the constant class.
/// </summary>
/// <param name="value">The string value to convert to the constant class.</param>
/// <returns></returns>
public static implicit operator EnvironmentState(string value)
{
return FindValue(value);
}
}
/// <summary>
/// Constants used for properties of type GrowthType.
/// </summary>
public class GrowthType : ConstantClass
{
/// <summary>
/// Constant EXPONENTIAL for GrowthType
/// </summary>
public static readonly GrowthType EXPONENTIAL = new GrowthType("EXPONENTIAL");
/// <summary>
/// Constant LINEAR for GrowthType
/// </summary>
public static readonly GrowthType LINEAR = new GrowthType("LINEAR");
/// <summary>
/// This constant constructor does not need to be called if the constant
/// you are attempting to use is already defined as a static instance of
/// this class.
/// This constructor should be used to construct constants that are not
/// defined as statics, for instance if attempting to use a feature that is
/// newer than the current version of the SDK.
/// </summary>
public GrowthType(string value)
: base(value)
{
}
/// <summary>
/// Finds the constant for the unique value.
/// </summary>
/// <param name="value">The unique value for the constant</param>
/// <returns>The constant for the unique value</returns>
public static GrowthType FindValue(string value)
{
return FindValue<GrowthType>(value);
}
/// <summary>
/// Utility method to convert strings to the constant class.
/// </summary>
/// <param name="value">The string value to convert to the constant class.</param>
/// <returns></returns>
public static implicit operator GrowthType(string value)
{
return FindValue(value);
}
}
/// <summary>
/// Constants used for properties of type ReplicateTo.
/// </summary>
public class ReplicateTo : ConstantClass
{
/// <summary>
/// Constant NONE for ReplicateTo
/// </summary>
public static readonly ReplicateTo NONE = new ReplicateTo("NONE");
/// <summary>
/// Constant SSM_DOCUMENT for ReplicateTo
/// </summary>
public static readonly ReplicateTo SSM_DOCUMENT = new ReplicateTo("SSM_DOCUMENT");
/// <summary>
/// This constant constructor does not need to be called if the constant
/// you are attempting to use is already defined as a static instance of
/// this class.
/// This constructor should be used to construct constants that are not
/// defined as statics, for instance if attempting to use a feature that is
/// newer than the current version of the SDK.
/// </summary>
public ReplicateTo(string value)
: base(value)
{
}
/// <summary>
/// Finds the constant for the unique value.
/// </summary>
/// <param name="value">The unique value for the constant</param>
/// <returns>The constant for the unique value</returns>
public static ReplicateTo FindValue(string value)
{
return FindValue<ReplicateTo>(value);
}
/// <summary>
/// Utility method to convert strings to the constant class.
/// </summary>
/// <param name="value">The string value to convert to the constant class.</param>
/// <returns></returns>
public static implicit operator ReplicateTo(string value)
{
return FindValue(value);
}
}
/// <summary>
/// Constants used for properties of type TriggeredBy.
/// </summary>
public class TriggeredBy : ConstantClass
{
/// <summary>
/// Constant APPCONFIG for TriggeredBy
/// </summary>
public static readonly TriggeredBy APPCONFIG = new TriggeredBy("APPCONFIG");
/// <summary>
/// Constant CLOUDWATCH_ALARM for TriggeredBy
/// </summary>
public static readonly TriggeredBy CLOUDWATCH_ALARM = new TriggeredBy("CLOUDWATCH_ALARM");
/// <summary>
/// Constant INTERNAL_ERROR for TriggeredBy
/// </summary>
public static readonly TriggeredBy INTERNAL_ERROR = new TriggeredBy("INTERNAL_ERROR");
/// <summary>
/// Constant USER for TriggeredBy
/// </summary>
public static readonly TriggeredBy USER = new TriggeredBy("USER");
/// <summary>
/// This constant constructor does not need to be called if the constant
/// you are attempting to use is already defined as a static instance of
/// this class.
/// This constructor should be used to construct constants that are not
/// defined as statics, for instance if attempting to use a feature that is
/// newer than the current version of the SDK.
/// </summary>
public TriggeredBy(string value)
: base(value)
{
}
/// <summary>
/// Finds the constant for the unique value.
/// </summary>
/// <param name="value">The unique value for the constant</param>
/// <returns>The constant for the unique value</returns>
public static TriggeredBy FindValue(string value)
{
return FindValue<TriggeredBy>(value);
}
/// <summary>
/// Utility method to convert strings to the constant class.
/// </summary>
/// <param name="value">The string value to convert to the constant class.</param>
/// <returns></returns>
public static implicit operator TriggeredBy(string value)
{
return FindValue(value);
}
}
/// <summary>
/// Constants used for properties of type ValidatorType.
/// </summary>
public class ValidatorType : ConstantClass
{
/// <summary>
/// Constant JSON_SCHEMA for ValidatorType
/// </summary>
public static readonly ValidatorType JSON_SCHEMA = new ValidatorType("JSON_SCHEMA");
/// <summary>
/// Constant LAMBDA for ValidatorType
/// </summary>
public static readonly ValidatorType LAMBDA = new ValidatorType("LAMBDA");
/// <summary>
/// This constant constructor does not need to be called if the constant
/// you are attempting to use is already defined as a static instance of
/// this class.
/// This constructor should be used to construct constants that are not
/// defined as statics, for instance if attempting to use a feature that is
/// newer than the current version of the SDK.
/// </summary>
public ValidatorType(string value)
: base(value)
{
}
/// <summary>
/// Finds the constant for the unique value.
/// </summary>
/// <param name="value">The unique value for the constant</param>
/// <returns>The constant for the unique value</returns>
public static ValidatorType FindValue(string value)
{
return FindValue<ValidatorType>(value);
}
/// <summary>
/// Utility method to convert strings to the constant class.
/// </summary>
/// <param name="value">The string value to convert to the constant class.</param>
/// <returns></returns>
public static implicit operator ValidatorType(string value)
{
return FindValue(value);
}
}
} | 586 |
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 appconfig-2019-10-09.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.AppConfig.Internal
{
/// <summary>
/// Amazon AppConfig endpoint provider.
/// Resolves endpoint for given set of AppConfigEndpointParameters.
/// Can throw AmazonClientException if endpoint resolution is unsuccessful.
/// </summary>
public class AmazonAppConfigEndpointProvider : IEndpointProvider
{
/// <summary>
/// Resolve endpoint for AppConfigEndpointParameters
/// </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 (IsSet(refs["Endpoint"]))
{
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 (IsSet(refs["Region"]))
{
if ((refs["PartitionResult"] = Partition((string)refs["Region"])) != null)
{
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://appconfig-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")))
{
if (Equals(refs["Region"], "us-gov-east-1"))
{
return new Endpoint("https://appconfig.us-gov-east-1.amazonaws.com", InterpolateJson(@"", refs), InterpolateJson(@"", refs));
}
if (Equals(refs["Region"], "us-gov-west-1"))
{
return new Endpoint("https://appconfig.us-gov-west-1.amazonaws.com", InterpolateJson(@"", refs), InterpolateJson(@"", refs));
}
return new Endpoint(Interpolate(@"https://appconfig-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://appconfig.{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://appconfig.{Region}.{PartitionResult#dnsSuffix}", refs), InterpolateJson(@"", refs), InterpolateJson(@"", refs));
}
}
throw new AmazonClientException("Invalid Configuration: Missing Region");
throw new AmazonClientException("Cannot resolve endpoint");
}
}
} | 111 |
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 appconfig-2019-10-09.normal.json service model.
*/
using System;
using Amazon.AppConfig.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Endpoints;
using Amazon.Util;
using Amazon.AppConfig.Endpoints;
#pragma warning disable 1591
namespace Amazon.AppConfig.Internal
{
/// <summary>
/// Amazon AppConfig endpoint resolver.
/// Custom PipelineHandler responsible for resolving endpoint and setting authentication parameters for AppConfig service requests.
/// Collects values for AppConfigEndpointParameters and then tries to resolve endpoint by calling
/// ResolveEndpoint method on GlobalEndpoints.Provider if present, otherwise uses AppConfigEndpointProvider.
/// Responsible for setting authentication and http headers provided by resolved endpoint.
/// </summary>
public class AmazonAppConfigEndpointResolver : BaseEndpointResolver
{
protected override void ServiceSpecificHandler(IExecutionContext executionContext, EndpointParameters parameters)
{
InjectHostPrefix(executionContext.RequestContext);
}
protected override EndpointParameters MapEndpointsParameters(IRequestContext requestContext)
{
var config = (AmazonAppConfigConfig)requestContext.ClientConfig;
var result = new AppConfigEndpointParameters();
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 appconfig-2019-10-09.normal.json service model.
*/
using Amazon.Runtime.Internal;
namespace Amazon.AppConfig.Internal
{
/// <summary>
/// Service metadata for Amazon AppConfig service
/// </summary>
public partial class AmazonAppConfigMetadata : IServiceMetadata
{
/// <summary>
/// Gets the value of the Service Id.
/// </summary>
public string ServiceId
{
get
{
return "AppConfig";
}
}
/// <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 appconfig-2019-10-09.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.AppConfig.Model
{
/// <summary>
/// An action defines the tasks that the extension performs during the AppConfig workflow.
/// Each action includes an action point such as <code>ON_CREATE_HOSTED_CONFIGURATION</code>,
/// <code>PRE_DEPLOYMENT</code>, or <code>ON_DEPLOYMENT</code>. Each action also includes
/// a name, a URI to an Lambda function, and an Amazon Resource Name (ARN) for an Identity
/// and Access Management assume role. You specify the name, URI, and ARN for each <i>action
/// point</i> defined in the extension. You can specify the following actions for an extension:
///
/// <ul> <li>
/// <para>
/// <code>PRE_CREATE_HOSTED_CONFIGURATION_VERSION</code>
/// </para>
/// </li> <li>
/// <para>
/// <code>PRE_START_DEPLOYMENT</code>
/// </para>
/// </li> <li>
/// <para>
/// <code>ON_DEPLOYMENT_START</code>
/// </para>
/// </li> <li>
/// <para>
/// <code>ON_DEPLOYMENT_STEP</code>
/// </para>
/// </li> <li>
/// <para>
/// <code>ON_DEPLOYMENT_BAKING</code>
/// </para>
/// </li> <li>
/// <para>
/// <code>ON_DEPLOYMENT_COMPLETE</code>
/// </para>
/// </li> <li>
/// <para>
/// <code>ON_DEPLOYMENT_ROLLED_BACK</code>
/// </para>
/// </li> </ul>
/// </summary>
public partial class Action
{
private string _description;
private string _name;
private string _roleArn;
private string _uri;
/// <summary>
/// Gets and sets the property Description.
/// <para>
/// Information about the action.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=1024)]
public string Description
{
get { return this._description; }
set { this._description = value; }
}
// Check to see if Description property is set
internal bool IsSetDescription()
{
return this._description != null;
}
/// <summary>
/// Gets and sets the property Name.
/// <para>
/// The action name.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=64)]
public string Name
{
get { return this._name; }
set { this._name = value; }
}
// Check to see if Name property is set
internal bool IsSetName()
{
return this._name != null;
}
/// <summary>
/// Gets and sets the property RoleArn.
/// <para>
/// An Amazon Resource Name (ARN) for an Identity and Access Management assume role.
/// </para>
/// </summary>
[AWSProperty(Min=20, Max=2048)]
public string RoleArn
{
get { return this._roleArn; }
set { this._roleArn = value; }
}
// Check to see if RoleArn property is set
internal bool IsSetRoleArn()
{
return this._roleArn != null;
}
/// <summary>
/// Gets and sets the property Uri.
/// <para>
/// The extension URI associated to the action point in the extension definition. The
/// URI can be an Amazon Resource Name (ARN) for one of the following: an Lambda function,
/// an Amazon Simple Queue Service queue, an Amazon Simple Notification Service topic,
/// or the Amazon EventBridge default event bus.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=2048)]
public string Uri
{
get { return this._uri; }
set { this._uri = value; }
}
// Check to see if Uri property is set
internal bool IsSetUri()
{
return this._uri != null;
}
}
} | 156 |
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 appconfig-2019-10-09.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.AppConfig.Model
{
/// <summary>
/// An extension that was invoked as part of a deployment event.
/// </summary>
public partial class ActionInvocation
{
private string _actionName;
private string _errorCode;
private string _errorMessage;
private string _extensionIdentifier;
private string _invocationId;
private string _roleArn;
private string _uri;
/// <summary>
/// Gets and sets the property ActionName.
/// <para>
/// The name of the action.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=64)]
public string ActionName
{
get { return this._actionName; }
set { this._actionName = value; }
}
// Check to see if ActionName property is set
internal bool IsSetActionName()
{
return this._actionName != null;
}
/// <summary>
/// Gets and sets the property ErrorCode.
/// <para>
/// The error code when an extension invocation fails.
/// </para>
/// </summary>
public string ErrorCode
{
get { return this._errorCode; }
set { this._errorCode = value; }
}
// Check to see if ErrorCode property is set
internal bool IsSetErrorCode()
{
return this._errorCode != null;
}
/// <summary>
/// Gets and sets the property ErrorMessage.
/// <para>
/// The error message when an extension invocation fails.
/// </para>
/// </summary>
public string ErrorMessage
{
get { return this._errorMessage; }
set { this._errorMessage = value; }
}
// Check to see if ErrorMessage property is set
internal bool IsSetErrorMessage()
{
return this._errorMessage != null;
}
/// <summary>
/// Gets and sets the property ExtensionIdentifier.
/// <para>
/// The name, the ID, or the Amazon Resource Name (ARN) of the extension.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=2048)]
public string ExtensionIdentifier
{
get { return this._extensionIdentifier; }
set { this._extensionIdentifier = value; }
}
// Check to see if ExtensionIdentifier property is set
internal bool IsSetExtensionIdentifier()
{
return this._extensionIdentifier != null;
}
/// <summary>
/// Gets and sets the property InvocationId.
/// <para>
/// A system-generated ID for this invocation.
/// </para>
/// </summary>
public string InvocationId
{
get { return this._invocationId; }
set { this._invocationId = value; }
}
// Check to see if InvocationId property is set
internal bool IsSetInvocationId()
{
return this._invocationId != null;
}
/// <summary>
/// Gets and sets the property RoleArn.
/// <para>
/// An Amazon Resource Name (ARN) for an Identity and Access Management assume role.
/// </para>
/// </summary>
[AWSProperty(Min=20, Max=2048)]
public string RoleArn
{
get { return this._roleArn; }
set { this._roleArn = value; }
}
// Check to see if RoleArn property is set
internal bool IsSetRoleArn()
{
return this._roleArn != null;
}
/// <summary>
/// Gets and sets the property Uri.
/// <para>
/// The extension URI associated to the action point in the extension definition. The
/// URI can be an Amazon Resource Name (ARN) for one of the following: an Lambda function,
/// an Amazon Simple Queue Service queue, an Amazon Simple Notification Service topic,
/// or the Amazon EventBridge default event bus.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=2048)]
public string Uri
{
get { return this._uri; }
set { this._uri = value; }
}
// Check to see if Uri property is set
internal bool IsSetUri()
{
return this._uri != null;
}
}
} | 178 |
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 appconfig-2019-10-09.normal.json service model.
*/
using Amazon.Runtime;
namespace Amazon.AppConfig
{
/// <summary>
/// Base class for AppConfig operation requests.
/// </summary>
public partial class AmazonAppConfigRequest : 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 appconfig-2019-10-09.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.AppConfig.Model
{
/// <summary>
///
/// </summary>
public partial class Application
{
private string _description;
private string _id;
private string _name;
/// <summary>
/// Gets and sets the property Description.
/// <para>
/// The description of the application.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=1024)]
public string Description
{
get { return this._description; }
set { this._description = value; }
}
// Check to see if Description property is set
internal bool IsSetDescription()
{
return this._description != null;
}
/// <summary>
/// Gets and sets the property Id.
/// <para>
/// The application ID.
/// </para>
/// </summary>
public string Id
{
get { return this._id; }
set { this._id = value; }
}
// Check to see if Id property is set
internal bool IsSetId()
{
return this._id != null;
}
/// <summary>
/// Gets and sets the property Name.
/// <para>
/// The application name.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=64)]
public string Name
{
get { return this._name; }
set { this._name = value; }
}
// Check to see if Name property is set
internal bool IsSetName()
{
return this._name != null;
}
}
} | 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 appconfig-2019-10-09.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.AppConfig.Model
{
/// <summary>
/// An extension that was invoked during a deployment.
/// </summary>
public partial class AppliedExtension
{
private string _extensionAssociationId;
private string _extensionId;
private Dictionary<string, string> _parameters = new Dictionary<string, string>();
private int? _versionNumber;
/// <summary>
/// Gets and sets the property ExtensionAssociationId.
/// <para>
/// The system-generated ID for the association.
/// </para>
/// </summary>
public string ExtensionAssociationId
{
get { return this._extensionAssociationId; }
set { this._extensionAssociationId = value; }
}
// Check to see if ExtensionAssociationId property is set
internal bool IsSetExtensionAssociationId()
{
return this._extensionAssociationId != null;
}
/// <summary>
/// Gets and sets the property ExtensionId.
/// <para>
/// The system-generated ID of the extension.
/// </para>
/// </summary>
public string ExtensionId
{
get { return this._extensionId; }
set { this._extensionId = value; }
}
// Check to see if ExtensionId property is set
internal bool IsSetExtensionId()
{
return this._extensionId != null;
}
/// <summary>
/// Gets and sets the property Parameters.
/// <para>
/// One or more parameters for the actions called by the extension.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=5)]
public Dictionary<string, string> Parameters
{
get { return this._parameters; }
set { this._parameters = value; }
}
// Check to see if Parameters property is set
internal bool IsSetParameters()
{
return this._parameters != null && this._parameters.Count > 0;
}
/// <summary>
/// Gets and sets the property VersionNumber.
/// <para>
/// The extension version number.
/// </para>
/// </summary>
public int VersionNumber
{
get { return this._versionNumber.GetValueOrDefault(); }
set { this._versionNumber = value; }
}
// Check to see if VersionNumber property is set
internal bool IsSetVersionNumber()
{
return this._versionNumber.HasValue;
}
}
} | 115 |
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 appconfig-2019-10-09.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.AppConfig.Model
{
/// <summary>
/// Detailed information about the input that failed to satisfy the constraints specified
/// by a call.
/// </summary>
public partial class BadRequestDetails
{
private List<InvalidConfigurationDetail> _invalidConfiguration = new List<InvalidConfigurationDetail>();
/// <summary>
/// Gets and sets the property InvalidConfiguration.
/// <para>
/// Detailed information about the bad request exception error when creating a hosted
/// configuration version.
/// </para>
/// </summary>
public List<InvalidConfigurationDetail> InvalidConfiguration
{
get { return this._invalidConfiguration; }
set { this._invalidConfiguration = value; }
}
// Check to see if InvalidConfiguration property is set
internal bool IsSetInvalidConfiguration()
{
return this._invalidConfiguration != null && this._invalidConfiguration.Count > 0;
}
}
} | 59 |
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 appconfig-2019-10-09.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.AppConfig.Model
{
/// <summary>
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
/// </summary>
#if !NETSTANDARD
[Serializable]
#endif
public partial class BadRequestException : AmazonAppConfigException
{
private BadRequestDetails _details;
private BadRequestReason _reason;
/// <summary>
/// Constructs a new BadRequestException with the specified error
/// message.
/// </summary>
/// <param name="message">
/// Describes the error encountered.
/// </param>
public BadRequestException(string message)
: base(message) {}
/// <summary>
/// Construct instance of BadRequestException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
public BadRequestException(string message, Exception innerException)
: base(message, innerException) {}
/// <summary>
/// Construct instance of BadRequestException
/// </summary>
/// <param name="innerException"></param>
public BadRequestException(Exception innerException)
: base(innerException) {}
/// <summary>
/// Construct instance of BadRequestException
/// </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 BadRequestException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, innerException, errorType, errorCode, requestId, statusCode) {}
/// <summary>
/// Construct instance of BadRequestException
/// </summary>
/// <param name="message"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public BadRequestException(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 BadRequestException 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 BadRequestException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
: base(info, context)
{
this.Details = (BadRequestDetails)info.GetValue("Details", typeof(BadRequestDetails));
this.Reason = (BadRequestReason)info.GetValue("Reason", typeof(BadRequestReason));
}
/// <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);
info.AddValue("Details", this.Details);
info.AddValue("Reason", this.Reason);
}
#endif
/// <summary>
/// Gets and sets the property Details.
/// </summary>
public BadRequestDetails Details
{
get { return this._details; }
set { this._details = value; }
}
// Check to see if Details property is set
internal bool IsSetDetails()
{
return this._details != null;
}
/// <summary>
/// Gets and sets the property Reason.
/// </summary>
public BadRequestReason Reason
{
get { return this._reason; }
set { this._reason = value; }
}
// Check to see if Reason property is set
internal bool IsSetReason()
{
return this._reason != null;
}
}
} | 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 appconfig-2019-10-09.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.AppConfig.Model
{
/// <summary>
/// A summary of a configuration profile.
/// </summary>
public partial class ConfigurationProfileSummary
{
private string _applicationId;
private string _id;
private string _locationUri;
private string _name;
private string _type;
private List<string> _validatorTypes = new List<string>();
/// <summary>
/// Gets and sets the property ApplicationId.
/// <para>
/// The application ID.
/// </para>
/// </summary>
public string ApplicationId
{
get { return this._applicationId; }
set { this._applicationId = value; }
}
// Check to see if ApplicationId property is set
internal bool IsSetApplicationId()
{
return this._applicationId != null;
}
/// <summary>
/// Gets and sets the property Id.
/// <para>
/// The ID of the configuration profile.
/// </para>
/// </summary>
public string Id
{
get { return this._id; }
set { this._id = value; }
}
// Check to see if Id property is set
internal bool IsSetId()
{
return this._id != null;
}
/// <summary>
/// Gets and sets the property LocationUri.
/// <para>
/// The URI location of the configuration.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=2048)]
public string LocationUri
{
get { return this._locationUri; }
set { this._locationUri = value; }
}
// Check to see if LocationUri property is set
internal bool IsSetLocationUri()
{
return this._locationUri != null;
}
/// <summary>
/// Gets and sets the property Name.
/// <para>
/// The name of the configuration profile.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=128)]
public string Name
{
get { return this._name; }
set { this._name = value; }
}
// Check to see if Name property is set
internal bool IsSetName()
{
return this._name != null;
}
/// <summary>
/// Gets and sets the property Type.
/// <para>
/// The type of configurations contained in the profile. AppConfig supports <code>feature
/// flags</code> and <code>freeform</code> configurations. We recommend you create feature
/// flag configurations to enable or disable new features and freeform configurations
/// to distribute configurations to an application. When calling this API, enter one of
/// the following values for <code>Type</code>:
/// </para>
///
/// <para>
/// <code>AWS.AppConfig.FeatureFlags</code>
/// </para>
///
/// <para>
/// <code>AWS.Freeform</code>
/// </para>
/// </summary>
public string Type
{
get { return this._type; }
set { this._type = value; }
}
// Check to see if Type property is set
internal bool IsSetType()
{
return this._type != null;
}
/// <summary>
/// Gets and sets the property ValidatorTypes.
/// <para>
/// The types of validators in the configuration profile.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=2)]
public List<string> ValidatorTypes
{
get { return this._validatorTypes; }
set { this._validatorTypes = value; }
}
// Check to see if ValidatorTypes property is set
internal bool IsSetValidatorTypes()
{
return this._validatorTypes != null && this._validatorTypes.Count > 0;
}
}
} | 167 |
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 appconfig-2019-10-09.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.AppConfig.Model
{
/// <summary>
/// The request could not be processed because of conflict in the current state of the
/// resource.
/// </summary>
#if !NETSTANDARD
[Serializable]
#endif
public partial class ConflictException : AmazonAppConfigException
{
/// <summary>
/// Constructs a new ConflictException with the specified error
/// message.
/// </summary>
/// <param name="message">
/// Describes the error encountered.
/// </param>
public ConflictException(string message)
: base(message) {}
/// <summary>
/// Construct instance of ConflictException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
public ConflictException(string message, Exception innerException)
: base(message, innerException) {}
/// <summary>
/// Construct instance of ConflictException
/// </summary>
/// <param name="innerException"></param>
public ConflictException(Exception innerException)
: base(innerException) {}
/// <summary>
/// Construct instance of ConflictException
/// </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 ConflictException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, innerException, errorType, errorCode, requestId, statusCode) {}
/// <summary>
/// Construct instance of ConflictException
/// </summary>
/// <param name="message"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public ConflictException(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 ConflictException 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 ConflictException(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 appconfig-2019-10-09.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.AppConfig.Model
{
/// <summary>
/// Container for the parameters to the CreateApplication operation.
/// Creates an application. In AppConfig, an application is simply an organizational construct
/// like a folder. This organizational construct has a relationship with some unit of
/// executable code. For example, you could create an application called MyMobileApp to
/// organize and manage configuration data for a mobile application installed by your
/// users.
/// </summary>
public partial class CreateApplicationRequest : AmazonAppConfigRequest
{
private string _description;
private string _name;
private Dictionary<string, string> _tags = new Dictionary<string, string>();
/// <summary>
/// Gets and sets the property Description.
/// <para>
/// A description of the application.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=1024)]
public string Description
{
get { return this._description; }
set { this._description = value; }
}
// Check to see if Description property is set
internal bool IsSetDescription()
{
return this._description != null;
}
/// <summary>
/// Gets and sets the property Name.
/// <para>
/// A name for the application.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=64)]
public string Name
{
get { return this._name; }
set { this._name = value; }
}
// Check to see if Name property is set
internal bool IsSetName()
{
return this._name != null;
}
/// <summary>
/// Gets and sets the property Tags.
/// <para>
/// Metadata to assign to the application. Tags help organize and categorize your AppConfig
/// resources. Each tag consists of a key and an optional value, both of which you define.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=50)]
public Dictionary<string, string> Tags
{
get { return this._tags; }
set { this._tags = value; }
}
// Check to see if Tags property is set
internal bool IsSetTags()
{
return this._tags != null && this._tags.Count > 0;
}
}
} | 104 |
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 appconfig-2019-10-09.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.AppConfig.Model
{
/// <summary>
/// This is the response object from the CreateApplication operation.
/// </summary>
public partial class CreateApplicationResponse : AmazonWebServiceResponse
{
private string _description;
private string _id;
private string _name;
/// <summary>
/// Gets and sets the property Description.
/// <para>
/// The description of the application.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=1024)]
public string Description
{
get { return this._description; }
set { this._description = value; }
}
// Check to see if Description property is set
internal bool IsSetDescription()
{
return this._description != null;
}
/// <summary>
/// Gets and sets the property Id.
/// <para>
/// The application ID.
/// </para>
/// </summary>
public string Id
{
get { return this._id; }
set { this._id = value; }
}
// Check to see if Id property is set
internal bool IsSetId()
{
return this._id != null;
}
/// <summary>
/// Gets and sets the property Name.
/// <para>
/// The application name.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=64)]
public string Name
{
get { return this._name; }
set { this._name = value; }
}
// Check to see if Name property is set
internal bool IsSetName()
{
return this._name != null;
}
}
} | 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 appconfig-2019-10-09.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.AppConfig.Model
{
/// <summary>
/// Container for the parameters to the CreateConfigurationProfile operation.
/// Creates a configuration profile, which is information that enables AppConfig to access
/// the configuration source. Valid configuration sources include the following:
///
/// <ul> <li>
/// <para>
/// Configuration data in YAML, JSON, and other formats stored in the AppConfig hosted
/// configuration store
/// </para>
/// </li> <li>
/// <para>
/// Configuration data stored as objects in an Amazon Simple Storage Service (Amazon S3)
/// bucket
/// </para>
/// </li> <li>
/// <para>
/// Pipelines stored in CodePipeline
/// </para>
/// </li> <li>
/// <para>
/// Secrets stored in Secrets Manager
/// </para>
/// </li> <li>
/// <para>
/// Standard and secure string parameters stored in Amazon Web Services Systems Manager
/// Parameter Store
/// </para>
/// </li> <li>
/// <para>
/// Configuration data in SSM documents stored in the Systems Manager document store
/// </para>
/// </li> </ul>
/// <para>
/// A configuration profile includes the following information:
/// </para>
/// <ul> <li>
/// <para>
/// The URI location of the configuration data.
/// </para>
/// </li> <li>
/// <para>
/// The Identity and Access Management (IAM) role that provides access to the configuration
/// data.
/// </para>
/// </li> <li>
/// <para>
/// A validator for the configuration data. Available validators include either a JSON
/// Schema or an Amazon Web Services Lambda function.
/// </para>
/// </li> </ul>
/// <para>
/// For more information, see <a href="http://docs.aws.amazon.com/appconfig/latest/userguide/appconfig-creating-configuration-and-profile.html">Create
/// a Configuration and a Configuration Profile</a> in the <i>AppConfig User Guide</i>.
/// </para>
/// </summary>
public partial class CreateConfigurationProfileRequest : AmazonAppConfigRequest
{
private string _applicationId;
private string _description;
private string _locationUri;
private string _name;
private string _retrievalRoleArn;
private Dictionary<string, string> _tags = new Dictionary<string, string>();
private string _type;
private List<Validator> _validators = new List<Validator>();
/// <summary>
/// Gets and sets the property ApplicationId.
/// <para>
/// The application ID.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string ApplicationId
{
get { return this._applicationId; }
set { this._applicationId = value; }
}
// Check to see if ApplicationId property is set
internal bool IsSetApplicationId()
{
return this._applicationId != null;
}
/// <summary>
/// Gets and sets the property Description.
/// <para>
/// A description of the configuration profile.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=1024)]
public string Description
{
get { return this._description; }
set { this._description = value; }
}
// Check to see if Description property is set
internal bool IsSetDescription()
{
return this._description != null;
}
/// <summary>
/// Gets and sets the property LocationUri.
/// <para>
/// A URI to locate the configuration. You can specify the following:
/// </para>
/// <ul> <li>
/// <para>
/// For the AppConfig hosted configuration store and for feature flags, specify <code>hosted</code>.
/// </para>
/// </li> <li>
/// <para>
/// For an Amazon Web Services Systems Manager Parameter Store parameter, specify either
/// the parameter name in the format <code>ssm-parameter://<parameter name></code>
/// or the ARN.
/// </para>
/// </li> <li>
/// <para>
/// For an Secrets Manager secret, specify the URI in the following format: <code>secrets-manager</code>://<secret
/// name>.
/// </para>
/// </li> <li>
/// <para>
/// For an Amazon S3 object, specify the URI in the following format: <code>s3://<bucket>/<objectKey>
/// </code>. Here is an example: <code>s3://my-bucket/my-app/us-east-1/my-config.json</code>
///
/// </para>
/// </li> <li>
/// <para>
/// For an SSM document, specify either the document name in the format <code>ssm-document://<document
/// name></code> or the Amazon Resource Name (ARN).
/// </para>
/// </li> </ul>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=2048)]
public string LocationUri
{
get { return this._locationUri; }
set { this._locationUri = value; }
}
// Check to see if LocationUri property is set
internal bool IsSetLocationUri()
{
return this._locationUri != null;
}
/// <summary>
/// Gets and sets the property Name.
/// <para>
/// A name for the configuration profile.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=128)]
public string Name
{
get { return this._name; }
set { this._name = value; }
}
// Check to see if Name property is set
internal bool IsSetName()
{
return this._name != null;
}
/// <summary>
/// Gets and sets the property RetrievalRoleArn.
/// <para>
/// The ARN of an IAM role with permission to access the configuration at the specified
/// <code>LocationUri</code>.
/// </para>
/// <important>
/// <para>
/// A retrieval role ARN is not required for configurations stored in the AppConfig hosted
/// configuration store. It is required for all other sources that store your configuration.
///
/// </para>
/// </important>
/// </summary>
[AWSProperty(Min=20, Max=2048)]
public string RetrievalRoleArn
{
get { return this._retrievalRoleArn; }
set { this._retrievalRoleArn = value; }
}
// Check to see if RetrievalRoleArn property is set
internal bool IsSetRetrievalRoleArn()
{
return this._retrievalRoleArn != null;
}
/// <summary>
/// Gets and sets the property Tags.
/// <para>
/// Metadata to assign to the configuration profile. Tags help organize and categorize
/// your AppConfig resources. Each tag consists of a key and an optional value, both of
/// which you define.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=50)]
public Dictionary<string, string> Tags
{
get { return this._tags; }
set { this._tags = value; }
}
// Check to see if Tags property is set
internal bool IsSetTags()
{
return this._tags != null && this._tags.Count > 0;
}
/// <summary>
/// Gets and sets the property Type.
/// <para>
/// The type of configurations contained in the profile. AppConfig supports <code>feature
/// flags</code> and <code>freeform</code> configurations. We recommend you create feature
/// flag configurations to enable or disable new features and freeform configurations
/// to distribute configurations to an application. When calling this API, enter one of
/// the following values for <code>Type</code>:
/// </para>
///
/// <para>
/// <code>AWS.AppConfig.FeatureFlags</code>
/// </para>
///
/// <para>
/// <code>AWS.Freeform</code>
/// </para>
/// </summary>
public string Type
{
get { return this._type; }
set { this._type = value; }
}
// Check to see if Type property is set
internal bool IsSetType()
{
return this._type != null;
}
/// <summary>
/// Gets and sets the property Validators.
/// <para>
/// A list of methods for validating the configuration.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=2)]
public List<Validator> Validators
{
get { return this._validators; }
set { this._validators = value; }
}
// Check to see if Validators property is set
internal bool IsSetValidators()
{
return this._validators != null && this._validators.Count > 0;
}
}
} | 299 |
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 appconfig-2019-10-09.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.AppConfig.Model
{
/// <summary>
/// This is the response object from the CreateConfigurationProfile operation.
/// </summary>
public partial class CreateConfigurationProfileResponse : AmazonWebServiceResponse
{
private string _applicationId;
private string _description;
private string _id;
private string _locationUri;
private string _name;
private string _retrievalRoleArn;
private string _type;
private List<Validator> _validators = new List<Validator>();
/// <summary>
/// Gets and sets the property ApplicationId.
/// <para>
/// The application ID.
/// </para>
/// </summary>
public string ApplicationId
{
get { return this._applicationId; }
set { this._applicationId = value; }
}
// Check to see if ApplicationId property is set
internal bool IsSetApplicationId()
{
return this._applicationId != null;
}
/// <summary>
/// Gets and sets the property Description.
/// <para>
/// The configuration profile description.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=1024)]
public string Description
{
get { return this._description; }
set { this._description = value; }
}
// Check to see if Description property is set
internal bool IsSetDescription()
{
return this._description != null;
}
/// <summary>
/// Gets and sets the property Id.
/// <para>
/// The configuration profile ID.
/// </para>
/// </summary>
public string Id
{
get { return this._id; }
set { this._id = value; }
}
// Check to see if Id property is set
internal bool IsSetId()
{
return this._id != null;
}
/// <summary>
/// Gets and sets the property LocationUri.
/// <para>
/// The URI location of the configuration.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=2048)]
public string LocationUri
{
get { return this._locationUri; }
set { this._locationUri = value; }
}
// Check to see if LocationUri property is set
internal bool IsSetLocationUri()
{
return this._locationUri != null;
}
/// <summary>
/// Gets and sets the property Name.
/// <para>
/// The name of the configuration profile.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=128)]
public string Name
{
get { return this._name; }
set { this._name = value; }
}
// Check to see if Name property is set
internal bool IsSetName()
{
return this._name != null;
}
/// <summary>
/// Gets and sets the property RetrievalRoleArn.
/// <para>
/// The ARN of an IAM role with permission to access the configuration at the specified
/// <code>LocationUri</code>.
/// </para>
/// </summary>
[AWSProperty(Min=20, Max=2048)]
public string RetrievalRoleArn
{
get { return this._retrievalRoleArn; }
set { this._retrievalRoleArn = value; }
}
// Check to see if RetrievalRoleArn property is set
internal bool IsSetRetrievalRoleArn()
{
return this._retrievalRoleArn != null;
}
/// <summary>
/// Gets and sets the property Type.
/// <para>
/// The type of configurations contained in the profile. AppConfig supports <code>feature
/// flags</code> and <code>freeform</code> configurations. We recommend you create feature
/// flag configurations to enable or disable new features and freeform configurations
/// to distribute configurations to an application. When calling this API, enter one of
/// the following values for <code>Type</code>:
/// </para>
///
/// <para>
/// <code>AWS.AppConfig.FeatureFlags</code>
/// </para>
///
/// <para>
/// <code>AWS.Freeform</code>
/// </para>
/// </summary>
public string Type
{
get { return this._type; }
set { this._type = value; }
}
// Check to see if Type property is set
internal bool IsSetType()
{
return this._type != null;
}
/// <summary>
/// Gets and sets the property Validators.
/// <para>
/// A list of methods for validating the configuration.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=2)]
public List<Validator> Validators
{
get { return this._validators; }
set { this._validators = value; }
}
// Check to see if Validators property is set
internal bool IsSetValidators()
{
return this._validators != null && this._validators.Count > 0;
}
}
} | 208 |
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 appconfig-2019-10-09.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.AppConfig.Model
{
/// <summary>
/// Container for the parameters to the CreateDeploymentStrategy operation.
/// Creates a deployment strategy that defines important criteria for rolling out your
/// configuration to the designated targets. A deployment strategy includes the overall
/// duration required, a percentage of targets to receive the deployment during each interval,
/// an algorithm that defines how percentage grows, and bake time.
/// </summary>
public partial class CreateDeploymentStrategyRequest : AmazonAppConfigRequest
{
private int? _deploymentDurationInMinutes;
private string _description;
private int? _finalBakeTimeInMinutes;
private float? _growthFactor;
private GrowthType _growthType;
private string _name;
private ReplicateTo _replicateTo;
private Dictionary<string, string> _tags = new Dictionary<string, string>();
/// <summary>
/// Gets and sets the property DeploymentDurationInMinutes.
/// <para>
/// Total amount of time for a deployment to last.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=0, Max=1440)]
public int DeploymentDurationInMinutes
{
get { return this._deploymentDurationInMinutes.GetValueOrDefault(); }
set { this._deploymentDurationInMinutes = value; }
}
// Check to see if DeploymentDurationInMinutes property is set
internal bool IsSetDeploymentDurationInMinutes()
{
return this._deploymentDurationInMinutes.HasValue;
}
/// <summary>
/// Gets and sets the property Description.
/// <para>
/// A description of the deployment strategy.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=1024)]
public string Description
{
get { return this._description; }
set { this._description = value; }
}
// Check to see if Description property is set
internal bool IsSetDescription()
{
return this._description != null;
}
/// <summary>
/// Gets and sets the property FinalBakeTimeInMinutes.
/// <para>
/// Specifies the amount of time AppConfig monitors for Amazon CloudWatch alarms after
/// the configuration has been deployed to 100% of its targets, before considering the
/// deployment to be complete. If an alarm is triggered during this time, AppConfig rolls
/// back the deployment. You must configure permissions for AppConfig to roll back based
/// on CloudWatch alarms. For more information, see <a href="https://docs.aws.amazon.com/appconfig/latest/userguide/getting-started-with-appconfig-cloudwatch-alarms-permissions.html">Configuring
/// permissions for rollback based on Amazon CloudWatch alarms</a> in the <i>AppConfig
/// User Guide</i>.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=1440)]
public int FinalBakeTimeInMinutes
{
get { return this._finalBakeTimeInMinutes.GetValueOrDefault(); }
set { this._finalBakeTimeInMinutes = value; }
}
// Check to see if FinalBakeTimeInMinutes property is set
internal bool IsSetFinalBakeTimeInMinutes()
{
return this._finalBakeTimeInMinutes.HasValue;
}
/// <summary>
/// Gets and sets the property GrowthFactor.
/// <para>
/// The percentage of targets to receive a deployed configuration during each interval.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=100)]
public float GrowthFactor
{
get { return this._growthFactor.GetValueOrDefault(); }
set { this._growthFactor = value; }
}
// Check to see if GrowthFactor property is set
internal bool IsSetGrowthFactor()
{
return this._growthFactor.HasValue;
}
/// <summary>
/// Gets and sets the property GrowthType.
/// <para>
/// The algorithm used to define how percentage grows over time. AppConfig supports the
/// following growth types:
/// </para>
///
/// <para>
/// <b>Linear</b>: For this type, AppConfig processes the deployment by dividing the
/// total number of targets by the value specified for <code>Step percentage</code>. For
/// example, a linear deployment that uses a <code>Step percentage</code> of 10 deploys
/// the configuration to 10 percent of the hosts. After those deployments are complete,
/// the system deploys the configuration to the next 10 percent. This continues until
/// 100% of the targets have successfully received the configuration.
/// </para>
///
/// <para>
/// <b>Exponential</b>: For this type, AppConfig processes the deployment exponentially
/// using the following formula: <code>G*(2^N)</code>. In this formula, <code>G</code>
/// is the growth factor specified by the user and <code>N</code> is the number of steps
/// until the configuration is deployed to all targets. For example, if you specify a
/// growth factor of 2, then the system rolls out the configuration as follows:
/// </para>
///
/// <para>
/// <code>2*(2^0)</code>
/// </para>
///
/// <para>
/// <code>2*(2^1)</code>
/// </para>
///
/// <para>
/// <code>2*(2^2)</code>
/// </para>
///
/// <para>
/// Expressed numerically, the deployment rolls out as follows: 2% of the targets, 4%
/// of the targets, 8% of the targets, and continues until the configuration has been
/// deployed to all targets.
/// </para>
/// </summary>
public GrowthType GrowthType
{
get { return this._growthType; }
set { this._growthType = value; }
}
// Check to see if GrowthType property is set
internal bool IsSetGrowthType()
{
return this._growthType != null;
}
/// <summary>
/// Gets and sets the property Name.
/// <para>
/// A name for the deployment strategy.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=64)]
public string Name
{
get { return this._name; }
set { this._name = value; }
}
// Check to see if Name property is set
internal bool IsSetName()
{
return this._name != null;
}
/// <summary>
/// Gets and sets the property ReplicateTo.
/// <para>
/// Save the deployment strategy to a Systems Manager (SSM) document.
/// </para>
/// </summary>
public ReplicateTo ReplicateTo
{
get { return this._replicateTo; }
set { this._replicateTo = value; }
}
// Check to see if ReplicateTo property is set
internal bool IsSetReplicateTo()
{
return this._replicateTo != null;
}
/// <summary>
/// Gets and sets the property Tags.
/// <para>
/// Metadata to assign to the deployment strategy. Tags help organize and categorize your
/// AppConfig resources. Each tag consists of a key and an optional value, both of which
/// you define.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=50)]
public Dictionary<string, string> Tags
{
get { return this._tags; }
set { this._tags = value; }
}
// Check to see if Tags property is set
internal bool IsSetTags()
{
return this._tags != null && this._tags.Count > 0;
}
}
} | 244 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.