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 apigatewaymanagementapi-2018-11-29.normal.json service model. */ using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Net; using System.Text; using System.Xml.Serialization; using Amazon.ApiGatewayManagementApi.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.ApiGatewayManagementApi.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for GetConnection operation /// </summary> public class GetConnectionResponseUnmarshaller : 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) { GetConnectionResponse response = new GetConnectionResponse(); context.Read(); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { if (context.TestExpression("connectedAt", targetDepth)) { var unmarshaller = DateTimeUnmarshaller.Instance; response.ConnectedAt = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("identity", targetDepth)) { var unmarshaller = IdentityUnmarshaller.Instance; response.Identity = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("lastActiveAt", targetDepth)) { var unmarshaller = DateTimeUnmarshaller.Instance; response.LastActiveAt = 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("ForbiddenException")) { return ForbiddenExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("GoneException")) { return GoneExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("LimitExceededException")) { return LimitExceededExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } } return new AmazonApiGatewayManagementApiException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode); } private static GetConnectionResponseUnmarshaller _instance = new GetConnectionResponseUnmarshaller(); internal static GetConnectionResponseUnmarshaller GetInstance() { return _instance; } /// <summary> /// Gets the singleton. /// </summary> public static GetConnectionResponseUnmarshaller Instance { get { return _instance; } } } }
130
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the apigatewaymanagementapi-2018-11-29.normal.json service model. */ using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Net; using System.Text; using System.Xml.Serialization; using Amazon.ApiGatewayManagementApi.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.ApiGatewayManagementApi.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for GoneException Object /// </summary> public class GoneExceptionUnmarshaller : IErrorResponseUnmarshaller<GoneException, JsonUnmarshallerContext> { /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> public GoneException 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 GoneException Unmarshall(JsonUnmarshallerContext context, Amazon.Runtime.Internal.ErrorResponse errorResponse) { context.Read(); GoneException unmarshalledObject = new GoneException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { } return unmarshalledObject; } private static GoneExceptionUnmarshaller _instance = new GoneExceptionUnmarshaller(); /// <summary> /// Gets the singleton. /// </summary> public static GoneExceptionUnmarshaller Instance { get { return _instance; } } } }
85
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the apigatewaymanagementapi-2018-11-29.normal.json service model. */ using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Net; using System.Text; using System.Xml.Serialization; using Amazon.ApiGatewayManagementApi.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.ApiGatewayManagementApi.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for Identity Object /// </summary> public class IdentityUnmarshaller : IUnmarshaller<Identity, XmlUnmarshallerContext>, IUnmarshaller<Identity, JsonUnmarshallerContext> { /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> Identity IUnmarshaller<Identity, 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 Identity Unmarshall(JsonUnmarshallerContext context) { context.Read(); if (context.CurrentTokenType == JsonToken.Null) return null; Identity unmarshalledObject = new Identity(); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { if (context.TestExpression("sourceIp", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; unmarshalledObject.SourceIp = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("userAgent", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; unmarshalledObject.UserAgent = unmarshaller.Unmarshall(context); continue; } } return unmarshalledObject; } private static IdentityUnmarshaller _instance = new IdentityUnmarshaller(); /// <summary> /// Gets the singleton. /// </summary> public static IdentityUnmarshaller 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 apigatewaymanagementapi-2018-11-29.normal.json service model. */ using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Net; using System.Text; using System.Xml.Serialization; using Amazon.ApiGatewayManagementApi.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.ApiGatewayManagementApi.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for LimitExceededException Object /// </summary> public class LimitExceededExceptionUnmarshaller : IErrorResponseUnmarshaller<LimitExceededException, JsonUnmarshallerContext> { /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> public LimitExceededException 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 LimitExceededException Unmarshall(JsonUnmarshallerContext context, Amazon.Runtime.Internal.ErrorResponse errorResponse) { context.Read(); LimitExceededException unmarshalledObject = new LimitExceededException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { } return unmarshalledObject; } private static LimitExceededExceptionUnmarshaller _instance = new LimitExceededExceptionUnmarshaller(); /// <summary> /// Gets the singleton. /// </summary> public static LimitExceededExceptionUnmarshaller Instance { get { return _instance; } } } }
85
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the apigatewaymanagementapi-2018-11-29.normal.json service model. */ using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Net; using System.Text; using System.Xml.Serialization; using Amazon.ApiGatewayManagementApi.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.ApiGatewayManagementApi.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for PayloadTooLargeException Object /// </summary> public class PayloadTooLargeExceptionUnmarshaller : IErrorResponseUnmarshaller<PayloadTooLargeException, JsonUnmarshallerContext> { /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> public PayloadTooLargeException 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 PayloadTooLargeException Unmarshall(JsonUnmarshallerContext context, Amazon.Runtime.Internal.ErrorResponse errorResponse) { context.Read(); PayloadTooLargeException unmarshalledObject = new PayloadTooLargeException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { } return unmarshalledObject; } private static PayloadTooLargeExceptionUnmarshaller _instance = new PayloadTooLargeExceptionUnmarshaller(); /// <summary> /// Gets the singleton. /// </summary> public static PayloadTooLargeExceptionUnmarshaller Instance { get { return _instance; } } } }
85
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the apigatewaymanagementapi-2018-11-29.normal.json service model. */ using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Text; using System.Xml.Serialization; using Amazon.ApiGatewayManagementApi.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.ApiGatewayManagementApi.Model.Internal.MarshallTransformations { /// <summary> /// PostToConnection Request Marshaller /// </summary> public class PostToConnectionRequestMarshaller : IMarshaller<IRequest, PostToConnectionRequest> , 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((PostToConnectionRequest)input); } /// <summary> /// Marshaller the request object to the HTTP request. /// </summary> /// <param name="publicRequest"></param> /// <returns></returns> public IRequest Marshall(PostToConnectionRequest publicRequest) { IRequest request = new DefaultRequest(publicRequest, "Amazon.ApiGatewayManagementApi"); request.Headers["Content-Type"] = "application/json"; request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2018-11-29"; request.HttpMethod = "POST"; if (!publicRequest.IsSetConnectionId()) throw new AmazonApiGatewayManagementApiException("Request object does not have required field ConnectionId set"); request.AddPathResource("{connectionId}", StringUtils.FromString(publicRequest.ConnectionId)); request.ResourcePath = "/@connections/{connectionId}"; request.ContentStream = publicRequest.Data ?? new MemoryStream(); request.Headers[Amazon.Util.HeaderKeys.ContentLengthHeader] = request.ContentStream.Length.ToString(CultureInfo.InvariantCulture); request.Headers[Amazon.Util.HeaderKeys.ContentTypeHeader] = "binary/octet-stream"; if (request.ContentStream != null && request.ContentStream.Length == 0) { request.Headers.Remove(Amazon.Util.HeaderKeys.ContentTypeHeader); } return request; } private static PostToConnectionRequestMarshaller _instance = new PostToConnectionRequestMarshaller(); internal static PostToConnectionRequestMarshaller GetInstance() { return _instance; } /// <summary> /// Gets the singleton. /// </summary> public static PostToConnectionRequestMarshaller Instance { get { return _instance; } } } }
96
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the apigatewaymanagementapi-2018-11-29.normal.json service model. */ using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Net; using System.Text; using System.Xml.Serialization; using Amazon.ApiGatewayManagementApi.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.ApiGatewayManagementApi.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for PostToConnection operation /// </summary> public class PostToConnectionResponseUnmarshaller : 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) { PostToConnectionResponse response = new PostToConnectionResponse(); return response; } /// <summary> /// Unmarshaller error response to exception. /// </summary> /// <param name="context"></param> /// <param name="innerException"></param> /// <param name="statusCode"></param> /// <returns></returns> public override AmazonServiceException UnmarshallException(JsonUnmarshallerContext context, Exception innerException, HttpStatusCode statusCode) { var errorResponse = JsonErrorResponseUnmarshaller.GetInstance().Unmarshall(context); errorResponse.InnerException = innerException; errorResponse.StatusCode = statusCode; var responseBodyBytes = context.GetResponseBodyBytes(); using (var streamCopy = new MemoryStream(responseBodyBytes)) using (var contextCopy = new JsonUnmarshallerContext(streamCopy, false, null)) { if (errorResponse.Code != null && errorResponse.Code.Equals("ForbiddenException")) { return ForbiddenExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("GoneException")) { return GoneExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("LimitExceededException")) { return LimitExceededExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("PayloadTooLargeException")) { return PayloadTooLargeExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } } return new AmazonApiGatewayManagementApiException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode); } private static PostToConnectionResponseUnmarshaller _instance = new PostToConnectionResponseUnmarshaller(); internal static PostToConnectionResponseUnmarshaller GetInstance() { return _instance; } /// <summary> /// Gets the singleton. /// </summary> public static PostToConnectionResponseUnmarshaller 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 apigatewaymanagementapi-2018-11-29.normal.json service model. */ using System; using System.Collections.Generic; using System.Net; using Amazon.ApiGatewayManagementApi.Model; using Amazon.ApiGatewayManagementApi.Model.Internal.MarshallTransformations; using Amazon.ApiGatewayManagementApi.Internal; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Auth; using Amazon.Runtime.Internal.Transform; namespace Amazon.ApiGatewayManagementApi { /// <summary> /// Implementation for accessing ApiGatewayManagementApi /// /// The Amazon API Gateway Management API allows you to directly manage runtime aspects /// of your deployed APIs. To use it, you must explicitly set the SDK's endpoint to point /// to the endpoint of your deployed API. The endpoint will be of the form https://{api-id}.execute-api.{region}.amazonaws.com/{stage}, /// or will be the endpoint corresponding to your API's custom domain and base path, if /// applicable. /// </summary> public partial class AmazonApiGatewayManagementApiClient : AmazonServiceClient, IAmazonApiGatewayManagementApi { private static IServiceMetadata serviceMetadata = new AmazonApiGatewayManagementApiMetadata(); #region Constructors /// <summary> /// Constructs AmazonApiGatewayManagementApiClient 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> /// &lt;?xml version="1.0" encoding="utf-8" ?&gt; /// &lt;configuration&gt; /// &lt;appSettings&gt; /// &lt;add key="AWSProfileName" value="AWS Default"/&gt; /// &lt;/appSettings&gt; /// &lt;/configuration&gt; /// </code> /// /// </summary> public AmazonApiGatewayManagementApiClient() : base(FallbackCredentialsFactory.GetCredentials(), new AmazonApiGatewayManagementApiConfig()) { } /// <summary> /// Constructs AmazonApiGatewayManagementApiClient 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> /// &lt;?xml version="1.0" encoding="utf-8" ?&gt; /// &lt;configuration&gt; /// &lt;appSettings&gt; /// &lt;add key="AWSProfileName" value="AWS Default"/&gt; /// &lt;/appSettings&gt; /// &lt;/configuration&gt; /// </code> /// /// </summary> /// <param name="region">The region to connect.</param> public AmazonApiGatewayManagementApiClient(RegionEndpoint region) : base(FallbackCredentialsFactory.GetCredentials(), new AmazonApiGatewayManagementApiConfig{RegionEndpoint = region}) { } /// <summary> /// Constructs AmazonApiGatewayManagementApiClient 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> /// &lt;?xml version="1.0" encoding="utf-8" ?&gt; /// &lt;configuration&gt; /// &lt;appSettings&gt; /// &lt;add key="AWSProfileName" value="AWS Default"/&gt; /// &lt;/appSettings&gt; /// &lt;/configuration&gt; /// </code> /// /// </summary> /// <param name="config">The AmazonApiGatewayManagementApiClient Configuration Object</param> public AmazonApiGatewayManagementApiClient(AmazonApiGatewayManagementApiConfig config) : base(FallbackCredentialsFactory.GetCredentials(), config) { } /// <summary> /// Constructs AmazonApiGatewayManagementApiClient with AWS Credentials /// </summary> /// <param name="credentials">AWS Credentials</param> public AmazonApiGatewayManagementApiClient(AWSCredentials credentials) : this(credentials, new AmazonApiGatewayManagementApiConfig()) { } /// <summary> /// Constructs AmazonApiGatewayManagementApiClient with AWS Credentials /// </summary> /// <param name="credentials">AWS Credentials</param> /// <param name="region">The region to connect.</param> public AmazonApiGatewayManagementApiClient(AWSCredentials credentials, RegionEndpoint region) : this(credentials, new AmazonApiGatewayManagementApiConfig{RegionEndpoint = region}) { } /// <summary> /// Constructs AmazonApiGatewayManagementApiClient with AWS Credentials and an /// AmazonApiGatewayManagementApiClient Configuration object. /// </summary> /// <param name="credentials">AWS Credentials</param> /// <param name="clientConfig">The AmazonApiGatewayManagementApiClient Configuration Object</param> public AmazonApiGatewayManagementApiClient(AWSCredentials credentials, AmazonApiGatewayManagementApiConfig clientConfig) : base(credentials, clientConfig) { } /// <summary> /// Constructs AmazonApiGatewayManagementApiClient 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 AmazonApiGatewayManagementApiClient(string awsAccessKeyId, string awsSecretAccessKey) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonApiGatewayManagementApiConfig()) { } /// <summary> /// Constructs AmazonApiGatewayManagementApiClient 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 AmazonApiGatewayManagementApiClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonApiGatewayManagementApiConfig() {RegionEndpoint=region}) { } /// <summary> /// Constructs AmazonApiGatewayManagementApiClient with AWS Access Key ID, AWS Secret Key and an /// AmazonApiGatewayManagementApiClient Configuration object. /// </summary> /// <param name="awsAccessKeyId">AWS Access Key ID</param> /// <param name="awsSecretAccessKey">AWS Secret Access Key</param> /// <param name="clientConfig">The AmazonApiGatewayManagementApiClient Configuration Object</param> public AmazonApiGatewayManagementApiClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonApiGatewayManagementApiConfig clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, clientConfig) { } /// <summary> /// Constructs AmazonApiGatewayManagementApiClient 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 AmazonApiGatewayManagementApiClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonApiGatewayManagementApiConfig()) { } /// <summary> /// Constructs AmazonApiGatewayManagementApiClient 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 AmazonApiGatewayManagementApiClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonApiGatewayManagementApiConfig{RegionEndpoint = region}) { } /// <summary> /// Constructs AmazonApiGatewayManagementApiClient with AWS Access Key ID, AWS Secret Key and an /// AmazonApiGatewayManagementApiClient 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 AmazonApiGatewayManagementApiClient Configuration Object</param> public AmazonApiGatewayManagementApiClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonApiGatewayManagementApiConfig 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 AmazonApiGatewayManagementApiEndpointResolver()); } /// <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 DeleteConnection /// <summary> /// Delete the connection with the provided id. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteConnection service method.</param> /// /// <returns>The response from the DeleteConnection service method, as returned by ApiGatewayManagementApi.</returns> /// <exception cref="Amazon.ApiGatewayManagementApi.Model.ForbiddenException"> /// The caller is not authorized to invoke this operation. /// </exception> /// <exception cref="Amazon.ApiGatewayManagementApi.Model.GoneException"> /// The connection with the provided id no longer exists. /// </exception> /// <exception cref="Amazon.ApiGatewayManagementApi.Model.LimitExceededException"> /// The client is sending more than the allowed number of requests per unit of time or /// the WebSocket client side buffer is full. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewaymanagementapi-2018-11-29/DeleteConnection">REST API Reference for DeleteConnection Operation</seealso> public virtual DeleteConnectionResponse DeleteConnection(DeleteConnectionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteConnectionRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteConnectionResponseUnmarshaller.Instance; return Invoke<DeleteConnectionResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the DeleteConnection operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DeleteConnection operation on AmazonApiGatewayManagementApiClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteConnection /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewaymanagementapi-2018-11-29/DeleteConnection">REST API Reference for DeleteConnection Operation</seealso> public virtual IAsyncResult BeginDeleteConnection(DeleteConnectionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteConnectionRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteConnectionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the DeleteConnection operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteConnection.</param> /// /// <returns>Returns a DeleteConnectionResult from ApiGatewayManagementApi.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewaymanagementapi-2018-11-29/DeleteConnection">REST API Reference for DeleteConnection Operation</seealso> public virtual DeleteConnectionResponse EndDeleteConnection(IAsyncResult asyncResult) { return EndInvoke<DeleteConnectionResponse>(asyncResult); } #endregion #region GetConnection /// <summary> /// Get information about the connection with the provided id. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetConnection service method.</param> /// /// <returns>The response from the GetConnection service method, as returned by ApiGatewayManagementApi.</returns> /// <exception cref="Amazon.ApiGatewayManagementApi.Model.ForbiddenException"> /// The caller is not authorized to invoke this operation. /// </exception> /// <exception cref="Amazon.ApiGatewayManagementApi.Model.GoneException"> /// The connection with the provided id no longer exists. /// </exception> /// <exception cref="Amazon.ApiGatewayManagementApi.Model.LimitExceededException"> /// The client is sending more than the allowed number of requests per unit of time or /// the WebSocket client side buffer is full. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewaymanagementapi-2018-11-29/GetConnection">REST API Reference for GetConnection Operation</seealso> public virtual GetConnectionResponse GetConnection(GetConnectionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetConnectionRequestMarshaller.Instance; options.ResponseUnmarshaller = GetConnectionResponseUnmarshaller.Instance; return Invoke<GetConnectionResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the GetConnection operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the GetConnection operation on AmazonApiGatewayManagementApiClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetConnection /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewaymanagementapi-2018-11-29/GetConnection">REST API Reference for GetConnection Operation</seealso> public virtual IAsyncResult BeginGetConnection(GetConnectionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetConnectionRequestMarshaller.Instance; options.ResponseUnmarshaller = GetConnectionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the GetConnection operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetConnection.</param> /// /// <returns>Returns a GetConnectionResult from ApiGatewayManagementApi.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewaymanagementapi-2018-11-29/GetConnection">REST API Reference for GetConnection Operation</seealso> public virtual GetConnectionResponse EndGetConnection(IAsyncResult asyncResult) { return EndInvoke<GetConnectionResponse>(asyncResult); } #endregion #region PostToConnection /// <summary> /// Sends the provided data to the specified connection. /// </summary> /// <param name="request">Container for the necessary parameters to execute the PostToConnection service method.</param> /// /// <returns>The response from the PostToConnection service method, as returned by ApiGatewayManagementApi.</returns> /// <exception cref="Amazon.ApiGatewayManagementApi.Model.ForbiddenException"> /// The caller is not authorized to invoke this operation. /// </exception> /// <exception cref="Amazon.ApiGatewayManagementApi.Model.GoneException"> /// The connection with the provided id no longer exists. /// </exception> /// <exception cref="Amazon.ApiGatewayManagementApi.Model.LimitExceededException"> /// The client is sending more than the allowed number of requests per unit of time or /// the WebSocket client side buffer is full. /// </exception> /// <exception cref="Amazon.ApiGatewayManagementApi.Model.PayloadTooLargeException"> /// The data has exceeded the maximum size allowed. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewaymanagementapi-2018-11-29/PostToConnection">REST API Reference for PostToConnection Operation</seealso> public virtual PostToConnectionResponse PostToConnection(PostToConnectionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = PostToConnectionRequestMarshaller.Instance; options.ResponseUnmarshaller = PostToConnectionResponseUnmarshaller.Instance; return Invoke<PostToConnectionResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the PostToConnection operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the PostToConnection operation on AmazonApiGatewayManagementApiClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndPostToConnection /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewaymanagementapi-2018-11-29/PostToConnection">REST API Reference for PostToConnection Operation</seealso> public virtual IAsyncResult BeginPostToConnection(PostToConnectionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = PostToConnectionRequestMarshaller.Instance; options.ResponseUnmarshaller = PostToConnectionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the PostToConnection operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginPostToConnection.</param> /// /// <returns>Returns a PostToConnectionResult from ApiGatewayManagementApi.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewaymanagementapi-2018-11-29/PostToConnection">REST API Reference for PostToConnection Operation</seealso> public virtual PostToConnectionResponse EndPostToConnection(IAsyncResult asyncResult) { return EndInvoke<PostToConnectionResponse>(asyncResult); } #endregion } }
449
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the apigatewaymanagementapi-2018-11-29.normal.json service model. */ using System; using System.Collections.Generic; using Amazon.Runtime; using Amazon.ApiGatewayManagementApi.Model; namespace Amazon.ApiGatewayManagementApi { /// <summary> /// Interface for accessing ApiGatewayManagementApi /// /// The Amazon API Gateway Management API allows you to directly manage runtime aspects /// of your deployed APIs. To use it, you must explicitly set the SDK's endpoint to point /// to the endpoint of your deployed API. The endpoint will be of the form https://{api-id}.execute-api.{region}.amazonaws.com/{stage}, /// or will be the endpoint corresponding to your API's custom domain and base path, if /// applicable. /// </summary> public partial interface IAmazonApiGatewayManagementApi : IAmazonService, IDisposable { #region DeleteConnection /// <summary> /// Delete the connection with the provided id. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteConnection service method.</param> /// /// <returns>The response from the DeleteConnection service method, as returned by ApiGatewayManagementApi.</returns> /// <exception cref="Amazon.ApiGatewayManagementApi.Model.ForbiddenException"> /// The caller is not authorized to invoke this operation. /// </exception> /// <exception cref="Amazon.ApiGatewayManagementApi.Model.GoneException"> /// The connection with the provided id no longer exists. /// </exception> /// <exception cref="Amazon.ApiGatewayManagementApi.Model.LimitExceededException"> /// The client is sending more than the allowed number of requests per unit of time or /// the WebSocket client side buffer is full. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewaymanagementapi-2018-11-29/DeleteConnection">REST API Reference for DeleteConnection Operation</seealso> DeleteConnectionResponse DeleteConnection(DeleteConnectionRequest request); /// <summary> /// Initiates the asynchronous execution of the DeleteConnection operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DeleteConnection operation on AmazonApiGatewayManagementApiClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteConnection /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewaymanagementapi-2018-11-29/DeleteConnection">REST API Reference for DeleteConnection Operation</seealso> IAsyncResult BeginDeleteConnection(DeleteConnectionRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the DeleteConnection operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteConnection.</param> /// /// <returns>Returns a DeleteConnectionResult from ApiGatewayManagementApi.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewaymanagementapi-2018-11-29/DeleteConnection">REST API Reference for DeleteConnection Operation</seealso> DeleteConnectionResponse EndDeleteConnection(IAsyncResult asyncResult); #endregion #region GetConnection /// <summary> /// Get information about the connection with the provided id. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetConnection service method.</param> /// /// <returns>The response from the GetConnection service method, as returned by ApiGatewayManagementApi.</returns> /// <exception cref="Amazon.ApiGatewayManagementApi.Model.ForbiddenException"> /// The caller is not authorized to invoke this operation. /// </exception> /// <exception cref="Amazon.ApiGatewayManagementApi.Model.GoneException"> /// The connection with the provided id no longer exists. /// </exception> /// <exception cref="Amazon.ApiGatewayManagementApi.Model.LimitExceededException"> /// The client is sending more than the allowed number of requests per unit of time or /// the WebSocket client side buffer is full. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewaymanagementapi-2018-11-29/GetConnection">REST API Reference for GetConnection Operation</seealso> GetConnectionResponse GetConnection(GetConnectionRequest request); /// <summary> /// Initiates the asynchronous execution of the GetConnection operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the GetConnection operation on AmazonApiGatewayManagementApiClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetConnection /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewaymanagementapi-2018-11-29/GetConnection">REST API Reference for GetConnection Operation</seealso> IAsyncResult BeginGetConnection(GetConnectionRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the GetConnection operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetConnection.</param> /// /// <returns>Returns a GetConnectionResult from ApiGatewayManagementApi.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewaymanagementapi-2018-11-29/GetConnection">REST API Reference for GetConnection Operation</seealso> GetConnectionResponse EndGetConnection(IAsyncResult asyncResult); #endregion #region PostToConnection /// <summary> /// Sends the provided data to the specified connection. /// </summary> /// <param name="request">Container for the necessary parameters to execute the PostToConnection service method.</param> /// /// <returns>The response from the PostToConnection service method, as returned by ApiGatewayManagementApi.</returns> /// <exception cref="Amazon.ApiGatewayManagementApi.Model.ForbiddenException"> /// The caller is not authorized to invoke this operation. /// </exception> /// <exception cref="Amazon.ApiGatewayManagementApi.Model.GoneException"> /// The connection with the provided id no longer exists. /// </exception> /// <exception cref="Amazon.ApiGatewayManagementApi.Model.LimitExceededException"> /// The client is sending more than the allowed number of requests per unit of time or /// the WebSocket client side buffer is full. /// </exception> /// <exception cref="Amazon.ApiGatewayManagementApi.Model.PayloadTooLargeException"> /// The data has exceeded the maximum size allowed. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewaymanagementapi-2018-11-29/PostToConnection">REST API Reference for PostToConnection Operation</seealso> PostToConnectionResponse PostToConnection(PostToConnectionRequest request); /// <summary> /// Initiates the asynchronous execution of the PostToConnection operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the PostToConnection operation on AmazonApiGatewayManagementApiClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndPostToConnection /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewaymanagementapi-2018-11-29/PostToConnection">REST API Reference for PostToConnection Operation</seealso> IAsyncResult BeginPostToConnection(PostToConnectionRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the PostToConnection operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginPostToConnection.</param> /// /// <returns>Returns a PostToConnectionResult from ApiGatewayManagementApi.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewaymanagementapi-2018-11-29/PostToConnection">REST API Reference for PostToConnection Operation</seealso> PostToConnectionResponse EndPostToConnection(IAsyncResult asyncResult); #endregion } }
199
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the apigatewaymanagementapi-2018-11-29.normal.json service model. */ using System; using System.Runtime.ExceptionServices; using System.Threading; using System.Threading.Tasks; using System.Collections.Generic; using System.Net; using Amazon.ApiGatewayManagementApi.Model; using Amazon.ApiGatewayManagementApi.Model.Internal.MarshallTransformations; using Amazon.ApiGatewayManagementApi.Internal; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Auth; using Amazon.Runtime.Internal.Transform; namespace Amazon.ApiGatewayManagementApi { /// <summary> /// Implementation for accessing ApiGatewayManagementApi /// /// The Amazon API Gateway Management API allows you to directly manage runtime aspects /// of your deployed APIs. To use it, you must explicitly set the SDK's endpoint to point /// to the endpoint of your deployed API. The endpoint will be of the form https://{api-id}.execute-api.{region}.amazonaws.com/{stage}, /// or will be the endpoint corresponding to your API's custom domain and base path, if /// applicable. /// </summary> public partial class AmazonApiGatewayManagementApiClient : AmazonServiceClient, IAmazonApiGatewayManagementApi { private static IServiceMetadata serviceMetadata = new AmazonApiGatewayManagementApiMetadata(); #region Constructors /// <summary> /// Constructs AmazonApiGatewayManagementApiClient 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> /// &lt;?xml version="1.0" encoding="utf-8" ?&gt; /// &lt;configuration&gt; /// &lt;appSettings&gt; /// &lt;add key="AWSProfileName" value="AWS Default"/&gt; /// &lt;/appSettings&gt; /// &lt;/configuration&gt; /// </code> /// /// </summary> public AmazonApiGatewayManagementApiClient() : base(FallbackCredentialsFactory.GetCredentials(), new AmazonApiGatewayManagementApiConfig()) { } /// <summary> /// Constructs AmazonApiGatewayManagementApiClient 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> /// &lt;?xml version="1.0" encoding="utf-8" ?&gt; /// &lt;configuration&gt; /// &lt;appSettings&gt; /// &lt;add key="AWSProfileName" value="AWS Default"/&gt; /// &lt;/appSettings&gt; /// &lt;/configuration&gt; /// </code> /// /// </summary> /// <param name="region">The region to connect.</param> public AmazonApiGatewayManagementApiClient(RegionEndpoint region) : base(FallbackCredentialsFactory.GetCredentials(), new AmazonApiGatewayManagementApiConfig{RegionEndpoint = region}) { } /// <summary> /// Constructs AmazonApiGatewayManagementApiClient 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> /// &lt;?xml version="1.0" encoding="utf-8" ?&gt; /// &lt;configuration&gt; /// &lt;appSettings&gt; /// &lt;add key="AWSProfileName" value="AWS Default"/&gt; /// &lt;/appSettings&gt; /// &lt;/configuration&gt; /// </code> /// /// </summary> /// <param name="config">The AmazonApiGatewayManagementApiClient Configuration Object</param> public AmazonApiGatewayManagementApiClient(AmazonApiGatewayManagementApiConfig config) : base(FallbackCredentialsFactory.GetCredentials(), config) { } /// <summary> /// Constructs AmazonApiGatewayManagementApiClient with AWS Credentials /// </summary> /// <param name="credentials">AWS Credentials</param> public AmazonApiGatewayManagementApiClient(AWSCredentials credentials) : this(credentials, new AmazonApiGatewayManagementApiConfig()) { } /// <summary> /// Constructs AmazonApiGatewayManagementApiClient with AWS Credentials /// </summary> /// <param name="credentials">AWS Credentials</param> /// <param name="region">The region to connect.</param> public AmazonApiGatewayManagementApiClient(AWSCredentials credentials, RegionEndpoint region) : this(credentials, new AmazonApiGatewayManagementApiConfig{RegionEndpoint = region}) { } /// <summary> /// Constructs AmazonApiGatewayManagementApiClient with AWS Credentials and an /// AmazonApiGatewayManagementApiClient Configuration object. /// </summary> /// <param name="credentials">AWS Credentials</param> /// <param name="clientConfig">The AmazonApiGatewayManagementApiClient Configuration Object</param> public AmazonApiGatewayManagementApiClient(AWSCredentials credentials, AmazonApiGatewayManagementApiConfig clientConfig) : base(credentials, clientConfig) { } /// <summary> /// Constructs AmazonApiGatewayManagementApiClient 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 AmazonApiGatewayManagementApiClient(string awsAccessKeyId, string awsSecretAccessKey) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonApiGatewayManagementApiConfig()) { } /// <summary> /// Constructs AmazonApiGatewayManagementApiClient 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 AmazonApiGatewayManagementApiClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonApiGatewayManagementApiConfig() {RegionEndpoint=region}) { } /// <summary> /// Constructs AmazonApiGatewayManagementApiClient with AWS Access Key ID, AWS Secret Key and an /// AmazonApiGatewayManagementApiClient Configuration object. /// </summary> /// <param name="awsAccessKeyId">AWS Access Key ID</param> /// <param name="awsSecretAccessKey">AWS Secret Access Key</param> /// <param name="clientConfig">The AmazonApiGatewayManagementApiClient Configuration Object</param> public AmazonApiGatewayManagementApiClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonApiGatewayManagementApiConfig clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, clientConfig) { } /// <summary> /// Constructs AmazonApiGatewayManagementApiClient 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 AmazonApiGatewayManagementApiClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonApiGatewayManagementApiConfig()) { } /// <summary> /// Constructs AmazonApiGatewayManagementApiClient 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 AmazonApiGatewayManagementApiClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonApiGatewayManagementApiConfig{RegionEndpoint = region}) { } /// <summary> /// Constructs AmazonApiGatewayManagementApiClient with AWS Access Key ID, AWS Secret Key and an /// AmazonApiGatewayManagementApiClient 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 AmazonApiGatewayManagementApiClient Configuration Object</param> public AmazonApiGatewayManagementApiClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonApiGatewayManagementApiConfig 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 AmazonApiGatewayManagementApiEndpointResolver()); } /// <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 DeleteConnection /// <summary> /// Delete the connection with the provided id. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteConnection service method.</param> /// /// <returns>The response from the DeleteConnection service method, as returned by ApiGatewayManagementApi.</returns> /// <exception cref="Amazon.ApiGatewayManagementApi.Model.ForbiddenException"> /// The caller is not authorized to invoke this operation. /// </exception> /// <exception cref="Amazon.ApiGatewayManagementApi.Model.GoneException"> /// The connection with the provided id no longer exists. /// </exception> /// <exception cref="Amazon.ApiGatewayManagementApi.Model.LimitExceededException"> /// The client is sending more than the allowed number of requests per unit of time or /// the WebSocket client side buffer is full. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewaymanagementapi-2018-11-29/DeleteConnection">REST API Reference for DeleteConnection Operation</seealso> public virtual DeleteConnectionResponse DeleteConnection(DeleteConnectionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteConnectionRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteConnectionResponseUnmarshaller.Instance; return Invoke<DeleteConnectionResponse>(request, options); } /// <summary> /// Delete the connection with the provided id. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteConnection service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteConnection service method, as returned by ApiGatewayManagementApi.</returns> /// <exception cref="Amazon.ApiGatewayManagementApi.Model.ForbiddenException"> /// The caller is not authorized to invoke this operation. /// </exception> /// <exception cref="Amazon.ApiGatewayManagementApi.Model.GoneException"> /// The connection with the provided id no longer exists. /// </exception> /// <exception cref="Amazon.ApiGatewayManagementApi.Model.LimitExceededException"> /// The client is sending more than the allowed number of requests per unit of time or /// the WebSocket client side buffer is full. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewaymanagementapi-2018-11-29/DeleteConnection">REST API Reference for DeleteConnection Operation</seealso> public virtual Task<DeleteConnectionResponse> DeleteConnectionAsync(DeleteConnectionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteConnectionRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteConnectionResponseUnmarshaller.Instance; return InvokeAsync<DeleteConnectionResponse>(request, options, cancellationToken); } #endregion #region GetConnection /// <summary> /// Get information about the connection with the provided id. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetConnection service method.</param> /// /// <returns>The response from the GetConnection service method, as returned by ApiGatewayManagementApi.</returns> /// <exception cref="Amazon.ApiGatewayManagementApi.Model.ForbiddenException"> /// The caller is not authorized to invoke this operation. /// </exception> /// <exception cref="Amazon.ApiGatewayManagementApi.Model.GoneException"> /// The connection with the provided id no longer exists. /// </exception> /// <exception cref="Amazon.ApiGatewayManagementApi.Model.LimitExceededException"> /// The client is sending more than the allowed number of requests per unit of time or /// the WebSocket client side buffer is full. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewaymanagementapi-2018-11-29/GetConnection">REST API Reference for GetConnection Operation</seealso> public virtual GetConnectionResponse GetConnection(GetConnectionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetConnectionRequestMarshaller.Instance; options.ResponseUnmarshaller = GetConnectionResponseUnmarshaller.Instance; return Invoke<GetConnectionResponse>(request, options); } /// <summary> /// Get information about the connection with the provided id. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetConnection service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the GetConnection service method, as returned by ApiGatewayManagementApi.</returns> /// <exception cref="Amazon.ApiGatewayManagementApi.Model.ForbiddenException"> /// The caller is not authorized to invoke this operation. /// </exception> /// <exception cref="Amazon.ApiGatewayManagementApi.Model.GoneException"> /// The connection with the provided id no longer exists. /// </exception> /// <exception cref="Amazon.ApiGatewayManagementApi.Model.LimitExceededException"> /// The client is sending more than the allowed number of requests per unit of time or /// the WebSocket client side buffer is full. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewaymanagementapi-2018-11-29/GetConnection">REST API Reference for GetConnection Operation</seealso> public virtual Task<GetConnectionResponse> GetConnectionAsync(GetConnectionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetConnectionRequestMarshaller.Instance; options.ResponseUnmarshaller = GetConnectionResponseUnmarshaller.Instance; return InvokeAsync<GetConnectionResponse>(request, options, cancellationToken); } #endregion #region PostToConnection /// <summary> /// Sends the provided data to the specified connection. /// </summary> /// <param name="request">Container for the necessary parameters to execute the PostToConnection service method.</param> /// /// <returns>The response from the PostToConnection service method, as returned by ApiGatewayManagementApi.</returns> /// <exception cref="Amazon.ApiGatewayManagementApi.Model.ForbiddenException"> /// The caller is not authorized to invoke this operation. /// </exception> /// <exception cref="Amazon.ApiGatewayManagementApi.Model.GoneException"> /// The connection with the provided id no longer exists. /// </exception> /// <exception cref="Amazon.ApiGatewayManagementApi.Model.LimitExceededException"> /// The client is sending more than the allowed number of requests per unit of time or /// the WebSocket client side buffer is full. /// </exception> /// <exception cref="Amazon.ApiGatewayManagementApi.Model.PayloadTooLargeException"> /// The data has exceeded the maximum size allowed. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewaymanagementapi-2018-11-29/PostToConnection">REST API Reference for PostToConnection Operation</seealso> public virtual PostToConnectionResponse PostToConnection(PostToConnectionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = PostToConnectionRequestMarshaller.Instance; options.ResponseUnmarshaller = PostToConnectionResponseUnmarshaller.Instance; return Invoke<PostToConnectionResponse>(request, options); } /// <summary> /// Sends the provided data to the specified connection. /// </summary> /// <param name="request">Container for the necessary parameters to execute the PostToConnection service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the PostToConnection service method, as returned by ApiGatewayManagementApi.</returns> /// <exception cref="Amazon.ApiGatewayManagementApi.Model.ForbiddenException"> /// The caller is not authorized to invoke this operation. /// </exception> /// <exception cref="Amazon.ApiGatewayManagementApi.Model.GoneException"> /// The connection with the provided id no longer exists. /// </exception> /// <exception cref="Amazon.ApiGatewayManagementApi.Model.LimitExceededException"> /// The client is sending more than the allowed number of requests per unit of time or /// the WebSocket client side buffer is full. /// </exception> /// <exception cref="Amazon.ApiGatewayManagementApi.Model.PayloadTooLargeException"> /// The data has exceeded the maximum size allowed. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewaymanagementapi-2018-11-29/PostToConnection">REST API Reference for PostToConnection Operation</seealso> public virtual Task<PostToConnectionResponse> PostToConnectionAsync(PostToConnectionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = PostToConnectionRequestMarshaller.Instance; options.ResponseUnmarshaller = PostToConnectionResponseUnmarshaller.Instance; return InvokeAsync<PostToConnectionResponse>(request, options, cancellationToken); } #endregion } }
444
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the apigatewaymanagementapi-2018-11-29.normal.json service model. */ using System; using System.Threading; using System.Threading.Tasks; using System.Collections.Generic; using Amazon.Runtime; using Amazon.ApiGatewayManagementApi.Model; namespace Amazon.ApiGatewayManagementApi { /// <summary> /// Interface for accessing ApiGatewayManagementApi /// /// The Amazon API Gateway Management API allows you to directly manage runtime aspects /// of your deployed APIs. To use it, you must explicitly set the SDK's endpoint to point /// to the endpoint of your deployed API. The endpoint will be of the form https://{api-id}.execute-api.{region}.amazonaws.com/{stage}, /// or will be the endpoint corresponding to your API's custom domain and base path, if /// applicable. /// </summary> public partial interface IAmazonApiGatewayManagementApi : IAmazonService, IDisposable { #region DeleteConnection /// <summary> /// Delete the connection with the provided id. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteConnection service method.</param> /// /// <returns>The response from the DeleteConnection service method, as returned by ApiGatewayManagementApi.</returns> /// <exception cref="Amazon.ApiGatewayManagementApi.Model.ForbiddenException"> /// The caller is not authorized to invoke this operation. /// </exception> /// <exception cref="Amazon.ApiGatewayManagementApi.Model.GoneException"> /// The connection with the provided id no longer exists. /// </exception> /// <exception cref="Amazon.ApiGatewayManagementApi.Model.LimitExceededException"> /// The client is sending more than the allowed number of requests per unit of time or /// the WebSocket client side buffer is full. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewaymanagementapi-2018-11-29/DeleteConnection">REST API Reference for DeleteConnection Operation</seealso> DeleteConnectionResponse DeleteConnection(DeleteConnectionRequest request); /// <summary> /// Delete the connection with the provided id. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteConnection service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteConnection service method, as returned by ApiGatewayManagementApi.</returns> /// <exception cref="Amazon.ApiGatewayManagementApi.Model.ForbiddenException"> /// The caller is not authorized to invoke this operation. /// </exception> /// <exception cref="Amazon.ApiGatewayManagementApi.Model.GoneException"> /// The connection with the provided id no longer exists. /// </exception> /// <exception cref="Amazon.ApiGatewayManagementApi.Model.LimitExceededException"> /// The client is sending more than the allowed number of requests per unit of time or /// the WebSocket client side buffer is full. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewaymanagementapi-2018-11-29/DeleteConnection">REST API Reference for DeleteConnection Operation</seealso> Task<DeleteConnectionResponse> DeleteConnectionAsync(DeleteConnectionRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetConnection /// <summary> /// Get information about the connection with the provided id. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetConnection service method.</param> /// /// <returns>The response from the GetConnection service method, as returned by ApiGatewayManagementApi.</returns> /// <exception cref="Amazon.ApiGatewayManagementApi.Model.ForbiddenException"> /// The caller is not authorized to invoke this operation. /// </exception> /// <exception cref="Amazon.ApiGatewayManagementApi.Model.GoneException"> /// The connection with the provided id no longer exists. /// </exception> /// <exception cref="Amazon.ApiGatewayManagementApi.Model.LimitExceededException"> /// The client is sending more than the allowed number of requests per unit of time or /// the WebSocket client side buffer is full. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewaymanagementapi-2018-11-29/GetConnection">REST API Reference for GetConnection Operation</seealso> GetConnectionResponse GetConnection(GetConnectionRequest request); /// <summary> /// Get information about the connection with the provided id. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetConnection service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the GetConnection service method, as returned by ApiGatewayManagementApi.</returns> /// <exception cref="Amazon.ApiGatewayManagementApi.Model.ForbiddenException"> /// The caller is not authorized to invoke this operation. /// </exception> /// <exception cref="Amazon.ApiGatewayManagementApi.Model.GoneException"> /// The connection with the provided id no longer exists. /// </exception> /// <exception cref="Amazon.ApiGatewayManagementApi.Model.LimitExceededException"> /// The client is sending more than the allowed number of requests per unit of time or /// the WebSocket client side buffer is full. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewaymanagementapi-2018-11-29/GetConnection">REST API Reference for GetConnection Operation</seealso> Task<GetConnectionResponse> GetConnectionAsync(GetConnectionRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region PostToConnection /// <summary> /// Sends the provided data to the specified connection. /// </summary> /// <param name="request">Container for the necessary parameters to execute the PostToConnection service method.</param> /// /// <returns>The response from the PostToConnection service method, as returned by ApiGatewayManagementApi.</returns> /// <exception cref="Amazon.ApiGatewayManagementApi.Model.ForbiddenException"> /// The caller is not authorized to invoke this operation. /// </exception> /// <exception cref="Amazon.ApiGatewayManagementApi.Model.GoneException"> /// The connection with the provided id no longer exists. /// </exception> /// <exception cref="Amazon.ApiGatewayManagementApi.Model.LimitExceededException"> /// The client is sending more than the allowed number of requests per unit of time or /// the WebSocket client side buffer is full. /// </exception> /// <exception cref="Amazon.ApiGatewayManagementApi.Model.PayloadTooLargeException"> /// The data has exceeded the maximum size allowed. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewaymanagementapi-2018-11-29/PostToConnection">REST API Reference for PostToConnection Operation</seealso> PostToConnectionResponse PostToConnection(PostToConnectionRequest request); /// <summary> /// Sends the provided data to the specified connection. /// </summary> /// <param name="request">Container for the necessary parameters to execute the PostToConnection service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the PostToConnection service method, as returned by ApiGatewayManagementApi.</returns> /// <exception cref="Amazon.ApiGatewayManagementApi.Model.ForbiddenException"> /// The caller is not authorized to invoke this operation. /// </exception> /// <exception cref="Amazon.ApiGatewayManagementApi.Model.GoneException"> /// The connection with the provided id no longer exists. /// </exception> /// <exception cref="Amazon.ApiGatewayManagementApi.Model.LimitExceededException"> /// The client is sending more than the allowed number of requests per unit of time or /// the WebSocket client side buffer is full. /// </exception> /// <exception cref="Amazon.ApiGatewayManagementApi.Model.PayloadTooLargeException"> /// The data has exceeded the maximum size allowed. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewaymanagementapi-2018-11-29/PostToConnection">REST API Reference for PostToConnection Operation</seealso> Task<PostToConnectionResponse> PostToConnectionAsync(PostToConnectionRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion } }
196
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the apigatewaymanagementapi-2018-11-29.normal.json service model. */ using System; using System.Runtime.ExceptionServices; using System.Threading; using System.Threading.Tasks; using System.Collections.Generic; using System.Net; using Amazon.ApiGatewayManagementApi.Model; using Amazon.ApiGatewayManagementApi.Model.Internal.MarshallTransformations; using Amazon.ApiGatewayManagementApi.Internal; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Auth; using Amazon.Runtime.Internal.Transform; namespace Amazon.ApiGatewayManagementApi { /// <summary> /// Implementation for accessing ApiGatewayManagementApi /// /// The Amazon API Gateway Management API allows you to directly manage runtime aspects /// of your deployed APIs. To use it, you must explicitly set the SDK's endpoint to point /// to the endpoint of your deployed API. The endpoint will be of the form https://{api-id}.execute-api.{region}.amazonaws.com/{stage}, /// or will be the endpoint corresponding to your API's custom domain and base path, if /// applicable. /// </summary> public partial class AmazonApiGatewayManagementApiClient : AmazonServiceClient, IAmazonApiGatewayManagementApi { private static IServiceMetadata serviceMetadata = new AmazonApiGatewayManagementApiMetadata(); #region Constructors /// <summary> /// Constructs AmazonApiGatewayManagementApiClient 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> /// &lt;?xml version="1.0" encoding="utf-8" ?&gt; /// &lt;configuration&gt; /// &lt;appSettings&gt; /// &lt;add key="AWSProfileName" value="AWS Default"/&gt; /// &lt;/appSettings&gt; /// &lt;/configuration&gt; /// </code> /// /// </summary> public AmazonApiGatewayManagementApiClient() : base(FallbackCredentialsFactory.GetCredentials(), new AmazonApiGatewayManagementApiConfig()) { } /// <summary> /// Constructs AmazonApiGatewayManagementApiClient 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> /// &lt;?xml version="1.0" encoding="utf-8" ?&gt; /// &lt;configuration&gt; /// &lt;appSettings&gt; /// &lt;add key="AWSProfileName" value="AWS Default"/&gt; /// &lt;/appSettings&gt; /// &lt;/configuration&gt; /// </code> /// /// </summary> /// <param name="region">The region to connect.</param> public AmazonApiGatewayManagementApiClient(RegionEndpoint region) : base(FallbackCredentialsFactory.GetCredentials(), new AmazonApiGatewayManagementApiConfig{RegionEndpoint = region}) { } /// <summary> /// Constructs AmazonApiGatewayManagementApiClient 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> /// &lt;?xml version="1.0" encoding="utf-8" ?&gt; /// &lt;configuration&gt; /// &lt;appSettings&gt; /// &lt;add key="AWSProfileName" value="AWS Default"/&gt; /// &lt;/appSettings&gt; /// &lt;/configuration&gt; /// </code> /// /// </summary> /// <param name="config">The AmazonApiGatewayManagementApiClient Configuration Object</param> public AmazonApiGatewayManagementApiClient(AmazonApiGatewayManagementApiConfig config) : base(FallbackCredentialsFactory.GetCredentials(), config) { } /// <summary> /// Constructs AmazonApiGatewayManagementApiClient with AWS Credentials /// </summary> /// <param name="credentials">AWS Credentials</param> public AmazonApiGatewayManagementApiClient(AWSCredentials credentials) : this(credentials, new AmazonApiGatewayManagementApiConfig()) { } /// <summary> /// Constructs AmazonApiGatewayManagementApiClient with AWS Credentials /// </summary> /// <param name="credentials">AWS Credentials</param> /// <param name="region">The region to connect.</param> public AmazonApiGatewayManagementApiClient(AWSCredentials credentials, RegionEndpoint region) : this(credentials, new AmazonApiGatewayManagementApiConfig{RegionEndpoint = region}) { } /// <summary> /// Constructs AmazonApiGatewayManagementApiClient with AWS Credentials and an /// AmazonApiGatewayManagementApiClient Configuration object. /// </summary> /// <param name="credentials">AWS Credentials</param> /// <param name="clientConfig">The AmazonApiGatewayManagementApiClient Configuration Object</param> public AmazonApiGatewayManagementApiClient(AWSCredentials credentials, AmazonApiGatewayManagementApiConfig clientConfig) : base(credentials, clientConfig) { } /// <summary> /// Constructs AmazonApiGatewayManagementApiClient 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 AmazonApiGatewayManagementApiClient(string awsAccessKeyId, string awsSecretAccessKey) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonApiGatewayManagementApiConfig()) { } /// <summary> /// Constructs AmazonApiGatewayManagementApiClient 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 AmazonApiGatewayManagementApiClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonApiGatewayManagementApiConfig() {RegionEndpoint=region}) { } /// <summary> /// Constructs AmazonApiGatewayManagementApiClient with AWS Access Key ID, AWS Secret Key and an /// AmazonApiGatewayManagementApiClient Configuration object. /// </summary> /// <param name="awsAccessKeyId">AWS Access Key ID</param> /// <param name="awsSecretAccessKey">AWS Secret Access Key</param> /// <param name="clientConfig">The AmazonApiGatewayManagementApiClient Configuration Object</param> public AmazonApiGatewayManagementApiClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonApiGatewayManagementApiConfig clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, clientConfig) { } /// <summary> /// Constructs AmazonApiGatewayManagementApiClient 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 AmazonApiGatewayManagementApiClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonApiGatewayManagementApiConfig()) { } /// <summary> /// Constructs AmazonApiGatewayManagementApiClient 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 AmazonApiGatewayManagementApiClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonApiGatewayManagementApiConfig{RegionEndpoint = region}) { } /// <summary> /// Constructs AmazonApiGatewayManagementApiClient with AWS Access Key ID, AWS Secret Key and an /// AmazonApiGatewayManagementApiClient 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 AmazonApiGatewayManagementApiClient Configuration Object</param> public AmazonApiGatewayManagementApiClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonApiGatewayManagementApiConfig 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 AmazonApiGatewayManagementApiEndpointResolver()); } /// <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 DeleteConnection internal virtual DeleteConnectionResponse DeleteConnection(DeleteConnectionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteConnectionRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteConnectionResponseUnmarshaller.Instance; return Invoke<DeleteConnectionResponse>(request, options); } /// <summary> /// Delete the connection with the provided id. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteConnection service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteConnection service method, as returned by ApiGatewayManagementApi.</returns> /// <exception cref="Amazon.ApiGatewayManagementApi.Model.ForbiddenException"> /// The caller is not authorized to invoke this operation. /// </exception> /// <exception cref="Amazon.ApiGatewayManagementApi.Model.GoneException"> /// The connection with the provided id no longer exists. /// </exception> /// <exception cref="Amazon.ApiGatewayManagementApi.Model.LimitExceededException"> /// The client is sending more than the allowed number of requests per unit of time or /// the WebSocket client side buffer is full. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewaymanagementapi-2018-11-29/DeleteConnection">REST API Reference for DeleteConnection Operation</seealso> public virtual Task<DeleteConnectionResponse> DeleteConnectionAsync(DeleteConnectionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteConnectionRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteConnectionResponseUnmarshaller.Instance; return InvokeAsync<DeleteConnectionResponse>(request, options, cancellationToken); } #endregion #region GetConnection internal virtual GetConnectionResponse GetConnection(GetConnectionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetConnectionRequestMarshaller.Instance; options.ResponseUnmarshaller = GetConnectionResponseUnmarshaller.Instance; return Invoke<GetConnectionResponse>(request, options); } /// <summary> /// Get information about the connection with the provided id. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetConnection service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the GetConnection service method, as returned by ApiGatewayManagementApi.</returns> /// <exception cref="Amazon.ApiGatewayManagementApi.Model.ForbiddenException"> /// The caller is not authorized to invoke this operation. /// </exception> /// <exception cref="Amazon.ApiGatewayManagementApi.Model.GoneException"> /// The connection with the provided id no longer exists. /// </exception> /// <exception cref="Amazon.ApiGatewayManagementApi.Model.LimitExceededException"> /// The client is sending more than the allowed number of requests per unit of time or /// the WebSocket client side buffer is full. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewaymanagementapi-2018-11-29/GetConnection">REST API Reference for GetConnection Operation</seealso> public virtual Task<GetConnectionResponse> GetConnectionAsync(GetConnectionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetConnectionRequestMarshaller.Instance; options.ResponseUnmarshaller = GetConnectionResponseUnmarshaller.Instance; return InvokeAsync<GetConnectionResponse>(request, options, cancellationToken); } #endregion #region PostToConnection internal virtual PostToConnectionResponse PostToConnection(PostToConnectionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = PostToConnectionRequestMarshaller.Instance; options.ResponseUnmarshaller = PostToConnectionResponseUnmarshaller.Instance; return Invoke<PostToConnectionResponse>(request, options); } /// <summary> /// Sends the provided data to the specified connection. /// </summary> /// <param name="request">Container for the necessary parameters to execute the PostToConnection service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the PostToConnection service method, as returned by ApiGatewayManagementApi.</returns> /// <exception cref="Amazon.ApiGatewayManagementApi.Model.ForbiddenException"> /// The caller is not authorized to invoke this operation. /// </exception> /// <exception cref="Amazon.ApiGatewayManagementApi.Model.GoneException"> /// The connection with the provided id no longer exists. /// </exception> /// <exception cref="Amazon.ApiGatewayManagementApi.Model.LimitExceededException"> /// The client is sending more than the allowed number of requests per unit of time or /// the WebSocket client side buffer is full. /// </exception> /// <exception cref="Amazon.ApiGatewayManagementApi.Model.PayloadTooLargeException"> /// The data has exceeded the maximum size allowed. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewaymanagementapi-2018-11-29/PostToConnection">REST API Reference for PostToConnection Operation</seealso> public virtual Task<PostToConnectionResponse> PostToConnectionAsync(PostToConnectionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = PostToConnectionRequestMarshaller.Instance; options.ResponseUnmarshaller = PostToConnectionResponseUnmarshaller.Instance; return InvokeAsync<PostToConnectionResponse>(request, options, cancellationToken); } #endregion } }
392
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the apigatewaymanagementapi-2018-11-29.normal.json service model. */ using System; using System.Threading; using System.Threading.Tasks; using System.Collections.Generic; using Amazon.Runtime; using Amazon.ApiGatewayManagementApi.Model; namespace Amazon.ApiGatewayManagementApi { /// <summary> /// Interface for accessing ApiGatewayManagementApi /// /// The Amazon API Gateway Management API allows you to directly manage runtime aspects /// of your deployed APIs. To use it, you must explicitly set the SDK's endpoint to point /// to the endpoint of your deployed API. The endpoint will be of the form https://{api-id}.execute-api.{region}.amazonaws.com/{stage}, /// or will be the endpoint corresponding to your API's custom domain and base path, if /// applicable. /// </summary> public partial interface IAmazonApiGatewayManagementApi : IAmazonService, IDisposable { #region DeleteConnection /// <summary> /// Delete the connection with the provided id. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteConnection service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteConnection service method, as returned by ApiGatewayManagementApi.</returns> /// <exception cref="Amazon.ApiGatewayManagementApi.Model.ForbiddenException"> /// The caller is not authorized to invoke this operation. /// </exception> /// <exception cref="Amazon.ApiGatewayManagementApi.Model.GoneException"> /// The connection with the provided id no longer exists. /// </exception> /// <exception cref="Amazon.ApiGatewayManagementApi.Model.LimitExceededException"> /// The client is sending more than the allowed number of requests per unit of time or /// the WebSocket client side buffer is full. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewaymanagementapi-2018-11-29/DeleteConnection">REST API Reference for DeleteConnection Operation</seealso> Task<DeleteConnectionResponse> DeleteConnectionAsync(DeleteConnectionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetConnection /// <summary> /// Get information about the connection with the provided id. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetConnection service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the GetConnection service method, as returned by ApiGatewayManagementApi.</returns> /// <exception cref="Amazon.ApiGatewayManagementApi.Model.ForbiddenException"> /// The caller is not authorized to invoke this operation. /// </exception> /// <exception cref="Amazon.ApiGatewayManagementApi.Model.GoneException"> /// The connection with the provided id no longer exists. /// </exception> /// <exception cref="Amazon.ApiGatewayManagementApi.Model.LimitExceededException"> /// The client is sending more than the allowed number of requests per unit of time or /// the WebSocket client side buffer is full. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewaymanagementapi-2018-11-29/GetConnection">REST API Reference for GetConnection Operation</seealso> Task<GetConnectionResponse> GetConnectionAsync(GetConnectionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region PostToConnection /// <summary> /// Sends the provided data to the specified connection. /// </summary> /// <param name="request">Container for the necessary parameters to execute the PostToConnection service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the PostToConnection service method, as returned by ApiGatewayManagementApi.</returns> /// <exception cref="Amazon.ApiGatewayManagementApi.Model.ForbiddenException"> /// The caller is not authorized to invoke this operation. /// </exception> /// <exception cref="Amazon.ApiGatewayManagementApi.Model.GoneException"> /// The connection with the provided id no longer exists. /// </exception> /// <exception cref="Amazon.ApiGatewayManagementApi.Model.LimitExceededException"> /// The client is sending more than the allowed number of requests per unit of time or /// the WebSocket client side buffer is full. /// </exception> /// <exception cref="Amazon.ApiGatewayManagementApi.Model.PayloadTooLargeException"> /// The data has exceeded the maximum size allowed. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/apigatewaymanagementapi-2018-11-29/PostToConnection">REST API Reference for PostToConnection Operation</seealso> Task<PostToConnectionResponse> PostToConnectionAsync(PostToConnectionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion } }
131
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.ApiGatewayManagementApi")] #if BCL35 [assembly: AssemblyDescription("The Amazon Web Services SDK for .NET (3.5) - AmazonApiGatewayManagementApi. This is the initial SDK release for the Amazon API Gateway Management API, which allows you to directly manage runtime aspects of your APIs. This release makes it easy to send data directly to clients connected to your WebSocket-based APIs.")] #elif BCL45 [assembly: AssemblyDescription("The Amazon Web Services SDK for .NET (4.5) - AmazonApiGatewayManagementApi. This is the initial SDK release for the Amazon API Gateway Management API, which allows you to directly manage runtime aspects of your APIs. This release makes it easy to send data directly to clients connected to your WebSocket-based APIs.")] #elif NETSTANDARD20 [assembly: AssemblyDescription("The Amazon Web Services SDK for .NET (NetStandard 2.0) - AmazonApiGatewayManagementApi. This is the initial SDK release for the Amazon API Gateway Management API, which allows you to directly manage runtime aspects of your APIs. This release makes it easy to send data directly to clients connected to your WebSocket-based APIs.")] #elif NETCOREAPP3_1 [assembly: AssemblyDescription("The Amazon Web Services SDK for .NET (.NET Core 3.1) - AmazonApiGatewayManagementApi. This is the initial SDK release for the Amazon API Gateway Management API, which allows you to directly manage runtime aspects of your APIs. This release makes it easy to send data directly to clients connected to your WebSocket-based APIs.")] #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 apigatewayv2-2018-11-29.normal.json service model. */ using System; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Util.Internal; using Amazon.ApiGatewayV2.Internal; namespace Amazon.ApiGatewayV2 { /// <summary> /// Configuration for accessing Amazon ApiGatewayV2 service /// </summary> [AWSSignerType("v4")] public partial class AmazonApiGatewayV2Config : ClientConfig { private static readonly string UserAgentString = InternalSDKUtils.BuildUserAgentString("3.7.100.147"); private string _userAgent = UserAgentString; /// <summary> /// Default constructor /// </summary> public AmazonApiGatewayV2Config() : base(new Amazon.Runtime.Internal.DefaultConfigurationProvider(AmazonApiGatewayV2DefaultConfiguration.GetAllConfigurations())) { this.AuthenticationServiceName = "apigateway"; this.EndpointProvider = new AmazonApiGatewayV2EndpointProvider(); } /// <summary> /// The constant used to lookup in the region hash the endpoint. /// </summary> public override string RegionEndpointServiceName { get { return "apigateway"; } } /// <summary> /// Gets the ServiceVersion property. /// </summary> public override string ServiceVersion { get { return "2018-11-29"; } } /// <summary> /// Gets the value of UserAgent property. /// </summary> public override string UserAgent { get { return _userAgent; } } } }
83
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the apigatewayv2-2018-11-29.normal.json service model. */ using System; using System.Collections.Generic; using System.Collections.ObjectModel; using Amazon.Runtime; namespace Amazon.ApiGatewayV2 { /// <summary> /// Configuration for accessing Amazon ApiGatewayV2 service /// </summary> public static class AmazonApiGatewayV2DefaultConfiguration { /// <summary> /// Collection of all <see cref="DefaultConfiguration"/>s supported by /// ApiGatewayV2 /// </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 apigatewayv2-2018-11-29.normal.json service model. */ using Amazon.Runtime; using Amazon.Runtime.Endpoints; namespace Amazon.ApiGatewayV2.Endpoints { /// <summary> /// Contains parameters used for resolving ApiGatewayV2 endpoints /// Parameters can be sourced from client config and service operations /// Used by internal ApiGatewayV2EndpointProvider and ApiGatewayV2EndpointResolver /// Can be used by custom EndpointProvider, see ClientConfig.EndpointProvider /// </summary> public class ApiGatewayV2EndpointParameters : EndpointParameters { /// <summary> /// ApiGatewayV2EndpointParameters constructor /// </summary> public ApiGatewayV2EndpointParameters() { 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 apigatewayv2-2018-11-29.normal.json service model. */ using System; using System.Collections.Generic; using System.Net; using System.Text; using Amazon.Runtime; namespace Amazon.ApiGatewayV2 { ///<summary> /// Common exception for the ApiGatewayV2 service. /// </summary> #if !NETSTANDARD [Serializable] #endif public partial class AmazonApiGatewayV2Exception : AmazonServiceException { /// <summary> /// Construct instance of AmazonApiGatewayV2Exception /// </summary> /// <param name="message"></param> public AmazonApiGatewayV2Exception(string message) : base(message) { } /// <summary> /// Construct instance of AmazonApiGatewayV2Exception /// </summary> /// <param name="message"></param> /// <param name="innerException"></param> public AmazonApiGatewayV2Exception(string message, Exception innerException) : base(message, innerException) { } /// <summary> /// Construct instance of AmazonApiGatewayV2Exception /// </summary> /// <param name="innerException"></param> public AmazonApiGatewayV2Exception(Exception innerException) : base(innerException.Message, innerException) { } /// <summary> /// Construct instance of AmazonApiGatewayV2Exception /// </summary> /// <param name="message"></param> /// <param name="errorType"></param> /// <param name="errorCode"></param> /// <param name="requestId"></param> /// <param name="statusCode"></param> public AmazonApiGatewayV2Exception(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) : base(message, errorType, errorCode, requestId, statusCode) { } /// <summary> /// Construct instance of AmazonApiGatewayV2Exception /// </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 AmazonApiGatewayV2Exception(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 AmazonApiGatewayV2Exception 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 AmazonApiGatewayV2Exception(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 apigatewayv2-2018-11-29.normal.json service model. */ using System; using Amazon.Runtime; namespace Amazon.ApiGatewayV2 { /// <summary> /// Constants used for properties of type AuthorizationType. /// </summary> public class AuthorizationType : ConstantClass { /// <summary> /// Constant AWS_IAM for AuthorizationType /// </summary> public static readonly AuthorizationType AWS_IAM = new AuthorizationType("AWS_IAM"); /// <summary> /// Constant CUSTOM for AuthorizationType /// </summary> public static readonly AuthorizationType CUSTOM = new AuthorizationType("CUSTOM"); /// <summary> /// Constant JWT for AuthorizationType /// </summary> public static readonly AuthorizationType JWT = new AuthorizationType("JWT"); /// <summary> /// Constant NONE for AuthorizationType /// </summary> public static readonly AuthorizationType NONE = new AuthorizationType("NONE"); /// <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 AuthorizationType(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 AuthorizationType FindValue(string value) { return FindValue<AuthorizationType>(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 AuthorizationType(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type AuthorizerType. /// </summary> public class AuthorizerType : ConstantClass { /// <summary> /// Constant JWT for AuthorizerType /// </summary> public static readonly AuthorizerType JWT = new AuthorizerType("JWT"); /// <summary> /// Constant REQUEST for AuthorizerType /// </summary> public static readonly AuthorizerType REQUEST = new AuthorizerType("REQUEST"); /// <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 AuthorizerType(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 AuthorizerType FindValue(string value) { return FindValue<AuthorizerType>(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 AuthorizerType(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type ConnectionType. /// </summary> public class ConnectionType : ConstantClass { /// <summary> /// Constant INTERNET for ConnectionType /// </summary> public static readonly ConnectionType INTERNET = new ConnectionType("INTERNET"); /// <summary> /// Constant VPC_LINK for ConnectionType /// </summary> public static readonly ConnectionType VPC_LINK = new ConnectionType("VPC_LINK"); /// <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 ConnectionType(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 ConnectionType FindValue(string value) { return FindValue<ConnectionType>(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 ConnectionType(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type ContentHandlingStrategy. /// </summary> public class ContentHandlingStrategy : ConstantClass { /// <summary> /// Constant CONVERT_TO_BINARY for ContentHandlingStrategy /// </summary> public static readonly ContentHandlingStrategy CONVERT_TO_BINARY = new ContentHandlingStrategy("CONVERT_TO_BINARY"); /// <summary> /// Constant CONVERT_TO_TEXT for ContentHandlingStrategy /// </summary> public static readonly ContentHandlingStrategy CONVERT_TO_TEXT = new ContentHandlingStrategy("CONVERT_TO_TEXT"); /// <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 ContentHandlingStrategy(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 ContentHandlingStrategy FindValue(string value) { return FindValue<ContentHandlingStrategy>(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 ContentHandlingStrategy(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type DeploymentStatus. /// </summary> public class DeploymentStatus : ConstantClass { /// <summary> /// Constant DEPLOYED for DeploymentStatus /// </summary> public static readonly DeploymentStatus DEPLOYED = new DeploymentStatus("DEPLOYED"); /// <summary> /// Constant FAILED for DeploymentStatus /// </summary> public static readonly DeploymentStatus FAILED = new DeploymentStatus("FAILED"); /// <summary> /// Constant PENDING for DeploymentStatus /// </summary> public static readonly DeploymentStatus PENDING = new DeploymentStatus("PENDING"); /// <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 DeploymentStatus(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 DeploymentStatus FindValue(string value) { return FindValue<DeploymentStatus>(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 DeploymentStatus(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type DomainNameStatus. /// </summary> public class DomainNameStatus : ConstantClass { /// <summary> /// Constant AVAILABLE for DomainNameStatus /// </summary> public static readonly DomainNameStatus AVAILABLE = new DomainNameStatus("AVAILABLE"); /// <summary> /// Constant PENDING_CERTIFICATE_REIMPORT for DomainNameStatus /// </summary> public static readonly DomainNameStatus PENDING_CERTIFICATE_REIMPORT = new DomainNameStatus("PENDING_CERTIFICATE_REIMPORT"); /// <summary> /// Constant PENDING_OWNERSHIP_VERIFICATION for DomainNameStatus /// </summary> public static readonly DomainNameStatus PENDING_OWNERSHIP_VERIFICATION = new DomainNameStatus("PENDING_OWNERSHIP_VERIFICATION"); /// <summary> /// Constant UPDATING for DomainNameStatus /// </summary> public static readonly DomainNameStatus UPDATING = new DomainNameStatus("UPDATING"); /// <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 DomainNameStatus(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 DomainNameStatus FindValue(string value) { return FindValue<DomainNameStatus>(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 DomainNameStatus(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type EndpointType. /// </summary> public class EndpointType : ConstantClass { /// <summary> /// Constant EDGE for EndpointType /// </summary> public static readonly EndpointType EDGE = new EndpointType("EDGE"); /// <summary> /// Constant REGIONAL for EndpointType /// </summary> public static readonly EndpointType REGIONAL = new EndpointType("REGIONAL"); /// <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 EndpointType(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 EndpointType FindValue(string value) { return FindValue<EndpointType>(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 EndpointType(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type IntegrationType. /// </summary> public class IntegrationType : ConstantClass { /// <summary> /// Constant AWS for IntegrationType /// </summary> public static readonly IntegrationType AWS = new IntegrationType("AWS"); /// <summary> /// Constant AWS_PROXY for IntegrationType /// </summary> public static readonly IntegrationType AWS_PROXY = new IntegrationType("AWS_PROXY"); /// <summary> /// Constant HTTP for IntegrationType /// </summary> public static readonly IntegrationType HTTP = new IntegrationType("HTTP"); /// <summary> /// Constant HTTP_PROXY for IntegrationType /// </summary> public static readonly IntegrationType HTTP_PROXY = new IntegrationType("HTTP_PROXY"); /// <summary> /// Constant MOCK for IntegrationType /// </summary> public static readonly IntegrationType MOCK = new IntegrationType("MOCK"); /// <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 IntegrationType(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 IntegrationType FindValue(string value) { return FindValue<IntegrationType>(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 IntegrationType(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type LoggingLevel. /// </summary> public class LoggingLevel : ConstantClass { /// <summary> /// Constant ERROR for LoggingLevel /// </summary> public static readonly LoggingLevel ERROR = new LoggingLevel("ERROR"); /// <summary> /// Constant INFO for LoggingLevel /// </summary> public static readonly LoggingLevel INFO = new LoggingLevel("INFO"); /// <summary> /// Constant OFF for LoggingLevel /// </summary> public static readonly LoggingLevel OFF = new LoggingLevel("OFF"); /// <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 LoggingLevel(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 LoggingLevel FindValue(string value) { return FindValue<LoggingLevel>(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 LoggingLevel(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type PassthroughBehavior. /// </summary> public class PassthroughBehavior : ConstantClass { /// <summary> /// Constant NEVER for PassthroughBehavior /// </summary> public static readonly PassthroughBehavior NEVER = new PassthroughBehavior("NEVER"); /// <summary> /// Constant WHEN_NO_MATCH for PassthroughBehavior /// </summary> public static readonly PassthroughBehavior WHEN_NO_MATCH = new PassthroughBehavior("WHEN_NO_MATCH"); /// <summary> /// Constant WHEN_NO_TEMPLATES for PassthroughBehavior /// </summary> public static readonly PassthroughBehavior WHEN_NO_TEMPLATES = new PassthroughBehavior("WHEN_NO_TEMPLATES"); /// <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 PassthroughBehavior(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 PassthroughBehavior FindValue(string value) { return FindValue<PassthroughBehavior>(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 PassthroughBehavior(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type ProtocolType. /// </summary> public class ProtocolType : ConstantClass { /// <summary> /// Constant HTTP for ProtocolType /// </summary> public static readonly ProtocolType HTTP = new ProtocolType("HTTP"); /// <summary> /// Constant WEBSOCKET for ProtocolType /// </summary> public static readonly ProtocolType WEBSOCKET = new ProtocolType("WEBSOCKET"); /// <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 ProtocolType(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 ProtocolType FindValue(string value) { return FindValue<ProtocolType>(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 ProtocolType(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type SecurityPolicy. /// </summary> public class SecurityPolicy : ConstantClass { /// <summary> /// Constant TLS_1_0 for SecurityPolicy /// </summary> public static readonly SecurityPolicy TLS_1_0 = new SecurityPolicy("TLS_1_0"); /// <summary> /// Constant TLS_1_2 for SecurityPolicy /// </summary> public static readonly SecurityPolicy TLS_1_2 = new SecurityPolicy("TLS_1_2"); /// <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 SecurityPolicy(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 SecurityPolicy FindValue(string value) { return FindValue<SecurityPolicy>(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 SecurityPolicy(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type VpcLinkStatus. /// </summary> public class VpcLinkStatus : ConstantClass { /// <summary> /// Constant AVAILABLE for VpcLinkStatus /// </summary> public static readonly VpcLinkStatus AVAILABLE = new VpcLinkStatus("AVAILABLE"); /// <summary> /// Constant DELETING for VpcLinkStatus /// </summary> public static readonly VpcLinkStatus DELETING = new VpcLinkStatus("DELETING"); /// <summary> /// Constant FAILED for VpcLinkStatus /// </summary> public static readonly VpcLinkStatus FAILED = new VpcLinkStatus("FAILED"); /// <summary> /// Constant INACTIVE for VpcLinkStatus /// </summary> public static readonly VpcLinkStatus INACTIVE = new VpcLinkStatus("INACTIVE"); /// <summary> /// Constant PENDING for VpcLinkStatus /// </summary> public static readonly VpcLinkStatus PENDING = new VpcLinkStatus("PENDING"); /// <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 VpcLinkStatus(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 VpcLinkStatus FindValue(string value) { return FindValue<VpcLinkStatus>(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 VpcLinkStatus(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type VpcLinkVersion. /// </summary> public class VpcLinkVersion : ConstantClass { /// <summary> /// Constant V2 for VpcLinkVersion /// </summary> public static readonly VpcLinkVersion V2 = new VpcLinkVersion("V2"); /// <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 VpcLinkVersion(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 VpcLinkVersion FindValue(string value) { return FindValue<VpcLinkVersion>(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 VpcLinkVersion(string value) { return FindValue(value); } } }
774
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.Runtime.Endpoints; using static Amazon.Runtime.Internal.Endpoints.StandardLibrary.Fn; namespace Amazon.ApiGatewayV2.Internal { /// <summary> /// Amazon ApiGatewayV2 endpoint provider. /// Resolves endpoint for given set of ApiGatewayV2EndpointParameters. /// Can throw AmazonClientException if endpoint resolution is unsuccessful. /// </summary> public class AmazonApiGatewayV2EndpointProvider : IEndpointProvider { /// <summary> /// Resolve endpoint for ApiGatewayV2EndpointParameters /// </summary> public Endpoint ResolveEndpoint(EndpointParameters parameters) { if (parameters == null) throw new ArgumentNullException("parameters"); if (parameters["UseDualStack"] == null) throw new AmazonClientException("UseDualStack parameter must be set for endpoint resolution"); if (parameters["UseFIPS"] == null) throw new AmazonClientException("UseFIPS parameter must be set for endpoint resolution"); var refs = new Dictionary<string, object>() { ["Region"] = parameters["Region"], ["UseDualStack"] = parameters["UseDualStack"], ["UseFIPS"] = parameters["UseFIPS"], ["Endpoint"] = parameters["Endpoint"], }; if ((refs["PartitionResult"] = Partition((string)refs["Region"])) != null) { if (IsSet(refs["Endpoint"]) && (refs["url"] = ParseURL((string)refs["Endpoint"])) != null) { if (Equals(refs["UseFIPS"], true)) { throw new AmazonClientException("Invalid Configuration: FIPS and custom endpoint are not supported"); } if (Equals(refs["UseDualStack"], true)) { throw new AmazonClientException("Invalid Configuration: Dualstack and custom endpoint are not supported"); } return new Endpoint((string)refs["Endpoint"], InterpolateJson(@"", refs), InterpolateJson(@"", refs)); } if (Equals(refs["UseFIPS"], true) && Equals(refs["UseDualStack"], true)) { if (Equals(true, GetAttr(refs["PartitionResult"], "supportsFIPS")) && Equals(true, GetAttr(refs["PartitionResult"], "supportsDualStack"))) { return new Endpoint(Interpolate(@"https://apigateway-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", refs), InterpolateJson(@"", refs), InterpolateJson(@"", refs)); } throw new AmazonClientException("FIPS and DualStack are enabled, but this partition does not support one or both"); } if (Equals(refs["UseFIPS"], true)) { if (Equals(true, GetAttr(refs["PartitionResult"], "supportsFIPS"))) { return new Endpoint(Interpolate(@"https://apigateway-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://apigateway.{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://apigateway.{Region}.{PartitionResult#dnsSuffix}", refs), InterpolateJson(@"", refs), InterpolateJson(@"", refs)); } throw new AmazonClientException("Cannot resolve endpoint"); } } }
99
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the apigatewayv2-2018-11-29.normal.json service model. */ using System; using Amazon.ApiGatewayV2.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Endpoints; using Amazon.Util; using Amazon.ApiGatewayV2.Endpoints; #pragma warning disable 1591 namespace Amazon.ApiGatewayV2.Internal { /// <summary> /// Amazon ApiGatewayV2 endpoint resolver. /// Custom PipelineHandler responsible for resolving endpoint and setting authentication parameters for ApiGatewayV2 service requests. /// Collects values for ApiGatewayV2EndpointParameters and then tries to resolve endpoint by calling /// ResolveEndpoint method on GlobalEndpoints.Provider if present, otherwise uses ApiGatewayV2EndpointProvider. /// Responsible for setting authentication and http headers provided by resolved endpoint. /// </summary> public class AmazonApiGatewayV2EndpointResolver : BaseEndpointResolver { protected override void ServiceSpecificHandler(IExecutionContext executionContext, EndpointParameters parameters) { InjectHostPrefix(executionContext.RequestContext); } protected override EndpointParameters MapEndpointsParameters(IRequestContext requestContext) { var config = (AmazonApiGatewayV2Config)requestContext.ClientConfig; var result = new ApiGatewayV2EndpointParameters(); 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 apigatewayv2-2018-11-29.normal.json service model. */ using Amazon.Runtime.Internal; namespace Amazon.ApiGatewayV2.Internal { /// <summary> /// Service metadata for Amazon ApiGatewayV2 service /// </summary> public partial class AmazonApiGatewayV2Metadata : IServiceMetadata { /// <summary> /// Gets the value of the Service Id. /// </summary> public string ServiceId { get { return "ApiGatewayV2"; } } /// <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 apigatewayv2-2018-11-29.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApiGatewayV2.Model { /// <summary> /// /// </summary> #if !NETSTANDARD [Serializable] #endif public partial class AccessDeniedException : AmazonApiGatewayV2Exception { /// <summary> /// Constructs a new AccessDeniedException with the specified error /// message. /// </summary> /// <param name="message"> /// Describes the error encountered. /// </param> public AccessDeniedException(string message) : base(message) {} /// <summary> /// Construct instance of AccessDeniedException /// </summary> /// <param name="message"></param> /// <param name="innerException"></param> public AccessDeniedException(string message, Exception innerException) : base(message, innerException) {} /// <summary> /// Construct instance of AccessDeniedException /// </summary> /// <param name="innerException"></param> public AccessDeniedException(Exception innerException) : base(innerException) {} /// <summary> /// Construct instance of AccessDeniedException /// </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 AccessDeniedException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) : base(message, innerException, errorType, errorCode, requestId, statusCode) {} /// <summary> /// Construct instance of AccessDeniedException /// </summary> /// <param name="message"></param> /// <param name="errorType"></param> /// <param name="errorCode"></param> /// <param name="requestId"></param> /// <param name="statusCode"></param> public AccessDeniedException(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 AccessDeniedException 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 AccessDeniedException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) : base(info, context) { } /// <summary> /// Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with information about the exception. /// </summary> /// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param> /// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param> /// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is a null reference (Nothing in Visual Basic). </exception> #if BCL35 [System.Security.Permissions.SecurityPermission( System.Security.Permissions.SecurityAction.LinkDemand, Flags = System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)] #endif [System.Security.SecurityCritical] // These FxCop rules are giving false-positives for this method [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase")] [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2134:MethodsMustOverrideWithConsistentTransparencyFxCopRule")] public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { base.GetObjectData(info, context); } #endif } }
124
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the apigatewayv2-2018-11-29.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApiGatewayV2.Model { /// <summary> /// Settings for logging access in a stage. /// </summary> public partial class AccessLogSettings { private string _destinationArn; private string _format; /// <summary> /// Gets and sets the property DestinationArn. /// <para> /// The ARN of the CloudWatch Logs log group to receive access logs. /// </para> /// </summary> public string DestinationArn { get { return this._destinationArn; } set { this._destinationArn = value; } } // Check to see if DestinationArn property is set internal bool IsSetDestinationArn() { return this._destinationArn != null; } /// <summary> /// Gets and sets the property Format. /// <para> /// A single line format of the access logs of data, as specified by selected $context /// variables. The format must include at least $context.requestId. /// </para> /// </summary> public string Format { get { return this._format; } set { this._format = value; } } // Check to see if Format property is set internal bool IsSetFormat() { return this._format != null; } } }
77
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 Amazon.Runtime; namespace Amazon.ApiGatewayV2 { /// <summary> /// Base class for ApiGatewayV2 operation requests. /// </summary> public partial class AmazonApiGatewayV2Request : 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 apigatewayv2-2018-11-29.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApiGatewayV2.Model { /// <summary> /// Represents an API. /// </summary> public partial class Api { private string _apiEndpoint; private bool? _apiGatewayManaged; private string _apiId; private string _apiKeySelectionExpression; private Cors _corsConfiguration; private DateTime? _createdDate; private string _description; private bool? _disableExecuteApiEndpoint; private bool? _disableSchemaValidation; private List<string> _importInfo = new List<string>(); private string _name; private ProtocolType _protocolType; private string _routeSelectionExpression; private Dictionary<string, string> _tags = new Dictionary<string, string>(); private string _version; private List<string> _warnings = new List<string>(); /// <summary> /// Gets and sets the property ApiEndpoint. /// <para> /// The URI of the API, of the form {api-id}.execute-api.{region}.amazonaws.com. The stage /// name is typically appended to this URI to form a complete path to a deployed API stage. /// </para> /// </summary> public string ApiEndpoint { get { return this._apiEndpoint; } set { this._apiEndpoint = value; } } // Check to see if ApiEndpoint property is set internal bool IsSetApiEndpoint() { return this._apiEndpoint != null; } /// <summary> /// Gets and sets the property ApiGatewayManaged. /// <para> /// Specifies whether an API is managed by API Gateway. You can't update or delete a managed /// API by using API Gateway. A managed API can be deleted only through the tooling or /// service that created it. /// </para> /// </summary> public bool ApiGatewayManaged { get { return this._apiGatewayManaged.GetValueOrDefault(); } set { this._apiGatewayManaged = value; } } // Check to see if ApiGatewayManaged property is set internal bool IsSetApiGatewayManaged() { return this._apiGatewayManaged.HasValue; } /// <summary> /// Gets and sets the property ApiId. /// <para> /// The API ID. /// </para> /// </summary> public string ApiId { get { return this._apiId; } set { this._apiId = value; } } // Check to see if ApiId property is set internal bool IsSetApiId() { return this._apiId != null; } /// <summary> /// Gets and sets the property ApiKeySelectionExpression. /// <para> /// An API key selection expression. Supported only for WebSocket APIs. See <a href="https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions">API /// Key Selection Expressions</a>. /// </para> /// </summary> public string ApiKeySelectionExpression { get { return this._apiKeySelectionExpression; } set { this._apiKeySelectionExpression = value; } } // Check to see if ApiKeySelectionExpression property is set internal bool IsSetApiKeySelectionExpression() { return this._apiKeySelectionExpression != null; } /// <summary> /// Gets and sets the property CorsConfiguration. /// <para> /// A CORS configuration. Supported only for HTTP APIs. /// </para> /// </summary> public Cors CorsConfiguration { get { return this._corsConfiguration; } set { this._corsConfiguration = value; } } // Check to see if CorsConfiguration property is set internal bool IsSetCorsConfiguration() { return this._corsConfiguration != null; } /// <summary> /// Gets and sets the property CreatedDate. /// <para> /// The timestamp when the API was created. /// </para> /// </summary> public DateTime CreatedDate { get { return this._createdDate.GetValueOrDefault(); } set { this._createdDate = value; } } // Check to see if CreatedDate property is set internal bool IsSetCreatedDate() { return this._createdDate.HasValue; } /// <summary> /// Gets and sets the property Description. /// <para> /// The description of the API. /// </para> /// </summary> 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 DisableExecuteApiEndpoint. /// <para> /// Specifies whether clients can invoke your API by using the default execute-api endpoint. /// By default, clients can invoke your API with the default https://{api_id}.execute-api.{region}.amazonaws.com /// endpoint. To require that clients use a custom domain name to invoke your API, disable /// the default endpoint. /// </para> /// </summary> public bool DisableExecuteApiEndpoint { get { return this._disableExecuteApiEndpoint.GetValueOrDefault(); } set { this._disableExecuteApiEndpoint = value; } } // Check to see if DisableExecuteApiEndpoint property is set internal bool IsSetDisableExecuteApiEndpoint() { return this._disableExecuteApiEndpoint.HasValue; } /// <summary> /// Gets and sets the property DisableSchemaValidation. /// <para> /// Avoid validating models when creating a deployment. Supported only for WebSocket APIs. /// </para> /// </summary> public bool DisableSchemaValidation { get { return this._disableSchemaValidation.GetValueOrDefault(); } set { this._disableSchemaValidation = value; } } // Check to see if DisableSchemaValidation property is set internal bool IsSetDisableSchemaValidation() { return this._disableSchemaValidation.HasValue; } /// <summary> /// Gets and sets the property ImportInfo. /// <para> /// The validation information during API import. This may include particular properties /// of your OpenAPI definition which are ignored during import. Supported only for HTTP /// APIs. /// </para> /// </summary> public List<string> ImportInfo { get { return this._importInfo; } set { this._importInfo = value; } } // Check to see if ImportInfo property is set internal bool IsSetImportInfo() { return this._importInfo != null && this._importInfo.Count > 0; } /// <summary> /// Gets and sets the property Name. /// <para> /// The name of the API. /// </para> /// </summary> [AWSProperty(Required=true)] 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 ProtocolType. /// <para> /// The API protocol. /// </para> /// </summary> [AWSProperty(Required=true)] public ProtocolType ProtocolType { get { return this._protocolType; } set { this._protocolType = value; } } // Check to see if ProtocolType property is set internal bool IsSetProtocolType() { return this._protocolType != null; } /// <summary> /// Gets and sets the property RouteSelectionExpression. /// <para> /// The route selection expression for the API. For HTTP APIs, the routeSelectionExpression /// must be ${request.method} ${request.path}. If not provided, this will be the default /// for HTTP APIs. This property is required for WebSocket APIs. /// </para> /// </summary> [AWSProperty(Required=true)] public string RouteSelectionExpression { get { return this._routeSelectionExpression; } set { this._routeSelectionExpression = value; } } // Check to see if RouteSelectionExpression property is set internal bool IsSetRouteSelectionExpression() { return this._routeSelectionExpression != null; } /// <summary> /// Gets and sets the property Tags. /// <para> /// A collection of tags associated with the API. /// </para> /// </summary> 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 Version. /// <para> /// A version identifier for the API. /// </para> /// </summary> public string Version { get { return this._version; } set { this._version = value; } } // Check to see if Version property is set internal bool IsSetVersion() { return this._version != null; } /// <summary> /// Gets and sets the property Warnings. /// <para> /// The warning messages reported when failonwarnings is turned on during API import. /// </para> /// </summary> public List<string> Warnings { get { return this._warnings; } set { this._warnings = value; } } // Check to see if Warnings property is set internal bool IsSetWarnings() { return this._warnings != null && this._warnings.Count > 0; } } }
356
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.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApiGatewayV2.Model { /// <summary> /// Represents an API mapping. /// </summary> public partial class ApiMapping { private string _apiId; private string _apiMappingId; private string _apiMappingKey; private string _stage; /// <summary> /// Gets and sets the property ApiId. /// <para> /// The API identifier. /// </para> /// </summary> [AWSProperty(Required=true)] public string ApiId { get { return this._apiId; } set { this._apiId = value; } } // Check to see if ApiId property is set internal bool IsSetApiId() { return this._apiId != null; } /// <summary> /// Gets and sets the property ApiMappingId. /// <para> /// The API mapping identifier. /// </para> /// </summary> public string ApiMappingId { get { return this._apiMappingId; } set { this._apiMappingId = value; } } // Check to see if ApiMappingId property is set internal bool IsSetApiMappingId() { return this._apiMappingId != null; } /// <summary> /// Gets and sets the property ApiMappingKey. /// <para> /// The API mapping key. /// </para> /// </summary> public string ApiMappingKey { get { return this._apiMappingKey; } set { this._apiMappingKey = value; } } // Check to see if ApiMappingKey property is set internal bool IsSetApiMappingKey() { return this._apiMappingKey != null; } /// <summary> /// Gets and sets the property Stage. /// <para> /// The API stage. /// </para> /// </summary> [AWSProperty(Required=true)] public string Stage { get { return this._stage; } set { this._stage = value; } } // Check to see if Stage property is set internal bool IsSetStage() { return this._stage != null; } } }
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.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApiGatewayV2.Model { /// <summary> /// Represents an authorizer. /// </summary> public partial class Authorizer { private string _authorizerCredentialsArn; private string _authorizerId; private string _authorizerPayloadFormatVersion; private int? _authorizerResultTtlInSeconds; private AuthorizerType _authorizerType; private string _authorizerUri; private bool? _enableSimpleResponses; private List<string> _identitySource = new List<string>(); private string _identityValidationExpression; private JWTConfiguration _jwtConfiguration; private string _name; /// <summary> /// Gets and sets the property AuthorizerCredentialsArn. /// <para> /// Specifies the required credentials as an IAM role for API Gateway to invoke the authorizer. /// To specify an IAM role for API Gateway to assume, use the role's Amazon Resource Name /// (ARN). To use resource-based permissions on the Lambda function, don't specify this /// parameter. Supported only for REQUEST authorizers. /// </para> /// </summary> public string AuthorizerCredentialsArn { get { return this._authorizerCredentialsArn; } set { this._authorizerCredentialsArn = value; } } // Check to see if AuthorizerCredentialsArn property is set internal bool IsSetAuthorizerCredentialsArn() { return this._authorizerCredentialsArn != null; } /// <summary> /// Gets and sets the property AuthorizerId. /// <para> /// The authorizer identifier. /// </para> /// </summary> public string AuthorizerId { get { return this._authorizerId; } set { this._authorizerId = value; } } // Check to see if AuthorizerId property is set internal bool IsSetAuthorizerId() { return this._authorizerId != null; } /// <summary> /// Gets and sets the property AuthorizerPayloadFormatVersion. /// <para> /// Specifies the format of the payload sent to an HTTP API Lambda authorizer. Required /// for HTTP API Lambda authorizers. Supported values are 1.0 and 2.0. To learn more, /// see <a href="https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-lambda-authorizer.html">Working /// with AWS Lambda authorizers for HTTP APIs</a>. /// </para> /// </summary> public string AuthorizerPayloadFormatVersion { get { return this._authorizerPayloadFormatVersion; } set { this._authorizerPayloadFormatVersion = value; } } // Check to see if AuthorizerPayloadFormatVersion property is set internal bool IsSetAuthorizerPayloadFormatVersion() { return this._authorizerPayloadFormatVersion != null; } /// <summary> /// Gets and sets the property AuthorizerResultTtlInSeconds. /// <para> /// The time to live (TTL) for cached authorizer results, in seconds. If it equals 0, /// authorization caching is disabled. If it is greater than 0, API Gateway caches authorizer /// responses. The maximum value is 3600, or 1 hour. Supported only for HTTP API Lambda /// authorizers. /// </para> /// </summary> [AWSProperty(Min=0, Max=3600)] public int AuthorizerResultTtlInSeconds { get { return this._authorizerResultTtlInSeconds.GetValueOrDefault(); } set { this._authorizerResultTtlInSeconds = value; } } // Check to see if AuthorizerResultTtlInSeconds property is set internal bool IsSetAuthorizerResultTtlInSeconds() { return this._authorizerResultTtlInSeconds.HasValue; } /// <summary> /// Gets and sets the property AuthorizerType. /// <para> /// The authorizer type. Specify REQUEST for a Lambda function using incoming request /// parameters. Specify JWT to use JSON Web Tokens (supported only for HTTP APIs). /// </para> /// </summary> public AuthorizerType AuthorizerType { get { return this._authorizerType; } set { this._authorizerType = value; } } // Check to see if AuthorizerType property is set internal bool IsSetAuthorizerType() { return this._authorizerType != null; } /// <summary> /// Gets and sets the property AuthorizerUri. /// <para> /// The authorizer's Uniform Resource Identifier (URI). For REQUEST authorizers, this /// must be a well-formed Lambda function URI, for example, arn:aws:apigateway:us-west-2:lambda:path/2015-03-31/functions/arn:aws:lambda:us-west-2:<replaceable>{account_id}</replaceable>:function:<replaceable>{lambda_function_name}</replaceable>/invocations. /// In general, the URI has this form: arn:aws:apigateway:<replaceable>{region}</replaceable>:lambda:path/<replaceable>{service_api}</replaceable> /// , where <replaceable></replaceable>{region} is the same as the region /// hosting the Lambda function, path indicates that the remaining substring in the URI /// should be treated as the path to the resource, including the initial /. For Lambda /// functions, this is usually of the form /2015-03-31/functions/[FunctionARN]/invocations. /// Supported only for REQUEST authorizers. /// </para> /// </summary> public string AuthorizerUri { get { return this._authorizerUri; } set { this._authorizerUri = value; } } // Check to see if AuthorizerUri property is set internal bool IsSetAuthorizerUri() { return this._authorizerUri != null; } /// <summary> /// Gets and sets the property EnableSimpleResponses. /// <para> /// Specifies whether a Lambda authorizer returns a response in a simple format. If enabled, /// the Lambda authorizer can return a boolean value instead of an IAM policy. Supported /// only for HTTP APIs. To learn more, see <a href="https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-lambda-authorizer.html">Working /// with AWS Lambda authorizers for HTTP APIs</a> /// </para> /// </summary> public bool EnableSimpleResponses { get { return this._enableSimpleResponses.GetValueOrDefault(); } set { this._enableSimpleResponses = value; } } // Check to see if EnableSimpleResponses property is set internal bool IsSetEnableSimpleResponses() { return this._enableSimpleResponses.HasValue; } /// <summary> /// Gets and sets the property IdentitySource. /// <para> /// The identity source for which authorization is requested. /// </para> /// /// <para> /// For a REQUEST authorizer, this is optional. The value is a set of one or more mapping /// expressions of the specified request parameters. The identity source can be headers, /// query string parameters, stage variables, and context parameters. For example, if /// an Auth header and a Name query string parameter are defined as identity sources, /// this value is route.request.header.Auth, route.request.querystring.Name for WebSocket /// APIs. For HTTP APIs, use selection expressions prefixed with $, for example, $request.header.Auth, /// $request.querystring.Name. These parameters are used to perform runtime validation /// for Lambda-based authorizers by verifying all of the identity-related request parameters /// are present in the request, not null, and non-empty. Only when this is true does the /// authorizer invoke the authorizer Lambda function. Otherwise, it returns a 401 Unauthorized /// response without calling the Lambda function. For HTTP APIs, identity sources are /// also used as the cache key when caching is enabled. To learn more, see <a href="https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-lambda-authorizer.html">Working /// with AWS Lambda authorizers for HTTP APIs</a>. /// </para> /// /// <para> /// For JWT, a single entry that specifies where to extract the JSON Web Token (JWT) from /// inbound requests. Currently only header-based and query parameter-based selections /// are supported, for example $request.header.Authorization. /// </para> /// </summary> public List<string> IdentitySource { get { return this._identitySource; } set { this._identitySource = value; } } // Check to see if IdentitySource property is set internal bool IsSetIdentitySource() { return this._identitySource != null && this._identitySource.Count > 0; } /// <summary> /// Gets and sets the property IdentityValidationExpression. /// <para> /// The validation expression does not apply to the REQUEST authorizer. /// </para> /// </summary> public string IdentityValidationExpression { get { return this._identityValidationExpression; } set { this._identityValidationExpression = value; } } // Check to see if IdentityValidationExpression property is set internal bool IsSetIdentityValidationExpression() { return this._identityValidationExpression != null; } /// <summary> /// Gets and sets the property JwtConfiguration. /// <para> /// Represents the configuration of a JWT authorizer. Required for the JWT authorizer /// type. Supported only for HTTP APIs. /// </para> /// </summary> public JWTConfiguration JwtConfiguration { get { return this._jwtConfiguration; } set { this._jwtConfiguration = value; } } // Check to see if JwtConfiguration property is set internal bool IsSetJwtConfiguration() { return this._jwtConfiguration != null; } /// <summary> /// Gets and sets the property Name. /// <para> /// The name of the authorizer. /// </para> /// </summary> [AWSProperty(Required=true)] 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; } } }
292
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.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApiGatewayV2.Model { /// <summary> /// The request is not valid, for example, the input is incomplete or incorrect. See the /// accompanying error message for details. /// </summary> #if !NETSTANDARD [Serializable] #endif public partial class BadRequestException : AmazonApiGatewayV2Exception { /// <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) { } /// <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 apigatewayv2-2018-11-29.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApiGatewayV2.Model { /// <summary> /// 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. /// </summary> #if !NETSTANDARD [Serializable] #endif public partial class ConflictException : AmazonApiGatewayV2Exception { /// <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 } }
126
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.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApiGatewayV2.Model { /// <summary> /// Represents a CORS configuration. Supported only for HTTP APIs. See <a href="https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-cors.html">Configuring /// CORS</a> for more information. /// </summary> public partial class Cors { private bool? _allowCredentials; private List<string> _allowHeaders = new List<string>(); private List<string> _allowMethods = new List<string>(); private List<string> _allowOrigins = new List<string>(); private List<string> _exposeHeaders = new List<string>(); private int? _maxAge; /// <summary> /// Gets and sets the property AllowCredentials. /// <para> /// Specifies whether credentials are included in the CORS request. Supported only for /// HTTP APIs. /// </para> /// </summary> public bool AllowCredentials { get { return this._allowCredentials.GetValueOrDefault(); } set { this._allowCredentials = value; } } // Check to see if AllowCredentials property is set internal bool IsSetAllowCredentials() { return this._allowCredentials.HasValue; } /// <summary> /// Gets and sets the property AllowHeaders. /// <para> /// Represents a collection of allowed headers. Supported only for HTTP APIs. /// </para> /// </summary> public List<string> AllowHeaders { get { return this._allowHeaders; } set { this._allowHeaders = value; } } // Check to see if AllowHeaders property is set internal bool IsSetAllowHeaders() { return this._allowHeaders != null && this._allowHeaders.Count > 0; } /// <summary> /// Gets and sets the property AllowMethods. /// <para> /// Represents a collection of allowed HTTP methods. Supported only for HTTP APIs. /// </para> /// </summary> public List<string> AllowMethods { get { return this._allowMethods; } set { this._allowMethods = value; } } // Check to see if AllowMethods property is set internal bool IsSetAllowMethods() { return this._allowMethods != null && this._allowMethods.Count > 0; } /// <summary> /// Gets and sets the property AllowOrigins. /// <para> /// Represents a collection of allowed origins. Supported only for HTTP APIs. /// </para> /// </summary> public List<string> AllowOrigins { get { return this._allowOrigins; } set { this._allowOrigins = value; } } // Check to see if AllowOrigins property is set internal bool IsSetAllowOrigins() { return this._allowOrigins != null && this._allowOrigins.Count > 0; } /// <summary> /// Gets and sets the property ExposeHeaders. /// <para> /// Represents a collection of exposed headers. Supported only for HTTP APIs. /// </para> /// </summary> public List<string> ExposeHeaders { get { return this._exposeHeaders; } set { this._exposeHeaders = value; } } // Check to see if ExposeHeaders property is set internal bool IsSetExposeHeaders() { return this._exposeHeaders != null && this._exposeHeaders.Count > 0; } /// <summary> /// Gets and sets the property MaxAge. /// <para> /// The number of seconds that the browser should cache preflight request results. Supported /// only for HTTP APIs. /// </para> /// </summary> [AWSProperty(Min=-1, Max=86400)] public int MaxAge { get { return this._maxAge.GetValueOrDefault(); } set { this._maxAge = value; } } // Check to see if MaxAge property is set internal bool IsSetMaxAge() { return this._maxAge.HasValue; } } }
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 apigatewayv2-2018-11-29.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApiGatewayV2.Model { /// <summary> /// Container for the parameters to the CreateApiMapping operation. /// Creates an API mapping. /// </summary> public partial class CreateApiMappingRequest : AmazonApiGatewayV2Request { private string _apiId; private string _apiMappingKey; private string _domainName; private string _stage; /// <summary> /// Gets and sets the property ApiId. /// <para> /// The API identifier. /// </para> /// </summary> [AWSProperty(Required=true)] public string ApiId { get { return this._apiId; } set { this._apiId = value; } } // Check to see if ApiId property is set internal bool IsSetApiId() { return this._apiId != null; } /// <summary> /// Gets and sets the property ApiMappingKey. The API mapping key. /// </summary> public string ApiMappingKey { get { return this._apiMappingKey; } set { this._apiMappingKey = value; } } // Check to see if ApiMappingKey property is set internal bool IsSetApiMappingKey() { return this._apiMappingKey != null; } /// <summary> /// Gets and sets the property DomainName. /// <para> /// The domain name. /// </para> /// </summary> [AWSProperty(Required=true)] public string DomainName { get { return this._domainName; } set { this._domainName = value; } } // Check to see if DomainName property is set internal bool IsSetDomainName() { return this._domainName != null; } /// <summary> /// Gets and sets the property Stage. /// <para> /// The API stage. /// </para> /// </summary> [AWSProperty(Required=true)] public string Stage { get { return this._stage; } set { this._stage = value; } } // Check to see if Stage property is set internal bool IsSetStage() { return this._stage != null; } } }
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 apigatewayv2-2018-11-29.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApiGatewayV2.Model { /// <summary> /// This is the response object from the CreateApiMapping operation. /// </summary> public partial class CreateApiMappingResponse : AmazonWebServiceResponse { private string _apiId; private string _apiMappingId; private string _apiMappingKey; private string _stage; /// <summary> /// Gets and sets the property ApiId. /// <para> /// The API identifier. /// </para> /// </summary> public string ApiId { get { return this._apiId; } set { this._apiId = value; } } // Check to see if ApiId property is set internal bool IsSetApiId() { return this._apiId != null; } /// <summary> /// Gets and sets the property ApiMappingId. /// <para> /// The API mapping identifier. /// </para> /// </summary> public string ApiMappingId { get { return this._apiMappingId; } set { this._apiMappingId = value; } } // Check to see if ApiMappingId property is set internal bool IsSetApiMappingId() { return this._apiMappingId != null; } /// <summary> /// Gets and sets the property ApiMappingKey. /// <para> /// The API mapping key. /// </para> /// </summary> public string ApiMappingKey { get { return this._apiMappingKey; } set { this._apiMappingKey = value; } } // Check to see if ApiMappingKey property is set internal bool IsSetApiMappingKey() { return this._apiMappingKey != null; } /// <summary> /// Gets and sets the property Stage. /// <para> /// The API stage. /// </para> /// </summary> public string Stage { get { return this._stage; } set { this._stage = value; } } // Check to see if Stage property is set internal bool IsSetStage() { return this._stage != null; } } }
114
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the apigatewayv2-2018-11-29.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApiGatewayV2.Model { /// <summary> /// Container for the parameters to the CreateApi operation. /// Creates an Api resource. /// </summary> public partial class CreateApiRequest : AmazonApiGatewayV2Request { private string _apiKeySelectionExpression; private Cors _corsConfiguration; private string _credentialsArn; private string _description; private bool? _disableExecuteApiEndpoint; private bool? _disableSchemaValidation; private string _name; private ProtocolType _protocolType; private string _routeKey; private string _routeSelectionExpression; private Dictionary<string, string> _tags = new Dictionary<string, string>(); private string _target; private string _version; /// <summary> /// Gets and sets the property ApiKeySelectionExpression. /// <para> /// An API key selection expression. Supported only for WebSocket APIs. See <a href="https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions">API /// Key Selection Expressions</a>. /// </para> /// </summary> public string ApiKeySelectionExpression { get { return this._apiKeySelectionExpression; } set { this._apiKeySelectionExpression = value; } } // Check to see if ApiKeySelectionExpression property is set internal bool IsSetApiKeySelectionExpression() { return this._apiKeySelectionExpression != null; } /// <summary> /// Gets and sets the property CorsConfiguration. /// <para> /// A CORS configuration. Supported only for HTTP APIs. See <a href="https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-cors.html">Configuring /// CORS</a> for more information. /// </para> /// </summary> public Cors CorsConfiguration { get { return this._corsConfiguration; } set { this._corsConfiguration = value; } } // Check to see if CorsConfiguration property is set internal bool IsSetCorsConfiguration() { return this._corsConfiguration != null; } /// <summary> /// Gets and sets the property CredentialsArn. /// <para> /// This property is part of quick create. It specifies the credentials required for the /// integration, if any. For a Lambda integration, three options are available. To specify /// an IAM Role for API Gateway to assume, use the role's Amazon Resource Name (ARN). /// To require that the caller's identity be passed through from the request, specify /// arn:aws:iam::*:user/*. To use resource-based permissions on supported AWS services, /// specify null. Currently, this property is not used for HTTP integrations. Supported /// only for HTTP APIs. /// </para> /// </summary> public string CredentialsArn { get { return this._credentialsArn; } set { this._credentialsArn = value; } } // Check to see if CredentialsArn property is set internal bool IsSetCredentialsArn() { return this._credentialsArn != null; } /// <summary> /// Gets and sets the property Description. /// <para> /// The description of the API. /// </para> /// </summary> 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 DisableExecuteApiEndpoint. /// <para> /// Specifies whether clients can invoke your API by using the default execute-api endpoint. /// By default, clients can invoke your API with the default https://{api_id}.execute-api.{region}.amazonaws.com /// endpoint. To require that clients use a custom domain name to invoke your API, disable /// the default endpoint. /// </para> /// </summary> public bool DisableExecuteApiEndpoint { get { return this._disableExecuteApiEndpoint.GetValueOrDefault(); } set { this._disableExecuteApiEndpoint = value; } } // Check to see if DisableExecuteApiEndpoint property is set internal bool IsSetDisableExecuteApiEndpoint() { return this._disableExecuteApiEndpoint.HasValue; } /// <summary> /// Gets and sets the property DisableSchemaValidation. /// <para> /// Avoid validating models when creating a deployment. Supported only for WebSocket APIs. /// </para> /// </summary> public bool DisableSchemaValidation { get { return this._disableSchemaValidation.GetValueOrDefault(); } set { this._disableSchemaValidation = value; } } // Check to see if DisableSchemaValidation property is set internal bool IsSetDisableSchemaValidation() { return this._disableSchemaValidation.HasValue; } /// <summary> /// Gets and sets the property Name. /// <para> /// The name of the API. /// </para> /// </summary> [AWSProperty(Required=true)] 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 ProtocolType. /// <para> /// The API protocol. /// </para> /// </summary> [AWSProperty(Required=true)] public ProtocolType ProtocolType { get { return this._protocolType; } set { this._protocolType = value; } } // Check to see if ProtocolType property is set internal bool IsSetProtocolType() { return this._protocolType != null; } /// <summary> /// Gets and sets the property RouteKey. /// <para> /// This property is part of quick create. If you don't specify a routeKey, a default /// route of $default is created. The $default route acts as a catch-all for any request /// made to your API, for a particular stage. The $default route key can't be modified. /// You can add routes after creating the API, and you can update the route keys of additional /// routes. Supported only for HTTP APIs. /// </para> /// </summary> public string RouteKey { get { return this._routeKey; } set { this._routeKey = value; } } // Check to see if RouteKey property is set internal bool IsSetRouteKey() { return this._routeKey != null; } /// <summary> /// Gets and sets the property RouteSelectionExpression. /// <para> /// The route selection expression for the API. For HTTP APIs, the routeSelectionExpression /// must be ${request.method} ${request.path}. If not provided, this will be the default /// for HTTP APIs. This property is required for WebSocket APIs. /// </para> /// </summary> public string RouteSelectionExpression { get { return this._routeSelectionExpression; } set { this._routeSelectionExpression = value; } } // Check to see if RouteSelectionExpression property is set internal bool IsSetRouteSelectionExpression() { return this._routeSelectionExpression != null; } /// <summary> /// Gets and sets the property Tags. /// <para> /// The collection of tags. Each tag element is associated with a given resource. /// </para> /// </summary> 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 Target. /// <para> /// This property is part of quick create. Quick create produces an API with an integration, /// a default catch-all route, and a default stage which is configured to automatically /// deploy changes. For HTTP integrations, specify a fully qualified URL. For Lambda integrations, /// specify a function ARN. The type of the integration will be HTTP_PROXY or AWS_PROXY, /// respectively. Supported only for HTTP APIs. /// </para> /// </summary> public string Target { get { return this._target; } set { this._target = value; } } // Check to see if Target property is set internal bool IsSetTarget() { return this._target != null; } /// <summary> /// Gets and sets the property Version. /// <para> /// A version identifier for the API. /// </para> /// </summary> public string Version { get { return this._version; } set { this._version = value; } } // Check to see if Version property is set internal bool IsSetVersion() { return this._version != null; } } }
309
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.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApiGatewayV2.Model { /// <summary> /// This is the response object from the CreateApi operation. /// </summary> public partial class CreateApiResponse : AmazonWebServiceResponse { private string _apiEndpoint; private bool? _apiGatewayManaged; private string _apiId; private string _apiKeySelectionExpression; private Cors _corsConfiguration; private DateTime? _createdDate; private string _description; private bool? _disableExecuteApiEndpoint; private bool? _disableSchemaValidation; private List<string> _importInfo = new List<string>(); private string _name; private ProtocolType _protocolType; private string _routeSelectionExpression; private Dictionary<string, string> _tags = new Dictionary<string, string>(); private string _version; private List<string> _warnings = new List<string>(); /// <summary> /// Gets and sets the property ApiEndpoint. /// <para> /// The URI of the API, of the form {api-id}.execute-api.{region}.amazonaws.com. The stage /// name is typically appended to this URI to form a complete path to a deployed API stage. /// </para> /// </summary> public string ApiEndpoint { get { return this._apiEndpoint; } set { this._apiEndpoint = value; } } // Check to see if ApiEndpoint property is set internal bool IsSetApiEndpoint() { return this._apiEndpoint != null; } /// <summary> /// Gets and sets the property ApiGatewayManaged. /// <para> /// Specifies whether an API is managed by API Gateway. You can't update or delete a managed /// API by using API Gateway. A managed API can be deleted only through the tooling or /// service that created it. /// </para> /// </summary> public bool ApiGatewayManaged { get { return this._apiGatewayManaged.GetValueOrDefault(); } set { this._apiGatewayManaged = value; } } // Check to see if ApiGatewayManaged property is set internal bool IsSetApiGatewayManaged() { return this._apiGatewayManaged.HasValue; } /// <summary> /// Gets and sets the property ApiId. /// <para> /// The API ID. /// </para> /// </summary> public string ApiId { get { return this._apiId; } set { this._apiId = value; } } // Check to see if ApiId property is set internal bool IsSetApiId() { return this._apiId != null; } /// <summary> /// Gets and sets the property ApiKeySelectionExpression. /// <para> /// An API key selection expression. Supported only for WebSocket APIs. See <a href="https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions">API /// Key Selection Expressions</a>. /// </para> /// </summary> public string ApiKeySelectionExpression { get { return this._apiKeySelectionExpression; } set { this._apiKeySelectionExpression = value; } } // Check to see if ApiKeySelectionExpression property is set internal bool IsSetApiKeySelectionExpression() { return this._apiKeySelectionExpression != null; } /// <summary> /// Gets and sets the property CorsConfiguration. /// <para> /// A CORS configuration. Supported only for HTTP APIs. /// </para> /// </summary> public Cors CorsConfiguration { get { return this._corsConfiguration; } set { this._corsConfiguration = value; } } // Check to see if CorsConfiguration property is set internal bool IsSetCorsConfiguration() { return this._corsConfiguration != null; } /// <summary> /// Gets and sets the property CreatedDate. /// <para> /// The timestamp when the API was created. /// </para> /// </summary> public DateTime CreatedDate { get { return this._createdDate.GetValueOrDefault(); } set { this._createdDate = value; } } // Check to see if CreatedDate property is set internal bool IsSetCreatedDate() { return this._createdDate.HasValue; } /// <summary> /// Gets and sets the property Description. /// <para> /// The description of the API. /// </para> /// </summary> 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 DisableExecuteApiEndpoint. /// <para> /// Specifies whether clients can invoke your API by using the default execute-api endpoint. /// By default, clients can invoke your API with the default https://{api_id}.execute-api.{region}.amazonaws.com /// endpoint. To require that clients use a custom domain name to invoke your API, disable /// the default endpoint. /// </para> /// </summary> public bool DisableExecuteApiEndpoint { get { return this._disableExecuteApiEndpoint.GetValueOrDefault(); } set { this._disableExecuteApiEndpoint = value; } } // Check to see if DisableExecuteApiEndpoint property is set internal bool IsSetDisableExecuteApiEndpoint() { return this._disableExecuteApiEndpoint.HasValue; } /// <summary> /// Gets and sets the property DisableSchemaValidation. /// <para> /// Avoid validating models when creating a deployment. Supported only for WebSocket APIs. /// </para> /// </summary> public bool DisableSchemaValidation { get { return this._disableSchemaValidation.GetValueOrDefault(); } set { this._disableSchemaValidation = value; } } // Check to see if DisableSchemaValidation property is set internal bool IsSetDisableSchemaValidation() { return this._disableSchemaValidation.HasValue; } /// <summary> /// Gets and sets the property ImportInfo. /// <para> /// The validation information during API import. This may include particular properties /// of your OpenAPI definition which are ignored during import. Supported only for HTTP /// APIs. /// </para> /// </summary> public List<string> ImportInfo { get { return this._importInfo; } set { this._importInfo = value; } } // Check to see if ImportInfo property is set internal bool IsSetImportInfo() { return this._importInfo != null && this._importInfo.Count > 0; } /// <summary> /// Gets and sets the property Name. /// <para> /// The name of the API. /// </para> /// </summary> 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 ProtocolType. /// <para> /// The API protocol. /// </para> /// </summary> public ProtocolType ProtocolType { get { return this._protocolType; } set { this._protocolType = value; } } // Check to see if ProtocolType property is set internal bool IsSetProtocolType() { return this._protocolType != null; } /// <summary> /// Gets and sets the property RouteSelectionExpression. /// <para> /// The route selection expression for the API. For HTTP APIs, the routeSelectionExpression /// must be ${request.method} ${request.path}. If not provided, this will be the default /// for HTTP APIs. This property is required for WebSocket APIs. /// </para> /// </summary> public string RouteSelectionExpression { get { return this._routeSelectionExpression; } set { this._routeSelectionExpression = value; } } // Check to see if RouteSelectionExpression property is set internal bool IsSetRouteSelectionExpression() { return this._routeSelectionExpression != null; } /// <summary> /// Gets and sets the property Tags. /// <para> /// A collection of tags associated with the API. /// </para> /// </summary> 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 Version. /// <para> /// A version identifier for the API. /// </para> /// </summary> public string Version { get { return this._version; } set { this._version = value; } } // Check to see if Version property is set internal bool IsSetVersion() { return this._version != null; } /// <summary> /// Gets and sets the property Warnings. /// <para> /// The warning messages reported when failonwarnings is turned on during API import. /// </para> /// </summary> public List<string> Warnings { get { return this._warnings; } set { this._warnings = value; } } // Check to see if Warnings property is set internal bool IsSetWarnings() { return this._warnings != null && this._warnings.Count > 0; } } }
353
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.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApiGatewayV2.Model { /// <summary> /// Container for the parameters to the CreateAuthorizer operation. /// Creates an Authorizer for an API. /// </summary> public partial class CreateAuthorizerRequest : AmazonApiGatewayV2Request { private string _apiId; private string _authorizerCredentialsArn; private string _authorizerPayloadFormatVersion; private int? _authorizerResultTtlInSeconds; private AuthorizerType _authorizerType; private string _authorizerUri; private bool? _enableSimpleResponses; private List<string> _identitySource = new List<string>(); private string _identityValidationExpression; private JWTConfiguration _jwtConfiguration; private string _name; /// <summary> /// Gets and sets the property ApiId. /// <para> /// The API identifier. /// </para> /// </summary> [AWSProperty(Required=true)] public string ApiId { get { return this._apiId; } set { this._apiId = value; } } // Check to see if ApiId property is set internal bool IsSetApiId() { return this._apiId != null; } /// <summary> /// Gets and sets the property AuthorizerCredentialsArn. /// <para> /// Specifies the required credentials as an IAM role for API Gateway to invoke the authorizer. /// To specify an IAM role for API Gateway to assume, use the role's Amazon Resource Name /// (ARN). To use resource-based permissions on the Lambda function, don't specify this /// parameter. Supported only for REQUEST authorizers. /// </para> /// </summary> public string AuthorizerCredentialsArn { get { return this._authorizerCredentialsArn; } set { this._authorizerCredentialsArn = value; } } // Check to see if AuthorizerCredentialsArn property is set internal bool IsSetAuthorizerCredentialsArn() { return this._authorizerCredentialsArn != null; } /// <summary> /// Gets and sets the property AuthorizerPayloadFormatVersion. /// <para> /// Specifies the format of the payload sent to an HTTP API Lambda authorizer. Required /// for HTTP API Lambda authorizers. Supported values are 1.0 and 2.0. To learn more, /// see <a href="https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-lambda-authorizer.html">Working /// with AWS Lambda authorizers for HTTP APIs</a>. /// </para> /// </summary> public string AuthorizerPayloadFormatVersion { get { return this._authorizerPayloadFormatVersion; } set { this._authorizerPayloadFormatVersion = value; } } // Check to see if AuthorizerPayloadFormatVersion property is set internal bool IsSetAuthorizerPayloadFormatVersion() { return this._authorizerPayloadFormatVersion != null; } /// <summary> /// Gets and sets the property AuthorizerResultTtlInSeconds. /// <para> /// The time to live (TTL) for cached authorizer results, in seconds. If it equals 0, /// authorization caching is disabled. If it is greater than 0, API Gateway caches authorizer /// responses. The maximum value is 3600, or 1 hour. Supported only for HTTP API Lambda /// authorizers. /// </para> /// </summary> [AWSProperty(Min=0, Max=3600)] public int AuthorizerResultTtlInSeconds { get { return this._authorizerResultTtlInSeconds.GetValueOrDefault(); } set { this._authorizerResultTtlInSeconds = value; } } // Check to see if AuthorizerResultTtlInSeconds property is set internal bool IsSetAuthorizerResultTtlInSeconds() { return this._authorizerResultTtlInSeconds.HasValue; } /// <summary> /// Gets and sets the property AuthorizerType. /// <para> /// The authorizer type. Specify REQUEST for a Lambda function using incoming request /// parameters. Specify JWT to use JSON Web Tokens (supported only for HTTP APIs). /// </para> /// </summary> [AWSProperty(Required=true)] public AuthorizerType AuthorizerType { get { return this._authorizerType; } set { this._authorizerType = value; } } // Check to see if AuthorizerType property is set internal bool IsSetAuthorizerType() { return this._authorizerType != null; } /// <summary> /// Gets and sets the property AuthorizerUri. /// <para> /// The authorizer's Uniform Resource Identifier (URI). For REQUEST authorizers, this /// must be a well-formed Lambda function URI, for example, arn:aws:apigateway:us-west-2:lambda:path/2015-03-31/functions/arn:aws:lambda:us-west-2:<replaceable>{account_id}</replaceable>:function:<replaceable>{lambda_function_name}</replaceable>/invocations. /// In general, the URI has this form: arn:aws:apigateway:<replaceable>{region}</replaceable>:lambda:path/<replaceable>{service_api}</replaceable> /// , where <replaceable></replaceable>{region} is the same as the region /// hosting the Lambda function, path indicates that the remaining substring in the URI /// should be treated as the path to the resource, including the initial /. For Lambda /// functions, this is usually of the form /2015-03-31/functions/[FunctionARN]/invocations. /// Supported only for REQUEST authorizers. /// </para> /// </summary> public string AuthorizerUri { get { return this._authorizerUri; } set { this._authorizerUri = value; } } // Check to see if AuthorizerUri property is set internal bool IsSetAuthorizerUri() { return this._authorizerUri != null; } /// <summary> /// Gets and sets the property EnableSimpleResponses. /// <para> /// Specifies whether a Lambda authorizer returns a response in a simple format. By default, /// a Lambda authorizer must return an IAM policy. If enabled, the Lambda authorizer can /// return a boolean value instead of an IAM policy. Supported only for HTTP APIs. To /// learn more, see <a href="https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-lambda-authorizer.html">Working /// with AWS Lambda authorizers for HTTP APIs</a> /// </para> /// </summary> public bool EnableSimpleResponses { get { return this._enableSimpleResponses.GetValueOrDefault(); } set { this._enableSimpleResponses = value; } } // Check to see if EnableSimpleResponses property is set internal bool IsSetEnableSimpleResponses() { return this._enableSimpleResponses.HasValue; } /// <summary> /// Gets and sets the property IdentitySource. /// <para> /// The identity source for which authorization is requested. /// </para> /// /// <para> /// For a REQUEST authorizer, this is optional. The value is a set of one or more mapping /// expressions of the specified request parameters. The identity source can be headers, /// query string parameters, stage variables, and context parameters. For example, if /// an Auth header and a Name query string parameter are defined as identity sources, /// this value is route.request.header.Auth, route.request.querystring.Name for WebSocket /// APIs. For HTTP APIs, use selection expressions prefixed with $, for example, $request.header.Auth, /// $request.querystring.Name. These parameters are used to perform runtime validation /// for Lambda-based authorizers by verifying all of the identity-related request parameters /// are present in the request, not null, and non-empty. Only when this is true does the /// authorizer invoke the authorizer Lambda function. Otherwise, it returns a 401 Unauthorized /// response without calling the Lambda function. For HTTP APIs, identity sources are /// also used as the cache key when caching is enabled. To learn more, see <a href="https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-lambda-authorizer.html">Working /// with AWS Lambda authorizers for HTTP APIs</a>. /// </para> /// /// <para> /// For JWT, a single entry that specifies where to extract the JSON Web Token (JWT) from /// inbound requests. Currently only header-based and query parameter-based selections /// are supported, for example $request.header.Authorization. /// </para> /// </summary> [AWSProperty(Required=true)] public List<string> IdentitySource { get { return this._identitySource; } set { this._identitySource = value; } } // Check to see if IdentitySource property is set internal bool IsSetIdentitySource() { return this._identitySource != null && this._identitySource.Count > 0; } /// <summary> /// Gets and sets the property IdentityValidationExpression. /// <para> /// This parameter is not used. /// </para> /// </summary> public string IdentityValidationExpression { get { return this._identityValidationExpression; } set { this._identityValidationExpression = value; } } // Check to see if IdentityValidationExpression property is set internal bool IsSetIdentityValidationExpression() { return this._identityValidationExpression != null; } /// <summary> /// Gets and sets the property JwtConfiguration. /// <para> /// Represents the configuration of a JWT authorizer. Required for the JWT authorizer /// type. Supported only for HTTP APIs. /// </para> /// </summary> public JWTConfiguration JwtConfiguration { get { return this._jwtConfiguration; } set { this._jwtConfiguration = value; } } // Check to see if JwtConfiguration property is set internal bool IsSetJwtConfiguration() { return this._jwtConfiguration != null; } /// <summary> /// Gets and sets the property Name. /// <para> /// The name of the authorizer. /// </para> /// </summary> [AWSProperty(Required=true)] 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; } } }
297
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.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApiGatewayV2.Model { /// <summary> /// This is the response object from the CreateAuthorizer operation. /// </summary> public partial class CreateAuthorizerResponse : AmazonWebServiceResponse { private string _authorizerCredentialsArn; private string _authorizerId; private string _authorizerPayloadFormatVersion; private int? _authorizerResultTtlInSeconds; private AuthorizerType _authorizerType; private string _authorizerUri; private bool? _enableSimpleResponses; private List<string> _identitySource = new List<string>(); private string _identityValidationExpression; private JWTConfiguration _jwtConfiguration; private string _name; /// <summary> /// Gets and sets the property AuthorizerCredentialsArn. /// <para> /// Specifies the required credentials as an IAM role for API Gateway to invoke the authorizer. /// To specify an IAM role for API Gateway to assume, use the role's Amazon Resource Name /// (ARN). To use resource-based permissions on the Lambda function, don't specify this /// parameter. Supported only for REQUEST authorizers. /// </para> /// </summary> public string AuthorizerCredentialsArn { get { return this._authorizerCredentialsArn; } set { this._authorizerCredentialsArn = value; } } // Check to see if AuthorizerCredentialsArn property is set internal bool IsSetAuthorizerCredentialsArn() { return this._authorizerCredentialsArn != null; } /// <summary> /// Gets and sets the property AuthorizerId. /// <para> /// The authorizer identifier. /// </para> /// </summary> public string AuthorizerId { get { return this._authorizerId; } set { this._authorizerId = value; } } // Check to see if AuthorizerId property is set internal bool IsSetAuthorizerId() { return this._authorizerId != null; } /// <summary> /// Gets and sets the property AuthorizerPayloadFormatVersion. /// <para> /// Specifies the format of the payload sent to an HTTP API Lambda authorizer. Required /// for HTTP API Lambda authorizers. Supported values are 1.0 and 2.0. To learn more, /// see <a href="https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-lambda-authorizer.html">Working /// with AWS Lambda authorizers for HTTP APIs</a>. /// </para> /// </summary> public string AuthorizerPayloadFormatVersion { get { return this._authorizerPayloadFormatVersion; } set { this._authorizerPayloadFormatVersion = value; } } // Check to see if AuthorizerPayloadFormatVersion property is set internal bool IsSetAuthorizerPayloadFormatVersion() { return this._authorizerPayloadFormatVersion != null; } /// <summary> /// Gets and sets the property AuthorizerResultTtlInSeconds. /// <para> /// The time to live (TTL) for cached authorizer results, in seconds. If it equals 0, /// authorization caching is disabled. If it is greater than 0, API Gateway caches authorizer /// responses. The maximum value is 3600, or 1 hour. Supported only for HTTP API Lambda /// authorizers. /// </para> /// </summary> [AWSProperty(Min=0, Max=3600)] public int AuthorizerResultTtlInSeconds { get { return this._authorizerResultTtlInSeconds.GetValueOrDefault(); } set { this._authorizerResultTtlInSeconds = value; } } // Check to see if AuthorizerResultTtlInSeconds property is set internal bool IsSetAuthorizerResultTtlInSeconds() { return this._authorizerResultTtlInSeconds.HasValue; } /// <summary> /// Gets and sets the property AuthorizerType. /// <para> /// The authorizer type. Specify REQUEST for a Lambda function using incoming request /// parameters. Specify JWT to use JSON Web Tokens (supported only for HTTP APIs). /// </para> /// </summary> public AuthorizerType AuthorizerType { get { return this._authorizerType; } set { this._authorizerType = value; } } // Check to see if AuthorizerType property is set internal bool IsSetAuthorizerType() { return this._authorizerType != null; } /// <summary> /// Gets and sets the property AuthorizerUri. /// <para> /// The authorizer's Uniform Resource Identifier (URI). For REQUEST authorizers, this /// must be a well-formed Lambda function URI, for example, arn:aws:apigateway:us-west-2:lambda:path/2015-03-31/functions/arn:aws:lambda:us-west-2:<replaceable>{account_id}</replaceable>:function:<replaceable>{lambda_function_name}</replaceable>/invocations. /// In general, the URI has this form: arn:aws:apigateway:<replaceable>{region}</replaceable>:lambda:path/<replaceable>{service_api}</replaceable> /// , where <replaceable></replaceable>{region} is the same as the region /// hosting the Lambda function, path indicates that the remaining substring in the URI /// should be treated as the path to the resource, including the initial /. For Lambda /// functions, this is usually of the form /2015-03-31/functions/[FunctionARN]/invocations. /// Supported only for REQUEST authorizers. /// </para> /// </summary> public string AuthorizerUri { get { return this._authorizerUri; } set { this._authorizerUri = value; } } // Check to see if AuthorizerUri property is set internal bool IsSetAuthorizerUri() { return this._authorizerUri != null; } /// <summary> /// Gets and sets the property EnableSimpleResponses. /// <para> /// Specifies whether a Lambda authorizer returns a response in a simple format. If enabled, /// the Lambda authorizer can return a boolean value instead of an IAM policy. Supported /// only for HTTP APIs. To learn more, see <a href="https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-lambda-authorizer.html">Working /// with AWS Lambda authorizers for HTTP APIs</a> /// </para> /// </summary> public bool EnableSimpleResponses { get { return this._enableSimpleResponses.GetValueOrDefault(); } set { this._enableSimpleResponses = value; } } // Check to see if EnableSimpleResponses property is set internal bool IsSetEnableSimpleResponses() { return this._enableSimpleResponses.HasValue; } /// <summary> /// Gets and sets the property IdentitySource. /// <para> /// The identity source for which authorization is requested. /// </para> /// /// <para> /// For a REQUEST authorizer, this is optional. The value is a set of one or more mapping /// expressions of the specified request parameters. The identity source can be headers, /// query string parameters, stage variables, and context parameters. For example, if /// an Auth header and a Name query string parameter are defined as identity sources, /// this value is route.request.header.Auth, route.request.querystring.Name for WebSocket /// APIs. For HTTP APIs, use selection expressions prefixed with $, for example, $request.header.Auth, /// $request.querystring.Name. These parameters are used to perform runtime validation /// for Lambda-based authorizers by verifying all of the identity-related request parameters /// are present in the request, not null, and non-empty. Only when this is true does the /// authorizer invoke the authorizer Lambda function. Otherwise, it returns a 401 Unauthorized /// response without calling the Lambda function. For HTTP APIs, identity sources are /// also used as the cache key when caching is enabled. To learn more, see <a href="https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-lambda-authorizer.html">Working /// with AWS Lambda authorizers for HTTP APIs</a>. /// </para> /// /// <para> /// For JWT, a single entry that specifies where to extract the JSON Web Token (JWT) from /// inbound requests. Currently only header-based and query parameter-based selections /// are supported, for example $request.header.Authorization. /// </para> /// </summary> public List<string> IdentitySource { get { return this._identitySource; } set { this._identitySource = value; } } // Check to see if IdentitySource property is set internal bool IsSetIdentitySource() { return this._identitySource != null && this._identitySource.Count > 0; } /// <summary> /// Gets and sets the property IdentityValidationExpression. /// <para> /// The validation expression does not apply to the REQUEST authorizer. /// </para> /// </summary> public string IdentityValidationExpression { get { return this._identityValidationExpression; } set { this._identityValidationExpression = value; } } // Check to see if IdentityValidationExpression property is set internal bool IsSetIdentityValidationExpression() { return this._identityValidationExpression != null; } /// <summary> /// Gets and sets the property JwtConfiguration. /// <para> /// Represents the configuration of a JWT authorizer. Required for the JWT authorizer /// type. Supported only for HTTP APIs. /// </para> /// </summary> public JWTConfiguration JwtConfiguration { get { return this._jwtConfiguration; } set { this._jwtConfiguration = value; } } // Check to see if JwtConfiguration property is set internal bool IsSetJwtConfiguration() { return this._jwtConfiguration != null; } /// <summary> /// Gets and sets the property Name. /// <para> /// The name of the authorizer. /// </para> /// </summary> 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; } } }
291
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.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApiGatewayV2.Model { /// <summary> /// Container for the parameters to the CreateDeployment operation. /// Creates a Deployment for an API. /// </summary> public partial class CreateDeploymentRequest : AmazonApiGatewayV2Request { private string _apiId; private string _description; private string _stageName; /// <summary> /// Gets and sets the property ApiId. /// <para> /// The API identifier. /// </para> /// </summary> [AWSProperty(Required=true)] public string ApiId { get { return this._apiId; } set { this._apiId = value; } } // Check to see if ApiId property is set internal bool IsSetApiId() { return this._apiId != null; } /// <summary> /// Gets and sets the property Description. /// <para> /// The description for the deployment resource. /// </para> /// </summary> 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 StageName. /// <para> /// The name of the Stage resource for the Deployment resource to create. /// </para> /// </summary> public string StageName { get { return this._stageName; } set { this._stageName = value; } } // Check to see if StageName property is set internal bool IsSetStageName() { return this._stageName != 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 apigatewayv2-2018-11-29.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApiGatewayV2.Model { /// <summary> /// This is the response object from the CreateDeployment operation. /// </summary> public partial class CreateDeploymentResponse : AmazonWebServiceResponse { private bool? _autoDeployed; private DateTime? _createdDate; private string _deploymentId; private DeploymentStatus _deploymentStatus; private string _deploymentStatusMessage; private string _description; /// <summary> /// Gets and sets the property AutoDeployed. /// <para> /// Specifies whether a deployment was automatically released. /// </para> /// </summary> public bool AutoDeployed { get { return this._autoDeployed.GetValueOrDefault(); } set { this._autoDeployed = value; } } // Check to see if AutoDeployed property is set internal bool IsSetAutoDeployed() { return this._autoDeployed.HasValue; } /// <summary> /// Gets and sets the property CreatedDate. /// <para> /// The date and time when the Deployment resource was created. /// </para> /// </summary> public DateTime CreatedDate { get { return this._createdDate.GetValueOrDefault(); } set { this._createdDate = value; } } // Check to see if CreatedDate property is set internal bool IsSetCreatedDate() { return this._createdDate.HasValue; } /// <summary> /// Gets and sets the property DeploymentId. /// <para> /// The identifier for the deployment. /// </para> /// </summary> public string DeploymentId { get { return this._deploymentId; } set { this._deploymentId = value; } } // Check to see if DeploymentId property is set internal bool IsSetDeploymentId() { return this._deploymentId != null; } /// <summary> /// Gets and sets the property DeploymentStatus. /// <para> /// The status of the deployment: PENDING, FAILED, or SUCCEEDED. /// </para> /// </summary> public DeploymentStatus DeploymentStatus { get { return this._deploymentStatus; } set { this._deploymentStatus = value; } } // Check to see if DeploymentStatus property is set internal bool IsSetDeploymentStatus() { return this._deploymentStatus != null; } /// <summary> /// Gets and sets the property DeploymentStatusMessage. /// <para> /// May contain additional feedback on the status of an API deployment. /// </para> /// </summary> public string DeploymentStatusMessage { get { return this._deploymentStatusMessage; } set { this._deploymentStatusMessage = value; } } // Check to see if DeploymentStatusMessage property is set internal bool IsSetDeploymentStatusMessage() { return this._deploymentStatusMessage != null; } /// <summary> /// Gets and sets the property Description. /// <para> /// The description for the deployment. /// </para> /// </summary> 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; } } }
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.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApiGatewayV2.Model { /// <summary> /// Container for the parameters to the CreateDomainName operation. /// Creates a domain name. /// </summary> public partial class CreateDomainNameRequest : AmazonApiGatewayV2Request { private string _domainName; private List<DomainNameConfiguration> _domainNameConfigurations = new List<DomainNameConfiguration>(); private MutualTlsAuthenticationInput _mutualTlsAuthentication; private Dictionary<string, string> _tags = new Dictionary<string, string>(); /// <summary> /// Gets and sets the property DomainName. /// <para> /// The domain name. /// </para> /// </summary> [AWSProperty(Required=true)] public string DomainName { get { return this._domainName; } set { this._domainName = value; } } // Check to see if DomainName property is set internal bool IsSetDomainName() { return this._domainName != null; } /// <summary> /// Gets and sets the property DomainNameConfigurations. /// <para> /// The domain name configurations. /// </para> /// </summary> public List<DomainNameConfiguration> DomainNameConfigurations { get { return this._domainNameConfigurations; } set { this._domainNameConfigurations = value; } } // Check to see if DomainNameConfigurations property is set internal bool IsSetDomainNameConfigurations() { return this._domainNameConfigurations != null && this._domainNameConfigurations.Count > 0; } /// <summary> /// Gets and sets the property MutualTlsAuthentication. /// <para> /// The mutual TLS authentication configuration for a custom domain name. /// </para> /// </summary> public MutualTlsAuthenticationInput MutualTlsAuthentication { get { return this._mutualTlsAuthentication; } set { this._mutualTlsAuthentication = value; } } // Check to see if MutualTlsAuthentication property is set internal bool IsSetMutualTlsAuthentication() { return this._mutualTlsAuthentication != null; } /// <summary> /// Gets and sets the property Tags. /// <para> /// The collection of tags associated with a domain name. /// </para> /// </summary> 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; } } }
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.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApiGatewayV2.Model { /// <summary> /// This is the response object from the CreateDomainName operation. /// </summary> public partial class CreateDomainNameResponse : AmazonWebServiceResponse { private string _apiMappingSelectionExpression; private string _domainName; private List<DomainNameConfiguration> _domainNameConfigurations = new List<DomainNameConfiguration>(); private MutualTlsAuthentication _mutualTlsAuthentication; private Dictionary<string, string> _tags = new Dictionary<string, string>(); /// <summary> /// Gets and sets the property ApiMappingSelectionExpression. /// <para> /// The API mapping selection expression. /// </para> /// </summary> public string ApiMappingSelectionExpression { get { return this._apiMappingSelectionExpression; } set { this._apiMappingSelectionExpression = value; } } // Check to see if ApiMappingSelectionExpression property is set internal bool IsSetApiMappingSelectionExpression() { return this._apiMappingSelectionExpression != null; } /// <summary> /// Gets and sets the property DomainName. /// <para> /// The name of the DomainName resource. /// </para> /// </summary> public string DomainName { get { return this._domainName; } set { this._domainName = value; } } // Check to see if DomainName property is set internal bool IsSetDomainName() { return this._domainName != null; } /// <summary> /// Gets and sets the property DomainNameConfigurations. /// <para> /// The domain name configurations. /// </para> /// </summary> public List<DomainNameConfiguration> DomainNameConfigurations { get { return this._domainNameConfigurations; } set { this._domainNameConfigurations = value; } } // Check to see if DomainNameConfigurations property is set internal bool IsSetDomainNameConfigurations() { return this._domainNameConfigurations != null && this._domainNameConfigurations.Count > 0; } /// <summary> /// Gets and sets the property MutualTlsAuthentication. /// <para> /// The mutual TLS authentication configuration for a custom domain name. /// </para> /// </summary> public MutualTlsAuthentication MutualTlsAuthentication { get { return this._mutualTlsAuthentication; } set { this._mutualTlsAuthentication = value; } } // Check to see if MutualTlsAuthentication property is set internal bool IsSetMutualTlsAuthentication() { return this._mutualTlsAuthentication != null; } /// <summary> /// Gets and sets the property Tags. /// <para> /// The collection of tags associated with a domain name. /// </para> /// </summary> 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; } } }
133
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.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApiGatewayV2.Model { /// <summary> /// Container for the parameters to the CreateIntegration operation. /// Creates an Integration. /// </summary> public partial class CreateIntegrationRequest : AmazonApiGatewayV2Request { private string _apiId; private string _connectionId; private ConnectionType _connectionType; private ContentHandlingStrategy _contentHandlingStrategy; private string _credentialsArn; private string _description; private string _integrationMethod; private string _integrationSubtype; private IntegrationType _integrationType; private string _integrationUri; private PassthroughBehavior _passthroughBehavior; private string _payloadFormatVersion; private Dictionary<string, string> _requestParameters = new Dictionary<string, string>(); private Dictionary<string, string> _requestTemplates = new Dictionary<string, string>(); private Dictionary<string, Dictionary<string, string>> _responseParameters = new Dictionary<string, Dictionary<string, string>>(); private string _templateSelectionExpression; private int? _timeoutInMillis; private TlsConfigInput _tlsConfig; /// <summary> /// Gets and sets the property ApiId. /// <para> /// The API identifier. /// </para> /// </summary> [AWSProperty(Required=true)] public string ApiId { get { return this._apiId; } set { this._apiId = value; } } // Check to see if ApiId property is set internal bool IsSetApiId() { return this._apiId != null; } /// <summary> /// Gets and sets the property ConnectionId. /// <para> /// The ID of the VPC link for a private integration. Supported only for HTTP APIs. /// </para> /// </summary> public string ConnectionId { get { return this._connectionId; } set { this._connectionId = value; } } // Check to see if ConnectionId property is set internal bool IsSetConnectionId() { return this._connectionId != null; } /// <summary> /// Gets and sets the property ConnectionType. /// <para> /// The type of the network connection to the integration endpoint. Specify INTERNET for /// connections through the public routable internet or VPC_LINK for private connections /// between API Gateway and resources in a VPC. The default value is INTERNET. /// </para> /// </summary> public ConnectionType ConnectionType { get { return this._connectionType; } set { this._connectionType = value; } } // Check to see if ConnectionType property is set internal bool IsSetConnectionType() { return this._connectionType != null; } /// <summary> /// Gets and sets the property ContentHandlingStrategy. /// <para> /// Supported only for WebSocket APIs. Specifies how to handle response payload content /// type conversions. Supported values are CONVERT_TO_BINARY and CONVERT_TO_TEXT, with /// the following behaviors: /// </para> /// /// <para> /// CONVERT_TO_BINARY: Converts a response payload from a Base64-encoded string to the /// corresponding binary blob. /// </para> /// /// <para> /// CONVERT_TO_TEXT: Converts a response payload from a binary blob to a Base64-encoded /// string. /// </para> /// /// <para> /// If this property is not defined, the response payload will be passed through from /// the integration response to the route response or method response without modification. /// </para> /// </summary> public ContentHandlingStrategy ContentHandlingStrategy { get { return this._contentHandlingStrategy; } set { this._contentHandlingStrategy = value; } } // Check to see if ContentHandlingStrategy property is set internal bool IsSetContentHandlingStrategy() { return this._contentHandlingStrategy != null; } /// <summary> /// Gets and sets the property CredentialsArn. /// <para> /// Specifies the credentials required for the integration, if any. For AWS integrations, /// three options are available. To specify an IAM Role for API Gateway to assume, use /// the role's Amazon Resource Name (ARN). To require that the caller's identity be passed /// through from the request, specify the string arn:aws:iam::*:user/*. To use resource-based /// permissions on supported AWS services, specify null. /// </para> /// </summary> public string CredentialsArn { get { return this._credentialsArn; } set { this._credentialsArn = value; } } // Check to see if CredentialsArn property is set internal bool IsSetCredentialsArn() { return this._credentialsArn != null; } /// <summary> /// Gets and sets the property Description. /// <para> /// The description of the integration. /// </para> /// </summary> 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 IntegrationMethod. /// <para> /// Specifies the integration's HTTP method type. /// </para> /// </summary> public string IntegrationMethod { get { return this._integrationMethod; } set { this._integrationMethod = value; } } // Check to see if IntegrationMethod property is set internal bool IsSetIntegrationMethod() { return this._integrationMethod != null; } /// <summary> /// Gets and sets the property IntegrationSubtype. /// <para> /// Supported only for HTTP API AWS_PROXY integrations. Specifies the AWS service action /// to invoke. To learn more, see <a href="https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-integrations-aws-services-reference.html">Integration /// subtype reference</a>. /// </para> /// </summary> public string IntegrationSubtype { get { return this._integrationSubtype; } set { this._integrationSubtype = value; } } // Check to see if IntegrationSubtype property is set internal bool IsSetIntegrationSubtype() { return this._integrationSubtype != null; } /// <summary> /// Gets and sets the property IntegrationType. /// <para> /// The integration type of an integration. One of the following: /// </para> /// /// <para> /// AWS: for integrating the route or method request with an AWS service action, including /// the Lambda function-invoking action. With the Lambda function-invoking action, this /// is referred to as the Lambda custom integration. With any other AWS service action, /// this is known as AWS integration. Supported only for WebSocket APIs. /// </para> /// /// <para> /// AWS_PROXY: for integrating the route or method request with a Lambda function or other /// AWS service action. This integration is also referred to as a Lambda proxy integration. /// </para> /// /// <para> /// HTTP: for integrating the route or method request with an HTTP endpoint. This integration /// is also referred to as the HTTP custom integration. Supported only for WebSocket APIs. /// </para> /// /// <para> /// HTTP_PROXY: for integrating the route or method request with an HTTP endpoint, with /// the client request passed through as-is. This is also referred to as HTTP proxy integration. /// For HTTP API private integrations, use an HTTP_PROXY integration. /// </para> /// /// <para> /// MOCK: for integrating the route or method request with API Gateway as a "loopback" /// endpoint without invoking any backend. Supported only for WebSocket APIs. /// </para> /// </summary> [AWSProperty(Required=true)] public IntegrationType IntegrationType { get { return this._integrationType; } set { this._integrationType = value; } } // Check to see if IntegrationType property is set internal bool IsSetIntegrationType() { return this._integrationType != null; } /// <summary> /// Gets and sets the property IntegrationUri. /// <para> /// For a Lambda integration, specify the URI of a Lambda function. /// </para> /// /// <para> /// For an HTTP integration, specify a fully-qualified URL. /// </para> /// /// <para> /// For an HTTP API private integration, specify the ARN of an Application Load Balancer /// listener, Network Load Balancer listener, or AWS Cloud Map service. If you specify /// the ARN of an AWS Cloud Map service, API Gateway uses DiscoverInstances to identify /// resources. You can use query parameters to target specific resources. To learn more, /// see <a href="https://docs.aws.amazon.com/cloud-map/latest/api/API_DiscoverInstances.html">DiscoverInstances</a>. /// For private integrations, all resources must be owned by the same AWS account. /// </para> /// </summary> public string IntegrationUri { get { return this._integrationUri; } set { this._integrationUri = value; } } // Check to see if IntegrationUri property is set internal bool IsSetIntegrationUri() { return this._integrationUri != null; } /// <summary> /// Gets and sets the property PassthroughBehavior. /// <para> /// Specifies the pass-through behavior for incoming requests based on the Content-Type /// header in the request, and the available mapping templates specified as the requestTemplates /// property on the Integration resource. There are three valid values: WHEN_NO_MATCH, /// WHEN_NO_TEMPLATES, and NEVER. Supported only for WebSocket APIs. /// </para> /// /// <para> /// WHEN_NO_MATCH passes the request body for unmapped content types through to the integration /// backend without transformation. /// </para> /// /// <para> /// NEVER rejects unmapped content types with an HTTP 415 Unsupported Media Type response. /// </para> /// /// <para> /// WHEN_NO_TEMPLATES allows pass-through when the integration has no content types mapped /// to templates. However, if there is at least one content type defined, unmapped content /// types will be rejected with the same HTTP 415 Unsupported Media Type response. /// </para> /// </summary> public PassthroughBehavior PassthroughBehavior { get { return this._passthroughBehavior; } set { this._passthroughBehavior = value; } } // Check to see if PassthroughBehavior property is set internal bool IsSetPassthroughBehavior() { return this._passthroughBehavior != null; } /// <summary> /// Gets and sets the property PayloadFormatVersion. /// <para> /// Specifies the format of the payload sent to an integration. Required for HTTP APIs. /// </para> /// </summary> public string PayloadFormatVersion { get { return this._payloadFormatVersion; } set { this._payloadFormatVersion = value; } } // Check to see if PayloadFormatVersion property is set internal bool IsSetPayloadFormatVersion() { return this._payloadFormatVersion != null; } /// <summary> /// Gets and sets the property RequestParameters. /// <para> /// For WebSocket APIs, a key-value map specifying request parameters that are passed /// from the method request to the backend. The key is an integration request parameter /// name and the associated value is a method request parameter value or static value /// that must be enclosed within single quotes and pre-encoded as required by the backend. /// The method request parameter value must match the pattern of method.request.<replaceable>{location}</replaceable>.<replaceable>{name}</replaceable> /// , where <replaceable>{location}</replaceable> /// is querystring, path, or header; and <replaceable>{name}</replaceable> /// must be a valid and unique method request parameter name. /// </para> /// /// <para> /// For HTTP API integrations with a specified integrationSubtype, request parameters /// are a key-value map specifying parameters that are passed to AWS_PROXY integrations. /// You can provide static values, or map request data, stage variables, or context variables /// that are evaluated at runtime. To learn more, see <a href="https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-integrations-aws-services.html">Working /// with AWS service integrations for HTTP APIs</a>. /// </para> /// /// <para> /// For HTTP API integrations without a specified integrationSubtype request parameters /// are a key-value map specifying how to transform HTTP requests before sending them /// to the backend. The key should follow the pattern &lt;action&gt;:&lt;header|querystring|path&gt;.&lt;location&gt; /// where action can be append, overwrite or remove. For values, you can provide static /// values, or map request data, stage variables, or context variables that are evaluated /// at runtime. To learn more, see <a href="https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-parameter-mapping.html">Transforming /// API requests and responses</a>. /// </para> /// </summary> public Dictionary<string, string> RequestParameters { get { return this._requestParameters; } set { this._requestParameters = value; } } // Check to see if RequestParameters property is set internal bool IsSetRequestParameters() { return this._requestParameters != null && this._requestParameters.Count > 0; } /// <summary> /// Gets and sets the property RequestTemplates. /// <para> /// Represents a map of Velocity templates that are applied on the request payload based /// on the value of the Content-Type header sent by the client. The content type value /// is the key in this map, and the template (as a String) is the value. Supported only /// for WebSocket APIs. /// </para> /// </summary> public Dictionary<string, string> RequestTemplates { get { return this._requestTemplates; } set { this._requestTemplates = value; } } // Check to see if RequestTemplates property is set internal bool IsSetRequestTemplates() { return this._requestTemplates != null && this._requestTemplates.Count > 0; } /// <summary> /// Gets and sets the property ResponseParameters. /// <para> /// Supported only for HTTP APIs. You use response parameters to transform the HTTP response /// from a backend integration before returning the response to clients. Specify a key-value /// map from a selection key to response parameters. The selection key must be a valid /// HTTP status code within the range of 200-599. Response parameters are a key-value /// map. The key must match pattern &lt;action&gt;:&lt;header&gt;.&lt;location&gt; or /// overwrite.statuscode. The action can be append, overwrite or remove. The value can /// be a static value, or map to response data, stage variables, or context variables /// that are evaluated at runtime. To learn more, see <a href="https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-parameter-mapping.html">Transforming /// API requests and responses</a>. /// </para> /// </summary> public Dictionary<string, Dictionary<string, string>> ResponseParameters { get { return this._responseParameters; } set { this._responseParameters = value; } } // Check to see if ResponseParameters property is set internal bool IsSetResponseParameters() { return this._responseParameters != null && this._responseParameters.Count > 0; } /// <summary> /// Gets and sets the property TemplateSelectionExpression. /// <para> /// The template selection expression for the integration. /// </para> /// </summary> public string TemplateSelectionExpression { get { return this._templateSelectionExpression; } set { this._templateSelectionExpression = value; } } // Check to see if TemplateSelectionExpression property is set internal bool IsSetTemplateSelectionExpression() { return this._templateSelectionExpression != null; } /// <summary> /// Gets and sets the property TimeoutInMillis. /// <para> /// Custom timeout between 50 and 29,000 milliseconds for WebSocket APIs and between 50 /// and 30,000 milliseconds for HTTP APIs. The default timeout is 29 seconds for WebSocket /// APIs and 30 seconds for HTTP APIs. /// </para> /// </summary> [AWSProperty(Min=50, Max=30000)] public int TimeoutInMillis { get { return this._timeoutInMillis.GetValueOrDefault(); } set { this._timeoutInMillis = value; } } // Check to see if TimeoutInMillis property is set internal bool IsSetTimeoutInMillis() { return this._timeoutInMillis.HasValue; } /// <summary> /// Gets and sets the property TlsConfig. /// <para> /// The TLS configuration for a private integration. If you specify a TLS configuration, /// private integration traffic uses the HTTPS protocol. Supported only for HTTP APIs. /// </para> /// </summary> public TlsConfigInput TlsConfig { get { return this._tlsConfig; } set { this._tlsConfig = value; } } // Check to see if TlsConfig property is set internal bool IsSetTlsConfig() { return this._tlsConfig != null; } } }
507
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.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApiGatewayV2.Model { /// <summary> /// This is the response object from the CreateIntegration operation. /// </summary> public partial class CreateIntegrationResponse : AmazonWebServiceResponse { private bool? _apiGatewayManaged; private string _connectionId; private ConnectionType _connectionType; private ContentHandlingStrategy _contentHandlingStrategy; private string _credentialsArn; private string _description; private string _integrationId; private string _integrationMethod; private string _integrationResponseSelectionExpression; private string _integrationSubtype; private IntegrationType _integrationType; private string _integrationUri; private PassthroughBehavior _passthroughBehavior; private string _payloadFormatVersion; private Dictionary<string, string> _requestParameters = new Dictionary<string, string>(); private Dictionary<string, string> _requestTemplates = new Dictionary<string, string>(); private Dictionary<string, Dictionary<string, string>> _responseParameters = new Dictionary<string, Dictionary<string, string>>(); private string _templateSelectionExpression; private int? _timeoutInMillis; private TlsConfig _tlsConfig; /// <summary> /// Gets and sets the property ApiGatewayManaged. /// <para> /// Specifies whether an integration is managed by API Gateway. If you created an API /// using using quick create, the resulting integration is managed by API Gateway. You /// can update a managed integration, but you can't delete it. /// </para> /// </summary> public bool ApiGatewayManaged { get { return this._apiGatewayManaged.GetValueOrDefault(); } set { this._apiGatewayManaged = value; } } // Check to see if ApiGatewayManaged property is set internal bool IsSetApiGatewayManaged() { return this._apiGatewayManaged.HasValue; } /// <summary> /// Gets and sets the property ConnectionId. /// <para> /// The ID of the VPC link for a private integration. Supported only for HTTP APIs. /// </para> /// </summary> public string ConnectionId { get { return this._connectionId; } set { this._connectionId = value; } } // Check to see if ConnectionId property is set internal bool IsSetConnectionId() { return this._connectionId != null; } /// <summary> /// Gets and sets the property ConnectionType. /// <para> /// The type of the network connection to the integration endpoint. Specify INTERNET for /// connections through the public routable internet or VPC_LINK for private connections /// between API Gateway and resources in a VPC. The default value is INTERNET. /// </para> /// </summary> public ConnectionType ConnectionType { get { return this._connectionType; } set { this._connectionType = value; } } // Check to see if ConnectionType property is set internal bool IsSetConnectionType() { return this._connectionType != null; } /// <summary> /// Gets and sets the property ContentHandlingStrategy. /// <para> /// Supported only for WebSocket APIs. Specifies how to handle response payload content /// type conversions. Supported values are CONVERT_TO_BINARY and CONVERT_TO_TEXT, with /// the following behaviors: /// </para> /// /// <para> /// CONVERT_TO_BINARY: Converts a response payload from a Base64-encoded string to the /// corresponding binary blob. /// </para> /// /// <para> /// CONVERT_TO_TEXT: Converts a response payload from a binary blob to a Base64-encoded /// string. /// </para> /// /// <para> /// If this property is not defined, the response payload will be passed through from /// the integration response to the route response or method response without modification. /// </para> /// </summary> public ContentHandlingStrategy ContentHandlingStrategy { get { return this._contentHandlingStrategy; } set { this._contentHandlingStrategy = value; } } // Check to see if ContentHandlingStrategy property is set internal bool IsSetContentHandlingStrategy() { return this._contentHandlingStrategy != null; } /// <summary> /// Gets and sets the property CredentialsArn. /// <para> /// Specifies the credentials required for the integration, if any. For AWS integrations, /// three options are available. To specify an IAM Role for API Gateway to assume, use /// the role's Amazon Resource Name (ARN). To require that the caller's identity be passed /// through from the request, specify the string arn:aws:iam::*:user/*. To use resource-based /// permissions on supported AWS services, specify null. /// </para> /// </summary> public string CredentialsArn { get { return this._credentialsArn; } set { this._credentialsArn = value; } } // Check to see if CredentialsArn property is set internal bool IsSetCredentialsArn() { return this._credentialsArn != null; } /// <summary> /// Gets and sets the property Description. /// <para> /// Represents the description of an integration. /// </para> /// </summary> 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 IntegrationId. /// <para> /// Represents the identifier of an integration. /// </para> /// </summary> public string IntegrationId { get { return this._integrationId; } set { this._integrationId = value; } } // Check to see if IntegrationId property is set internal bool IsSetIntegrationId() { return this._integrationId != null; } /// <summary> /// Gets and sets the property IntegrationMethod. /// <para> /// Specifies the integration's HTTP method type. /// </para> /// </summary> public string IntegrationMethod { get { return this._integrationMethod; } set { this._integrationMethod = value; } } // Check to see if IntegrationMethod property is set internal bool IsSetIntegrationMethod() { return this._integrationMethod != null; } /// <summary> /// Gets and sets the property IntegrationResponseSelectionExpression. /// <para> /// The integration response selection expression for the integration. Supported only /// for WebSocket APIs. See <a href="https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-integration-response-selection-expressions">Integration /// Response Selection Expressions</a>. /// </para> /// </summary> public string IntegrationResponseSelectionExpression { get { return this._integrationResponseSelectionExpression; } set { this._integrationResponseSelectionExpression = value; } } // Check to see if IntegrationResponseSelectionExpression property is set internal bool IsSetIntegrationResponseSelectionExpression() { return this._integrationResponseSelectionExpression != null; } /// <summary> /// Gets and sets the property IntegrationSubtype. /// <para> /// Supported only for HTTP API AWS_PROXY integrations. Specifies the AWS service action /// to invoke. To learn more, see <a href="https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-integrations-aws-services-reference.html">Integration /// subtype reference</a>. /// </para> /// </summary> public string IntegrationSubtype { get { return this._integrationSubtype; } set { this._integrationSubtype = value; } } // Check to see if IntegrationSubtype property is set internal bool IsSetIntegrationSubtype() { return this._integrationSubtype != null; } /// <summary> /// Gets and sets the property IntegrationType. /// <para> /// The integration type of an integration. One of the following: /// </para> /// /// <para> /// AWS: for integrating the route or method request with an AWS service action, including /// the Lambda function-invoking action. With the Lambda function-invoking action, this /// is referred to as the Lambda custom integration. With any other AWS service action, /// this is known as AWS integration. Supported only for WebSocket APIs. /// </para> /// /// <para> /// AWS_PROXY: for integrating the route or method request with a Lambda function or other /// AWS service action. This integration is also referred to as a Lambda proxy integration. /// </para> /// /// <para> /// HTTP: for integrating the route or method request with an HTTP endpoint. This integration /// is also referred to as the HTTP custom integration. Supported only for WebSocket APIs. /// </para> /// /// <para> /// HTTP_PROXY: for integrating the route or method request with an HTTP endpoint, with /// the client request passed through as-is. This is also referred to as HTTP proxy integration. /// </para> /// /// <para> /// MOCK: for integrating the route or method request with API Gateway as a "loopback" /// endpoint without invoking any backend. Supported only for WebSocket APIs. /// </para> /// </summary> public IntegrationType IntegrationType { get { return this._integrationType; } set { this._integrationType = value; } } // Check to see if IntegrationType property is set internal bool IsSetIntegrationType() { return this._integrationType != null; } /// <summary> /// Gets and sets the property IntegrationUri. /// <para> /// For a Lambda integration, specify the URI of a Lambda function. /// </para> /// /// <para> /// For an HTTP integration, specify a fully-qualified URL. /// </para> /// /// <para> /// For an HTTP API private integration, specify the ARN of an Application Load Balancer /// listener, Network Load Balancer listener, or AWS Cloud Map service. If you specify /// the ARN of an AWS Cloud Map service, API Gateway uses DiscoverInstances to identify /// resources. You can use query parameters to target specific resources. To learn more, /// see <a href="https://docs.aws.amazon.com/cloud-map/latest/api/API_DiscoverInstances.html">DiscoverInstances</a>. /// For private integrations, all resources must be owned by the same AWS account. /// </para> /// </summary> public string IntegrationUri { get { return this._integrationUri; } set { this._integrationUri = value; } } // Check to see if IntegrationUri property is set internal bool IsSetIntegrationUri() { return this._integrationUri != null; } /// <summary> /// Gets and sets the property PassthroughBehavior. /// <para> /// Specifies the pass-through behavior for incoming requests based on the Content-Type /// header in the request, and the available mapping templates specified as the requestTemplates /// property on the Integration resource. There are three valid values: WHEN_NO_MATCH, /// WHEN_NO_TEMPLATES, and NEVER. Supported only for WebSocket APIs. /// </para> /// /// <para> /// WHEN_NO_MATCH passes the request body for unmapped content types through to the integration /// backend without transformation. /// </para> /// /// <para> /// NEVER rejects unmapped content types with an HTTP 415 Unsupported Media Type response. /// </para> /// /// <para> /// WHEN_NO_TEMPLATES allows pass-through when the integration has no content types mapped /// to templates. However, if there is at least one content type defined, unmapped content /// types will be rejected with the same HTTP 415 Unsupported Media Type response. /// </para> /// </summary> public PassthroughBehavior PassthroughBehavior { get { return this._passthroughBehavior; } set { this._passthroughBehavior = value; } } // Check to see if PassthroughBehavior property is set internal bool IsSetPassthroughBehavior() { return this._passthroughBehavior != null; } /// <summary> /// Gets and sets the property PayloadFormatVersion. /// <para> /// Specifies the format of the payload sent to an integration. Required for HTTP APIs. /// </para> /// </summary> public string PayloadFormatVersion { get { return this._payloadFormatVersion; } set { this._payloadFormatVersion = value; } } // Check to see if PayloadFormatVersion property is set internal bool IsSetPayloadFormatVersion() { return this._payloadFormatVersion != null; } /// <summary> /// Gets and sets the property RequestParameters. /// <para> /// For WebSocket APIs, a key-value map specifying request parameters that are passed /// from the method request to the backend. The key is an integration request parameter /// name and the associated value is a method request parameter value or static value /// that must be enclosed within single quotes and pre-encoded as required by the backend. /// The method request parameter value must match the pattern of method.request.<replaceable>{location}</replaceable>.<replaceable>{name}</replaceable> /// , where <replaceable>{location}</replaceable> is querystring, /// path, or header; and <replaceable>{name}</replaceable> must /// be a valid and unique method request parameter name. /// </para> /// /// <para> /// For HTTP API integrations with a specified integrationSubtype, request parameters /// are a key-value map specifying parameters that are passed to AWS_PROXY integrations. /// You can provide static values, or map request data, stage variables, or context variables /// that are evaluated at runtime. To learn more, see <a href="https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-integrations-aws-services.html">Working /// with AWS service integrations for HTTP APIs</a>. /// </para> /// /// <para> /// For HTTP API itegrations, without a specified integrationSubtype request parameters /// are a key-value map specifying how to transform HTTP requests before sending them /// to backend integrations. The key should follow the pattern &lt;action&gt;:&lt;header|querystring|path&gt;.&lt;location&gt;. /// The action can be append, overwrite or remove. For values, you can provide static /// values, or map request data, stage variables, or context variables that are evaluated /// at runtime. To learn more, see <a href="https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-parameter-mapping.html">Transforming /// API requests and responses</a>. /// </para> /// </summary> public Dictionary<string, string> RequestParameters { get { return this._requestParameters; } set { this._requestParameters = value; } } // Check to see if RequestParameters property is set internal bool IsSetRequestParameters() { return this._requestParameters != null && this._requestParameters.Count > 0; } /// <summary> /// Gets and sets the property RequestTemplates. /// <para> /// Represents a map of Velocity templates that are applied on the request payload based /// on the value of the Content-Type header sent by the client. The content type value /// is the key in this map, and the template (as a String) is the value. Supported only /// for WebSocket APIs. /// </para> /// </summary> public Dictionary<string, string> RequestTemplates { get { return this._requestTemplates; } set { this._requestTemplates = value; } } // Check to see if RequestTemplates property is set internal bool IsSetRequestTemplates() { return this._requestTemplates != null && this._requestTemplates.Count > 0; } /// <summary> /// Gets and sets the property ResponseParameters. /// <para> /// Supported only for HTTP APIs. You use response parameters to transform the HTTP response /// from a backend integration before returning the response to clients. Specify a key-value /// map from a selection key to response parameters. The selection key must be a valid /// HTTP status code within the range of 200-599. Response parameters are a key-value /// map. The key must match pattern &lt;action&gt;:&lt;header&gt;.&lt;location&gt; or /// overwrite.statuscode. The action can be append, overwrite or remove. The value can /// be a static value, or map to response data, stage variables, or context variables /// that are evaluated at runtime. To learn more, see <a href="https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-parameter-mapping.html">Transforming /// API requests and responses</a>. /// </para> /// </summary> public Dictionary<string, Dictionary<string, string>> ResponseParameters { get { return this._responseParameters; } set { this._responseParameters = value; } } // Check to see if ResponseParameters property is set internal bool IsSetResponseParameters() { return this._responseParameters != null && this._responseParameters.Count > 0; } /// <summary> /// Gets and sets the property TemplateSelectionExpression. /// <para> /// The template selection expression for the integration. Supported only for WebSocket /// APIs. /// </para> /// </summary> public string TemplateSelectionExpression { get { return this._templateSelectionExpression; } set { this._templateSelectionExpression = value; } } // Check to see if TemplateSelectionExpression property is set internal bool IsSetTemplateSelectionExpression() { return this._templateSelectionExpression != null; } /// <summary> /// Gets and sets the property TimeoutInMillis. /// <para> /// Custom timeout between 50 and 29,000 milliseconds for WebSocket APIs and between 50 /// and 30,000 milliseconds for HTTP APIs. The default timeout is 29 seconds for WebSocket /// APIs and 30 seconds for HTTP APIs. /// </para> /// </summary> [AWSProperty(Min=50, Max=30000)] public int TimeoutInMillis { get { return this._timeoutInMillis.GetValueOrDefault(); } set { this._timeoutInMillis = value; } } // Check to see if TimeoutInMillis property is set internal bool IsSetTimeoutInMillis() { return this._timeoutInMillis.HasValue; } /// <summary> /// Gets and sets the property TlsConfig. /// <para> /// The TLS configuration for a private integration. If you specify a TLS configuration, /// private integration traffic uses the HTTPS protocol. Supported only for HTTP APIs. /// </para> /// </summary> public TlsConfig TlsConfig { get { return this._tlsConfig; } set { this._tlsConfig = value; } } // Check to see if TlsConfig property is set internal bool IsSetTlsConfig() { return this._tlsConfig != null; } } }
546
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.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApiGatewayV2.Model { /// <summary> /// Container for the parameters to the CreateIntegrationResponse operation. /// Creates an IntegrationResponses. /// </summary> public partial class CreateIntegrationResponseRequest : AmazonApiGatewayV2Request { private string _apiId; private ContentHandlingStrategy _contentHandlingStrategy; private string _integrationId; private string _integrationResponseKey; private Dictionary<string, string> _responseParameters = new Dictionary<string, string>(); private Dictionary<string, string> _responseTemplates = new Dictionary<string, string>(); private string _templateSelectionExpression; /// <summary> /// Gets and sets the property ApiId. /// <para> /// The API identifier. /// </para> /// </summary> [AWSProperty(Required=true)] public string ApiId { get { return this._apiId; } set { this._apiId = value; } } // Check to see if ApiId property is set internal bool IsSetApiId() { return this._apiId != null; } /// <summary> /// Gets and sets the property ContentHandlingStrategy. /// <para> /// Specifies how to handle response payload content type conversions. Supported values /// are CONVERT_TO_BINARY and CONVERT_TO_TEXT, with the following behaviors: /// </para> /// /// <para> /// CONVERT_TO_BINARY: Converts a response payload from a Base64-encoded string to the /// corresponding binary blob. /// </para> /// /// <para> /// CONVERT_TO_TEXT: Converts a response payload from a binary blob to a Base64-encoded /// string. /// </para> /// /// <para> /// If this property is not defined, the response payload will be passed through from /// the integration response to the route response or method response without modification. /// </para> /// </summary> public ContentHandlingStrategy ContentHandlingStrategy { get { return this._contentHandlingStrategy; } set { this._contentHandlingStrategy = value; } } // Check to see if ContentHandlingStrategy property is set internal bool IsSetContentHandlingStrategy() { return this._contentHandlingStrategy != null; } /// <summary> /// Gets and sets the property IntegrationId. /// <para> /// The integration ID. /// </para> /// </summary> [AWSProperty(Required=true)] public string IntegrationId { get { return this._integrationId; } set { this._integrationId = value; } } // Check to see if IntegrationId property is set internal bool IsSetIntegrationId() { return this._integrationId != null; } /// <summary> /// Gets and sets the property IntegrationResponseKey. /// <para> /// The integration response key. /// </para> /// </summary> [AWSProperty(Required=true)] public string IntegrationResponseKey { get { return this._integrationResponseKey; } set { this._integrationResponseKey = value; } } // Check to see if IntegrationResponseKey property is set internal bool IsSetIntegrationResponseKey() { return this._integrationResponseKey != null; } /// <summary> /// Gets and sets the property ResponseParameters. /// <para> /// A key-value map specifying response parameters that are passed to the method response /// from the backend. The key is a method response header parameter name and the mapped /// value is an integration response header value, a static value enclosed within a pair /// of single quotes, or a JSON expression from the integration response body. The mapping /// key must match the pattern of method.response.header.{name}, where {name} is a valid /// and unique header name. The mapped non-static value must match the pattern of integration.response.header.{name} /// or integration.response.body.{JSON-expression}, where {name} is a valid and unique /// response header name and {JSON-expression} is a valid JSON expression without the /// $ prefix. /// </para> /// </summary> public Dictionary<string, string> ResponseParameters { get { return this._responseParameters; } set { this._responseParameters = value; } } // Check to see if ResponseParameters property is set internal bool IsSetResponseParameters() { return this._responseParameters != null && this._responseParameters.Count > 0; } /// <summary> /// Gets and sets the property ResponseTemplates. /// <para> /// The collection of response templates for the integration response as a string-to-string /// map of key-value pairs. Response templates are represented as a key/value map, with /// a content-type as the key and a template as the value. /// </para> /// </summary> public Dictionary<string, string> ResponseTemplates { get { return this._responseTemplates; } set { this._responseTemplates = value; } } // Check to see if ResponseTemplates property is set internal bool IsSetResponseTemplates() { return this._responseTemplates != null && this._responseTemplates.Count > 0; } /// <summary> /// Gets and sets the property TemplateSelectionExpression. /// <para> /// The template selection expression for the integration response. Supported only for /// WebSocket APIs. /// </para> /// </summary> public string TemplateSelectionExpression { get { return this._templateSelectionExpression; } set { this._templateSelectionExpression = value; } } // Check to see if TemplateSelectionExpression property is set internal bool IsSetTemplateSelectionExpression() { return this._templateSelectionExpression != null; } } }
202
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the apigatewayv2-2018-11-29.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApiGatewayV2.Model { /// <summary> /// This is the response object from the CreateIntegrationResponse operation. /// </summary> public partial class CreateIntegrationResponseResponse : AmazonWebServiceResponse { private ContentHandlingStrategy _contentHandlingStrategy; private string _integrationResponseId; private string _integrationResponseKey; private Dictionary<string, string> _responseParameters = new Dictionary<string, string>(); private Dictionary<string, string> _responseTemplates = new Dictionary<string, string>(); private string _templateSelectionExpression; /// <summary> /// Gets and sets the property ContentHandlingStrategy. /// <para> /// Supported only for WebSocket APIs. Specifies how to handle response payload content /// type conversions. Supported values are CONVERT_TO_BINARY and CONVERT_TO_TEXT, with /// the following behaviors: /// </para> /// /// <para> /// CONVERT_TO_BINARY: Converts a response payload from a Base64-encoded string to the /// corresponding binary blob. /// </para> /// /// <para> /// CONVERT_TO_TEXT: Converts a response payload from a binary blob to a Base64-encoded /// string. /// </para> /// /// <para> /// If this property is not defined, the response payload will be passed through from /// the integration response to the route response or method response without modification. /// </para> /// </summary> public ContentHandlingStrategy ContentHandlingStrategy { get { return this._contentHandlingStrategy; } set { this._contentHandlingStrategy = value; } } // Check to see if ContentHandlingStrategy property is set internal bool IsSetContentHandlingStrategy() { return this._contentHandlingStrategy != null; } /// <summary> /// Gets and sets the property IntegrationResponseId. /// <para> /// The integration response ID. /// </para> /// </summary> public string IntegrationResponseId { get { return this._integrationResponseId; } set { this._integrationResponseId = value; } } // Check to see if IntegrationResponseId property is set internal bool IsSetIntegrationResponseId() { return this._integrationResponseId != null; } /// <summary> /// Gets and sets the property IntegrationResponseKey. /// <para> /// The integration response key. /// </para> /// </summary> public string IntegrationResponseKey { get { return this._integrationResponseKey; } set { this._integrationResponseKey = value; } } // Check to see if IntegrationResponseKey property is set internal bool IsSetIntegrationResponseKey() { return this._integrationResponseKey != null; } /// <summary> /// Gets and sets the property ResponseParameters. /// <para> /// A key-value map specifying response parameters that are passed to the method response /// from the backend. The key is a method response header parameter name and the mapped /// value is an integration response header value, a static value enclosed within a pair /// of single quotes, or a JSON expression from the integration response body. The mapping /// key must match the pattern of method.response.header.{name}, where name is a valid /// and unique header name. The mapped non-static value must match the pattern of integration.response.header.{name} /// or integration.response.body.{JSON-expression}, where name is a valid and unique response /// header name and JSON-expression is a valid JSON expression without the $ prefix. /// </para> /// </summary> public Dictionary<string, string> ResponseParameters { get { return this._responseParameters; } set { this._responseParameters = value; } } // Check to see if ResponseParameters property is set internal bool IsSetResponseParameters() { return this._responseParameters != null && this._responseParameters.Count > 0; } /// <summary> /// Gets and sets the property ResponseTemplates. /// <para> /// The collection of response templates for the integration response as a string-to-string /// map of key-value pairs. Response templates are represented as a key/value map, with /// a content-type as the key and a template as the value. /// </para> /// </summary> public Dictionary<string, string> ResponseTemplates { get { return this._responseTemplates; } set { this._responseTemplates = value; } } // Check to see if ResponseTemplates property is set internal bool IsSetResponseTemplates() { return this._responseTemplates != null && this._responseTemplates.Count > 0; } /// <summary> /// Gets and sets the property TemplateSelectionExpression. /// <para> /// The template selection expressions for the integration response. /// </para> /// </summary> public string TemplateSelectionExpression { get { return this._templateSelectionExpression; } set { this._templateSelectionExpression = value; } } // Check to see if TemplateSelectionExpression property is set internal bool IsSetTemplateSelectionExpression() { return this._templateSelectionExpression != 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 apigatewayv2-2018-11-29.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApiGatewayV2.Model { /// <summary> /// Container for the parameters to the CreateModel operation. /// Creates a Model for an API. /// </summary> public partial class CreateModelRequest : AmazonApiGatewayV2Request { private string _apiId; private string _contentType; private string _description; private string _name; private string _schema; /// <summary> /// Gets and sets the property ApiId. /// <para> /// The API identifier. /// </para> /// </summary> [AWSProperty(Required=true)] public string ApiId { get { return this._apiId; } set { this._apiId = value; } } // Check to see if ApiId property is set internal bool IsSetApiId() { return this._apiId != null; } /// <summary> /// Gets and sets the property ContentType. /// <para> /// The content-type for the model, for example, "application/json". /// </para> /// </summary> public string ContentType { get { return this._contentType; } set { this._contentType = value; } } // Check to see if ContentType property is set internal bool IsSetContentType() { return this._contentType != null; } /// <summary> /// Gets and sets the property Description. /// <para> /// The description of the model. /// </para> /// </summary> 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 name of the model. Must be alphanumeric. /// </para> /// </summary> [AWSProperty(Required=true)] 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 Schema. /// <para> /// The schema for the model. For application/json models, this should be JSON schema /// draft 4 model. /// </para> /// </summary> [AWSProperty(Required=true)] public string Schema { get { return this._schema; } set { this._schema = value; } } // Check to see if Schema property is set internal bool IsSetSchema() { return this._schema != null; } } }
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.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApiGatewayV2.Model { /// <summary> /// This is the response object from the CreateModel operation. /// </summary> public partial class CreateModelResponse : AmazonWebServiceResponse { private string _contentType; private string _description; private string _modelId; private string _name; private string _schema; /// <summary> /// Gets and sets the property ContentType. /// <para> /// The content-type for the model, for example, "application/json". /// </para> /// </summary> public string ContentType { get { return this._contentType; } set { this._contentType = value; } } // Check to see if ContentType property is set internal bool IsSetContentType() { return this._contentType != null; } /// <summary> /// Gets and sets the property Description. /// <para> /// The description of the model. /// </para> /// </summary> 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 ModelId. /// <para> /// The model identifier. /// </para> /// </summary> public string ModelId { get { return this._modelId; } set { this._modelId = value; } } // Check to see if ModelId property is set internal bool IsSetModelId() { return this._modelId != null; } /// <summary> /// Gets and sets the property Name. /// <para> /// The name of the model. Must be alphanumeric. /// </para> /// </summary> 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 Schema. /// <para> /// The schema for the model. For application/json models, this should be JSON schema /// draft 4 model. /// </para> /// </summary> public string Schema { get { return this._schema; } set { this._schema = value; } } // Check to see if Schema property is set internal bool IsSetSchema() { return this._schema != null; } } }
134
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the apigatewayv2-2018-11-29.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApiGatewayV2.Model { /// <summary> /// Container for the parameters to the CreateRoute operation. /// Creates a Route for an API. /// </summary> public partial class CreateRouteRequest : AmazonApiGatewayV2Request { private string _apiId; private bool? _apiKeyRequired; private List<string> _authorizationScopes = new List<string>(); private AuthorizationType _authorizationType; private string _authorizerId; private string _modelSelectionExpression; private string _operationName; private Dictionary<string, string> _requestModels = new Dictionary<string, string>(); private Dictionary<string, ParameterConstraints> _requestParameters = new Dictionary<string, ParameterConstraints>(); private string _routeKey; private string _routeResponseSelectionExpression; private string _target; /// <summary> /// Gets and sets the property ApiId. /// <para> /// The API identifier. /// </para> /// </summary> [AWSProperty(Required=true)] public string ApiId { get { return this._apiId; } set { this._apiId = value; } } // Check to see if ApiId property is set internal bool IsSetApiId() { return this._apiId != null; } /// <summary> /// Gets and sets the property ApiKeyRequired. /// <para> /// Specifies whether an API key is required for the route. Supported only for WebSocket /// APIs. /// </para> /// </summary> public bool ApiKeyRequired { get { return this._apiKeyRequired.GetValueOrDefault(); } set { this._apiKeyRequired = value; } } // Check to see if ApiKeyRequired property is set internal bool IsSetApiKeyRequired() { return this._apiKeyRequired.HasValue; } /// <summary> /// Gets and sets the property AuthorizationScopes. /// <para> /// The authorization scopes supported by this route. /// </para> /// </summary> public List<string> AuthorizationScopes { get { return this._authorizationScopes; } set { this._authorizationScopes = value; } } // Check to see if AuthorizationScopes property is set internal bool IsSetAuthorizationScopes() { return this._authorizationScopes != null && this._authorizationScopes.Count > 0; } /// <summary> /// Gets and sets the property AuthorizationType. /// <para> /// The authorization type for the route. For WebSocket APIs, valid values are NONE for /// open access, AWS_IAM for using AWS IAM permissions, and CUSTOM for using a Lambda /// authorizer For HTTP APIs, valid values are NONE for open access, JWT for using JSON /// Web Tokens, AWS_IAM for using AWS IAM permissions, and CUSTOM for using a Lambda authorizer. /// </para> /// </summary> public AuthorizationType AuthorizationType { get { return this._authorizationType; } set { this._authorizationType = value; } } // Check to see if AuthorizationType property is set internal bool IsSetAuthorizationType() { return this._authorizationType != null; } /// <summary> /// Gets and sets the property AuthorizerId. /// <para> /// The identifier of the Authorizer resource to be associated with this route. The authorizer /// identifier is generated by API Gateway when you created the authorizer. /// </para> /// </summary> public string AuthorizerId { get { return this._authorizerId; } set { this._authorizerId = value; } } // Check to see if AuthorizerId property is set internal bool IsSetAuthorizerId() { return this._authorizerId != null; } /// <summary> /// Gets and sets the property ModelSelectionExpression. /// <para> /// The model selection expression for the route. Supported only for WebSocket APIs. /// </para> /// </summary> public string ModelSelectionExpression { get { return this._modelSelectionExpression; } set { this._modelSelectionExpression = value; } } // Check to see if ModelSelectionExpression property is set internal bool IsSetModelSelectionExpression() { return this._modelSelectionExpression != null; } /// <summary> /// Gets and sets the property OperationName. /// <para> /// The operation name for the route. /// </para> /// </summary> public string OperationName { get { return this._operationName; } set { this._operationName = value; } } // Check to see if OperationName property is set internal bool IsSetOperationName() { return this._operationName != null; } /// <summary> /// Gets and sets the property RequestModels. /// <para> /// The request models for the route. Supported only for WebSocket APIs. /// </para> /// </summary> public Dictionary<string, string> RequestModels { get { return this._requestModels; } set { this._requestModels = value; } } // Check to see if RequestModels property is set internal bool IsSetRequestModels() { return this._requestModels != null && this._requestModels.Count > 0; } /// <summary> /// Gets and sets the property RequestParameters. /// <para> /// The request parameters for the route. Supported only for WebSocket APIs. /// </para> /// </summary> public Dictionary<string, ParameterConstraints> RequestParameters { get { return this._requestParameters; } set { this._requestParameters = value; } } // Check to see if RequestParameters property is set internal bool IsSetRequestParameters() { return this._requestParameters != null && this._requestParameters.Count > 0; } /// <summary> /// Gets and sets the property RouteKey. /// <para> /// The route key for the route. /// </para> /// </summary> [AWSProperty(Required=true)] public string RouteKey { get { return this._routeKey; } set { this._routeKey = value; } } // Check to see if RouteKey property is set internal bool IsSetRouteKey() { return this._routeKey != null; } /// <summary> /// Gets and sets the property RouteResponseSelectionExpression. /// <para> /// The route response selection expression for the route. Supported only for WebSocket /// APIs. /// </para> /// </summary> public string RouteResponseSelectionExpression { get { return this._routeResponseSelectionExpression; } set { this._routeResponseSelectionExpression = value; } } // Check to see if RouteResponseSelectionExpression property is set internal bool IsSetRouteResponseSelectionExpression() { return this._routeResponseSelectionExpression != null; } /// <summary> /// Gets and sets the property Target. /// <para> /// The target for the route. /// </para> /// </summary> public string Target { get { return this._target; } set { this._target = value; } } // Check to see if Target property is set internal bool IsSetTarget() { return this._target != null; } } }
275
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.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApiGatewayV2.Model { /// <summary> /// This is the response object from the CreateRoute operation. /// </summary> public partial class CreateRouteResponse : AmazonWebServiceResponse { private bool? _apiGatewayManaged; private bool? _apiKeyRequired; private List<string> _authorizationScopes = new List<string>(); private AuthorizationType _authorizationType; private string _authorizerId; private string _modelSelectionExpression; private string _operationName; private Dictionary<string, string> _requestModels = new Dictionary<string, string>(); private Dictionary<string, ParameterConstraints> _requestParameters = new Dictionary<string, ParameterConstraints>(); private string _routeId; private string _routeKey; private string _routeResponseSelectionExpression; private string _target; /// <summary> /// Gets and sets the property ApiGatewayManaged. /// <para> /// Specifies whether a route is managed by API Gateway. If you created an API using quick /// create, the $default route is managed by API Gateway. You can't modify the $default /// route key. /// </para> /// </summary> public bool ApiGatewayManaged { get { return this._apiGatewayManaged.GetValueOrDefault(); } set { this._apiGatewayManaged = value; } } // Check to see if ApiGatewayManaged property is set internal bool IsSetApiGatewayManaged() { return this._apiGatewayManaged.HasValue; } /// <summary> /// Gets and sets the property ApiKeyRequired. /// <para> /// Specifies whether an API key is required for this route. Supported only for WebSocket /// APIs. /// </para> /// </summary> public bool ApiKeyRequired { get { return this._apiKeyRequired.GetValueOrDefault(); } set { this._apiKeyRequired = value; } } // Check to see if ApiKeyRequired property is set internal bool IsSetApiKeyRequired() { return this._apiKeyRequired.HasValue; } /// <summary> /// Gets and sets the property AuthorizationScopes. /// <para> /// A list of authorization scopes configured on a route. The scopes are used with a JWT /// authorizer to authorize the method invocation. The authorization works by matching /// the route scopes against the scopes parsed from the access token in the incoming request. /// The method invocation is authorized if any route scope matches a claimed scope in /// the access token. Otherwise, the invocation is not authorized. When the route scope /// is configured, the client must provide an access token instead of an identity token /// for authorization purposes. /// </para> /// </summary> public List<string> AuthorizationScopes { get { return this._authorizationScopes; } set { this._authorizationScopes = value; } } // Check to see if AuthorizationScopes property is set internal bool IsSetAuthorizationScopes() { return this._authorizationScopes != null && this._authorizationScopes.Count > 0; } /// <summary> /// Gets and sets the property AuthorizationType. /// <para> /// The authorization type for the route. For WebSocket APIs, valid values are NONE for /// open access, AWS_IAM for using AWS IAM permissions, and CUSTOM for using a Lambda /// authorizer For HTTP APIs, valid values are NONE for open access, JWT for using JSON /// Web Tokens, AWS_IAM for using AWS IAM permissions, and CUSTOM for using a Lambda authorizer. /// </para> /// </summary> public AuthorizationType AuthorizationType { get { return this._authorizationType; } set { this._authorizationType = value; } } // Check to see if AuthorizationType property is set internal bool IsSetAuthorizationType() { return this._authorizationType != null; } /// <summary> /// Gets and sets the property AuthorizerId. /// <para> /// The identifier of the Authorizer resource to be associated with this route. The authorizer /// identifier is generated by API Gateway when you created the authorizer. /// </para> /// </summary> public string AuthorizerId { get { return this._authorizerId; } set { this._authorizerId = value; } } // Check to see if AuthorizerId property is set internal bool IsSetAuthorizerId() { return this._authorizerId != null; } /// <summary> /// Gets and sets the property ModelSelectionExpression. /// <para> /// The model selection expression for the route. Supported only for WebSocket APIs. /// </para> /// </summary> public string ModelSelectionExpression { get { return this._modelSelectionExpression; } set { this._modelSelectionExpression = value; } } // Check to see if ModelSelectionExpression property is set internal bool IsSetModelSelectionExpression() { return this._modelSelectionExpression != null; } /// <summary> /// Gets and sets the property OperationName. /// <para> /// The operation name for the route. /// </para> /// </summary> public string OperationName { get { return this._operationName; } set { this._operationName = value; } } // Check to see if OperationName property is set internal bool IsSetOperationName() { return this._operationName != null; } /// <summary> /// Gets and sets the property RequestModels. /// <para> /// The request models for the route. Supported only for WebSocket APIs. /// </para> /// </summary> public Dictionary<string, string> RequestModels { get { return this._requestModels; } set { this._requestModels = value; } } // Check to see if RequestModels property is set internal bool IsSetRequestModels() { return this._requestModels != null && this._requestModels.Count > 0; } /// <summary> /// Gets and sets the property RequestParameters. /// <para> /// The request parameters for the route. Supported only for WebSocket APIs. /// </para> /// </summary> public Dictionary<string, ParameterConstraints> RequestParameters { get { return this._requestParameters; } set { this._requestParameters = value; } } // Check to see if RequestParameters property is set internal bool IsSetRequestParameters() { return this._requestParameters != null && this._requestParameters.Count > 0; } /// <summary> /// Gets and sets the property RouteId. /// <para> /// The route ID. /// </para> /// </summary> public string RouteId { get { return this._routeId; } set { this._routeId = value; } } // Check to see if RouteId property is set internal bool IsSetRouteId() { return this._routeId != null; } /// <summary> /// Gets and sets the property RouteKey. /// <para> /// The route key for the route. /// </para> /// </summary> public string RouteKey { get { return this._routeKey; } set { this._routeKey = value; } } // Check to see if RouteKey property is set internal bool IsSetRouteKey() { return this._routeKey != null; } /// <summary> /// Gets and sets the property RouteResponseSelectionExpression. /// <para> /// The route response selection expression for the route. Supported only for WebSocket /// APIs. /// </para> /// </summary> public string RouteResponseSelectionExpression { get { return this._routeResponseSelectionExpression; } set { this._routeResponseSelectionExpression = value; } } // Check to see if RouteResponseSelectionExpression property is set internal bool IsSetRouteResponseSelectionExpression() { return this._routeResponseSelectionExpression != null; } /// <summary> /// Gets and sets the property Target. /// <para> /// The target for the route. /// </para> /// </summary> public string Target { get { return this._target; } set { this._target = value; } } // Check to see if Target property is set internal bool IsSetTarget() { return this._target != null; } } }
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 apigatewayv2-2018-11-29.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApiGatewayV2.Model { /// <summary> /// Container for the parameters to the CreateRouteResponse operation. /// Creates a RouteResponse for a Route. /// </summary> public partial class CreateRouteResponseRequest : AmazonApiGatewayV2Request { private string _apiId; private string _modelSelectionExpression; private Dictionary<string, string> _responseModels = new Dictionary<string, string>(); private Dictionary<string, ParameterConstraints> _responseParameters = new Dictionary<string, ParameterConstraints>(); private string _routeId; private string _routeResponseKey; /// <summary> /// Gets and sets the property ApiId. /// <para> /// The API identifier. /// </para> /// </summary> [AWSProperty(Required=true)] public string ApiId { get { return this._apiId; } set { this._apiId = value; } } // Check to see if ApiId property is set internal bool IsSetApiId() { return this._apiId != null; } /// <summary> /// Gets and sets the property ModelSelectionExpression. /// <para> /// The model selection expression for the route response. Supported only for WebSocket /// APIs. /// </para> /// </summary> public string ModelSelectionExpression { get { return this._modelSelectionExpression; } set { this._modelSelectionExpression = value; } } // Check to see if ModelSelectionExpression property is set internal bool IsSetModelSelectionExpression() { return this._modelSelectionExpression != null; } /// <summary> /// Gets and sets the property ResponseModels. /// <para> /// The response models for the route response. /// </para> /// </summary> public Dictionary<string, string> ResponseModels { get { return this._responseModels; } set { this._responseModels = value; } } // Check to see if ResponseModels property is set internal bool IsSetResponseModels() { return this._responseModels != null && this._responseModels.Count > 0; } /// <summary> /// Gets and sets the property ResponseParameters. /// <para> /// The route response parameters. /// </para> /// </summary> public Dictionary<string, ParameterConstraints> ResponseParameters { get { return this._responseParameters; } set { this._responseParameters = value; } } // Check to see if ResponseParameters property is set internal bool IsSetResponseParameters() { return this._responseParameters != null && this._responseParameters.Count > 0; } /// <summary> /// Gets and sets the property RouteId. /// <para> /// The route ID. /// </para> /// </summary> [AWSProperty(Required=true)] public string RouteId { get { return this._routeId; } set { this._routeId = value; } } // Check to see if RouteId property is set internal bool IsSetRouteId() { return this._routeId != null; } /// <summary> /// Gets and sets the property RouteResponseKey. /// <para> /// The route response key. /// </para> /// </summary> [AWSProperty(Required=true)] public string RouteResponseKey { get { return this._routeResponseKey; } set { this._routeResponseKey = value; } } // Check to see if RouteResponseKey property is set internal bool IsSetRouteResponseKey() { return this._routeResponseKey != null; } } }
157
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.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApiGatewayV2.Model { /// <summary> /// This is the response object from the CreateRouteResponse operation. /// </summary> public partial class CreateRouteResponseResponse : AmazonWebServiceResponse { private string _modelSelectionExpression; private Dictionary<string, string> _responseModels = new Dictionary<string, string>(); private Dictionary<string, ParameterConstraints> _responseParameters = new Dictionary<string, ParameterConstraints>(); private string _routeResponseId; private string _routeResponseKey; /// <summary> /// Gets and sets the property ModelSelectionExpression. /// <para> /// Represents the model selection expression of a route response. Supported only for /// WebSocket APIs. /// </para> /// </summary> public string ModelSelectionExpression { get { return this._modelSelectionExpression; } set { this._modelSelectionExpression = value; } } // Check to see if ModelSelectionExpression property is set internal bool IsSetModelSelectionExpression() { return this._modelSelectionExpression != null; } /// <summary> /// Gets and sets the property ResponseModels. /// <para> /// Represents the response models of a route response. /// </para> /// </summary> public Dictionary<string, string> ResponseModels { get { return this._responseModels; } set { this._responseModels = value; } } // Check to see if ResponseModels property is set internal bool IsSetResponseModels() { return this._responseModels != null && this._responseModels.Count > 0; } /// <summary> /// Gets and sets the property ResponseParameters. /// <para> /// Represents the response parameters of a route response. /// </para> /// </summary> public Dictionary<string, ParameterConstraints> ResponseParameters { get { return this._responseParameters; } set { this._responseParameters = value; } } // Check to see if ResponseParameters property is set internal bool IsSetResponseParameters() { return this._responseParameters != null && this._responseParameters.Count > 0; } /// <summary> /// Gets and sets the property RouteResponseId. /// <para> /// Represents the identifier of a route response. /// </para> /// </summary> public string RouteResponseId { get { return this._routeResponseId; } set { this._routeResponseId = value; } } // Check to see if RouteResponseId property is set internal bool IsSetRouteResponseId() { return this._routeResponseId != null; } /// <summary> /// Gets and sets the property RouteResponseKey. /// <para> /// Represents the route response key of a route response. /// </para> /// </summary> public string RouteResponseKey { get { return this._routeResponseKey; } set { this._routeResponseKey = value; } } // Check to see if RouteResponseKey property is set internal bool IsSetRouteResponseKey() { return this._routeResponseKey != null; } } }
134
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the apigatewayv2-2018-11-29.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApiGatewayV2.Model { /// <summary> /// Container for the parameters to the CreateStage operation. /// Creates a Stage for an API. /// </summary> public partial class CreateStageRequest : AmazonApiGatewayV2Request { private AccessLogSettings _accessLogSettings; private string _apiId; private bool? _autoDeploy; private string _clientCertificateId; private RouteSettings _defaultRouteSettings; private string _deploymentId; private string _description; private Dictionary<string, RouteSettings> _routeSettings = new Dictionary<string, RouteSettings>(); private string _stageName; private Dictionary<string, string> _stageVariables = new Dictionary<string, string>(); private Dictionary<string, string> _tags = new Dictionary<string, string>(); /// <summary> /// Gets and sets the property AccessLogSettings. /// <para> /// Settings for logging access in this stage. /// </para> /// </summary> public AccessLogSettings AccessLogSettings { get { return this._accessLogSettings; } set { this._accessLogSettings = value; } } // Check to see if AccessLogSettings property is set internal bool IsSetAccessLogSettings() { return this._accessLogSettings != null; } /// <summary> /// Gets and sets the property ApiId. /// <para> /// The API identifier. /// </para> /// </summary> [AWSProperty(Required=true)] public string ApiId { get { return this._apiId; } set { this._apiId = value; } } // Check to see if ApiId property is set internal bool IsSetApiId() { return this._apiId != null; } /// <summary> /// Gets and sets the property AutoDeploy. /// <para> /// Specifies whether updates to an API automatically trigger a new deployment. The default /// value is false. /// </para> /// </summary> public bool AutoDeploy { get { return this._autoDeploy.GetValueOrDefault(); } set { this._autoDeploy = value; } } // Check to see if AutoDeploy property is set internal bool IsSetAutoDeploy() { return this._autoDeploy.HasValue; } /// <summary> /// Gets and sets the property ClientCertificateId. /// <para> /// The identifier of a client certificate for a Stage. Supported only for WebSocket APIs. /// </para> /// </summary> public string ClientCertificateId { get { return this._clientCertificateId; } set { this._clientCertificateId = value; } } // Check to see if ClientCertificateId property is set internal bool IsSetClientCertificateId() { return this._clientCertificateId != null; } /// <summary> /// Gets and sets the property DefaultRouteSettings. /// <para> /// The default route settings for the stage. /// </para> /// </summary> public RouteSettings DefaultRouteSettings { get { return this._defaultRouteSettings; } set { this._defaultRouteSettings = value; } } // Check to see if DefaultRouteSettings property is set internal bool IsSetDefaultRouteSettings() { return this._defaultRouteSettings != null; } /// <summary> /// Gets and sets the property DeploymentId. /// <para> /// The deployment identifier of the API stage. /// </para> /// </summary> public string DeploymentId { get { return this._deploymentId; } set { this._deploymentId = value; } } // Check to see if DeploymentId property is set internal bool IsSetDeploymentId() { return this._deploymentId != null; } /// <summary> /// Gets and sets the property Description. /// <para> /// The description for the API stage. /// </para> /// </summary> 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 RouteSettings. /// <para> /// Route settings for the stage, by routeKey. /// </para> /// </summary> public Dictionary<string, RouteSettings> RouteSettings { get { return this._routeSettings; } set { this._routeSettings = value; } } // Check to see if RouteSettings property is set internal bool IsSetRouteSettings() { return this._routeSettings != null && this._routeSettings.Count > 0; } /// <summary> /// Gets and sets the property StageName. /// <para> /// The name of the stage. /// </para> /// </summary> [AWSProperty(Required=true)] public string StageName { get { return this._stageName; } set { this._stageName = value; } } // Check to see if StageName property is set internal bool IsSetStageName() { return this._stageName != null; } /// <summary> /// Gets and sets the property StageVariables. /// <para> /// A map that defines the stage variables for a Stage. Variable names can have alphanumeric /// and underscore characters, and the values must match [A-Za-z0-9-._~:/?#&amp;=,]+. /// </para> /// </summary> public Dictionary<string, string> StageVariables { get { return this._stageVariables; } set { this._stageVariables = value; } } // Check to see if StageVariables property is set internal bool IsSetStageVariables() { return this._stageVariables != null && this._stageVariables.Count > 0; } /// <summary> /// Gets and sets the property Tags. /// <para> /// The collection of tags. Each tag element is associated with a given resource. /// </para> /// </summary> 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; } } }
252
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.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApiGatewayV2.Model { /// <summary> /// This is the response object from the CreateStage operation. /// </summary> public partial class CreateStageResponse : AmazonWebServiceResponse { private AccessLogSettings _accessLogSettings; private bool? _apiGatewayManaged; private bool? _autoDeploy; private string _clientCertificateId; private DateTime? _createdDate; private RouteSettings _defaultRouteSettings; private string _deploymentId; private string _description; private string _lastDeploymentStatusMessage; private DateTime? _lastUpdatedDate; private Dictionary<string, RouteSettings> _routeSettings = new Dictionary<string, RouteSettings>(); private string _stageName; private Dictionary<string, string> _stageVariables = new Dictionary<string, string>(); private Dictionary<string, string> _tags = new Dictionary<string, string>(); /// <summary> /// Gets and sets the property AccessLogSettings. /// <para> /// Settings for logging access in this stage. /// </para> /// </summary> public AccessLogSettings AccessLogSettings { get { return this._accessLogSettings; } set { this._accessLogSettings = value; } } // Check to see if AccessLogSettings property is set internal bool IsSetAccessLogSettings() { return this._accessLogSettings != null; } /// <summary> /// Gets and sets the property ApiGatewayManaged. /// <para> /// Specifies whether a stage is managed by API Gateway. If you created an API using quick /// create, the $default stage is managed by API Gateway. You can't modify the $default /// stage. /// </para> /// </summary> public bool ApiGatewayManaged { get { return this._apiGatewayManaged.GetValueOrDefault(); } set { this._apiGatewayManaged = value; } } // Check to see if ApiGatewayManaged property is set internal bool IsSetApiGatewayManaged() { return this._apiGatewayManaged.HasValue; } /// <summary> /// Gets and sets the property AutoDeploy. /// <para> /// Specifies whether updates to an API automatically trigger a new deployment. The default /// value is false. /// </para> /// </summary> public bool AutoDeploy { get { return this._autoDeploy.GetValueOrDefault(); } set { this._autoDeploy = value; } } // Check to see if AutoDeploy property is set internal bool IsSetAutoDeploy() { return this._autoDeploy.HasValue; } /// <summary> /// Gets and sets the property ClientCertificateId. /// <para> /// The identifier of a client certificate for a Stage. Supported only for WebSocket APIs. /// </para> /// </summary> public string ClientCertificateId { get { return this._clientCertificateId; } set { this._clientCertificateId = value; } } // Check to see if ClientCertificateId property is set internal bool IsSetClientCertificateId() { return this._clientCertificateId != null; } /// <summary> /// Gets and sets the property CreatedDate. /// <para> /// The timestamp when the stage was created. /// </para> /// </summary> public DateTime CreatedDate { get { return this._createdDate.GetValueOrDefault(); } set { this._createdDate = value; } } // Check to see if CreatedDate property is set internal bool IsSetCreatedDate() { return this._createdDate.HasValue; } /// <summary> /// Gets and sets the property DefaultRouteSettings. /// <para> /// Default route settings for the stage. /// </para> /// </summary> public RouteSettings DefaultRouteSettings { get { return this._defaultRouteSettings; } set { this._defaultRouteSettings = value; } } // Check to see if DefaultRouteSettings property is set internal bool IsSetDefaultRouteSettings() { return this._defaultRouteSettings != null; } /// <summary> /// Gets and sets the property DeploymentId. /// <para> /// The identifier of the Deployment that the Stage is associated with. Can't be updated /// if autoDeploy is enabled. /// </para> /// </summary> public string DeploymentId { get { return this._deploymentId; } set { this._deploymentId = value; } } // Check to see if DeploymentId property is set internal bool IsSetDeploymentId() { return this._deploymentId != null; } /// <summary> /// Gets and sets the property Description. /// <para> /// The description of the stage. /// </para> /// </summary> 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 LastDeploymentStatusMessage. /// <para> /// Describes the status of the last deployment of a stage. Supported only for stages /// with autoDeploy enabled. /// </para> /// </summary> public string LastDeploymentStatusMessage { get { return this._lastDeploymentStatusMessage; } set { this._lastDeploymentStatusMessage = value; } } // Check to see if LastDeploymentStatusMessage property is set internal bool IsSetLastDeploymentStatusMessage() { return this._lastDeploymentStatusMessage != null; } /// <summary> /// Gets and sets the property LastUpdatedDate. /// <para> /// The timestamp when the stage was last updated. /// </para> /// </summary> public DateTime LastUpdatedDate { get { return this._lastUpdatedDate.GetValueOrDefault(); } set { this._lastUpdatedDate = value; } } // Check to see if LastUpdatedDate property is set internal bool IsSetLastUpdatedDate() { return this._lastUpdatedDate.HasValue; } /// <summary> /// Gets and sets the property RouteSettings. /// <para> /// Route settings for the stage, by routeKey. /// </para> /// </summary> public Dictionary<string, RouteSettings> RouteSettings { get { return this._routeSettings; } set { this._routeSettings = value; } } // Check to see if RouteSettings property is set internal bool IsSetRouteSettings() { return this._routeSettings != null && this._routeSettings.Count > 0; } /// <summary> /// Gets and sets the property StageName. /// <para> /// The name of the stage. /// </para> /// </summary> public string StageName { get { return this._stageName; } set { this._stageName = value; } } // Check to see if StageName property is set internal bool IsSetStageName() { return this._stageName != null; } /// <summary> /// Gets and sets the property StageVariables. /// <para> /// A map that defines the stage variables for a stage resource. Variable names can have /// alphanumeric and underscore characters, and the values must match [A-Za-z0-9-._~:/?#&amp;=,]+. /// </para> /// </summary> public Dictionary<string, string> StageVariables { get { return this._stageVariables; } set { this._stageVariables = value; } } // Check to see if StageVariables property is set internal bool IsSetStageVariables() { return this._stageVariables != null && this._stageVariables.Count > 0; } /// <summary> /// Gets and sets the property Tags. /// <para> /// The collection of tags. Each tag element is associated with a given resource. /// </para> /// </summary> 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; } } }
310
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.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApiGatewayV2.Model { /// <summary> /// Container for the parameters to the CreateVpcLink operation. /// Creates a VPC link. /// </summary> public partial class CreateVpcLinkRequest : AmazonApiGatewayV2Request { private string _name; private List<string> _securityGroupIds = new List<string>(); private List<string> _subnetIds = new List<string>(); private Dictionary<string, string> _tags = new Dictionary<string, string>(); /// <summary> /// Gets and sets the property Name. /// <para> /// The name of the VPC link. /// </para> /// </summary> [AWSProperty(Required=true)] 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 SecurityGroupIds. /// <para> /// A list of security group IDs for the VPC link. /// </para> /// </summary> public List<string> SecurityGroupIds { get { return this._securityGroupIds; } set { this._securityGroupIds = value; } } // Check to see if SecurityGroupIds property is set internal bool IsSetSecurityGroupIds() { return this._securityGroupIds != null && this._securityGroupIds.Count > 0; } /// <summary> /// Gets and sets the property SubnetIds. /// <para> /// A list of subnet IDs to include in the VPC link. /// </para> /// </summary> [AWSProperty(Required=true)] public List<string> SubnetIds { get { return this._subnetIds; } set { this._subnetIds = value; } } // Check to see if SubnetIds property is set internal bool IsSetSubnetIds() { return this._subnetIds != null && this._subnetIds.Count > 0; } /// <summary> /// Gets and sets the property Tags. /// <para> /// A list of tags. /// </para> /// </summary> 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; } } }
117
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the apigatewayv2-2018-11-29.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApiGatewayV2.Model { /// <summary> /// This is the response object from the CreateVpcLink operation. /// </summary> public partial class CreateVpcLinkResponse : AmazonWebServiceResponse { private DateTime? _createdDate; private string _name; private List<string> _securityGroupIds = new List<string>(); private List<string> _subnetIds = new List<string>(); private Dictionary<string, string> _tags = new Dictionary<string, string>(); private string _vpcLinkId; private VpcLinkStatus _vpcLinkStatus; private string _vpcLinkStatusMessage; private VpcLinkVersion _vpcLinkVersion; /// <summary> /// Gets and sets the property CreatedDate. /// <para> /// The timestamp when the VPC link was created. /// </para> /// </summary> public DateTime CreatedDate { get { return this._createdDate.GetValueOrDefault(); } set { this._createdDate = value; } } // Check to see if CreatedDate property is set internal bool IsSetCreatedDate() { return this._createdDate.HasValue; } /// <summary> /// Gets and sets the property Name. /// <para> /// The name of the VPC link. /// </para> /// </summary> 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 SecurityGroupIds. /// <para> /// A list of security group IDs for the VPC link. /// </para> /// </summary> public List<string> SecurityGroupIds { get { return this._securityGroupIds; } set { this._securityGroupIds = value; } } // Check to see if SecurityGroupIds property is set internal bool IsSetSecurityGroupIds() { return this._securityGroupIds != null && this._securityGroupIds.Count > 0; } /// <summary> /// Gets and sets the property SubnetIds. /// <para> /// A list of subnet IDs to include in the VPC link. /// </para> /// </summary> public List<string> SubnetIds { get { return this._subnetIds; } set { this._subnetIds = value; } } // Check to see if SubnetIds property is set internal bool IsSetSubnetIds() { return this._subnetIds != null && this._subnetIds.Count > 0; } /// <summary> /// Gets and sets the property Tags. /// <para> /// Tags for the VPC link. /// </para> /// </summary> 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 VpcLinkId. /// <para> /// The ID of the VPC link. /// </para> /// </summary> public string VpcLinkId { get { return this._vpcLinkId; } set { this._vpcLinkId = value; } } // Check to see if VpcLinkId property is set internal bool IsSetVpcLinkId() { return this._vpcLinkId != null; } /// <summary> /// Gets and sets the property VpcLinkStatus. /// <para> /// The status of the VPC link. /// </para> /// </summary> public VpcLinkStatus VpcLinkStatus { get { return this._vpcLinkStatus; } set { this._vpcLinkStatus = value; } } // Check to see if VpcLinkStatus property is set internal bool IsSetVpcLinkStatus() { return this._vpcLinkStatus != null; } /// <summary> /// Gets and sets the property VpcLinkStatusMessage. /// <para> /// A message summarizing the cause of the status of the VPC link. /// </para> /// </summary> public string VpcLinkStatusMessage { get { return this._vpcLinkStatusMessage; } set { this._vpcLinkStatusMessage = value; } } // Check to see if VpcLinkStatusMessage property is set internal bool IsSetVpcLinkStatusMessage() { return this._vpcLinkStatusMessage != null; } /// <summary> /// Gets and sets the property VpcLinkVersion. /// <para> /// The version of the VPC link. /// </para> /// </summary> public VpcLinkVersion VpcLinkVersion { get { return this._vpcLinkVersion; } set { this._vpcLinkVersion = value; } } // Check to see if VpcLinkVersion property is set internal bool IsSetVpcLinkVersion() { return this._vpcLinkVersion != null; } } }
209
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.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApiGatewayV2.Model { /// <summary> /// Container for the parameters to the DeleteAccessLogSettings operation. /// Deletes the AccessLogSettings for a Stage. To disable access logging for a Stage, /// delete its AccessLogSettings. /// </summary> public partial class DeleteAccessLogSettingsRequest : AmazonApiGatewayV2Request { private string _apiId; private string _stageName; /// <summary> /// Gets and sets the property ApiId. /// <para> /// The API identifier. /// </para> /// </summary> [AWSProperty(Required=true)] public string ApiId { get { return this._apiId; } set { this._apiId = value; } } // Check to see if ApiId property is set internal bool IsSetApiId() { return this._apiId != null; } /// <summary> /// Gets and sets the property StageName. /// <para> /// The stage name. Stage names can only contain alphanumeric characters, hyphens, and /// underscores. Maximum length is 128 characters. /// </para> /// </summary> [AWSProperty(Required=true)] public string StageName { get { return this._stageName; } set { this._stageName = value; } } // Check to see if StageName property is set internal bool IsSetStageName() { return this._stageName != null; } } }
81
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.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApiGatewayV2.Model { /// <summary> /// This is the response object from the DeleteAccessLogSettings operation. /// </summary> public partial class DeleteAccessLogSettingsResponse : AmazonWebServiceResponse { } }
38
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the apigatewayv2-2018-11-29.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApiGatewayV2.Model { /// <summary> /// Container for the parameters to the DeleteApiMapping operation. /// Deletes an API mapping. /// </summary> public partial class DeleteApiMappingRequest : AmazonApiGatewayV2Request { private string _apiMappingId; private string _domainName; /// <summary> /// Gets and sets the property ApiMappingId. /// <para> /// The API mapping identifier. /// </para> /// </summary> [AWSProperty(Required=true)] public string ApiMappingId { get { return this._apiMappingId; } set { this._apiMappingId = value; } } // Check to see if ApiMappingId property is set internal bool IsSetApiMappingId() { return this._apiMappingId != null; } /// <summary> /// Gets and sets the property DomainName. /// <para> /// The domain name. /// </para> /// </summary> [AWSProperty(Required=true)] public string DomainName { get { return this._domainName; } set { this._domainName = value; } } // Check to see if DomainName property is set internal bool IsSetDomainName() { return this._domainName != null; } } }
79
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the apigatewayv2-2018-11-29.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApiGatewayV2.Model { /// <summary> /// This is the response object from the DeleteApiMapping operation. /// </summary> public partial class DeleteApiMappingResponse : AmazonWebServiceResponse { } }
38
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the apigatewayv2-2018-11-29.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApiGatewayV2.Model { /// <summary> /// Container for the parameters to the DeleteApi operation. /// Deletes an Api resource. /// </summary> public partial class DeleteApiRequest : AmazonApiGatewayV2Request { private string _apiId; /// <summary> /// Gets and sets the property ApiId. /// <para> /// The API identifier. /// </para> /// </summary> [AWSProperty(Required=true)] public string ApiId { get { return this._apiId; } set { this._apiId = value; } } // Check to see if ApiId property is set internal bool IsSetApiId() { return this._apiId != null; } } }
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 apigatewayv2-2018-11-29.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApiGatewayV2.Model { /// <summary> /// This is the response object from the DeleteApi operation. /// </summary> public partial class DeleteApiResponse : AmazonWebServiceResponse { } }
38
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the apigatewayv2-2018-11-29.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApiGatewayV2.Model { /// <summary> /// Container for the parameters to the DeleteAuthorizer operation. /// Deletes an Authorizer. /// </summary> public partial class DeleteAuthorizerRequest : AmazonApiGatewayV2Request { private string _apiId; private string _authorizerId; /// <summary> /// Gets and sets the property ApiId. /// <para> /// The API identifier. /// </para> /// </summary> [AWSProperty(Required=true)] public string ApiId { get { return this._apiId; } set { this._apiId = value; } } // Check to see if ApiId property is set internal bool IsSetApiId() { return this._apiId != null; } /// <summary> /// Gets and sets the property AuthorizerId. /// <para> /// The authorizer identifier. /// </para> /// </summary> [AWSProperty(Required=true)] public string AuthorizerId { get { return this._authorizerId; } set { this._authorizerId = value; } } // Check to see if AuthorizerId property is set internal bool IsSetAuthorizerId() { return this._authorizerId != null; } } }
79
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the apigatewayv2-2018-11-29.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApiGatewayV2.Model { /// <summary> /// This is the response object from the DeleteAuthorizer operation. /// </summary> public partial class DeleteAuthorizerResponse : AmazonWebServiceResponse { } }
38
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the apigatewayv2-2018-11-29.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApiGatewayV2.Model { /// <summary> /// Container for the parameters to the DeleteCorsConfiguration operation. /// Deletes a CORS configuration. /// </summary> public partial class DeleteCorsConfigurationRequest : AmazonApiGatewayV2Request { private string _apiId; /// <summary> /// Gets and sets the property ApiId. /// <para> /// The API identifier. /// </para> /// </summary> [AWSProperty(Required=true)] public string ApiId { get { return this._apiId; } set { this._apiId = value; } } // Check to see if ApiId property is set internal bool IsSetApiId() { return this._apiId != null; } } }
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 apigatewayv2-2018-11-29.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApiGatewayV2.Model { /// <summary> /// This is the response object from the DeleteCorsConfiguration operation. /// </summary> public partial class DeleteCorsConfigurationResponse : AmazonWebServiceResponse { } }
38
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the apigatewayv2-2018-11-29.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApiGatewayV2.Model { /// <summary> /// Container for the parameters to the DeleteDeployment operation. /// Deletes a Deployment. /// </summary> public partial class DeleteDeploymentRequest : AmazonApiGatewayV2Request { private string _apiId; private string _deploymentId; /// <summary> /// Gets and sets the property ApiId. /// <para> /// The API identifier. /// </para> /// </summary> [AWSProperty(Required=true)] public string ApiId { get { return this._apiId; } set { this._apiId = value; } } // Check to see if ApiId property is set internal bool IsSetApiId() { return this._apiId != null; } /// <summary> /// Gets and sets the property DeploymentId. /// <para> /// The deployment ID. /// </para> /// </summary> [AWSProperty(Required=true)] public string DeploymentId { get { return this._deploymentId; } set { this._deploymentId = value; } } // Check to see if DeploymentId property is set internal bool IsSetDeploymentId() { return this._deploymentId != null; } } }
79
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the apigatewayv2-2018-11-29.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApiGatewayV2.Model { /// <summary> /// This is the response object from the DeleteDeployment operation. /// </summary> public partial class DeleteDeploymentResponse : AmazonWebServiceResponse { } }
38
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the apigatewayv2-2018-11-29.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApiGatewayV2.Model { /// <summary> /// Container for the parameters to the DeleteDomainName operation. /// Deletes a domain name. /// </summary> public partial class DeleteDomainNameRequest : AmazonApiGatewayV2Request { private string _domainName; /// <summary> /// Gets and sets the property DomainName. /// <para> /// The domain name. /// </para> /// </summary> [AWSProperty(Required=true)] public string DomainName { get { return this._domainName; } set { this._domainName = value; } } // Check to see if DomainName property is set internal bool IsSetDomainName() { return this._domainName != null; } } }
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 apigatewayv2-2018-11-29.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApiGatewayV2.Model { /// <summary> /// This is the response object from the DeleteDomainName operation. /// </summary> public partial class DeleteDomainNameResponse : AmazonWebServiceResponse { } }
38
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the apigatewayv2-2018-11-29.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApiGatewayV2.Model { /// <summary> /// Container for the parameters to the DeleteIntegration operation. /// Deletes an Integration. /// </summary> public partial class DeleteIntegrationRequest : AmazonApiGatewayV2Request { private string _apiId; private string _integrationId; /// <summary> /// Gets and sets the property ApiId. /// <para> /// The API identifier. /// </para> /// </summary> [AWSProperty(Required=true)] public string ApiId { get { return this._apiId; } set { this._apiId = value; } } // Check to see if ApiId property is set internal bool IsSetApiId() { return this._apiId != null; } /// <summary> /// Gets and sets the property IntegrationId. /// <para> /// The integration ID. /// </para> /// </summary> [AWSProperty(Required=true)] public string IntegrationId { get { return this._integrationId; } set { this._integrationId = value; } } // Check to see if IntegrationId property is set internal bool IsSetIntegrationId() { return this._integrationId != null; } } }
79
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the apigatewayv2-2018-11-29.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApiGatewayV2.Model { /// <summary> /// This is the response object from the DeleteIntegration operation. /// </summary> public partial class DeleteIntegrationResponse : AmazonWebServiceResponse { } }
38
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the apigatewayv2-2018-11-29.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApiGatewayV2.Model { /// <summary> /// Container for the parameters to the DeleteIntegrationResponse operation. /// Deletes an IntegrationResponses. /// </summary> public partial class DeleteIntegrationResponseRequest : AmazonApiGatewayV2Request { private string _apiId; private string _integrationId; private string _integrationResponseId; /// <summary> /// Gets and sets the property ApiId. /// <para> /// The API identifier. /// </para> /// </summary> [AWSProperty(Required=true)] public string ApiId { get { return this._apiId; } set { this._apiId = value; } } // Check to see if ApiId property is set internal bool IsSetApiId() { return this._apiId != null; } /// <summary> /// Gets and sets the property IntegrationId. /// <para> /// The integration ID. /// </para> /// </summary> [AWSProperty(Required=true)] public string IntegrationId { get { return this._integrationId; } set { this._integrationId = value; } } // Check to see if IntegrationId property is set internal bool IsSetIntegrationId() { return this._integrationId != null; } /// <summary> /// Gets and sets the property IntegrationResponseId. /// <para> /// The integration response ID. /// </para> /// </summary> [AWSProperty(Required=true)] public string IntegrationResponseId { get { return this._integrationResponseId; } set { this._integrationResponseId = value; } } // Check to see if IntegrationResponseId property is set internal bool IsSetIntegrationResponseId() { return this._integrationResponseId != null; } } }
99
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the apigatewayv2-2018-11-29.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApiGatewayV2.Model { /// <summary> /// This is the response object from the DeleteIntegrationResponse operation. /// </summary> public partial class DeleteIntegrationResponseResponse : AmazonWebServiceResponse { } }
38
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the apigatewayv2-2018-11-29.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApiGatewayV2.Model { /// <summary> /// Container for the parameters to the DeleteModel operation. /// Deletes a Model. /// </summary> public partial class DeleteModelRequest : AmazonApiGatewayV2Request { private string _apiId; private string _modelId; /// <summary> /// Gets and sets the property ApiId. /// <para> /// The API identifier. /// </para> /// </summary> [AWSProperty(Required=true)] public string ApiId { get { return this._apiId; } set { this._apiId = value; } } // Check to see if ApiId property is set internal bool IsSetApiId() { return this._apiId != null; } /// <summary> /// Gets and sets the property ModelId. /// <para> /// The model ID. /// </para> /// </summary> [AWSProperty(Required=true)] public string ModelId { get { return this._modelId; } set { this._modelId = value; } } // Check to see if ModelId property is set internal bool IsSetModelId() { return this._modelId != null; } } }
79
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the apigatewayv2-2018-11-29.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApiGatewayV2.Model { /// <summary> /// This is the response object from the DeleteModel operation. /// </summary> public partial class DeleteModelResponse : AmazonWebServiceResponse { } }
38
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the apigatewayv2-2018-11-29.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApiGatewayV2.Model { /// <summary> /// Container for the parameters to the DeleteRoute operation. /// Deletes a Route. /// </summary> public partial class DeleteRouteRequest : AmazonApiGatewayV2Request { private string _apiId; private string _routeId; /// <summary> /// Gets and sets the property ApiId. /// <para> /// The API identifier. /// </para> /// </summary> [AWSProperty(Required=true)] public string ApiId { get { return this._apiId; } set { this._apiId = value; } } // Check to see if ApiId property is set internal bool IsSetApiId() { return this._apiId != null; } /// <summary> /// Gets and sets the property RouteId. /// <para> /// The route ID. /// </para> /// </summary> [AWSProperty(Required=true)] public string RouteId { get { return this._routeId; } set { this._routeId = value; } } // Check to see if RouteId property is set internal bool IsSetRouteId() { return this._routeId != null; } } }
79
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the apigatewayv2-2018-11-29.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApiGatewayV2.Model { /// <summary> /// Container for the parameters to the DeleteRouteRequestParameter operation. /// Deletes a route request parameter. /// </summary> public partial class DeleteRouteRequestParameterRequest : AmazonApiGatewayV2Request { private string _apiId; private string _requestParameterKey; private string _routeId; /// <summary> /// Gets and sets the property ApiId. /// <para> /// The API identifier. /// </para> /// </summary> [AWSProperty(Required=true)] public string ApiId { get { return this._apiId; } set { this._apiId = value; } } // Check to see if ApiId property is set internal bool IsSetApiId() { return this._apiId != null; } /// <summary> /// Gets and sets the property RequestParameterKey. /// <para> /// The route request parameter key. /// </para> /// </summary> [AWSProperty(Required=true)] public string RequestParameterKey { get { return this._requestParameterKey; } set { this._requestParameterKey = value; } } // Check to see if RequestParameterKey property is set internal bool IsSetRequestParameterKey() { return this._requestParameterKey != null; } /// <summary> /// Gets and sets the property RouteId. /// <para> /// The route ID. /// </para> /// </summary> [AWSProperty(Required=true)] public string RouteId { get { return this._routeId; } set { this._routeId = value; } } // Check to see if RouteId property is set internal bool IsSetRouteId() { return this._routeId != null; } } }
99
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the apigatewayv2-2018-11-29.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApiGatewayV2.Model { /// <summary> /// This is the response object from the DeleteRouteRequestParameter operation. /// </summary> public partial class DeleteRouteRequestParameterResponse : AmazonWebServiceResponse { } }
38
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the apigatewayv2-2018-11-29.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApiGatewayV2.Model { /// <summary> /// This is the response object from the DeleteRoute operation. /// </summary> public partial class DeleteRouteResponse : AmazonWebServiceResponse { } }
38
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the apigatewayv2-2018-11-29.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApiGatewayV2.Model { /// <summary> /// Container for the parameters to the DeleteRouteResponse operation. /// Deletes a RouteResponse. /// </summary> public partial class DeleteRouteResponseRequest : AmazonApiGatewayV2Request { private string _apiId; private string _routeId; private string _routeResponseId; /// <summary> /// Gets and sets the property ApiId. /// <para> /// The API identifier. /// </para> /// </summary> [AWSProperty(Required=true)] public string ApiId { get { return this._apiId; } set { this._apiId = value; } } // Check to see if ApiId property is set internal bool IsSetApiId() { return this._apiId != null; } /// <summary> /// Gets and sets the property RouteId. /// <para> /// The route ID. /// </para> /// </summary> [AWSProperty(Required=true)] public string RouteId { get { return this._routeId; } set { this._routeId = value; } } // Check to see if RouteId property is set internal bool IsSetRouteId() { return this._routeId != null; } /// <summary> /// Gets and sets the property RouteResponseId. /// <para> /// The route response ID. /// </para> /// </summary> [AWSProperty(Required=true)] public string RouteResponseId { get { return this._routeResponseId; } set { this._routeResponseId = value; } } // Check to see if RouteResponseId property is set internal bool IsSetRouteResponseId() { return this._routeResponseId != null; } } }
99
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the apigatewayv2-2018-11-29.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApiGatewayV2.Model { /// <summary> /// This is the response object from the DeleteRouteResponse operation. /// </summary> public partial class DeleteRouteResponseResponse : AmazonWebServiceResponse { } }
38
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the apigatewayv2-2018-11-29.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApiGatewayV2.Model { /// <summary> /// Container for the parameters to the DeleteRouteSettings operation. /// Deletes the RouteSettings for a stage. /// </summary> public partial class DeleteRouteSettingsRequest : AmazonApiGatewayV2Request { private string _apiId; private string _routeKey; private string _stageName; /// <summary> /// Gets and sets the property ApiId. /// <para> /// The API identifier. /// </para> /// </summary> [AWSProperty(Required=true)] public string ApiId { get { return this._apiId; } set { this._apiId = value; } } // Check to see if ApiId property is set internal bool IsSetApiId() { return this._apiId != null; } /// <summary> /// Gets and sets the property RouteKey. /// <para> /// The route key. /// </para> /// </summary> [AWSProperty(Required=true)] public string RouteKey { get { return this._routeKey; } set { this._routeKey = value; } } // Check to see if RouteKey property is set internal bool IsSetRouteKey() { return this._routeKey != null; } /// <summary> /// Gets and sets the property StageName. /// <para> /// The stage name. Stage names can only contain alphanumeric characters, hyphens, and /// underscores. Maximum length is 128 characters. /// </para> /// </summary> [AWSProperty(Required=true)] public string StageName { get { return this._stageName; } set { this._stageName = value; } } // Check to see if StageName property is set internal bool IsSetStageName() { return this._stageName != null; } } }
100
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.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApiGatewayV2.Model { /// <summary> /// This is the response object from the DeleteRouteSettings operation. /// </summary> public partial class DeleteRouteSettingsResponse : AmazonWebServiceResponse { } }
38
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the apigatewayv2-2018-11-29.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApiGatewayV2.Model { /// <summary> /// Container for the parameters to the DeleteStage operation. /// Deletes a Stage. /// </summary> public partial class DeleteStageRequest : AmazonApiGatewayV2Request { private string _apiId; private string _stageName; /// <summary> /// Gets and sets the property ApiId. /// <para> /// The API identifier. /// </para> /// </summary> [AWSProperty(Required=true)] public string ApiId { get { return this._apiId; } set { this._apiId = value; } } // Check to see if ApiId property is set internal bool IsSetApiId() { return this._apiId != null; } /// <summary> /// Gets and sets the property StageName. /// <para> /// The stage name. Stage names can only contain alphanumeric characters, hyphens, and /// underscores. Maximum length is 128 characters. /// </para> /// </summary> [AWSProperty(Required=true)] public string StageName { get { return this._stageName; } set { this._stageName = value; } } // Check to see if StageName property is set internal bool IsSetStageName() { return this._stageName != null; } } }
80
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.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApiGatewayV2.Model { /// <summary> /// This is the response object from the DeleteStage operation. /// </summary> public partial class DeleteStageResponse : AmazonWebServiceResponse { } }
38
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the apigatewayv2-2018-11-29.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApiGatewayV2.Model { /// <summary> /// Container for the parameters to the DeleteVpcLink operation. /// Deletes a VPC link. /// </summary> public partial class DeleteVpcLinkRequest : AmazonApiGatewayV2Request { private string _vpcLinkId; /// <summary> /// Gets and sets the property VpcLinkId. /// <para> /// The ID of the VPC link. /// </para> /// </summary> [AWSProperty(Required=true)] public string VpcLinkId { get { return this._vpcLinkId; } set { this._vpcLinkId = value; } } // Check to see if VpcLinkId property is set internal bool IsSetVpcLinkId() { return this._vpcLinkId != null; } } }
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 apigatewayv2-2018-11-29.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApiGatewayV2.Model { /// <summary> /// This is the response object from the DeleteVpcLink operation. /// </summary> public partial class DeleteVpcLinkResponse : AmazonWebServiceResponse { } }
38
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the apigatewayv2-2018-11-29.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApiGatewayV2.Model { /// <summary> /// An immutable representation of an API that can be called by users. A Deployment must /// be associated with a Stage for it to be callable over the internet. /// </summary> public partial class Deployment { private bool? _autoDeployed; private DateTime? _createdDate; private string _deploymentId; private DeploymentStatus _deploymentStatus; private string _deploymentStatusMessage; private string _description; /// <summary> /// Gets and sets the property AutoDeployed. /// <para> /// Specifies whether a deployment was automatically released. /// </para> /// </summary> public bool AutoDeployed { get { return this._autoDeployed.GetValueOrDefault(); } set { this._autoDeployed = value; } } // Check to see if AutoDeployed property is set internal bool IsSetAutoDeployed() { return this._autoDeployed.HasValue; } /// <summary> /// Gets and sets the property CreatedDate. /// <para> /// The date and time when the Deployment resource was created. /// </para> /// </summary> public DateTime CreatedDate { get { return this._createdDate.GetValueOrDefault(); } set { this._createdDate = value; } } // Check to see if CreatedDate property is set internal bool IsSetCreatedDate() { return this._createdDate.HasValue; } /// <summary> /// Gets and sets the property DeploymentId. /// <para> /// The identifier for the deployment. /// </para> /// </summary> public string DeploymentId { get { return this._deploymentId; } set { this._deploymentId = value; } } // Check to see if DeploymentId property is set internal bool IsSetDeploymentId() { return this._deploymentId != null; } /// <summary> /// Gets and sets the property DeploymentStatus. /// <para> /// The status of the deployment: PENDING, FAILED, or SUCCEEDED. /// </para> /// </summary> public DeploymentStatus DeploymentStatus { get { return this._deploymentStatus; } set { this._deploymentStatus = value; } } // Check to see if DeploymentStatus property is set internal bool IsSetDeploymentStatus() { return this._deploymentStatus != null; } /// <summary> /// Gets and sets the property DeploymentStatusMessage. /// <para> /// May contain additional feedback on the status of an API deployment. /// </para> /// </summary> public string DeploymentStatusMessage { get { return this._deploymentStatusMessage; } set { this._deploymentStatusMessage = value; } } // Check to see if DeploymentStatusMessage property is set internal bool IsSetDeploymentStatusMessage() { return this._deploymentStatusMessage != null; } /// <summary> /// Gets and sets the property Description. /// <para> /// The description for the deployment. /// </para> /// </summary> 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; } } }
153
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.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApiGatewayV2.Model { /// <summary> /// Represents a domain name. /// </summary> public partial class DomainName { private string _apiMappingSelectionExpression; private List<DomainNameConfiguration> _domainNameConfigurations = new List<DomainNameConfiguration>(); private MutualTlsAuthentication _mutualTlsAuthentication; private string _name; private Dictionary<string, string> _tags = new Dictionary<string, string>(); /// <summary> /// Gets and sets the property ApiMappingSelectionExpression. /// <para> /// The API mapping selection expression. /// </para> /// </summary> public string ApiMappingSelectionExpression { get { return this._apiMappingSelectionExpression; } set { this._apiMappingSelectionExpression = value; } } // Check to see if ApiMappingSelectionExpression property is set internal bool IsSetApiMappingSelectionExpression() { return this._apiMappingSelectionExpression != null; } /// <summary> /// Gets and sets the property DomainNameConfigurations. /// <para> /// The domain name configurations. /// </para> /// </summary> public List<DomainNameConfiguration> DomainNameConfigurations { get { return this._domainNameConfigurations; } set { this._domainNameConfigurations = value; } } // Check to see if DomainNameConfigurations property is set internal bool IsSetDomainNameConfigurations() { return this._domainNameConfigurations != null && this._domainNameConfigurations.Count > 0; } /// <summary> /// Gets and sets the property MutualTlsAuthentication. /// <para> /// The mutual TLS authentication configuration for a custom domain name. /// </para> /// </summary> public MutualTlsAuthentication MutualTlsAuthentication { get { return this._mutualTlsAuthentication; } set { this._mutualTlsAuthentication = value; } } // Check to see if MutualTlsAuthentication property is set internal bool IsSetMutualTlsAuthentication() { return this._mutualTlsAuthentication != null; } /// <summary> /// Gets and sets the property Name. /// <para> /// The name of the DomainName resource. /// </para> /// </summary> 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> /// The collection of tags associated with a domain name. /// </para> /// </summary> 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; } } }
133
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.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApiGatewayV2.Model { /// <summary> /// The domain name configuration. /// </summary> public partial class DomainNameConfiguration { private string _apiGatewayDomainName; private string _certificateArn; private string _certificateName; private DateTime? _certificateUploadDate; private DomainNameStatus _domainNameStatus; private string _domainNameStatusMessage; private EndpointType _endpointType; private string _hostedZoneId; private string _ownershipVerificationCertificateArn; private SecurityPolicy _securityPolicy; /// <summary> /// Gets and sets the property ApiGatewayDomainName. /// <para> /// A domain name for the API. /// </para> /// </summary> public string ApiGatewayDomainName { get { return this._apiGatewayDomainName; } set { this._apiGatewayDomainName = value; } } // Check to see if ApiGatewayDomainName property is set internal bool IsSetApiGatewayDomainName() { return this._apiGatewayDomainName != null; } /// <summary> /// Gets and sets the property CertificateArn. /// <para> /// An AWS-managed certificate that will be used by the edge-optimized endpoint for this /// domain name. AWS Certificate Manager is the only supported source. /// </para> /// </summary> public string CertificateArn { get { return this._certificateArn; } set { this._certificateArn = value; } } // Check to see if CertificateArn property is set internal bool IsSetCertificateArn() { return this._certificateArn != null; } /// <summary> /// Gets and sets the property CertificateName. /// <para> /// The user-friendly name of the certificate that will be used by the edge-optimized /// endpoint for this domain name. /// </para> /// </summary> public string CertificateName { get { return this._certificateName; } set { this._certificateName = value; } } // Check to see if CertificateName property is set internal bool IsSetCertificateName() { return this._certificateName != null; } /// <summary> /// Gets and sets the property CertificateUploadDate. /// <para> /// The timestamp when the certificate that was used by edge-optimized endpoint for this /// domain name was uploaded. /// </para> /// </summary> public DateTime CertificateUploadDate { get { return this._certificateUploadDate.GetValueOrDefault(); } set { this._certificateUploadDate = value; } } // Check to see if CertificateUploadDate property is set internal bool IsSetCertificateUploadDate() { return this._certificateUploadDate.HasValue; } /// <summary> /// Gets and sets the property DomainNameStatus. /// <para> /// The status of the domain name migration. The valid values are AVAILABLE, UPDATING, /// PENDING_CERTIFICATE_REIMPORT, and PENDING_OWNERSHIP_VERIFICATION. If the status is /// UPDATING, the domain cannot be modified further until the existing operation is complete. /// If it is AVAILABLE, the domain can be updated. /// </para> /// </summary> public DomainNameStatus DomainNameStatus { get { return this._domainNameStatus; } set { this._domainNameStatus = value; } } // Check to see if DomainNameStatus property is set internal bool IsSetDomainNameStatus() { return this._domainNameStatus != null; } /// <summary> /// Gets and sets the property DomainNameStatusMessage. /// <para> /// An optional text message containing detailed information about status of the domain /// name migration. /// </para> /// </summary> public string DomainNameStatusMessage { get { return this._domainNameStatusMessage; } set { this._domainNameStatusMessage = value; } } // Check to see if DomainNameStatusMessage property is set internal bool IsSetDomainNameStatusMessage() { return this._domainNameStatusMessage != null; } /// <summary> /// Gets and sets the property EndpointType. /// <para> /// The endpoint type. /// </para> /// </summary> public EndpointType EndpointType { get { return this._endpointType; } set { this._endpointType = value; } } // Check to see if EndpointType property is set internal bool IsSetEndpointType() { return this._endpointType != null; } /// <summary> /// Gets and sets the property HostedZoneId. /// <para> /// The Amazon Route 53 Hosted Zone ID of the endpoint. /// </para> /// </summary> public string HostedZoneId { get { return this._hostedZoneId; } set { this._hostedZoneId = value; } } // Check to see if HostedZoneId property is set internal bool IsSetHostedZoneId() { return this._hostedZoneId != null; } /// <summary> /// Gets and sets the property OwnershipVerificationCertificateArn. /// <para> /// The ARN of the public certificate issued by ACM to validate ownership of your custom /// domain. Only required when configuring mutual TLS and using an ACM imported or private /// CA certificate ARN as the regionalCertificateArn /// </para> /// </summary> public string OwnershipVerificationCertificateArn { get { return this._ownershipVerificationCertificateArn; } set { this._ownershipVerificationCertificateArn = value; } } // Check to see if OwnershipVerificationCertificateArn property is set internal bool IsSetOwnershipVerificationCertificateArn() { return this._ownershipVerificationCertificateArn != null; } /// <summary> /// Gets and sets the property SecurityPolicy. /// <para> /// The Transport Layer Security (TLS) version of the security policy for this domain /// name. The valid values are TLS_1_0 and TLS_1_2. /// </para> /// </summary> public SecurityPolicy SecurityPolicy { get { return this._securityPolicy; } set { this._securityPolicy = value; } } // Check to see if SecurityPolicy property is set internal bool IsSetSecurityPolicy() { return this._securityPolicy != null; } } }
238
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.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApiGatewayV2.Model { /// <summary> /// Container for the parameters to the ExportApi operation. /// /// </summary> public partial class ExportApiRequest : AmazonApiGatewayV2Request { private string _apiId; private string _exportVersion; private bool? _includeExtensions; private string _outputType; private string _specification; private string _stageName; /// <summary> /// Gets and sets the property ApiId. /// <para> /// The API identifier. /// </para> /// </summary> [AWSProperty(Required=true)] public string ApiId { get { return this._apiId; } set { this._apiId = value; } } // Check to see if ApiId property is set internal bool IsSetApiId() { return this._apiId != null; } /// <summary> /// Gets and sets the property ExportVersion. /// <para> /// The version of the API Gateway export algorithm. API Gateway uses the latest version /// by default. Currently, the only supported version is 1.0. /// </para> /// </summary> public string ExportVersion { get { return this._exportVersion; } set { this._exportVersion = value; } } // Check to see if ExportVersion property is set internal bool IsSetExportVersion() { return this._exportVersion != null; } /// <summary> /// Gets and sets the property IncludeExtensions. /// <para> /// Specifies whether to include <a href="https://docs.aws.amazon.com//apigateway/latest/developerguide/api-gateway-swagger-extensions.html">API /// Gateway extensions</a> in the exported API definition. API Gateway extensions are /// included by default. /// </para> /// </summary> public bool IncludeExtensions { get { return this._includeExtensions.GetValueOrDefault(); } set { this._includeExtensions = value; } } // Check to see if IncludeExtensions property is set internal bool IsSetIncludeExtensions() { return this._includeExtensions.HasValue; } /// <summary> /// Gets and sets the property OutputType. /// <para> /// The output type of the exported definition file. Valid values are JSON and YAML. /// </para> /// </summary> [AWSProperty(Required=true)] public string OutputType { get { return this._outputType; } set { this._outputType = value; } } // Check to see if OutputType property is set internal bool IsSetOutputType() { return this._outputType != null; } /// <summary> /// Gets and sets the property Specification. /// <para> /// The version of the API specification to use. OAS30, for OpenAPI 3.0, is the only supported /// value. /// </para> /// </summary> [AWSProperty(Required=true)] public string Specification { get { return this._specification; } set { this._specification = value; } } // Check to see if Specification property is set internal bool IsSetSpecification() { return this._specification != null; } /// <summary> /// Gets and sets the property StageName. /// <para> /// The name of the API stage to export. If you don't specify this property, a representation /// of the latest API configuration is exported. /// </para> /// </summary> public string StageName { get { return this._stageName; } set { this._stageName = value; } } // Check to see if StageName property is set internal bool IsSetStageName() { return this._stageName != null; } } }
161
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.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApiGatewayV2.Model { /// <summary> /// This is the response object from the ExportApi operation. /// </summary> public partial class ExportApiResponse : AmazonWebServiceResponse { private MemoryStream _body; /// <summary> /// Gets and sets the property Body. /// </summary> public MemoryStream Body { get { return this._body; } set { this._body = value; } } // Check to see if Body property is set internal bool IsSetBody() { return this._body != null; } } }
54
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.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApiGatewayV2.Model { /// <summary> /// Container for the parameters to the GetApiMapping operation. /// Gets an API mapping. /// </summary> public partial class GetApiMappingRequest : AmazonApiGatewayV2Request { private string _apiMappingId; private string _domainName; /// <summary> /// Gets and sets the property ApiMappingId. /// <para> /// The API mapping identifier. /// </para> /// </summary> [AWSProperty(Required=true)] public string ApiMappingId { get { return this._apiMappingId; } set { this._apiMappingId = value; } } // Check to see if ApiMappingId property is set internal bool IsSetApiMappingId() { return this._apiMappingId != null; } /// <summary> /// Gets and sets the property DomainName. /// <para> /// The domain name. /// </para> /// </summary> [AWSProperty(Required=true)] public string DomainName { get { return this._domainName; } set { this._domainName = value; } } // Check to see if DomainName property is set internal bool IsSetDomainName() { return this._domainName != null; } } }
79
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the apigatewayv2-2018-11-29.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApiGatewayV2.Model { /// <summary> /// This is the response object from the GetApiMapping operation. /// </summary> public partial class GetApiMappingResponse : AmazonWebServiceResponse { private string _apiId; private string _apiMappingId; private string _apiMappingKey; private string _stage; /// <summary> /// Gets and sets the property ApiId. /// <para> /// The API identifier. /// </para> /// </summary> public string ApiId { get { return this._apiId; } set { this._apiId = value; } } // Check to see if ApiId property is set internal bool IsSetApiId() { return this._apiId != null; } /// <summary> /// Gets and sets the property ApiMappingId. /// <para> /// The API mapping identifier. /// </para> /// </summary> public string ApiMappingId { get { return this._apiMappingId; } set { this._apiMappingId = value; } } // Check to see if ApiMappingId property is set internal bool IsSetApiMappingId() { return this._apiMappingId != null; } /// <summary> /// Gets and sets the property ApiMappingKey. /// <para> /// The API mapping key. /// </para> /// </summary> public string ApiMappingKey { get { return this._apiMappingKey; } set { this._apiMappingKey = value; } } // Check to see if ApiMappingKey property is set internal bool IsSetApiMappingKey() { return this._apiMappingKey != null; } /// <summary> /// Gets and sets the property Stage. /// <para> /// The API stage. /// </para> /// </summary> public string Stage { get { return this._stage; } set { this._stage = value; } } // Check to see if Stage property is set internal bool IsSetStage() { return this._stage != null; } } }
114
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the apigatewayv2-2018-11-29.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApiGatewayV2.Model { /// <summary> /// Container for the parameters to the GetApiMappings operation. /// Gets API mappings. /// </summary> public partial class GetApiMappingsRequest : AmazonApiGatewayV2Request { private string _domainName; private string _maxResults; private string _nextToken; /// <summary> /// Gets and sets the property DomainName. /// <para> /// The domain name. /// </para> /// </summary> [AWSProperty(Required=true)] public string DomainName { get { return this._domainName; } set { this._domainName = value; } } // Check to see if DomainName property is set internal bool IsSetDomainName() { return this._domainName != null; } /// <summary> /// Gets and sets the property MaxResults. /// <para> /// The maximum number of elements to be returned for this resource. /// </para> /// </summary> public string MaxResults { get { return this._maxResults; } set { this._maxResults = value; } } // Check to see if MaxResults property is set internal bool IsSetMaxResults() { return this._maxResults != null; } /// <summary> /// Gets and sets the property NextToken. /// <para> /// The next page of elements from this collection. Not valid for the last element of /// the collection. /// </para> /// </summary> public string NextToken { get { return this._nextToken; } set { this._nextToken = value; } } // Check to see if NextToken property is set internal bool IsSetNextToken() { return this._nextToken != null; } } }
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.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApiGatewayV2.Model { /// <summary> /// This is the response object from the GetApiMappings operation. /// </summary> public partial class GetApiMappingsResponse : AmazonWebServiceResponse { private List<ApiMapping> _items = new List<ApiMapping>(); private string _nextToken; /// <summary> /// Gets and sets the property Items. /// <para> /// The elements from this collection. /// </para> /// </summary> public List<ApiMapping> Items { get { return this._items; } set { this._items = value; } } // Check to see if Items property is set internal bool IsSetItems() { return this._items != null && this._items.Count > 0; } /// <summary> /// Gets and sets the property NextToken. /// <para> /// The next page of elements from this collection. Not valid for the last element of /// the collection. /// </para> /// </summary> public string NextToken { get { return this._nextToken; } set { this._nextToken = value; } } // Check to see if NextToken property is set internal bool IsSetNextToken() { return this._nextToken != null; } } }
77
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.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApiGatewayV2.Model { /// <summary> /// Container for the parameters to the GetApi operation. /// Gets an Api resource. /// </summary> public partial class GetApiRequest : AmazonApiGatewayV2Request { private string _apiId; /// <summary> /// Gets and sets the property ApiId. /// <para> /// The API identifier. /// </para> /// </summary> [AWSProperty(Required=true)] public string ApiId { get { return this._apiId; } set { this._apiId = value; } } // Check to see if ApiId property is set internal bool IsSetApiId() { return this._apiId != null; } } }
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 apigatewayv2-2018-11-29.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApiGatewayV2.Model { /// <summary> /// This is the response object from the GetApi operation. /// </summary> public partial class GetApiResponse : AmazonWebServiceResponse { private string _apiEndpoint; private bool? _apiGatewayManaged; private string _apiId; private string _apiKeySelectionExpression; private Cors _corsConfiguration; private DateTime? _createdDate; private string _description; private bool? _disableExecuteApiEndpoint; private bool? _disableSchemaValidation; private List<string> _importInfo = new List<string>(); private string _name; private ProtocolType _protocolType; private string _routeSelectionExpression; private Dictionary<string, string> _tags = new Dictionary<string, string>(); private string _version; private List<string> _warnings = new List<string>(); /// <summary> /// Gets and sets the property ApiEndpoint. /// <para> /// The URI of the API, of the form {api-id}.execute-api.{region}.amazonaws.com. The stage /// name is typically appended to this URI to form a complete path to a deployed API stage. /// </para> /// </summary> public string ApiEndpoint { get { return this._apiEndpoint; } set { this._apiEndpoint = value; } } // Check to see if ApiEndpoint property is set internal bool IsSetApiEndpoint() { return this._apiEndpoint != null; } /// <summary> /// Gets and sets the property ApiGatewayManaged. /// <para> /// Specifies whether an API is managed by API Gateway. You can't update or delete a managed /// API by using API Gateway. A managed API can be deleted only through the tooling or /// service that created it. /// </para> /// </summary> public bool ApiGatewayManaged { get { return this._apiGatewayManaged.GetValueOrDefault(); } set { this._apiGatewayManaged = value; } } // Check to see if ApiGatewayManaged property is set internal bool IsSetApiGatewayManaged() { return this._apiGatewayManaged.HasValue; } /// <summary> /// Gets and sets the property ApiId. /// <para> /// The API ID. /// </para> /// </summary> public string ApiId { get { return this._apiId; } set { this._apiId = value; } } // Check to see if ApiId property is set internal bool IsSetApiId() { return this._apiId != null; } /// <summary> /// Gets and sets the property ApiKeySelectionExpression. /// <para> /// An API key selection expression. Supported only for WebSocket APIs. See <a href="https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions">API /// Key Selection Expressions</a>. /// </para> /// </summary> public string ApiKeySelectionExpression { get { return this._apiKeySelectionExpression; } set { this._apiKeySelectionExpression = value; } } // Check to see if ApiKeySelectionExpression property is set internal bool IsSetApiKeySelectionExpression() { return this._apiKeySelectionExpression != null; } /// <summary> /// Gets and sets the property CorsConfiguration. /// <para> /// A CORS configuration. Supported only for HTTP APIs. /// </para> /// </summary> public Cors CorsConfiguration { get { return this._corsConfiguration; } set { this._corsConfiguration = value; } } // Check to see if CorsConfiguration property is set internal bool IsSetCorsConfiguration() { return this._corsConfiguration != null; } /// <summary> /// Gets and sets the property CreatedDate. /// <para> /// The timestamp when the API was created. /// </para> /// </summary> public DateTime CreatedDate { get { return this._createdDate.GetValueOrDefault(); } set { this._createdDate = value; } } // Check to see if CreatedDate property is set internal bool IsSetCreatedDate() { return this._createdDate.HasValue; } /// <summary> /// Gets and sets the property Description. /// <para> /// The description of the API. /// </para> /// </summary> 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 DisableExecuteApiEndpoint. /// <para> /// Specifies whether clients can invoke your API by using the default execute-api endpoint. /// By default, clients can invoke your API with the default https://{api_id}.execute-api.{region}.amazonaws.com /// endpoint. To require that clients use a custom domain name to invoke your API, disable /// the default endpoint. /// </para> /// </summary> public bool DisableExecuteApiEndpoint { get { return this._disableExecuteApiEndpoint.GetValueOrDefault(); } set { this._disableExecuteApiEndpoint = value; } } // Check to see if DisableExecuteApiEndpoint property is set internal bool IsSetDisableExecuteApiEndpoint() { return this._disableExecuteApiEndpoint.HasValue; } /// <summary> /// Gets and sets the property DisableSchemaValidation. /// <para> /// Avoid validating models when creating a deployment. Supported only for WebSocket APIs. /// </para> /// </summary> public bool DisableSchemaValidation { get { return this._disableSchemaValidation.GetValueOrDefault(); } set { this._disableSchemaValidation = value; } } // Check to see if DisableSchemaValidation property is set internal bool IsSetDisableSchemaValidation() { return this._disableSchemaValidation.HasValue; } /// <summary> /// Gets and sets the property ImportInfo. /// <para> /// The validation information during API import. This may include particular properties /// of your OpenAPI definition which are ignored during import. Supported only for HTTP /// APIs. /// </para> /// </summary> public List<string> ImportInfo { get { return this._importInfo; } set { this._importInfo = value; } } // Check to see if ImportInfo property is set internal bool IsSetImportInfo() { return this._importInfo != null && this._importInfo.Count > 0; } /// <summary> /// Gets and sets the property Name. /// <para> /// The name of the API. /// </para> /// </summary> 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 ProtocolType. /// <para> /// The API protocol. /// </para> /// </summary> public ProtocolType ProtocolType { get { return this._protocolType; } set { this._protocolType = value; } } // Check to see if ProtocolType property is set internal bool IsSetProtocolType() { return this._protocolType != null; } /// <summary> /// Gets and sets the property RouteSelectionExpression. /// <para> /// The route selection expression for the API. For HTTP APIs, the routeSelectionExpression /// must be ${request.method} ${request.path}. If not provided, this will be the default /// for HTTP APIs. This property is required for WebSocket APIs. /// </para> /// </summary> public string RouteSelectionExpression { get { return this._routeSelectionExpression; } set { this._routeSelectionExpression = value; } } // Check to see if RouteSelectionExpression property is set internal bool IsSetRouteSelectionExpression() { return this._routeSelectionExpression != null; } /// <summary> /// Gets and sets the property Tags. /// <para> /// A collection of tags associated with the API. /// </para> /// </summary> 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 Version. /// <para> /// A version identifier for the API. /// </para> /// </summary> public string Version { get { return this._version; } set { this._version = value; } } // Check to see if Version property is set internal bool IsSetVersion() { return this._version != null; } /// <summary> /// Gets and sets the property Warnings. /// <para> /// The warning messages reported when failonwarnings is turned on during API import. /// </para> /// </summary> public List<string> Warnings { get { return this._warnings; } set { this._warnings = value; } } // Check to see if Warnings property is set internal bool IsSetWarnings() { return this._warnings != null && this._warnings.Count > 0; } } }
353
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.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApiGatewayV2.Model { /// <summary> /// Container for the parameters to the GetApis operation. /// Gets a collection of Api resources. /// </summary> public partial class GetApisRequest : AmazonApiGatewayV2Request { private string _maxResults; private string _nextToken; /// <summary> /// Gets and sets the property MaxResults. /// <para> /// The maximum number of elements to be returned for this resource. /// </para> /// </summary> public string MaxResults { get { return this._maxResults; } set { this._maxResults = value; } } // Check to see if MaxResults property is set internal bool IsSetMaxResults() { return this._maxResults != null; } /// <summary> /// Gets and sets the property NextToken. /// <para> /// The next page of elements from this collection. Not valid for the last element of /// the collection. /// </para> /// </summary> public string NextToken { get { return this._nextToken; } set { this._nextToken = value; } } // Check to see if NextToken property is set internal bool IsSetNextToken() { return this._nextToken != null; } } }
78
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the apigatewayv2-2018-11-29.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApiGatewayV2.Model { /// <summary> /// This is the response object from the GetApis operation. /// </summary> public partial class GetApisResponse : AmazonWebServiceResponse { private List<Api> _items = new List<Api>(); private string _nextToken; /// <summary> /// Gets and sets the property Items. /// <para> /// The elements from this collection. /// </para> /// </summary> public List<Api> Items { get { return this._items; } set { this._items = value; } } // Check to see if Items property is set internal bool IsSetItems() { return this._items != null && this._items.Count > 0; } /// <summary> /// Gets and sets the property NextToken. /// <para> /// The next page of elements from this collection. Not valid for the last element of /// the collection. /// </para> /// </summary> public string NextToken { get { return this._nextToken; } set { this._nextToken = value; } } // Check to see if NextToken property is set internal bool IsSetNextToken() { return this._nextToken != null; } } }
77