repo_name
stringlengths
1
52
repo_creator
stringclasses
6 values
programming_language
stringclasses
4 values
code
stringlengths
0
9.68M
num_lines
int64
1
234k
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the apigatewayv2-2018-11-29.normal.json service model. */ using System; using System.Collections.Generic; using System.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 GetAuthorizer operation. /// Gets an Authorizer. /// </summary> public partial class GetAuthorizerRequest : 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 GetAuthorizer operation. /// </summary> public partial class GetAuthorizerResponse : 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 GetAuthorizers operation. /// Gets the Authorizers for an API. /// </summary> public partial class GetAuthorizersRequest : AmazonApiGatewayV2Request { private string _apiId; private string _maxResults; private string _nextToken; /// <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 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 GetAuthorizers operation. /// </summary> public partial class GetAuthorizersResponse : AmazonWebServiceResponse { private List<Authorizer> _items = new List<Authorizer>(); private string _nextToken; /// <summary> /// Gets and sets the property Items. /// <para> /// The elements from this collection. /// </para> /// </summary> public List<Authorizer> 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 GetDeployment operation. /// Gets a Deployment. /// </summary> public partial class GetDeploymentRequest : 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 GetDeployment operation. /// </summary> public partial class GetDeploymentResponse : 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 GetDeployments operation. /// Gets the Deployments for an API. /// </summary> public partial class GetDeploymentsRequest : AmazonApiGatewayV2Request { private string _apiId; private string _maxResults; private string _nextToken; /// <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 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 GetDeployments operation. /// </summary> public partial class GetDeploymentsResponse : AmazonWebServiceResponse { private List<Deployment> _items = new List<Deployment>(); private string _nextToken; /// <summary> /// Gets and sets the property Items. /// <para> /// The elements from this collection. /// </para> /// </summary> public List<Deployment> 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 GetDomainName operation. /// Gets a domain name. /// </summary> public partial class GetDomainNameRequest : 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 GetDomainName operation. /// </summary> public partial class GetDomainNameResponse : 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 GetDomainNames operation. /// Gets the domain names for an AWS account. /// </summary> public partial class GetDomainNamesRequest : 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 GetDomainNames operation. /// </summary> public partial class GetDomainNamesResponse : AmazonWebServiceResponse { private List<DomainName> _items = new List<DomainName>(); private string _nextToken; /// <summary> /// Gets and sets the property Items. /// <para> /// The elements from this collection. /// </para> /// </summary> public List<DomainName> 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 GetIntegration operation. /// Gets an Integration. /// </summary> public partial class GetIntegrationRequest : 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 GetIntegration operation. /// </summary> public partial class GetIntegrationResponse : 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 GetIntegrationResponse operation. /// Gets an IntegrationResponses. /// </summary> public partial class GetIntegrationResponseRequest : 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 GetIntegrationResponse operation. /// </summary> public partial class GetIntegrationResponseResponse : 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 GetIntegrationResponses operation. /// Gets the IntegrationResponses for an Integration. /// </summary> public partial class GetIntegrationResponsesRequest : AmazonApiGatewayV2Request { private string _apiId; private string _integrationId; private string _maxResults; private string _nextToken; /// <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 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; } } }
118
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See 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 GetIntegrationResponses operation. /// </summary> public partial class GetIntegrationResponsesResponse : AmazonWebServiceResponse { private List<IntegrationResponse> _items = new List<IntegrationResponse>(); private string _nextToken; /// <summary> /// Gets and sets the property Items. /// <para> /// The elements from this collection. /// </para> /// </summary> public List<IntegrationResponse> 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 GetIntegrations operation. /// Gets the Integrations for an API. /// </summary> public partial class GetIntegrationsRequest : AmazonApiGatewayV2Request { private string _apiId; private string _maxResults; private string _nextToken; /// <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 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 GetIntegrations operation. /// </summary> public partial class GetIntegrationsResponse : AmazonWebServiceResponse { private List<Integration> _items = new List<Integration>(); private string _nextToken; /// <summary> /// Gets and sets the property Items. /// <para> /// The elements from this collection. /// </para> /// </summary> public List<Integration> 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 GetModel operation. /// Gets a Model. /// </summary> public partial class GetModelRequest : 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 GetModel operation. /// </summary> public partial class GetModelResponse : 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 GetModels operation. /// Gets the Models for an API. /// </summary> public partial class GetModelsRequest : AmazonApiGatewayV2Request { private string _apiId; private string _maxResults; private string _nextToken; /// <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 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 GetModels operation. /// </summary> public partial class GetModelsResponse : AmazonWebServiceResponse { private List<Model> _items = new List<Model>(); private string _nextToken; /// <summary> /// Gets and sets the property Items. /// <para> /// The elements from this collection. /// </para> /// </summary> public List<Model> 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 GetModelTemplate operation. /// Gets a model template. /// </summary> public partial class GetModelTemplateRequest : 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 GetModelTemplate operation. /// </summary> public partial class GetModelTemplateResponse : AmazonWebServiceResponse { private string _value; /// <summary> /// Gets and sets the property Value. /// <para> /// The template value. /// </para> /// </summary> public string Value { get { return this._value; } set { this._value = value; } } // Check to see if Value property is set internal bool IsSetValue() { return this._value != null; } } }
57
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See 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 GetRoute operation. /// Gets a Route. /// </summary> public partial class GetRouteRequest : 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> /// This is the response object from the GetRoute operation. /// </summary> public partial class GetRouteResponse : 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 GetRouteResponse operation. /// Gets a RouteResponse. /// </summary> public partial class GetRouteResponseRequest : 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 GetRouteResponse operation. /// </summary> public partial class GetRouteResponseResponse : 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 GetRouteResponses operation. /// Gets the RouteResponses for a Route. /// </summary> public partial class GetRouteResponsesRequest : AmazonApiGatewayV2Request { private string _apiId; private string _maxResults; private string _nextToken; 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 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; } /// <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; } } }
118
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See 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 GetRouteResponses operation. /// </summary> public partial class GetRouteResponsesResponse : AmazonWebServiceResponse { private List<RouteResponse> _items = new List<RouteResponse>(); private string _nextToken; /// <summary> /// Gets and sets the property Items. /// <para> /// The elements from this collection. /// </para> /// </summary> public List<RouteResponse> 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 GetRoutes operation. /// Gets the Routes for an API. /// </summary> public partial class GetRoutesRequest : AmazonApiGatewayV2Request { private string _apiId; private string _maxResults; private string _nextToken; /// <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 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 GetRoutes operation. /// </summary> public partial class GetRoutesResponse : AmazonWebServiceResponse { private List<Route> _items = new List<Route>(); private string _nextToken; /// <summary> /// Gets and sets the property Items. /// <para> /// The elements from this collection. /// </para> /// </summary> public List<Route> 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 GetStage operation. /// Gets a Stage. /// </summary> public partial class GetStageRequest : 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 GetStage operation. /// </summary> public partial class GetStageResponse : 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 GetStages operation. /// Gets the Stages for an API. /// </summary> public partial class GetStagesRequest : AmazonApiGatewayV2Request { private string _apiId; private string _maxResults; private string _nextToken; /// <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 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 GetStages operation. /// </summary> public partial class GetStagesResponse : AmazonWebServiceResponse { private List<Stage> _items = new List<Stage>(); private string _nextToken; /// <summary> /// Gets and sets the property Items. /// <para> /// The elements from this collection. /// </para> /// </summary> public List<Stage> 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 GetTags operation. /// Gets a collection of Tag resources. /// </summary> public partial class GetTagsRequest : AmazonApiGatewayV2Request { private string _resourceArn; /// <summary> /// Gets and sets the property ResourceArn. /// <para> /// The resource ARN for the tag. /// </para> /// </summary> [AWSProperty(Required=true)] public string ResourceArn { get { return this._resourceArn; } set { this._resourceArn = value; } } // Check to see if ResourceArn property is set internal bool IsSetResourceArn() { return this._resourceArn != 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 GetTags operation. /// </summary> public partial class GetTagsResponse : AmazonWebServiceResponse { private Dictionary<string, string> _tags = new Dictionary<string, string>(); /// <summary> /// Gets and sets the property Tags. /// </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; } } }
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 GetVpcLink operation. /// Gets a VPC link. /// </summary> public partial class GetVpcLinkRequest : 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 GetVpcLink operation. /// </summary> public partial class GetVpcLinkResponse : 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 GetVpcLinks operation. /// Gets a collection of VPC links. /// </summary> public partial class GetVpcLinksRequest : 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 GetVpcLinks operation. /// </summary> public partial class GetVpcLinksResponse : AmazonWebServiceResponse { private List<VpcLink> _items = new List<VpcLink>(); private string _nextToken; /// <summary> /// Gets and sets the property Items. /// <para> /// A collection of VPC links. /// </para> /// </summary> public List<VpcLink> 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 ImportApi operation. /// Imports an API. /// </summary> public partial class ImportApiRequest : AmazonApiGatewayV2Request { private string _basepath; private string _body; private bool? _failOnWarnings; /// <summary> /// Gets and sets the property Basepath. /// <para> /// Specifies how to interpret the base path of the API during import. Valid values are /// ignore, prepend, and split. The default value is ignore. To learn more, see <a href="https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-import-api-basePath.html">Set /// the OpenAPI basePath Property</a>. Supported only for HTTP APIs. /// </para> /// </summary> public string Basepath { get { return this._basepath; } set { this._basepath = value; } } // Check to see if Basepath property is set internal bool IsSetBasepath() { return this._basepath != null; } /// <summary> /// Gets and sets the property Body. /// <para> /// The OpenAPI definition. Supported only for HTTP APIs. /// </para> /// </summary> [AWSProperty(Required=true)] public string Body { get { return this._body; } set { this._body = value; } } // Check to see if Body property is set internal bool IsSetBody() { return this._body != null; } /// <summary> /// Gets and sets the property FailOnWarnings. /// <para> /// Specifies whether to rollback the API creation when a warning is encountered. By default, /// API creation continues if a warning is encountered. /// </para> /// </summary> public bool FailOnWarnings { get { return this._failOnWarnings.GetValueOrDefault(); } set { this._failOnWarnings = value; } } // Check to see if FailOnWarnings property is set internal bool IsSetFailOnWarnings() { return this._failOnWarnings.HasValue; } } }
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 ImportApi operation. /// </summary> public partial class ImportApiResponse : 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> /// Represents an integration. /// </summary> public partial class Integration { 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> /// Represents an integration response. /// </summary> public partial class IntegrationResponse { 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> [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 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; } } }
179
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See 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 the configuration of a JWT authorizer. Required for the JWT authorizer /// type. Supported only for HTTP APIs. /// </summary> public partial class JWTConfiguration { private List<string> _audience = new List<string>(); private string _issuer; /// <summary> /// Gets and sets the property Audience. /// <para> /// A list of the intended recipients of the JWT. A valid JWT must provide an aud that /// matches at least one entry in this list. See <a href="https://tools.ietf.org/html/rfc7519#section-4.1.3">RFC /// 7519</a>. Supported only for HTTP APIs. /// </para> /// </summary> public List<string> Audience { get { return this._audience; } set { this._audience = value; } } // Check to see if Audience property is set internal bool IsSetAudience() { return this._audience != null && this._audience.Count > 0; } /// <summary> /// Gets and sets the property Issuer. /// <para> /// The base domain of the identity provider that issues JSON Web Tokens. For example, /// an Amazon Cognito user pool has the following format: https://cognito-idp.<replaceable>{region}</replaceable>.amazonaws.com/<replaceable>{userPoolId}</replaceable> /// . Required for the JWT authorizer type. Supported only for HTTP APIs. /// </para> /// </summary> public string Issuer { get { return this._issuer; } set { this._issuer = value; } } // Check to see if Issuer property is set internal bool IsSetIssuer() { return this._issuer != 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> /// Represents a data model for an API. Supported only for WebSocket APIs. See <a href="https://docs.aws.amazon.com/apigateway/latest/developerguide/models-mappings.html">Create /// Models and Mapping Templates for Request and Response Mappings</a>. /// </summary> public partial class Model { 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> [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> 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; } } }
136
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See 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> public partial class MutualTlsAuthentication { private string _truststoreUri; private string _truststoreVersion; private List<string> _truststoreWarnings = new List<string>(); /// <summary> /// Gets and sets the property TruststoreUri. /// <para> /// An Amazon S3 URL that specifies the truststore for mutual TLS authentication, for /// example, s3://<replaceable>bucket-name</replaceable>/<replaceable>key-name</replaceable>. /// The truststore can contain certificates from public or private certificate authorities. /// To update the truststore, upload a new version to S3, and then update your custom /// domain name to use the new version. To update the truststore, you must have permissions /// to access the S3 object. /// </para> /// </summary> public string TruststoreUri { get { return this._truststoreUri; } set { this._truststoreUri = value; } } // Check to see if TruststoreUri property is set internal bool IsSetTruststoreUri() { return this._truststoreUri != null; } /// <summary> /// Gets and sets the property TruststoreVersion. /// <para> /// The version of the S3 object that contains your truststore. To specify a version, /// you must have versioning enabled for the S3 bucket. /// </para> /// </summary> public string TruststoreVersion { get { return this._truststoreVersion; } set { this._truststoreVersion = value; } } // Check to see if TruststoreVersion property is set internal bool IsSetTruststoreVersion() { return this._truststoreVersion != null; } /// <summary> /// Gets and sets the property TruststoreWarnings. /// <para> /// A list of warnings that API Gateway returns while processing your truststore. Invalid /// certificates produce warnings. Mutual TLS is still enabled, but some clients might /// not be able to access your API. To resolve warnings, upload a new truststore to S3, /// and then update you domain name to use the new version. /// </para> /// </summary> public List<string> TruststoreWarnings { get { return this._truststoreWarnings; } set { this._truststoreWarnings = value; } } // Check to see if TruststoreWarnings property is set internal bool IsSetTruststoreWarnings() { return this._truststoreWarnings != null && this._truststoreWarnings.Count > 0; } } }
104
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the 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> public partial class MutualTlsAuthenticationInput { private string _truststoreUri; private string _truststoreVersion; /// <summary> /// Gets and sets the property TruststoreUri. /// <para> /// An Amazon S3 URL that specifies the truststore for mutual TLS authentication, for /// example, s3://<replaceable>bucket-name</replaceable>/<replaceable>key-name</replaceable>. /// The truststore can contain certificates from public or private certificate authorities. /// To update the truststore, upload a new version to S3, and then update your custom /// domain name to use the new version. To update the truststore, you must have permissions /// to access the S3 object. /// </para> /// </summary> public string TruststoreUri { get { return this._truststoreUri; } set { this._truststoreUri = value; } } // Check to see if TruststoreUri property is set internal bool IsSetTruststoreUri() { return this._truststoreUri != null; } /// <summary> /// Gets and sets the property TruststoreVersion. /// <para> /// The version of the S3 object that contains your truststore. To specify a version, /// you must have versioning enabled for the S3 bucket. /// </para> /// </summary> public string TruststoreVersion { get { return this._truststoreVersion; } set { this._truststoreVersion = value; } } // Check to see if TruststoreVersion property is set internal bool IsSetTruststoreVersion() { return this._truststoreVersion != null; } } }
82
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See 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 resource specified in the request was not found. See the message field for more /// information. /// </summary> #if !NETSTANDARD [Serializable] #endif public partial class NotFoundException : AmazonApiGatewayV2Exception { private string _resourceType; /// <summary> /// Constructs a new NotFoundException with the specified error /// message. /// </summary> /// <param name="message"> /// Describes the error encountered. /// </param> public NotFoundException(string message) : base(message) {} /// <summary> /// Construct instance of NotFoundException /// </summary> /// <param name="message"></param> /// <param name="innerException"></param> public NotFoundException(string message, Exception innerException) : base(message, innerException) {} /// <summary> /// Construct instance of NotFoundException /// </summary> /// <param name="innerException"></param> public NotFoundException(Exception innerException) : base(innerException) {} /// <summary> /// Construct instance of NotFoundException /// </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 NotFoundException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) : base(message, innerException, errorType, errorCode, requestId, statusCode) {} /// <summary> /// Construct instance of NotFoundException /// </summary> /// <param name="message"></param> /// <param name="errorType"></param> /// <param name="errorCode"></param> /// <param name="requestId"></param> /// <param name="statusCode"></param> public NotFoundException(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 NotFoundException 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 NotFoundException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) : base(info, context) { this.ResourceType = (string)info.GetValue("ResourceType", typeof(string)); } /// <summary> /// Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with information about the exception. /// </summary> /// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param> /// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param> /// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is a null reference (Nothing in Visual Basic). </exception> #if BCL35 [System.Security.Permissions.SecurityPermission( System.Security.Permissions.SecurityAction.LinkDemand, Flags = System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)] #endif [System.Security.SecurityCritical] // These FxCop rules are giving false-positives for this method [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase")] [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2134:MethodsMustOverrideWithConsistentTransparencyFxCopRule")] public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { base.GetObjectData(info, context); info.AddValue("ResourceType", this.ResourceType); } #endif /// <summary> /// Gets and sets the property ResourceType. /// <para> /// The resource type. /// </para> /// </summary> public string ResourceType { get { return this._resourceType; } set { this._resourceType = value; } } // Check to see if ResourceType property is set internal bool IsSetResourceType() { return this._resourceType != 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 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> /// Validation constraints imposed on parameters of a request (path, query string, headers). /// </summary> public partial class ParameterConstraints { private bool? _required; /// <summary> /// Gets and sets the property Required. /// <para> /// Whether or not the parameter is required. /// </para> /// </summary> public bool Required { get { return this._required.GetValueOrDefault(); } set { this._required = value; } } // Check to see if Required property is set internal bool IsSetRequired() { return this._required.HasValue; } } }
57
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See 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 ReimportApi operation. /// Puts an Api resource. /// </summary> public partial class ReimportApiRequest : AmazonApiGatewayV2Request { private string _apiId; private string _basepath; private string _body; private bool? _failOnWarnings; /// <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 Basepath. /// <para> /// Specifies how to interpret the base path of the API during import. Valid values are /// ignore, prepend, and split. The default value is ignore. To learn more, see <a href="https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-import-api-basePath.html">Set /// the OpenAPI basePath Property</a>. Supported only for HTTP APIs. /// </para> /// </summary> public string Basepath { get { return this._basepath; } set { this._basepath = value; } } // Check to see if Basepath property is set internal bool IsSetBasepath() { return this._basepath != null; } /// <summary> /// Gets and sets the property Body. /// <para> /// The OpenAPI definition. Supported only for HTTP APIs. /// </para> /// </summary> [AWSProperty(Required=true)] public string Body { get { return this._body; } set { this._body = value; } } // Check to see if Body property is set internal bool IsSetBody() { return this._body != null; } /// <summary> /// Gets and sets the property FailOnWarnings. /// <para> /// Specifies whether to rollback the API creation when a warning is encountered. By default, /// API creation continues if a warning is encountered. /// </para> /// </summary> public bool FailOnWarnings { get { return this._failOnWarnings.GetValueOrDefault(); } set { this._failOnWarnings = value; } } // Check to see if FailOnWarnings property is set internal bool IsSetFailOnWarnings() { return this._failOnWarnings.HasValue; } } }
120
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the apigatewayv2-2018-11-29.normal.json service model. */ using System; using System.Collections.Generic; using System.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 ReimportApi operation. /// </summary> public partial class ReimportApiResponse : 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 ResetAuthorizersCache operation. /// Resets all authorizer cache entries on a stage. Supported only for HTTP APIs. /// </summary> public partial class ResetAuthorizersCacheRequest : 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 contain only alphanumeric characters, hyphens, and /// underscores, or be $default. 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 ResetAuthorizersCache operation. /// </summary> public partial class ResetAuthorizersCacheResponse : 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> /// Represents a route. /// </summary> public partial class Route { 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> [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; } } }
300
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See 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 route response. /// </summary> public partial class RouteResponse { 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> [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; } } }
135
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See 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 collection of route settings. /// </summary> public partial class RouteSettings { private bool? _dataTraceEnabled; private bool? _detailedMetricsEnabled; private LoggingLevel _loggingLevel; private int? _throttlingBurstLimit; private double? _throttlingRateLimit; /// <summary> /// Gets and sets the property DataTraceEnabled. /// <para> /// Specifies whether (true) or not (false) data trace logging is enabled for this route. /// This property affects the log entries pushed to Amazon CloudWatch Logs. Supported /// only for WebSocket APIs. /// </para> /// </summary> public bool DataTraceEnabled { get { return this._dataTraceEnabled.GetValueOrDefault(); } set { this._dataTraceEnabled = value; } } // Check to see if DataTraceEnabled property is set internal bool IsSetDataTraceEnabled() { return this._dataTraceEnabled.HasValue; } /// <summary> /// Gets and sets the property DetailedMetricsEnabled. /// <para> /// Specifies whether detailed metrics are enabled. /// </para> /// </summary> public bool DetailedMetricsEnabled { get { return this._detailedMetricsEnabled.GetValueOrDefault(); } set { this._detailedMetricsEnabled = value; } } // Check to see if DetailedMetricsEnabled property is set internal bool IsSetDetailedMetricsEnabled() { return this._detailedMetricsEnabled.HasValue; } /// <summary> /// Gets and sets the property LoggingLevel. /// <para> /// Specifies the logging level for this route: INFO, ERROR, or OFF. This property affects /// the log entries pushed to Amazon CloudWatch Logs. Supported only for WebSocket APIs. /// </para> /// </summary> public LoggingLevel LoggingLevel { get { return this._loggingLevel; } set { this._loggingLevel = value; } } // Check to see if LoggingLevel property is set internal bool IsSetLoggingLevel() { return this._loggingLevel != null; } /// <summary> /// Gets and sets the property ThrottlingBurstLimit. /// <para> /// Specifies the throttling burst limit. /// </para> /// </summary> public int ThrottlingBurstLimit { get { return this._throttlingBurstLimit.GetValueOrDefault(); } set { this._throttlingBurstLimit = value; } } // Check to see if ThrottlingBurstLimit property is set internal bool IsSetThrottlingBurstLimit() { return this._throttlingBurstLimit.HasValue; } /// <summary> /// Gets and sets the property ThrottlingRateLimit. /// <para> /// Specifies the throttling rate limit. /// </para> /// </summary> public double ThrottlingRateLimit { get { return this._throttlingRateLimit.GetValueOrDefault(); } set { this._throttlingRateLimit = value; } } // Check to see if ThrottlingRateLimit property is set internal bool IsSetThrottlingRateLimit() { return this._throttlingRateLimit.HasValue; } } }
136
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See 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 stage. /// </summary> public partial class Stage { 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> [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 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; } } }
311
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See 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 TagResource operation. /// Creates a new Tag resource to represent a tag. /// </summary> public partial class TagResourceRequest : AmazonApiGatewayV2Request { private string _resourceArn; private Dictionary<string, string> _tags = new Dictionary<string, string>(); /// <summary> /// Gets and sets the property ResourceArn. /// <para> /// The resource ARN for the tag. /// </para> /// </summary> [AWSProperty(Required=true)] public string ResourceArn { get { return this._resourceArn; } set { this._resourceArn = value; } } // Check to see if ResourceArn property is set internal bool IsSetResourceArn() { return this._resourceArn != 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; } } }
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 TagResource operation. /// </summary> public partial class TagResourceResponse : 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> /// 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. /// </summary> public partial class TlsConfig { private string _serverNameToVerify; /// <summary> /// Gets and sets the property ServerNameToVerify. /// <para> /// If you specify a server name, API Gateway uses it to verify the hostname on the integration's /// certificate. The server name is also included in the TLS handshake to support Server /// Name Indication (SNI) or virtual hosting. /// </para> /// </summary> public string ServerNameToVerify { get { return this._serverNameToVerify; } set { this._serverNameToVerify = value; } } // Check to see if ServerNameToVerify property is set internal bool IsSetServerNameToVerify() { return this._serverNameToVerify != null; } } }
60
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See 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 TLS configuration for a private integration. If you specify a TLS configuration, /// private integration traffic uses the HTTPS protocol. Supported only for HTTP APIs. /// </summary> public partial class TlsConfigInput { private string _serverNameToVerify; /// <summary> /// Gets and sets the property ServerNameToVerify. /// <para> /// If you specify a server name, API Gateway uses it to verify the hostname on the integration's /// certificate. The server name is also included in the TLS handshake to support Server /// Name Indication (SNI) or virtual hosting. /// </para> /// </summary> public string ServerNameToVerify { get { return this._serverNameToVerify; } set { this._serverNameToVerify = value; } } // Check to see if ServerNameToVerify property is set internal bool IsSetServerNameToVerify() { return this._serverNameToVerify != null; } } }
60
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See 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> /// A limit has been exceeded. See the accompanying error message for details. /// </summary> #if !NETSTANDARD [Serializable] #endif public partial class TooManyRequestsException : AmazonApiGatewayV2Exception { private string _limitType; /// <summary> /// Constructs a new TooManyRequestsException with the specified error /// message. /// </summary> /// <param name="message"> /// Describes the error encountered. /// </param> public TooManyRequestsException(string message) : base(message) {} /// <summary> /// Construct instance of TooManyRequestsException /// </summary> /// <param name="message"></param> /// <param name="innerException"></param> public TooManyRequestsException(string message, Exception innerException) : base(message, innerException) {} /// <summary> /// Construct instance of TooManyRequestsException /// </summary> /// <param name="innerException"></param> public TooManyRequestsException(Exception innerException) : base(innerException) {} /// <summary> /// Construct instance of TooManyRequestsException /// </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 TooManyRequestsException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) : base(message, innerException, errorType, errorCode, requestId, statusCode) {} /// <summary> /// Construct instance of TooManyRequestsException /// </summary> /// <param name="message"></param> /// <param name="errorType"></param> /// <param name="errorCode"></param> /// <param name="requestId"></param> /// <param name="statusCode"></param> public TooManyRequestsException(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 TooManyRequestsException 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 TooManyRequestsException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) : base(info, context) { this.LimitType = (string)info.GetValue("LimitType", typeof(string)); } /// <summary> /// Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with information about the exception. /// </summary> /// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param> /// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param> /// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is a null reference (Nothing in Visual Basic). </exception> #if BCL35 [System.Security.Permissions.SecurityPermission( System.Security.Permissions.SecurityAction.LinkDemand, Flags = System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)] #endif [System.Security.SecurityCritical] // These FxCop rules are giving false-positives for this method [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase")] [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2134:MethodsMustOverrideWithConsistentTransparencyFxCopRule")] public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { base.GetObjectData(info, context); info.AddValue("LimitType", this.LimitType); } #endif /// <summary> /// Gets and sets the property LimitType. /// <para> /// The limit type. /// </para> /// </summary> public string LimitType { get { return this._limitType; } set { this._limitType = value; } } // Check to see if LimitType property is set internal bool IsSetLimitType() { return this._limitType != null; } } }
145
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See 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 UntagResource operation. /// Deletes a Tag. /// </summary> public partial class UntagResourceRequest : AmazonApiGatewayV2Request { private string _resourceArn; private List<string> _tagKeys = new List<string>(); /// <summary> /// Gets and sets the property ResourceArn. /// <para> /// The resource ARN for the tag. /// </para> /// </summary> [AWSProperty(Required=true)] public string ResourceArn { get { return this._resourceArn; } set { this._resourceArn = value; } } // Check to see if ResourceArn property is set internal bool IsSetResourceArn() { return this._resourceArn != null; } /// <summary> /// Gets and sets the property TagKeys. /// <para> /// The Tag keys to delete /// </para> /// </summary> [AWSProperty(Required=true)] public List<string> TagKeys { get { return this._tagKeys; } set { this._tagKeys = value; } } // Check to see if TagKeys property is set internal bool IsSetTagKeys() { return this._tagKeys != null && this._tagKeys.Count > 0; } } }
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 UntagResource operation. /// </summary> public partial class UntagResourceResponse : 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 UpdateApiMapping operation. /// The API mapping. /// </summary> public partial class UpdateApiMappingRequest : AmazonApiGatewayV2Request { private string _apiId; private string _apiMappingId; 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 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 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 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> 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; } } }
137
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See 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 UpdateApiMapping operation. /// </summary> public partial class UpdateApiMappingResponse : 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 UpdateApi operation. /// Updates an Api resource. /// </summary> public partial class UpdateApiRequest : AmazonApiGatewayV2Request { private string _apiId; private string _apiKeySelectionExpression; private Cors _corsConfiguration; private string _credentialsArn; private string _description; private bool? _disableExecuteApiEndpoint; private bool? _disableSchemaValidation; private string _name; private string _routeKey; private string _routeSelectionExpression; private string _target; private string _version; /// <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 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 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, /// don't specify this parameter. Currently, this property is not used for HTTP integrations. /// If provided, this value replaces the credentials associated with the quick create /// integration. 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> 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 RouteKey. /// <para> /// This property is part of quick create. If not specified, the route created using quick /// create is kept. Otherwise, this value replaces the route key of the quick create route. /// Additional routes may still be added after the API is updated. 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 Target. /// <para> /// This property is part of quick create. 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. The value provided updates the integration /// URI and integration type. You can update a quick-created target, but you can't remove /// it from an API. 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; } } }
288
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See 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 UpdateApi operation. /// </summary> public partial class UpdateApiResponse : 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 UpdateAuthorizer operation. /// Updates an Authorizer. /// </summary> public partial class UpdateAuthorizerRequest : AmazonApiGatewayV2Request { private string _apiId; 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 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. /// </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> [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; } /// <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. 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> 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> 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; } } }
314
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See 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 UpdateAuthorizer operation. /// </summary> public partial class UpdateAuthorizerResponse : 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 UpdateDeployment operation. /// Updates a Deployment. /// </summary> public partial class UpdateDeploymentRequest : AmazonApiGatewayV2Request { private string _apiId; private string _deploymentId; private string _description; /// <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; } /// <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; } } }
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 UpdateDeployment operation. /// </summary> public partial class UpdateDeploymentResponse : 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 UpdateDomainName operation. /// Updates a domain name. /// </summary> public partial class UpdateDomainNameRequest : AmazonApiGatewayV2Request { private string _domainName; private List<DomainNameConfiguration> _domainNameConfigurations = new List<DomainNameConfiguration>(); private MutualTlsAuthenticationInput _mutualTlsAuthentication; /// <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; } } }
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 UpdateDomainName operation. /// </summary> public partial class UpdateDomainNameResponse : 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 UpdateIntegration operation. /// Updates an Integration. /// </summary> public partial class UpdateIntegrationRequest : AmazonApiGatewayV2Request { private string _apiId; private string _connectionId; private ConnectionType _connectionType; private ContentHandlingStrategy _contentHandlingStrategy; private string _credentialsArn; private string _description; private string _integrationId; 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 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 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> 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.">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; } } }
526
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See 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 UpdateIntegration operation. /// </summary> public partial class UpdateIntegrationResponse : 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 UpdateIntegrationResponse operation. /// Updates an IntegrationResponses. /// </summary> public partial class UpdateIntegrationResponseRequest : AmazonApiGatewayV2Request { private string _apiId; private ContentHandlingStrategy _contentHandlingStrategy; private string _integrationId; 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 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> /// 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 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; } /// <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.<replaceable>{name}</replaceable> /// , where name is a valid and unique header name. The mapped non-static /// value must match the pattern of integration.response.header.<replaceable>{name}</replaceable> /// or integration.response.body.<replaceable>{JSON-expression}</replaceable> /// , where <replaceable>{name}</replaceable> /// is a valid and unique response header name and <replaceable>{JSON-expression}</replaceable> /// 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; } } }
224
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See 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 UpdateIntegrationResponse operation. /// </summary> public partial class UpdateIntegrationResponseResponse : 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 UpdateModel operation. /// Updates a Model. /// </summary> public partial class UpdateModelRequest : AmazonApiGatewayV2Request { private string _apiId; private string _contentType; private string _description; private string _modelId; 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 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; } /// <summary> /// Gets and sets the property Name. /// <para> /// The name of the model. /// </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; } } }
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> /// This is the response object from the UpdateModel operation. /// </summary> public partial class UpdateModelResponse : 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 UpdateRoute operation. /// Updates a Route. /// </summary> public partial class UpdateRouteRequest : 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 _routeId; 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 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 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; } } }
294
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See 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 UpdateRoute operation. /// </summary> public partial class UpdateRouteResponse : 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 UpdateRouteResponse operation. /// Updates a RouteResponse. /// </summary> public partial class UpdateRouteResponseRequest : 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 _routeResponseId; 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 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; } /// <summary> /// Gets and sets the property RouteResponseKey. /// <para> /// The route response key. /// </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; } } }
176
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See 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 UpdateRouteResponse operation. /// </summary> public partial class UpdateRouteResponseResponse : 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 UpdateStage operation. /// Updates a Stage. /// </summary> public partial class UpdateStageRequest : 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>(); /// <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. /// </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 for the API stage. 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 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. /// </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 stage name. Stage names can contain only alphanumeric characters, hyphens, and /// underscores, or be $default. 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; } /// <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; } } }
234
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See 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 UpdateStage operation. /// </summary> public partial class UpdateStageResponse : 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 UpdateVpcLink operation. /// Updates a VPC link. /// </summary> public partial class UpdateVpcLinkRequest : AmazonApiGatewayV2Request { private string _name; private string _vpcLinkId; /// <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 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; } } }
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 UpdateVpcLink operation. /// </summary> public partial class UpdateVpcLinkResponse : 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> /// Represents a VPC link. /// </summary> public partial class VpcLink { 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> [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> [AWSProperty(Required=true)] 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> /// 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> [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; } /// <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; } } }
213
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the apigatewayv2-2018-11-29.normal.json service model. */ using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Net; using System.Text; using System.Xml.Serialization; using Amazon.ApiGatewayV2.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.ApiGatewayV2.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for AccessDeniedException Object /// </summary> public class AccessDeniedExceptionUnmarshaller : IErrorResponseUnmarshaller<AccessDeniedException, JsonUnmarshallerContext> { /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> public AccessDeniedException 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 AccessDeniedException Unmarshall(JsonUnmarshallerContext context, Amazon.Runtime.Internal.ErrorResponse errorResponse) { context.Read(); AccessDeniedException unmarshalledObject = new AccessDeniedException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { } return unmarshalledObject; } private static AccessDeniedExceptionUnmarshaller _instance = new AccessDeniedExceptionUnmarshaller(); /// <summary> /// Gets the singleton. /// </summary> public static AccessDeniedExceptionUnmarshaller 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 apigatewayv2-2018-11-29.normal.json service model. */ using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Text; using System.Xml.Serialization; using Amazon.ApiGatewayV2.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.ApiGatewayV2.Model.Internal.MarshallTransformations { /// <summary> /// AccessLogSettings Marshaller /// </summary> public class AccessLogSettingsMarshaller : IRequestMarshaller<AccessLogSettings, JsonMarshallerContext> { /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="requestObject"></param> /// <param name="context"></param> /// <returns></returns> public void Marshall(AccessLogSettings requestObject, JsonMarshallerContext context) { if(requestObject.IsSetDestinationArn()) { context.Writer.WritePropertyName("destinationArn"); context.Writer.Write(requestObject.DestinationArn); } if(requestObject.IsSetFormat()) { context.Writer.WritePropertyName("format"); context.Writer.Write(requestObject.Format); } } /// <summary> /// Singleton Marshaller. /// </summary> public readonly static AccessLogSettingsMarshaller Instance = new AccessLogSettingsMarshaller(); } }
68
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the apigatewayv2-2018-11-29.normal.json service model. */ using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Net; using System.Text; using System.Xml.Serialization; using Amazon.ApiGatewayV2.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.ApiGatewayV2.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for AccessLogSettings Object /// </summary> public class AccessLogSettingsUnmarshaller : IUnmarshaller<AccessLogSettings, XmlUnmarshallerContext>, IUnmarshaller<AccessLogSettings, JsonUnmarshallerContext> { /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> AccessLogSettings IUnmarshaller<AccessLogSettings, 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 AccessLogSettings Unmarshall(JsonUnmarshallerContext context) { context.Read(); if (context.CurrentTokenType == JsonToken.Null) return null; AccessLogSettings unmarshalledObject = new AccessLogSettings(); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { if (context.TestExpression("destinationArn", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; unmarshalledObject.DestinationArn = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("format", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; unmarshalledObject.Format = unmarshaller.Unmarshall(context); continue; } } return unmarshalledObject; } private static AccessLogSettingsUnmarshaller _instance = new AccessLogSettingsUnmarshaller(); /// <summary> /// Gets the singleton. /// </summary> public static AccessLogSettingsUnmarshaller Instance { get { return _instance; } } } }
98
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the apigatewayv2-2018-11-29.normal.json service model. */ using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Net; using System.Text; using System.Xml.Serialization; using Amazon.ApiGatewayV2.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.ApiGatewayV2.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for ApiMapping Object /// </summary> public class ApiMappingUnmarshaller : IUnmarshaller<ApiMapping, XmlUnmarshallerContext>, IUnmarshaller<ApiMapping, JsonUnmarshallerContext> { /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> ApiMapping IUnmarshaller<ApiMapping, 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 ApiMapping Unmarshall(JsonUnmarshallerContext context) { context.Read(); if (context.CurrentTokenType == JsonToken.Null) return null; ApiMapping unmarshalledObject = new ApiMapping(); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { if (context.TestExpression("apiId", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; unmarshalledObject.ApiId = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("apiMappingId", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; unmarshalledObject.ApiMappingId = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("apiMappingKey", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; unmarshalledObject.ApiMappingKey = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("stage", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; unmarshalledObject.Stage = unmarshaller.Unmarshall(context); continue; } } return unmarshalledObject; } private static ApiMappingUnmarshaller _instance = new ApiMappingUnmarshaller(); /// <summary> /// Gets the singleton. /// </summary> public static ApiMappingUnmarshaller Instance { get { return _instance; } } } }
110
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the apigatewayv2-2018-11-29.normal.json service model. */ using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Net; using System.Text; using System.Xml.Serialization; using Amazon.ApiGatewayV2.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.ApiGatewayV2.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for Api Object /// </summary> public class ApiUnmarshaller : IUnmarshaller<Api, XmlUnmarshallerContext>, IUnmarshaller<Api, JsonUnmarshallerContext> { /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> Api IUnmarshaller<Api, 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 Api Unmarshall(JsonUnmarshallerContext context) { context.Read(); if (context.CurrentTokenType == JsonToken.Null) return null; Api unmarshalledObject = new Api(); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { if (context.TestExpression("apiEndpoint", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; unmarshalledObject.ApiEndpoint = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("apiGatewayManaged", targetDepth)) { var unmarshaller = BoolUnmarshaller.Instance; unmarshalledObject.ApiGatewayManaged = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("apiId", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; unmarshalledObject.ApiId = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("apiKeySelectionExpression", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; unmarshalledObject.ApiKeySelectionExpression = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("corsConfiguration", targetDepth)) { var unmarshaller = CorsUnmarshaller.Instance; unmarshalledObject.CorsConfiguration = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("createdDate", targetDepth)) { var unmarshaller = DateTimeUnmarshaller.Instance; unmarshalledObject.CreatedDate = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("description", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; unmarshalledObject.Description = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("disableExecuteApiEndpoint", targetDepth)) { var unmarshaller = BoolUnmarshaller.Instance; unmarshalledObject.DisableExecuteApiEndpoint = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("disableSchemaValidation", targetDepth)) { var unmarshaller = BoolUnmarshaller.Instance; unmarshalledObject.DisableSchemaValidation = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("importInfo", targetDepth)) { var unmarshaller = new ListUnmarshaller<string, StringUnmarshaller>(StringUnmarshaller.Instance); unmarshalledObject.ImportInfo = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("name", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; unmarshalledObject.Name = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("protocolType", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; unmarshalledObject.ProtocolType = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("routeSelectionExpression", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; unmarshalledObject.RouteSelectionExpression = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("tags", targetDepth)) { var unmarshaller = new DictionaryUnmarshaller<string, string, StringUnmarshaller, StringUnmarshaller>(StringUnmarshaller.Instance, StringUnmarshaller.Instance); unmarshalledObject.Tags = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("version", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; unmarshalledObject.Version = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("warnings", targetDepth)) { var unmarshaller = new ListUnmarshaller<string, StringUnmarshaller>(StringUnmarshaller.Instance); unmarshalledObject.Warnings = unmarshaller.Unmarshall(context); continue; } } return unmarshalledObject; } private static ApiUnmarshaller _instance = new ApiUnmarshaller(); /// <summary> /// Gets the singleton. /// </summary> public static ApiUnmarshaller Instance { get { return _instance; } } } }
182
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the apigatewayv2-2018-11-29.normal.json service model. */ using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Net; using System.Text; using System.Xml.Serialization; using Amazon.ApiGatewayV2.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.ApiGatewayV2.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for Authorizer Object /// </summary> public class AuthorizerUnmarshaller : IUnmarshaller<Authorizer, XmlUnmarshallerContext>, IUnmarshaller<Authorizer, JsonUnmarshallerContext> { /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> Authorizer IUnmarshaller<Authorizer, 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 Authorizer Unmarshall(JsonUnmarshallerContext context) { context.Read(); if (context.CurrentTokenType == JsonToken.Null) return null; Authorizer unmarshalledObject = new Authorizer(); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { if (context.TestExpression("authorizerCredentialsArn", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; unmarshalledObject.AuthorizerCredentialsArn = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("authorizerId", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; unmarshalledObject.AuthorizerId = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("authorizerPayloadFormatVersion", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; unmarshalledObject.AuthorizerPayloadFormatVersion = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("authorizerResultTtlInSeconds", targetDepth)) { var unmarshaller = IntUnmarshaller.Instance; unmarshalledObject.AuthorizerResultTtlInSeconds = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("authorizerType", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; unmarshalledObject.AuthorizerType = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("authorizerUri", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; unmarshalledObject.AuthorizerUri = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("enableSimpleResponses", targetDepth)) { var unmarshaller = BoolUnmarshaller.Instance; unmarshalledObject.EnableSimpleResponses = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("identitySource", targetDepth)) { var unmarshaller = new ListUnmarshaller<string, StringUnmarshaller>(StringUnmarshaller.Instance); unmarshalledObject.IdentitySource = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("identityValidationExpression", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; unmarshalledObject.IdentityValidationExpression = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("jwtConfiguration", targetDepth)) { var unmarshaller = JWTConfigurationUnmarshaller.Instance; unmarshalledObject.JwtConfiguration = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("name", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; unmarshalledObject.Name = unmarshaller.Unmarshall(context); continue; } } return unmarshalledObject; } private static AuthorizerUnmarshaller _instance = new AuthorizerUnmarshaller(); /// <summary> /// Gets the singleton. /// </summary> public static AuthorizerUnmarshaller Instance { get { return _instance; } } } }
152